BioWare Atari
Informazioni BioWare Giochi BioWare Supporto Forum Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

Archives: Builders - NWN Scripting



       Vai alla fine

Autore Legacy NWN Distribution.. Please help..
Icewo1f
Game Owner
Profilo: Icewo1fNWN
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
  Profilo: Icewo1f   Invia messaggio a: Icewo1f


Cosa significano queste icone?
Come posso imparare a usare i forum?

Jump To:

Ricerca nei forum | FAQ sui forum | Archivi dei forum

 

 

BioWare Store
Neverwinter Nights 2 Forums
Mostra/nascondi

English
Deutsch
Français
Español
Italiano

Mostra/nascondi

Vedi le immagini più recenti 

Vedi le immagini più recenti
Mostra/nascondi

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



L'ora attuale è: (imposta ora)
sab, 21 novembre 2009 11:07

Mostra/nascondi

Download Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Mostra/nascondi

5,047,879 utenti BioWare:
  87 collegati
  6 nascosti
  238 ospiti

1496 Playing Online
  100% NWN
  100% NWN: SoU
  99% NWN: HotU

447 Registered Guilds

8,768,366 messaggi nei forum

Nuove discussioni:
1. Inferno armor available at Amaz... (Mass Effect 2 General Discussion (No Spoilers Allowed))

2. Will ME2 feature "ME1" or "DAO" ... (Mass Effect 2 General Discussion (No Spoilers Allowed))

3. conversation node spawning an it... (NWN2: Builders - NWN2 Scripting)

4. Stupid MAKO!! (Mass Effect 1 General Discussion (No spoilers allowed))

5. An Idea Realized and Marquee Abi... (Mass Effect 2 General Discussion (No Spoilers Allowed))