Difference between revisions of "Scripting Tutorial: Custom Bound Items"
Jump to navigation
Jump to search
Scripting Tutorial: Custom Bound Items (edit)
Revision as of 21:35, 12 June 2006
, 21:35, 12 June 2006no edit summary
imported>Yarharhar |
imported>Yarharhar |
||
|
We’re just about ready. Make sure the bindTestSummonedScript is on the sword, shield and helmet, and the bindTestSummonerScript is on the ring. Now just throw the ring in the game somewhere (I usually just drop them in the market district by Edgar’s) and try it out! A scripted summon-item enchantment for gear. It has been stable in all my tests; I have been unable to separate the gear or get copies of the summoned items. Try for yourself: Equipping and unequipping, dropping, selling, going to jail, etc. It will even work with other objects that summon gear on the player!
=== Further Cleanup ===
One last glitchy situation remains: Enchanting! The enchantment or sigil stone enchantments will royally screw up any of the summoning or summoned gear. To get around this, we'll just make the gear unable to be enchanted(since summoned gear should be magical anyways).
To do this, make an enchantment for equipment with a scripted effect that does not actually run a script. You can change the name of the scripted effect to "Bound Equipment on Self" or something similar. Do the same for an enchantment on a weapon. Then go and put these enchantments on each of the summoner/summoned gear. Now the player will be unable to further enchant/break our bound item equipment!
== Possible Modifications ==
| |||