Aller au contenu

Photo

Treasure Generation Question


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
SushiSlave

SushiSlave
  • Members
  • 1 messages

Is there any script available that can be applied to enemies and containers that will generate random gold, gems, and jewelry while excluding all other forms of loot?



#2
bdtgazo

bdtgazo
  • Members
  • 53 messages

Yes.  Many I should think.

 

Set a placeable treasure container in the toolkit down, and checks its scripts.  NWN has its own treasure generation script.  I think most mods don't use it, though, but its a good place to start an examination/understanding of treasure generation. 

 

The easiest method, imo, is to start using NESS for your spawns.  With NESS, you can just place some chests in a zone PCs can't get to, and fill them with loot.  NESS has a good guide, easy to learn.

 

I used to use NESS, but decided to use my own custom loot generation scripts to have better control of the % chance that a given item will drop.  I made my own loot tables.  The actual script is pretty simple, but I have found, and suspect most would agree, that actually making the loot, the descriptions of the loot, and the loot tables in the script, is probably about 70% of the work that goes into a mod.

 

Anyway, the answer is yes.  And I think a few are available on the Vault.



#3
Baaleos

Baaleos
  • Members
  • 1 330 messages

As mentioned above - 

nwn has default treasure scripts - if you dig into the scripts such as 

Drow_onSpawn  (think that might be one)

It calls several treasure include files - where there are methods such as 

SpawnRandomRings()

SpawnRandomWeapon()

SpawnRandomMisc()

 

choose what you want, modify if needed, and then use