In the game I am attempting to create in HL, each race has a differing number of CP. I set the starting CP to zero in actor.str (along with Abilities which also are variable based on race).
Now I am attempting to determine how/where in thing_races.dat I can modify the CP and ability count for the selected race.
Here is what I have which does not work.
acVariance is the renamed acStartCP and acTalents is acStartAbi. Any guidance in this area would be appreciated.
Now I am attempting to determine how/where in thing_races.dat I can modify the CP and ability count for the selected race.
Here is what I have which does not work.
Code:
<thing
id="racTerran"
name="Terran Human"
compset="Race"
isunique="yes"
description="These humans originate from the home world of humans, Terra. They gain +1 APP, +1 LUK, and -1 WIL. Terran Humans have 3 variance points and gain two Talents.">
<eval value="1" phase="PreTraits" priority="5000">
<before name="Calc trtFinal"/><![CDATA[
#traitbonus[attrApp] += 1
#traitbonus[attrLuk] += 1
#traitbonus[attrWil] -= 1
~#acVariance = 3
~#acTalents = 2
]]></eval>
</thing>
acVariance is the renamed acStartCP and acTalents is acStartAbi. Any guidance in this area would be appreciated.