I have updated the extension and no longer get the deprecated error. There were a few other lines I needed to amend when using the OOBMesssage but all good now, thanks.
Printable View
Good stuff Brotherkelly
Hi Damned, currently importing Super Squadron from the 80's into MoreCore. I realise the above is likely pre-unity but I did the above, repacked it all and Unity started throwing errors re unknown rule system. I had to remove the .pak and allow FG to reload it and of course this wiped out the changes. Most attributes are double digits in Super Squadron, so how do I set the fields to show them?
Also, is there a way to set a parameter value by using two other fields. I want to have a range modifier calculated and displayed in a parameter field (p1) by including 2 reference fields (a) and (b). Is there some way to get (p1) to display (a)+(b)?
Finally, there is a stat that may contain a static field or a die in Super Squadron that gets applied to damage. Is there a way that I can make a damage roll that adds that static amount or die to the roll?
Hi Naron5
There is an extension somewhere called Wide Peas that will make the change for you.
Make sure you are using MoreCore from the Forge now - that extension is still hidden somewhere in the forums - a search will reveal it.
No - there is nothing in MoreCore that will do what you want with showing a calculated value in a P field.
You would likely have to think about it differently or write an extension.
I took the srun4 die roller and modified it.
I modified the onLanded to include:
This is similar to other code I've seen in other dice rollers for changing the color of the die.Code:for _,v in ipairs (aDice) do
v.exploded = false;
local dieType = v.type;
if v.result >= nSucessThreshold then
nSuccesses = nSuccesses + 1;
dieType = "d3006"
if v.result == getDieMax(v.type) and nLimit == 0 then
table.insert(aRerollDice, v.type);
dieType = "d2006";
v.exploded = true;
end
elseif v.result <= nGlitchThreshold then
dieType = "d1006";
nFails = nFails + 1;
end
v.type = dieType;
table.insert(aSavedDice, v);
end
They show #d# at the heading for the chat message but I'm getting:
Attachment 53056
Anyone have a suggestion on how to get it to display all the d2006, d1006 and d3006 as d6?
If the file, campaign\record_cas.xml there is:
How in an extension can I replace the <script> section with either a file or just the text.Code:<windowclass name="cas_stats">
<sheetdata>
<string_column name="clichatcommand">
<script>
function onLoseFocus( )
end
</script>
</string_column>
</sheetdata>
</windowclass>
I don't want to replace the entire windowclass and have to copy all of what is in morecore for this windowclass.
I've tried using mergerule in several places but to no effect.
No if you look at the image, the heading where the dice display in chat has a string showing the codes for the colored dice.
If the result has 10 dice being rolled then I want it to say 10d6 not 2d6+2d1006+d6+3d2006+2d3006.
I've seen other rolls in morecore that do this, I just can't figure out how it's done.