Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Gurby
Junior Member
 
Join Date: Sep 2011
Location: USA
Posts: 23

Old October 8th, 2014, 11:19 PM
OK, I'm not a programmer, Coder or scriptor. the more i look over the "Editor and Scripting Resources" post. the more I think I'm learning spanish from a "how to speak Greek" book. In other words I'm Lost!!

What i want to do in build "Old School Boots of speed". All they do is double your land movement speed.

so is that simple or Not?

I'm at a loss on how to proceed with the movement bit of it.


Any help would be appreciated!


Gurby
Gurby is offline   #1 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old October 9th, 2014, 03:52 AM
Launch editor

Create new wondrous item then enter the following

Code:
Name : Boots of Speed, Old School

Unique ID : "Can be anything you want but maintain the io part " 

E.G. ioBooSpeOl

Eval Script

Phase : First 
Priority: 100
Index : 1

Script :

~ We're old school lets just double our movement speed

hero.child[Speed].field[tSpeed].value = hero.child[Speed].field[tSpeed].value*2
Okay i'm certain there is a shorthand version available but it will suffice.

The script finds the speed value located in "tSpeed"

hero.child[Speed].field[tSpeed].value

then multiplies it by 2

hero.child[Speed].field[tSpeed].value*2

This will give you a starting point for experimenting with the editor.

Hope it helps

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #2 Reply With Quote
Exmortis
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 781

Old October 9th, 2014, 06:56 AM
~ We're old school lets just double our movement speed

Love it!
Exmortis is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,219

Old October 9th, 2014, 07:52 AM
bodrin, are you sure you want this script to run super-early? At First/100, the race will not have added its speed to the character, so you will not be doubling the racial portion of the speed.
Mathias is online now   #4 Reply With Quote
nullPointer
Member
 
Join Date: Sep 2014
Location: Toronto Ontario
Posts: 68

Old October 9th, 2014, 08:33 AM
Ahh the good old days... A bit OP for PF (especially with all the other ways to get speed), but a cursed version could be fun;

Double speed, character trips and falls prone every round that they do not move at least their full (modified) speed

Question, though, would these boots apply to all (swim,climb,fly) sppeds, or just land speed?
If going old-school, it should affect everything (we're old school and love blankets)
nullPointer is offline   #5 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old October 9th, 2014, 03:03 PM
Quote:
Originally Posted by Mathias View Post
bodrin, are you sure you want this script to run super-early? At First/100, the race will not have added its speed to the character, so you will not be doubling the racial portion of the speed.
It was a quick script just to show null pointer how to apply the code structure.

If I was making it for real I'd probably use final phase 10000ish.

And add the ~ are we equipped code as well.

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #6 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old October 10th, 2014, 05:47 AM
Quote:
Originally Posted by bodrin View Post
It was a quick script just to show null pointer how to apply the code structure.

If I was making it for real I'd probably use final phase 10000ish.

And add the ~ are we equipped code as well.
Bodrin,

With the datafile debugging enabled you can see a list of phases and priorities for calculations. Some of them are labelled with what they do. Clicking "Show debug tasks for ... " usually shows you things that are useful in this regard. I think there also a version under the develop menu for finding the debug tasks for a selection item in hero lab (which I think speed is for pathfinder). These help whenever you write scripts.

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #7 Reply With Quote
Gurby
Junior Member
 
Join Date: Sep 2011
Location: USA
Posts: 23

Old October 10th, 2014, 09:39 PM
Thank you all for the help!!

Next stupid question. where do I find it to add it to the Character?

Last edited by Gurby; October 10th, 2014 at 10:00 PM.
Gurby is offline   #8 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old October 11th, 2014, 01:04 AM
Quote:
Originally Posted by Gurby View Post
Thank you all for the help!!

Next stupid question. where do I find it to add it to the Character?
Magic tab.😄

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #9 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:21 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.