Knight_Shield wrote...
Ok I copied th x0_i0_treasure file..made my changes and saved a new script called x0_i0_treasure2.
I included this in the nw_c2-default9 in place of the origial x0_i0_treasure. The changes as far as the frequency of drops I adjusted work good.
I still would like someone to clarify if monsters/npc'c pull from all 4 treasure chest (low,medium,high.unique). The way I read the x0_i0_treasure is that they only pull from the (low) and chests,crate,bookshelf,etc pull from the all 4 treasure chests.
Because there is a part in there that says you have to make a chest tagged XO_TREASURE_MONSTER.
BTW ... I've adapted this system endlessly for my own PW and I love it. I've tweaked it to use the "monster tags" on containers to create foraging placeables as well. It looks like you've a good start so far. Here's what you need to do next:
1) Make sure your creatures are properly tagged. If you want specific drops for orcs and goblins for instance, then make sure your goblins are tagged "goblin" and orcs tagged "orc". (without the quotes of course)
2) Next create a chest or container (I usually just select the low modulewide ones from the pallette) and set it's tag to match the creature tag you want specific loot for. So if you tagged your goblins as "goblin", then your goblin loot chest needs to be tagged as "XO_TREASURE_MONSTER_goblin" and your orcs would be "XO_TREASURE_MONSTER_orc".
Then just make sure your call to create loot uses the following: CTG_GenerateNPCTreasure(TREASURE_TYPE_MONSTER, OBJECT_SELF);
I'll also suggest you do this in the OnDeath event and not the OnSpawn event like most do. This often helps combat AIs run smoother as there are fewer items in the creature's inventory to check and see if they should be used.
Lastly, if no properly tagged chest exists for a creature, this system automatically defaults to the module wide low loot container to create loot. IE ... if you set up or have a generic low loot bin already, then everything without a specific container will pull from it. So you can create custom creatures constantly and not worry about specific loot everytime. They'll just pull from the module's low loot container by default until you create them their own.
PS ... though I long used Scarfaces XP System myself ... I was running into some oddities where XP was sometimes either too high or too low if someone dropped from a party and then rejoined. "usually due to crashing or relogging to fix a glitch) I've since changed over to Blasco's Fair Kill XP 3 and not only have had no other issues, but it's allowed me even more control over XP awards. Here's a link:
http://nwvault.ign.c....Detail&id=3630
Blasco used the best of a few XP Systems including Scarface's to come up with his. His documentation is pretty good as well.
Modifié par kalbaern, 06 août 2010 - 03:53 .