Posted by: Thedonkeyman
« on: October 19, 2009, 05:38:23 AM »Awesome, it works! Thanks a lot!
Thanks a lot. But when I use this, rather than making me a Reaver, it makes me a dual-class Mage/Bounty Hunter. Is this just an issue with me having too many mods?Ah, well the script I used is game specific so the same won't work for you, as the Kit.ids aren't same in your game as they are in mine. Ouh CHEESE.
IF
Class(Myself,MAGE)
Global("Z#ReaverConvert","LOCALS",0)
THEN
RESPONSE #100
SetGlobal("Z#ReaverConvert","LOCALS",1)
END
IF
CheckStat(Myself, 1, LEVEL2)
CheckStatGT(Myself, 17, INT)
CheckStatGT(Myself, 17, STR)
CheckStatGT(Myself, 17, DEX)
CheckStatGT(Myself, 14, CON)
CheckStat(Myself, 7, LEVEL)
Global("Z#ReaverConvert","LOCALS",1)
THEN
RESPONSE #100
SetGlobal("Z#ReaverConvert","LOCALS",2)
ActionOverride(Myself, AddKit(Z#REAVER) )
ApplySpell(Myself, GAIN_ONE_STR_PERMANENT)
END
And then save it as Z#RvConv.baf, then open the game with the NearInfinity by locating the Chitin.key file, and then use it to open the file and compile it to Z#RvConv.bcs file, and then you just rename the file as Z#RvConv.bs (without the c ), and then put it to the <game>/scripts -folder. Hi there, I just came upon this problem... (at least, I think this is it)Well, I did leave out the kit requirement from my compiled script when I used it, so I do not know... so I used this, so just overwrite the script in the <game>/scripts -folder with that one(assuming you already did install the Kit first), and use the script and dual the 7th level mage to a thief, and you should be set.
I have Refinements installed, and I can't get the Reaver kit to activate. Does the above code definitely work? I'm sure I can work out where to C&P it if necessary, but it would be nice to know if it's worth it. Or is there another way to activate the kit? Ta!
// Converts the User into a Reaver
IF
Class(Myself,MAGE)
Global("Z#ReaverConvert","LOCALS",0)
OR(2)
Kit(Myself,TRUECLASS)
Kit(Myself,Magetw) //this is the mage from the Refinements
THEN
RESPONSE #100
SetGlobal("Z#ReaverConvert","LOCALS",1)
END
IF
CheckStat(Myself, 1, LEVEL2)
CheckStatGT(Myself, 17, INT)
CheckStatGT(Myself, 17, STR)
CheckStatGT(Myself, 17, DEX)
CheckStatGT(Myself, 14, CON)
CheckStat(Myself, 7, LEVEL)
Global("Z#ReaverConvert","LOCALS",1)
OR(2)
Class(Myself,THIEF)
Class(Myself,) //This line might be needed... OR not
THEN
RESPONSE #100
SetGlobal("Z#ReaverConvert","LOCALS",2)
ActionOverride(Myself, AddKit(Z#REAVER) )
ApplySpell(Myself, GAIN_ONE_STR_PERMANENT)
END
EXTEND_TOP ~BALDUR.BCS~ ~Z#Misc\Reaver\Z#GenFix.Baf~
To be: EXTEND_TOP ~Z#RvConv.BCS~ ~Z#Misc\Reaver\Z#GenFix.Baf~
COPY_EXISTING ~Z#RvConv.bcs~ ~scripts/Z#RvConv.bs~
And then you could also make the Z#GenFix.baf shorter, as it will always effect just the one using the script, and not everyone in the party.