06-30-2016, 07:13 PM | #1 |
Join Date: May 2008
|
GDF won't add a modifier, how to set modifier levels
Trying to write up Gurps Thaumatology - Sorcery as a GDF, I'm not a coder by nature, but I need this for a campaign, and would like to contribute to the community while I'm at it. I also see this as a learning project. two issues:
**EDIT** Figured out 1), was missing some spaces. the question 2 still stands. 1) I'm not getting one of the modifiers on a spell (no blunt trauma) when I add the AD (Air jet) Code:
Air Jet, 0, displaycost(6/12/18), page(Thaumatology - Sorcery 12), cat(Sorcerous Spells), adds(_ "AD:Crushing Attack (Air Jet)" _ with "Jet, +0%, group(_Attack Enhancements),page(B106)"_ and "No Blunt Trauma, -20%, group(Crushing Attack Limitations),page(B111)" _ and "Damage Limitation: No Wounding Except Vs Diffuse, -25%, group(_Attack Limitations),page(B111),basedon(Damage Modifier: Missing Damage Effect (type)),basedgroup(_Attack Limitations)" _ and "Blockable, -5%, group(_General),page(P110)" _ and "Cosmic: Does knockback-based damage against diffuse targets, +50%" _ and "Damage Modifier: Double Knockback, +20%, group(Crushing Attack Enhancements),page(B104)" _ and "Jet: Increased Range, +10%,group(_Attack Enhancements), page(B106)" _ and "Jet: Increased Range (1/2D Range Only), +5%,group(_Attack Enhancements), page(B106)" _ and "Sorcery, -15%, group(_General),page(Thaumatology - Sorcery 13)" _ respond 3 _ ), parentof(AD:Crushing Attack (Air Jet))
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game. Check out my blog: Dungeons on Automatic Last edited by zuljita; 06-30-2016 at 08:31 PM. Reason: Correcting paste |
06-30-2016, 09:16 PM | #2 |
Join Date: May 2008
|
Re: GDF won't add a modifier, how to set modifier levels
Related question: If i want to tell the above style of code to pick an attack attribute for affliction when it's added, how do I do that?
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game. Check out my blog: Dungeons on Automatic |
07-01-2016, 08:56 AM | #3 | ||
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
|
Re: GDF won't add a modifier, how to set modifier levels
Quote:
"AD:Crushing Attack (Air Jet)" = 3 _ with "yada yada yada" Quote:
*respond 1 for _None of these *respond 2 for Will *respond 3 for DX, Brawling *respond 4 for Innate Attack (Beam) *respond 5 for Innate Attack (Breath) *respond 6 for Innate Attack (Gaze) *respond 7 for Innate Attack (Projectile) *respond 8 for Based On HT *respond 9 for Based On ST *respond 10 for Based On IQ *respond 11 for Based On DX *respond 12 for Based On Perception
__________________
Eric B. Smith GURPS Data File Coordinator GURPSLand I shall pull the pin from this healing grenade and... Kaboom-baya. |
||
07-01-2016, 01:59 PM | #4 |
Join Date: May 2008
|
Re: GDF won't add a modifier, how to set modifier levels
That's awesome. What about setting levels for limitations, ex: increased range 4 or what have you?
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game. Check out my blog: Dungeons on Automatic |
07-01-2016, 05:34 PM | #5 |
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
|
Re: GDF won't add a modifier, how to set modifier levels
You just need to add the level() tag to the modifier, placing the level number within the tag.
__________________
Eric B. Smith GURPS Data File Coordinator GURPSLand I shall pull the pin from this healing grenade and... Kaboom-baya. |
07-01-2016, 06:44 PM | #6 |
Join Date: May 2008
|
Re: GDF won't add a modifier, how to set modifier levels
Awesome, thanks!
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game. Check out my blog: Dungeons on Automatic |
07-07-2016, 07:48 PM | #7 |
Join Date: May 2008
|
Re: GDF won't add a modifier, how to set modifier levels
Another thing I just noticed: Adding Jet using the above code doesn't add the version of Jet that exists from the basic set GDF, it adds a new one, that doesnt give
Code:
-3 to owner::acc, *0.5 to owner::rangehalfdam, *0.1 to owner::rangemax, =nobase to owner::rof$, ="Jet" to owner::rof$
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game. Check out my blog: Dungeons on Automatic |
07-07-2016, 08:06 PM | #8 |
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
|
Re: GDF won't add a modifier, how to set modifier levels
With modifiers you need to specify the entire modifier, declaring everything. I usually just copy the modifier right out of the appropriate data file to make sure I've got everything.
__________________
Eric B. Smith GURPS Data File Coordinator GURPSLand I shall pull the pin from this healing grenade and... Kaboom-baya. |
07-07-2016, 08:13 PM | #9 |
Join Date: May 2008
|
Re: GDF won't add a modifier, how to set modifier levels
Thanks. Is this the best practice way to do this? Just wanting to make sure I'm not doing this the long difficult way needlessly. I don't mind doing it this way at all if it's the best practice, just want to confirm.
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game. Check out my blog: Dungeons on Automatic |
07-07-2016, 10:03 PM | #10 |
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
|
Re: GDF won't add a modifier, how to set modifier levels
It's the only way to do it if you want the modifiers to actually change the stats of the underlying ability.
__________________
Eric B. Smith GURPS Data File Coordinator GURPSLand I shall pull the pin from this healing grenade and... Kaboom-baya. |
|
|