News:

Welcome to the Herolab 4e user added support site.

Main Menu
+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats ezBlock

Members
Total Members: 266
Latest: servisnyy_etSi
New This Month: 4
New This Week: 4
New Today: 2
Stats
Total Posts: 760
Total Topics: 370
Most Online Today: 12
Most Online Ever: 486
(October 05, 2025, 05:27:10 PM)
Users Online
Members: 0
Guests: 12
Total: 12

Background "Occupation - Thief"

Started by dracusmage, August 06, 2014, 02:11:03 PM

Previous topic - Next topic

dracusmage

This background, when selecting the class skill option  is instead of allowing the character to use one of its normal skill options to pick Thievery or Stealth (nominally not normally a class skill or you would pick something else), it instead just gives training in whichever skill is selected, leaving the character with an extra skill at the end.

It should instead either reduce the number of skill choices for the character and retain its current function (less ideal), or it should just add the choice as another possible check box on the skill page (better). Either would prevent picking too many skills, but the first option would be much less clear why they suddenly have one less skill to pick than the rules say they should.

dracusmage

#1
Does anyone know how backgrounds work? Because clearly they don't actually do the heavy lifting in the background listing. Is it in some other data file that it specifies how the background information is used to generate the actual work on the character sheet?

I think it may be in tab_theme.dat where the damage is done. Is that what Daphne did work on?

dracusmage

As I tried to figure out a different scripting error, I think I have happened upon the actual problem area. actor.str has a script that runs when you have a background:
      ~if we have a background bonus skill selected, add to it
      if (compare(field[acBGExpr].text, "FALSE") = 0) then
        perform field[acBGSkill].chosen.setfocus
        if (state.isfocus <> 0) then

          ~for skills, pick between a +2 bonus and training
          if (focus.tagis[component.Skill] <> 0) then
            if (field[actBGSkCls].value = 0) then
              perform focus.field[trtBonus].modify[+,2,"Background"]
            else
              perform focus.assign[Helper.Trained]
              endif

          ~languages are no longer hidden
          elseif (focus.tagis[component.Language] <> 0) then
            perform focus.assign[Helper.ChosenLang]
            endif
          endif
        endif

Lines 785-803. It seems that 795 is the problem where it does
perform focus.assign[Helper.Trained]
but should instead do
perform focus.assign[Helper.{Whatever code is used to make it a class skill rather than a trained skill}]
As should be abundantly clear, I don't know what the eval code way of assigning a class skill option is. Does anyone else? Looking around tags.1st it seems that there may not be a way to use Helper to make it a class skill, only to actually give the skill. Anyone else have any ideas? If I have to, I guess I'll just add to the script that just reduces the number of skill choices by 1, which I am pretty certain I can do. From a min-max stance, this doesn't change anything, because if you weren't going to take the new class skill as a trained skill, you are better off with the +2 bonus, but it reduces the clarity to the end user, as they won't know why they have 1 fewer skill choices than their class says they should.

Cryptoknight

Up above I saw this


<!-- Background bonus skill, if any -->
    <field
      id="acBGSkill"
      name="Background Skill Bonus"
      type="user"
      style="menu">
      </field>
    <field
      id="acBGExpr"
      name="Background Skill Expression"
      type="derived"
      maxlength="500"
      defvalue="FALSE">
      </field>
    <field
      id="actBGSkCls"
      name="Background Skill Is Class"
      type="user"
      minvalue="0"
      maxvalue="1">
      </field>


It looks like the choices could be there...
But after staring at this for several hours trying to find a way that skills are made into class skills, but that seems to be something that only happens to a class.  Ugh.

+-Recent Topics

Селектор онлайн — пространство, где страсть становится вдохновением by CharlesImmEk
March 06, 2025, 08:58:34 AM

Купить Экстази и МДМА в Украине? САЙТ - KOKAINES.STORE Купить Экстази и МДМА Кие by DavidgfeTashy
February 04, 2025, 06:27:35 PM

What Are the Top 3 Skills for Remote Work in 2024? by JamesQuorp
January 27, 2025, 01:00:47 PM

Корисні відомості для українських громадян, які збираються створити свою справу by AliceResia
January 05, 2025, 12:21:29 PM

4e wont open due to duplicate files error by Fox Lee
April 14, 2024, 01:01:14 AM

Community Data files update 2023-02-16 by Tdotku1911
September 28, 2023, 08:52:54 PM

Errors from last update by jrmcnz
July 17, 2023, 03:30:56 PM

Community Data files update 2023-04-28 by Fox Lee
April 27, 2023, 09:40:45 PM

3rd Party - Zeitgeist character options by Fox Lee
March 25, 2023, 03:21:38 AM

Community Data files update 2023-03-25 by Fox Lee
March 25, 2023, 02:46:40 AM

Our Unofficial Update for Hero Lab 4e by jklagenberg
February 11, 2022, 09:00:52 AM

Kensei Focus - Paragon Path Feature by Charlie
October 21, 2020, 10:13:36 PM

Warlord Scraper Error Fixes by Fox Lee
April 03, 2020, 08:05:51 PM

Herolab 4e Themes Modification by Cryptoknight
July 27, 2019, 02:47:44 AM

Themes Collection by Cryptoknight
July 27, 2019, 02:47:44 AM

Feats Bug Fixes Package by Cryptoknight
July 27, 2019, 02:47:44 AM

Darksun Themes Package by Cryptoknight
July 27, 2019, 02:47:44 AM

Defensive Feats by Cryptoknight
July 27, 2019, 02:47:44 AM

Theme Framework for HeroLab 5 / 4e 4.0 - .HL version by Daphne
July 27, 2019, 02:47:44 AM

2014 09 20 Release by Cryptoknight
July 27, 2019, 02:47:44 AM

2014-09-29 Download by Cryptoknight
July 27, 2019, 02:47:43 AM

2014 11 13 Download by Cryptoknight
July 27, 2019, 02:47:43 AM

Hybrid Battlemind not working as it should by Sean Abel
July 27, 2019, 02:45:49 AM

Please read this and weigh in - Issue/Source/Document Version Control System by nixxrite
March 29, 2019, 07:14:36 AM

Items, Feats and Magic Armour calculations not working by Charlie
March 28, 2019, 01:13:14 PM

Powered by EzPortal