-
March 11th, 2018, 21:41 #21
Well I have hit a very confusing situation. After playing with the MoreCore Ruleset to mess around with the custom /bane and /boon rolls I achieved partially what I was trying to achieve. I wanted to make the banes show up with red negative dice in the chat and the boons to show up with green. I was able to get this to work.
At this point I decide to move those changes to the SotDL MoreCore extension. I added the custom dice to the gameelements.xml. I added the proper icons in the graphics folders and defined them in the graphics_icons.xml. I copied my modified manager_custom_bane and boon scripts to the scripts folder and added them to the extension.xml.
I deleted the modified MoreCore ruleset and reverted it to the standard one. Then fired up FG, loaded a MoreCore campaign with only the modified MCSotDL extension loaded. This is where I get the unexpected (to me anyway) results. If I have the bane script listed first in the extension.xml then the /bane uses the roll from MoreCore ruleset but the /boon from my extension. If I have the boon script listed first in the extension/xml the opposite is true. I can't work out why this is happening.
MCSotDL-Test.zipLast edited by mozmonar; March 11th, 2018 at 22:23. Reason: Typos
-
March 11th, 2018, 21:55 #22
I believe it would be two rolls.
However why dont you use the Shadowrun ruleset instead?
While you cant have a Text label Modifier manipulate the Roll Functionality MoreCore does retain the Name of the /mod roll being used and uses it in the description. So you can have Karma appear in the roll description from a /mod 0 but it wont mechanically alter anything but the Chat Message.
-
March 11th, 2018, 21:57 #23
- Join Date
- Mar 2018
- Posts
- 27
Rand() is the easiest function you can use lol.
-
March 11th, 2018, 22:21 #24Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 12th, 2018, 05:22 #25
-
March 12th, 2018, 05:33 #26
I had considered that. But I avoided it because I already have so many PCs and NPCs with multiple /bane and /boon rolls linked on them and I was trying to avoid having to go change them all.
If I can't work out what the issue is I will probably just unpack the MoreCore and replace the rolls there since I know they worked there. I know that it will overwrite if/when a new version is released. I have more work to do on it still.
-
March 12th, 2018, 05:55 #27
You have three scripts with the same name - DesktopManagerSotDL
<script name="DesktopManagerSotDL" file="scripts/data_library_com.lua" />
<script name="DesktopManagerSotDL" file="scripts/manager_custom_boon.lua" />
<script name="DesktopManagerSotDL" file="scripts/manager_custom_bane.lua" />
They all need unique names.
<script name="DesktopManagerSotDL" file="scripts/data_library_com.lua" />
<script name="CustomDiceBoon" file="scripts/manager_custom_boon.lua" />
<script name="CustomDiceBane" file="scripts/manager_custom_bane.lua" />
-
March 12th, 2018, 05:58 #28
That makes sense. So the last one listed is the only one to execute. Cut and paste you are a fickle friend!
p.s. Thank you
-
March 13th, 2018, 06:47 #29
Thanks again damned
After changing the script name it worked perfectly. The banes show red negative dice, the boons show green positive. I slightly altered the text string as well. Appreciate you holding my hand through my awkward fumblings through the xml and Lua stuff.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks