I apologize that I haven't had the time before now to lay out how to modify Hero Lab for the Cheese Grinder rules.
(Here's the ruleset, for anyone else who's reading this: http://www.thecheesegrinder.com/index.php?option=com_content&view=article&id=6&Itemid=2)
On the mechanics tab, create a new mechanic, and use the "Sources" button to assign this to a new "Cheese Grinder" source.
Now, press the "Eval Script" button at the top right, and "click to add another eval script".
The first thing we'll handle is that you want a 40-point attribute point buy.
herofield[tGen].value stores the number of attribute points the user the user has chosen on the Configure Hero form (herofield[tGen].value = 0 means the "Pick/roll ability scores" method. So, we'll add a script to override that.
Normally, these are values that the user would set. Hero Lab's been told that they're user fields, and normally, the compiler would give errors if a user field was modified. So, beginning the script with "trustme" turns off that error report from that point to the end of the script.
Timing: First/5000
The same script can be used for starting level and cash, too.
An important note about Mechanics:
Once a mechanic has been added to a character (namely, the testing character), you can no longer use "Test Now!" to apply an incremental change in that Mechanic. Instead, switch windows to the main Hero Lab window, and on the Develop menu, select "Quick Reload Data Files" (keyboard shortcut ctrl-r). That will apply the changes you've made to your mechanic.
(Here's the ruleset, for anyone else who's reading this: http://www.thecheesegrinder.com/index.php?option=com_content&view=article&id=6&Itemid=2)
On the mechanics tab, create a new mechanic, and use the "Sources" button to assign this to a new "Cheese Grinder" source.
Now, press the "Eval Script" button at the top right, and "click to add another eval script".
The first thing we'll handle is that you want a 40-point attribute point buy.
herofield[tGen].value stores the number of attribute points the user the user has chosen on the Configure Hero form (herofield[tGen].value = 0 means the "Pick/roll ability scores" method. So, we'll add a script to override that.
Normally, these are values that the user would set. Hero Lab's been told that they're user fields, and normally, the compiler would give errors if a user field was modified. So, beginning the script with "trustme" turns off that error report from that point to the end of the script.
Timing: First/5000
Code:
trustme
herofield[tGen].value = 40
The same script can be used for starting level and cash, too.
Code:
trustme
herofield[tGen].value = 40
herofield[tStartLev].value = 11
herofield[tStartPP].value = 0
herofield[tStartGP].value = 100000
herofield[tStartSP].value = 0
herofield[tStartCP].value = 0
An important note about Mechanics:
Once a mechanic has been added to a character (namely, the testing character), you can no longer use "Test Now!" to apply an incremental change in that Mechanic. Instead, switch windows to the main Hero Lab window, and on the Develop menu, select "Quick Reload Data Files" (keyboard shortcut ctrl-r). That will apply the changes you've made to your mechanic.
Last edited: