Version 1.3 takes into account missed shifter skins in previous versions. This version does not account for spells that would be castable with the helm on.
Version 1.4 takes into account spells that would be available if the helm was still "worn".
Version 1.5 Checks the PCs inventory for room to hold the helm the PC has equipped.
TO UPDATE YOUR MODULE IF YOU ALREADY HAVE THIS:
Simply copy the include file cln_helm_inc, from the version 1.5 module, and paste it over the include already in your module. Comment in the void main compile the script, comment out the void main, save the script. Then copy paste the script cln_helmoff, from the version 1.5 module, onto the cln_helmoff script in your modlue, compile the scritp. Then compile your module and save it, you maybe should double compile it.
With this system the players helm is moved to their inventory, and the ips from the helm are copied to the playerskin. If the ip from the helm is a castable spell then the ip will be copied to the widget included with this system. Thereby allowing the pc to access the ip.
Shifters were accounted for with this system in versions 1.3 and earlier if the builder does not wish the Shifter/Druid to benefit from this system that can be adjusted in the include "cln_helm_inc". To restrict Shifter benefits, change the const int SHIFTER on line 35 to 0.
If you do not already have this sytem in your module import the erf. Then add the following to your modules OnEquip handle script:
#include "cln_helm_inc" to your modules onequp script at the top
then add to the definitions:
int nType = GetBaseItemType(oItem);
object oSkin = GetItemInSlot(17, oPC);
Thanks Gonzo_og. _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------
Posted by Gonzo_og at on06/26/10
Nice! _________________________ stuff
Posted by Baragg at 12:37:28 Voted10.00
Thanks commche. _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------
Posted by commche at on06/24/10
Nifty! _________________________ Modules: Shadows of Darkmoon The Arena of Champions Dragon's Bane Scripts: Random Loot Generation System v1.0 Supernatural Subrace System PW Monk-speed balancer
Posted by Baragg at 17:31:36 Voted10.00
Still watching here. _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------
Posted by Baragg at 08:15:38 Voted10.00
I could make a hak version? Would that assist? _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------
Posted by Baragg at 08:02:47 Voted10.00
I would have to figure out how to do that, seeing as this does not overwrite any sources in the game. _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------
Posted by Jedijax at 2010-04-1422:10:26
Can this be turned into an override? I find the widget implementation and module adding to be a little complex to the common user, and I know this is intended for builders, but thought I would ask, anyway :b
Posted by Baragg at 10:10:51 Voted10.00
Gonna add reapplication oncliententer, after I am done testing that aspect. _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------
Posted by Baragg at 09:25:42 Voted10.00
Glad to see there are no problems arising. _________________________ Doing it the only way I know how, the Hardway! No Show Helm Link No Show Helms Subrace Compatible Link -------------------------------------------