PDA

View Full Version : Modifying the Dark Heresy ruleset

Morbid-Don
October 26th, 2015, 21:08
I have a question...

I'm playing with the Dark Heresy Ruleset provided hereon on this website...

As such - where would I look to modifiy the logic behind being Trained in a Skill vs. Not Being Trained

I.E. 50% values was 1st Edition
2nd Edition now does the -20% thing

I'd like to mod me ruleset to reflect this - any suggestions?

On an off note funny enough I have some software called ALIAS FIND & REPLACE which can search the code of individual files within a folder (i.e. directory) for specifics in the file code; figured I would have found some math like "50/2" or the like... go figure

TTYL FG Community!

damned
October 27th, 2015, 22:42
i dont have time to have a look right now but start with teh character sheet and find the class for the skills.
search back on that term for other files containing that term.
you might have to search a further level deep again using the next search term...

Morbid-Don
October 28th, 2015, 19:18
I'm no programmer but suspect that this may be the section of code that need adjusting...

campaign > record_char_skills.xml

<script>
function getTotal()
local nAB = tonumber(window.stat.getValue());
local nTR = window.skilltrained.getValue();
local nST = 0;

if nAdv1 == 1 then
else
end

if nAdv2 == 1 then
else
end
if nAdv3 == 1 then
else
end
if nAdv4 == 1 then
else
end

if nTR == 1 then
else
nST = math.floor(nAB * .5);
end

setValue(nST);
end
</script>

nST = math.floor(nAB * .5);

That right there means to divide by half, right? (can anyone be soo kind as to post up the code to change this to -20% untrained skills)

damned
October 29th, 2015, 09:22
-20% could be as simple as changing it to nST = math.floor(nAB * .8);
but I suspect you actually want to subtract 20 and not 20%?
if you want to subtract 20 is there a minimum number? what is the minimum number?
You could try this.
nST1 = nAB-20;
if nST1 < 0 then
nST1 = 0;
else nST = nST1;
end
???

Morbid-Don
October 29th, 2015, 18:30
Yes I meant -20 to the skill which would be technically -20 from the corresponding "stat" associated to said skill...

Minimum number being 0; yes...

I tried the above - to no avail (laughs)
I thank you damned I think I'm going to give up on FG and never support it till it matures maybe in 10 years I'll come back to it
- programming shouldn't be required at consumer level (sell this company to someone who can bankroll and full realize it please)

FIN

mariic
March 19th, 2016, 00:31
How can I convert the rule set to Adeptus Evangelion?