Some new script additions
Posted: 16 Jun 2011, 19:06
I added a few new script commands to get better control of mobs. Here is the git patch for the server src, as well as a simple test script to demo the new commands (and make sure they don't crash anything). I would really like to be able to use these in boss scripts, so I hope they get included in the mainline.
The test script will spawn a new npc right next to Ian (the rules guy) in Tulimshar. Talk to Vash to start a fight with a 'specially trained' maggot, whose difficulty increases with each battle (up to 9 battles). The default maggot mob from mob_db.txt is used and no additional graphics or resources are needed besides this script file (don't forget to add it to an _import.txt). Can you beat all 9 levels of maggoty goodness???
If the patch is approved and if there is interest, I can expand this test script into a proper quest.
As a side note, this script would be great for balancing since it can let you change mob stats quickly without restarts or fiddling with db stuff. A very thorough version of this script, that also sets level and equipment, can help find appropriate mob stats/difficulty for different level ranges. It would also help determine appropriate equipment for each level.
The test script will spawn a new npc right next to Ian (the rules guy) in Tulimshar. Talk to Vash to start a fight with a 'specially trained' maggot, whose difficulty increases with each battle (up to 9 battles). The default maggot mob from mob_db.txt is used and no additional graphics or resources are needed besides this script file (don't forget to add it to an _import.txt). Can you beat all 9 levels of maggoty goodness???
If the patch is approved and if there is interest, I can expand this test script into a proper quest.
As a side note, this script would be great for balancing since it can let you change mob stats quickly without restarts or fiddling with db stuff. A very thorough version of this script, that also sets level and equipment, can help find appropriate mob stats/difficulty for different level ranges. It would also help determine appropriate equipment for each level.