|
|
Inizio Forum Archivi dei forum Archives: Neverwinter Nights Archives: Builders - NWN Scripting Legacy NWN Distribution.. Please help..
Archives: Builders - NWN Scripting
Icewo1f
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 NWN 2: MotB NWN 2: SoZ
Registrato il: 29 set 2005 |
Inviato: mercoledì, 12 ottobre 2005 06:57 |
Okay, Im trying to use these instructions for a code i found on the vault. And I followed these the best i Could. My area tag is ARENDEL_MARKET. But my creatures dont scatter. Here is in the instructions: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Under the 'Wizards' menu select 'Creature Wizard'.
Select a race, class, and arbitrary portrait; click 'Next' then a faction like 'Defender'.
Enter a name labelling the template as generic, like 'Lev 5 Human Fighter Guard' and click 'Launch Creature Properties' and 'Finish'.
Set up the Guard according to Creatures: Initial Setup. A Guard uses a 'ROLE' value of 1.
Load an Area that's part of a Town or City District Zone, and holding the Shift key, paint a bunch of Guards.
Right-click each Guard and select 'Properties', giving every Guard a unique name, portrait, voice set, appearance, armor, weapons, feats, and even conversation file.
Add the Area's unique Tag to the ms_GetAreaNeedingDistribution function in the module-specific library ('lgcy_mdl_spcific') in a way that allows the function to iterate over all the Areas in your module that contain people that need distributing over the waypoints of their Zone. If the Area you painted the Guards into had a Tag 'MOUNTAIN_TOWN', the function would look like this: object ms_GetAreaNeedingDistribution(int nNth) { string sTag;
switch(nNth) { case 0: sTag = "TEMPLE_DISTRICT"; break; }
return GetObjectByTag(sTag); }
'Distribution' is the scattering of people you left standing in a bunch in the Toolset over appropriate waypoints in the Zone. Guards for instance, are distributed evenly over appropriate POST waypoints, Civilians over PUBLIC or HOME, Children over FUN, etc. The creation of other kinds of Guards or Townspeople follows the above sequence: use the Creature Wizard to create a generic creature, set its 'ROLE' local integer variable value, paint instances of it, further customize those instances with unique portraits, names and so on, and finally possibly (if you want to distribute the instances) add the Area's Tag to ms_GetAreaNeedingDistribution. To reduce ms_GetAreaNeedingDistribution's size, paint all townspeople belonging to a specific Zone in a single Zoned Area. Children over FUN, etc. Civilian Fixtures and animals like Guard Dogs and Herbivores have no waypoints, so they should be painted exactly where you want them to begin _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If anyone can help me understand this better I would definatly appreciate it.
---Icewo1f |
|
|
Ricerca nei forum |
FAQ sui forum |
Archivi dei forum
|