11-16-2018, 03:16 PM | #21 |
Join Date: Nov 2008
Location: Yukon, OK
|
Re: Making Pick lists
FYI is there really no RPM datafile? I haven't seen it so far.
Once this code is done though it should work for RPM too. At least the Paths.
__________________
My GURPS publications GURPS Powers: Totem and Nature Spirits; GURPS Template Toolkit 4: Spirits; Pyramid articles. Buying them lets us know you want more! My GURPS fan contribution and blog: REFPLace GURPS Landing Page My List of GURPS You Tube videos (plus a few other useful items) My GURPS Wiki entries |
11-16-2018, 03:41 PM | #22 | |||
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Making Pick lists
Quote:
Quote:
If that isn't working for some reason, then closing and restarting GCA should be sufficient. But if none of that is doing it, then sure, do what seems to work. Quote:
You're quite welcome. A lot of this stuff is very esoteric, and there are some odd 'gotchas' and glitches in there, too.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
|||
11-16-2018, 03:44 PM | #23 |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Making Pick lists
There's GURPS Magic 4e - Ritual Magic.gdf, but I'm not sure what all it covers. It's in the root folder with the regular Magic and whatnot.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
11-16-2018, 04:31 PM | #24 | |
Join Date: Nov 2008
Location: Yukon, OK
|
Re: Making Pick lists
Quote:
What I am doing should work pretty well for RPM once its all worked out. Individual Rituls are not separate skills or techniques IIRC, so just need the Paths and core skill part of the code.
__________________
My GURPS publications GURPS Powers: Totem and Nature Spirits; GURPS Template Toolkit 4: Spirits; Pyramid articles. Buying them lets us know you want more! My GURPS fan contribution and blog: REFPLace GURPS Landing Page My List of GURPS You Tube videos (plus a few other useful items) My GURPS Wiki entries |
|
11-16-2018, 04:37 PM | #25 |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Making Pick lists
Sorry, brain fart on my part.
What about this one over on the GCA Repository? GURPS Thaumatology: Ritual Path Magic Just trying to save you work, if possible.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
11-16-2018, 04:46 PM | #26 | |
Join Date: Nov 2008
Location: Yukon, OK
|
Re: Making Pick lists
Quote:
"Path of Body", IQ/VH, default("ST:MagicDefaultBase"), upto(@min("SK:Thaumatology::level", 12 + "ST:Magery")), page(MH1:32), cat(_General, Occult/Magical), needs("SK:Thaumatology" = 1pts) The default and upto might be useful. Either way thanks for pointing me at the file, I thought I grabbed all the extras.
__________________
My GURPS publications GURPS Powers: Totem and Nature Spirits; GURPS Template Toolkit 4: Spirits; Pyramid articles. Buying them lets us know you want more! My GURPS fan contribution and blog: REFPLace GURPS Landing Page My List of GURPS You Tube videos (plus a few other useful items) My GURPS Wiki entries |
|
11-16-2018, 05:48 PM | #27 |
Join Date: Nov 2008
Location: Yukon, OK
|
Re: Making Pick lists
Ok, almost have it but adding another choicelist is breaking it.
The below code wont even load and I suspect I did my nesting wrong but the count keeps working to my eyes. Ideally this code pulls from two lists. Core skills and from the group list. Both work fine on thier own, just not when I nest them. Interestingly the Core skills allow the skill to increase, possibly because they are in quotes. Do I need the aliaslist here? _CoreTest2 (%Affinityaltlist%), type(IQ/VH), default(SK:%corelist% - 6), needs(SK:%corelist%), page(B242), x(_ #ChoiceList(_ name(core), title(Ritual Magic Path), text(Please select an appropriate Ritual Magic core skill:), picksallowed(1), method(bynumber), default(13), list(_ "Alchemy", "Biology", "Body Control", "Computer Hacking", "Herb Lore", "Musical Influence", "Physics", "Blind Fighting", "Invisibility Art", "Zen Archery", "Pressure Secrets", "Weird Science", "Ritual Magic", "Thaumatology" _ ), aliaslist(_ "", "", "", "", "", "", "", "", "", "", ""_ )_ )_ x(_ #ChoiceList(_ name(Affinity), title(Ritual Magic Path), text(Please select an appropriate Ritual Magic core skill:), picksallowed(1), method(bynumber), default(13), altlist(_ #grouplist(GR:Affinity Skills, flags(NoPrefix))_ ), )_ )
__________________
My GURPS publications GURPS Powers: Totem and Nature Spirits; GURPS Template Toolkit 4: Spirits; Pyramid articles. Buying them lets us know you want more! My GURPS fan contribution and blog: REFPLace GURPS Landing Page My List of GURPS You Tube videos (plus a few other useful items) My GURPS Wiki entries |
11-16-2018, 06:27 PM | #28 | |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Making Pick lists
Quote:
First off, x() is a container for directives, but it's still a tag, so just one per definition. Second, your second #ChoiceList doesn't have a list, just an altlist(), so I don't think you'll get at all what you're trying to get. So, if you want the Core #ChoiceList to set the default and needs, using the list(), then you don't need the altlist(). If you want the Core list to also fill in the name extension, then use the altlist from your sencond #Choicelist to fill that, using %CoreAltList% and drop your second #ChoiceList entirely. If you actually want two different choices to be made, then restructure your second #ChoiceList to use list() instead of altlist(). Finally, there's no upto(), so nothing to limit increasing the skill, if that's what you mean. Also, the code tags are your friend for keeping things formatted here, although the small view window is annoying: Code:
_CoreTest2 (%Affinity%), type(IQ/VH), default(SK:%core% - 6), needs(SK:%core%), page(B242), x(_ #ChoiceList(_ name(core), title(Ritual Magic Path), text(Please select an appropriate Ritual Magic core skill:), picksallowed(1), method(bynumber), default(13), list(_ "Alchemy", "Biology", "Body Control", "Computer Hacking", "Herb Lore", "Musical Influence", "Physics", "Blind Fighting", "Invisibility Art", "Zen Archery", "Pressure Secrets", "Weird Science", "Ritual Magic", "Thaumatology" _ )_ )_ #ChoiceList(_ name(Affinity), title(Ritual Magic Path), text(Please select an appropriate Ritual Magic core skill:), picksallowed(1), method(bynumber), default(13), list(_ #grouplist(GR:Affinity Skills, flags(NoPrefix))_ )_ )_ ) ETA: Just noticed a rogue carriage return; hopefully that's just an artifact of the forum, but if it's in your code, you should remove that, two lines up from the bottom. Also, there's a comma just above that carriage return that should be an _, as well the comma after the first list() should be _.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. Last edited by Armin; 11-16-2018 at 06:33 PM. |
|
11-16-2018, 06:44 PM | #29 | |
Join Date: Nov 2008
Location: Yukon, OK
|
Re: Making Pick lists
Quote:
I misunderstood him and thought each string had to have separate named lists. Sorry forgot about the code tag, though yeah that small window is annoying.
__________________
My GURPS publications GURPS Powers: Totem and Nature Spirits; GURPS Template Toolkit 4: Spirits; Pyramid articles. Buying them lets us know you want more! My GURPS fan contribution and blog: REFPLace GURPS Landing Page My List of GURPS You Tube videos (plus a few other useful items) My GURPS Wiki entries |
|
11-16-2018, 06:55 PM | #30 |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Making Pick lists
Glad things are working better.
(I usually copy the code out to another window to check over it, but for smaller blocks the code blocking does help.)
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
|
|