Member
Join Date: Nov 2011
Location: Omaha, NE
Posts: 35
|
Hello All,
I'm in the process of putting in Green Ronin's Advanced Bestiary "Dread Ghoul" template and I am wondering how I should do a few things. The first has to do with the speed. The entry reads: "If the base creature has a climb speed and a land speed, increase the climb speed to match the land speed unless it is already higher. If the base creature lacks one of those speeds, the dread ghoul gains the missing mode of movement at a speed equal to the other. If the base creature lacks both modes of movement, the dread ghoul gains both at a speed equal to one-half the base creature's highest speed." I guess the first thing to know is, is there another template with a similar stipulation that I can copy? The second is, if not, how do I go about scripting this? |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Half-celestial, Half-fiend and half-dragon all get fly speeds of twice their land speed, so that's an example of how to relate one speed to another.
|
#2 |
Member
Join Date: Nov 2011
Location: Omaha, NE
Posts: 35
|
Thanks! I think that will work for now. I'm not sure how to do the last part that talks about if they don't have a walking or climb speed they get them at half. In the long run, I don't think it matters too much.
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Huntercc has a project where he is doing the Templates from the advanced bestiary. You may wish to get in touch with him as it always goes faster with help.
See Advanced Bestiary - Green Ronin thread. We will be releasing it as part of a community package of Monsters. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#4 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
Here is part of a script I used to modify the swim speed to become equal to the highest land speed on the hero. You can modify this by simply dividing the result by two:
Code:
~ Set Swim speed as highest base land speed var biggest as number biggest = maximum(hero.child[xClimb].field[abValue].value, hero.child[xBurrow].field[abValue].value) biggest = maximum(biggest, hero.child[Speed].field[tSpeed].value) perform hero.child[xSwim].delete[Value.?] hero.child[xSwim].field[abValue].value = biggest |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Timing is pretty important with this type of script but you didn't mention it. Just FYI.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#6 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
Good point :P I used Final Phase, 1000 for this script.
|
#7 |
Member
Join Date: Nov 2011
Location: Omaha, NE
Posts: 35
|
I will play with the script when I get a chance. Being new to this, I don't know the scripting language so I can't make it do what I want. Hence, I copy other examples.
Currently, I took Mathis's suggestion and used the half-dragon's speed script. It seems to work for the moment in that I've tested it on a human and a dwarf, and in those two cases it worked the climb speed properly. I haven't tested it on something that only has a climb speed or doesn't have both climb and "regular" speed. From what I can see, the first thing the script needs to do is see if the base creature has a regular speed. Then it needs to see if it has a climb speed. If yes to both, it needs to set both speeds to the higher speed, if different. If it has one, but not the other, it needs to add the missing one at the same speed as the other. If it has neither, it needs to add both at half of the highest speed that it does have (I don't have the template in front of me, so I'm working from memory). Hmm...I will learn in time! |
#8 |
|
|