Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS > GURPS Character Assistant

Reply
 
Thread Tools Display Modes
Old 06-30-2016, 07:13 PM   #1
zuljita
 
zuljita's Avatar
 
Join Date: May 2008
Default 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))
2) In a similar advantage, I'm trying to write up using with "modifier, ..." but I want to add it at a level, what argument and where do I need to put it in that string?
__________________
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
zuljita is offline   Reply With Quote
Old 06-30-2016, 09:16 PM   #2
zuljita
 
zuljita's Avatar
 
Join Date: May 2008
Default 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
zuljita is offline   Reply With Quote
Old 07-01-2016, 08:56 AM   #3
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: GDF won't add a modifier, how to set modifier levels

Quote:
Originally Posted by zuljita View Post
2) In a similar advantage, I'm trying to write up using with "modifier, ..." but I want to add it at a level, what argument and where do I need to put it in that string?
Level would be the first thing, before the "with" statement. So:
"AD:Crushing Attack (Air Jet)" = 3 _
with "yada yada yada"

Quote:
Originally Posted by zuljita View Post
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?
What do you mean pick an "attack attribute?" Do you mean how do you select which skill/attribute is rolled against to make the attack? It's the same as with Innate Attack, except there are a couple more respond numbers you can use (Innate Attack uses 1-7, while Affliction uses 1-12) .

*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.
ericbsmith is online now   Reply With Quote
Old 07-01-2016, 01:59 PM   #4
zuljita
 
zuljita's Avatar
 
Join Date: May 2008
Default 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
zuljita is offline   Reply With Quote
Old 07-01-2016, 05:34 PM   #5
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: GDF won't add a modifier, how to set modifier levels

Quote:
Originally Posted by zuljita View Post
That's awesome. What about setting levels for limitations, ex: increased range 4 or what have you?
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.
ericbsmith is online now   Reply With Quote
Old 07-01-2016, 06:44 PM   #6
zuljita
 
zuljita's Avatar
 
Join Date: May 2008
Default 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
zuljita is offline   Reply With Quote
Old 07-07-2016, 07:48 PM   #7
zuljita
 
zuljita's Avatar
 
Join Date: May 2008
Default 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$
Do I need to declare that stuff when i write this code, or is there something else I'm missing?
__________________
Running 3 GURPS games: DFRPG, Supers and a weird Evil Hogwart's (ish) game.
Check out my blog: Dungeons on Automatic
zuljita is offline   Reply With Quote
Old 07-07-2016, 08:06 PM   #8
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: GDF won't add a modifier, how to set modifier levels

Quote:
Originally Posted by zuljita View Post
Do I need to declare that stuff when i write this code, or is there something else I'm missing?
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.
ericbsmith is online now   Reply With Quote
Old 07-07-2016, 08:13 PM   #9
zuljita
 
zuljita's Avatar
 
Join Date: May 2008
Default 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
zuljita is offline   Reply With Quote
Old 07-07-2016, 10:03 PM   #10
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: GDF won't add a modifier, how to set modifier levels

Quote:
Originally Posted by zuljita View Post
Thanks. Is this the best practice way to do this?
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.
ericbsmith is online now   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
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:20 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.