|
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
The system I'm working on has Areas of Expertise that you can add to a skill if you have 3 or more points in the skill. They add a +2 bonus to that specific bonus, and I was trying to think where I saw that before. Then I remembered Shadowrun does that with specialties.
I was wondering how they were handled? I'm guessing the action button brings up a form, but I'm not really sure how it's handled. I'm going to make the AoEs as things that are the expertise component which looks like when I glance at the editor for Shadowrun 5, but I'm just looking for an idea of how to handle these. |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Looks like I need to do the skills as gizmos to copy the functionality from Shadowrun since each skill will need its own set of picks.
|
#2 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Well got a form setup (the example form in the wiki is using the panel element instead of form, so it was a little confusing). Now to figure out how to turn all the skills into gizmos.
|
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Made it a step further, made all the skills Gizmos, "+" button I have accesses a form called "expertise" which lists all the areas of expertise in the game.
Couple interesting things happened, since I changed the button action from form to edit now my form comes up with just ????? for the names in it. also when I had things I get this error Code:
Attempt to use a 'headertitle' script within a table with no valid 'headerthing' for portal '_headerui' - - - Attempt to use an 'additem' script within a table with no valid 'addthing' for portal '_tableadd_' - - - Attempt to use a 'headertitle' script within a table with no valid 'headerthing' for portal '_headerui' - - - Attempt to use an 'additem' script within a table with no valid 'addthing' for portal '_tableadd_' |
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,215
|
Are you asking a question, or just reporting the status of your project?
|
#5 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Bit of both really, I've just been trying to figure it out on my own, but I was hoping to find out how Shadowrun Specialties worked and reporting my progress towards figuring it out so I would hopefully be answering some of the questions that might be asked of me without having to wait for further questions.
|
#6 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
New update, got rid of the ???? for the add item part, I noticed your comment at the end of the post about bootstrapping a simple thing.
The header still shows up as ?????? and gives me a warning about no valid headerthing but I can't find a reference anywhere to headerthing. So where I'm at now is 1) need to figure out how to get a header for it 2) need to figure out how to limit the selections to options only available to the selected skill 3) change the name of the skill so it says SKILLNAME (+2 EXPERTISE, +2 EXPERTISE, ...) |
#7 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,215
|
Look on the wiki page describing the elements of a table_dynamic portal for headerpick and addpick.
|
#8 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Aha, #1 down, added the simple thing to headerpick="" and my header shows up.
|
#9 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,215
|
<needtag> is what Shadowrun uses for #2
For #3, debug the fields on a skill in Shadowrun, and watch how those change as you add specialties. |
#10 |
|
|