Member
Join Date: Aug 2009
Location: Finger Lakes Region, New York
Posts: 59
|
Is there a way for me to override text from various features? I DM a game and for the backgrounds, spells, etc. that are specifically selected by my players, I'd like to enter in the full text from the Player's Handbook instead of "placeholder" that appears in many places in the community files.
What I don't want to do is edit the actual .user files from the community files because then my changes would be lost the next time where is a community file update. Thanks. CNYGamer |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
See THIS post.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Member
Join Date: Aug 2009
Location: Finger Lakes Region, New York
Posts: 59
|
ShadowChemosh,
Would you be willing to give me a more detailed example of how to do this? For example, if I wanted to change the description text of the background ideal called "beauty" (bt5CBeaut) for the Entertainer background from "placeholder" to "looks good" how would I accomplish this without actually making changes to the 5e community .user files? Thanks in advance for any information. Coming into this cold, it can be tough to get a toe hold to get started. CNYGamer |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Quote:
Code:
perform state.thing[bt5CBeaut].amendthing[description,"looks good"] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
||
#4 |
Member
Join Date: Aug 2009
Location: Finger Lakes Region, New York
Posts: 59
|
I've used the editor and successfully added in my own items to my game, so not completely cold. I just didn't understand how to replace something that was already created. Anyway, I created a new mechanic in the editor and added in the perform command you mentioned, and it works nicely.
Thank you very much. CNYGamer |
#5 |
Member
Join Date: Mar 2014
Posts: 60
|
Thank also, this was just what I was looking for as well!
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
No problem.
Going to leave a small "FYI" note. That if you put several hundred of these scripts to change names/description it "could" start to affect performance especially on a tablet. My houserules file for Pathfinder maybe does a few dozen of these and no issues. But if you get into updating the "full" text into everything you may cause issues. Last FYI is maybe a better way is that daplunk has asked for help making "paraphrased" text that we can then use into the community Pack. As long as you keep the wording to just "mechanics" or change 75% of the wording the community is safe to use it. Then "everyone" could get a benefit out of the effort. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#7 |
Member
Join Date: Mar 2014
Posts: 60
|
What I started doing was to put the actual description in the new Mechanics 'thing' and put the following in the eval script:
perform state.thing[communityThingId].amendthing[description,field[descript].text] |
#8 |
|
|