I didn't do model work this time. { Insert stunned gasp here. }
I went the scripting route.
'> Just emailed my submission.
"Holy Gear" ScriptingTwo main scripts involved in this one.
"Hurt the Infidels" Script:This one is a tag-based script for weapons with the On Hit: Unique Power property. Once a builder personalizes the deity info inside the script, it enables holy weapons to be made that will fire off a special effect against followers of opposing deities. The single script can handle multiple weapons (all with the same tag of course), even if each such weapons are supposed to call different effects or is aligned with a different deity...it all gets run off 1 or 2 local variables set on the holy weapons.
It's all explained in the script's comments. Some minor scripting ability required to personalize, such as encoding the names of the deities for the module and which ones dislike which, and putting in the actual desired effects (3 example ones included, these can be pretty much anything).
Of course, now I'm going to have to set this one up in my own PW module. :innocent:
"Holy Items Limitation" Script:This script either replaces the default module-wide OnEquip script, or the marked code can be copied into a builder's already modified OnEquip script. If an item is marked with a deity's name in the variables, and the PC equipping it doesn't have the same deaity, he or she can't equip that item (it gets immediately unequipped and a warning given).
Modifié par The Amethyst Dragon, 22 avril 2011 - 07:53 .