LucasForums (
-   Holowan Laboratories (
-   -   How to place new NPC's (

Darthchicken 07-20-2010 05:16 PM

How to place new NPC's
**Im sorry if this question is answered on another thread, I just can't find it**

I am relatively new to modding Kotor but i have created a merchant that i need for a mod I'm making. I'm trying to make it so he is placed near the Hyperdrive inside the Ebon Hawk. Unfortunately i have no idea how to make this happen without replacing anything :swear:

Any help would be appreciated!! :hugs:

Yatsookey 07-20-2010 05:28 PM

Try maris fetts tutorial for module building, it has a section in it for placing new NPC's, id give you a "live" tutorial but im not the best at npc placement myself.

Here's marius' tutorial

Canaan Sadow 07-20-2010 05:29 PM


void main()
CreateObject(OBJECT_TYPE_CREATURE, "creature_templateresref", Location(Vector(0.00,0.00,0.00), 0.0));

You'll have to do a Where Am I cheat to get the x,y,z coordinates, which go in the spots labelled 0.00 (in alphabetical order so x goes in the first 0.00, y goes in the second and z goes in the third).

And you can attach that script to dialogue to spawn the NPC or you could put the NPC there through the module file (though I'm not sure how to do the latter).

All times are GMT -4. The time now is 10:26 PM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.