Galgus
Emperor
- Joined
- Aug 22, 2012
- Messages
- 1,705
I'm trying to learn how to mod artifact rewards beyond the basic modification of their buildings, playerperks, and promotions.
So if I, say, wanted to either change Projected Chasis Construction to a playerperk benefit or add a playerperk benefit to it, how would I go about that without directly editing game files?
__________________________________________________________
To create new artifact rewards, would I just use this style, with the names obviously changed?
_______________________________________________
What determines which artifact reward is associated with what, and is there a way to modify that for adding new rewards?
_____________________________________________
For a simpler question, is this the correct way to replace a playerperk's bonus?
It did not seem to work when I tried it, though it could have easily been something else.
So if I, say, wanted to either change Projected Chasis Construction to a playerperk benefit or add a playerperk benefit to it, how would I go about that without directly editing game files?
__________________________________________________________
To create new artifact rewards, would I just use this style, with the names obviously changed?
Code:
<ArtifactRewards>
<!-- Old Earth (Building) Rewards -->
<Row>
<ID>0</ID>
<Type>ARTIFACT_REWARD_FRONTIER_STADIUM</Type>
<Description>TXT_KEY_ARTIFACT_REWARD_FRONTIER_STADIUM_DESCRIPTION</Description>
<Explanation>TXT_KEY_ARTIFACT_REWARD_FRONTIER_STADIUM_EXPLANATION</Explanation>
<EffectsSummary>TXT_KEY_ARTIFACT_REWARD_FRONTIER_STADIUM_EFFECTS_SUMMARY</EffectsSummary>
<BuildingReward>BUILDING_FRONTIER_STADIUM</BuildingReward>
<Category>ARTIFACT_CATEGORY_OLD_EARTH</Category>
</Row>
</ArtifactRewards>
What determines which artifact reward is associated with what, and is there a way to modify that for adding new rewards?
_____________________________________________
For a simpler question, is this the correct way to replace a playerperk's bonus?
It did not seem to work when I tried it, though it could have easily been something else.
Code:
<PlayerPerks>
<Update>
<Where Type="PLAYERPERK_ZYGOTIC_ENGINEERING" />
<Set GrowthCarryover="30" />
</Update>
</PlayerPerks>
<PlayerPerks>
<Update>
<Where Type="PLAYERPERK_MACHINE_ASSISTED_FREE_WILL" />
<Set GlobalTechCostModifier="0"
FreeTech="true" />
</Update>
</PlayerPerks>