Hello all,
Been enjoying HL as a player for many months now, and ready to start dabbling in the editor as a DM. I have zero experience in scripting of any kind, but I've been reading posts and tinkering with things in the editor.
The first thing I'd like to try and accomplish is to add a new Alternate Racial Trait. I should note here, I'm using RavenX's Forgotten Realms user files (thank you's to him, Shadow, and everyone else making these great mods).
So first, what I wanted to accomplish.
New Alternate Racial Trait for Elves
Elven Reflexes - +2 Bonus to Iniative
So here's what I tried:
Opened the Forgotten Realms Races.user file.
Went to the Alt. Racial Trt tab.
Made a New(Blank) trait.
Gave it a Name, Unique ID, Uniqueness(Unique), Summary Text, Description Text
Made it Available to the Race I wanted to have it
Selected which Racial Special Ability to Remove
Checked "Upgrade - hide from list?"
Added this Eval Script:
I got that from script from another post concerning adding a bonus to Initiative (which is the Alternate Racial Trait I want to add). I have no idea if it's right or not.
I saved everything, then went into the "Races" tab.
I clicked on the Wild Elf ID
Clicked "Bootstraps" / "Add another Bootstrap" / "Choose"
I sorted the drop-down menu to only show "Alternate Racial Traits", but alas the new trait I added wasn't showing up.
SO, I tried the same stuff described above, but this time instead of a New(Blank) trait and made a New(Copy) from the "Eternal Grudge" Alternate Racial Trait, thinking that there was some element I missed and that maybe this would solve it. I modified all the necessary fields / id's as described above, saved it, and hopped back over the the "Races" tab.
Again, though, I'm not seeing it when I look in the Bootstraps / Alternate Racial Traits selection.
I did try and putting the feat Improved Initiative in as a new Bootstrap, and that gave me the bonus I was looking for, but I'd rather do it the right way and understand what I was doing wrong in the processes I describe above. I feel like there's some mechanic I'm missing that will point the new racial trait ID to the drop-down menu under bootstraps.
Admittedly, I could be doing a whole lot wrong, as I have no previous experience with scripting of any kind, and my attempts to ingest the HL Editor wiki where met with befuddlement. Still, I would like to learn, so if anyone has handy tips that could point me in the right direction I would be very grateful to hear them.
Thanks in advance!
Indus
Been enjoying HL as a player for many months now, and ready to start dabbling in the editor as a DM. I have zero experience in scripting of any kind, but I've been reading posts and tinkering with things in the editor.
The first thing I'd like to try and accomplish is to add a new Alternate Racial Trait. I should note here, I'm using RavenX's Forgotten Realms user files (thank you's to him, Shadow, and everyone else making these great mods).
So first, what I wanted to accomplish.
New Alternate Racial Trait for Elves
Elven Reflexes - +2 Bonus to Iniative
So here's what I tried:
Opened the Forgotten Realms Races.user file.
Went to the Alt. Racial Trt tab.
Made a New(Blank) trait.
Gave it a Name, Unique ID, Uniqueness(Unique), Summary Text, Description Text
Made it Available to the Race I wanted to have it
Selected which Racial Special Ability to Remove
Checked "Upgrade - hide from list?"
Added this Eval Script:
PHP:
~if we're not active, just get out now
doneif (activated = 0)
perform #traitcurrent[attrIni,+,2,""]
I got that from script from another post concerning adding a bonus to Initiative (which is the Alternate Racial Trait I want to add). I have no idea if it's right or not.
I saved everything, then went into the "Races" tab.
I clicked on the Wild Elf ID
Clicked "Bootstraps" / "Add another Bootstrap" / "Choose"
I sorted the drop-down menu to only show "Alternate Racial Traits", but alas the new trait I added wasn't showing up.
SO, I tried the same stuff described above, but this time instead of a New(Blank) trait and made a New(Copy) from the "Eternal Grudge" Alternate Racial Trait, thinking that there was some element I missed and that maybe this would solve it. I modified all the necessary fields / id's as described above, saved it, and hopped back over the the "Races" tab.
Again, though, I'm not seeing it when I look in the Bootstraps / Alternate Racial Traits selection.
I did try and putting the feat Improved Initiative in as a new Bootstrap, and that gave me the bonus I was looking for, but I'd rather do it the right way and understand what I was doing wrong in the processes I describe above. I feel like there's some mechanic I'm missing that will point the new racial trait ID to the drop-down menu under bootstraps.
Admittedly, I could be doing a whole lot wrong, as I have no previous experience with scripting of any kind, and my attempts to ingest the HL Editor wiki where met with befuddlement. Still, I would like to learn, so if anyone has handy tips that could point me in the right direction I would be very grateful to hear them.
Thanks in advance!
Indus