05-19-2019, 07:00 PM | #1 | ||
Join Date: Dec 2017
Location: Lakeside, OR
|
Log ST and jumping move coding
Hey all,
Sorry to pester but I'm sure I'm missing something easy here in the code, and I can't figure it out. My buddy is GMing a Supers campaign and he's house ruled KYOS log ST. I'm trying to get GCA to calculate move properly when super-jumping but I don't know how to use the @if command or the @power command well enough to sort it out. I planned to make an extra stat called "Log Jump Move" and have ST:Broad Jump base itself off of "Log Jump Move" when that's higher than "Ground Move". Here's the line I created, but it doesn't seem to work. So I'm certain I'm messing up the @if or the @power. Quote:
and for ST 30 or greater, it should be 25 times 10 to the power of ((ST-30)/20) Obviously, I also created a stat called Jumping ST and it calculates as Quote:
Thanks! -Jesse |
||
05-20-2019, 02:11 PM | #2 |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Log ST and jumping move coding
I think if your basevalue() looked more like this, it would be better:
Code:
basevalue(_ @if(_ ST:Jumping ST < 16 _ THEN _ ST:Basic Ground Move _ ELSE _ @indexedvalue( ST:Jumping ST-16,6,6,7,8,9,10,11,13,14,16,18,20,22,25, @int( 25 * (10 ^ ((ST:Jumping ST-30)/20) ) ) ) _ )_ )
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
05-20-2019, 07:33 PM | #3 |
Join Date: Dec 2017
Location: Lakeside, OR
|
Re: Log ST and jumping move coding
That worked perfectly, thank Armin!!!!
|
05-20-2019, 10:22 PM | #4 |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Log ST and jumping move coding
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
06-08-2019, 03:13 PM | #5 |
Join Date: Sep 2005
Location: Topeka, Kansas
|
Re: Log ST and jumping move coding
So wait, is this the optional rule of using ST in place of Basic Move if your basic lift is higher than your weight, or something different? Because I was looking for that as an optional rule checkbox and didn't find it, so now I'm here looking to see if there is some way to do that?
EDIT: Found it! It's a character sheet option (at least in Phoenix) and not a program option :)
__________________
Cleopatra: Whenever she assigned me to the switch, was that Voice, or was Raina influencing her thinking? Because, I mean, if it was Raina, she got inside my head and decided that I would screw it up. Last edited by Ragabash Moon; 06-10-2019 at 08:14 AM. Reason: found answer to own question, posting it for others who might be looking in the future. |
|
|