-
December 29th, 2022, 22:47 #11
Couple of things to help.
Type in chat /debug on and this adds a panel top left that displays more information about whatever your mouse is hovering over.
Find features/interfaces/workflows in existing rulesets that you want to emulate/learn/modify/steal and then use find in files search to locate them.
Note many components will rely on multiple pieces of code/definition to make work.
Eg a button will have
(one or more) icon/graphic definitions in another file
probably (one or more) templates in another file
some positioning and anchoring where the button is used
possibly some inherited anchoring from the template
some script or functions where the button is used
possibly some script or functions from the template
So once you locate the initial code in the ruleset (CoreRPG or the ruleset on top eg 5E or other) you will also have to backtrack to find these other components.
examples:
Code:<icons>char_attacks</icons>
Code:<icon name="char_attacks" file="graphics/icons/char_attacks.png" />
Code:<label_charframetop name="weapontitle">
Code:<template name="label_charframetop"> <metalplate> <frame name="metalplate" offset="10,2,10,2"/> <font>subwindowsmalltitle</font> <center /> <nodrag /> <readonly /> <script file="campaign/scripts/char_labelframetop.lua" /> </metalplate> </template>
Code:<template name="metalplate"> <stringcontrol> <frame name="metalplate" offset="10,2,10,2"/> <font>subwindowtitle</font> <nodrag /> <readonly /> </stringcontrol> </template>
Sometimes you will have to search just the layered ruleset, sometimes you will need to go back up and also search CoreRPG too.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks