greatUnknown wrote:
but a quick and dirty workaround is to give yourself some extra cash, e.g.
<credits add="32"/>, and just buy the advancement on your first move after colonizing.
That's not what I'm trying to accomplish. I don't just want a freebie for myself, I want the AI to get it as well. I feel the -50% alien aggression is overpowered and I would like to replace it with something that works along the same lines, but keeps the Terran Salvan faction on an even footing with the others. If they get both the tech and the Accomplishment, that would give them a good early game advantage without making them unbalanced, as I feel they are now.
SephiRok wrote:I think the only way is if you set <advancement producable="0" ...> in advancement AlienAggression.xml.
But how would I translate that to the Faction.xml so that the Terran Salvan get the Accomplishment built at start up? I did manage to get the free tech to work after looking at the Togra's file, but I don't know what command I can use for the Accomplishment. No one else has anything similar I can compare their entries with. I've come up with something of a compromise right now by giving them an additional Drone to start with, but I would prefer that they get the Accomplishment. And where in the AlienAggression.xml file would I put that line? I really don't find your xml files to be all that user friendly, frankly. It's difficult to figure out what goes where.
PS: I reorganized the format so that I can understand it better and came up with this:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<advancement cost="32" icon="Icons/Advancements/Default" tier="0">
<modifiers>
<modifier>
<effects>
<alienAggression sub="0.25"/>
<score strategy="Build" add="0.5"/>
<score strategy="Fight" add="0.5"/>
</effects>
</modifier>
</modifiers>
<requirements>
<group>
<player>
<technology name="AlienAggression"/>
</player>
</group>
</requirements>
</advancement>
Now where would I place that line you mention? I tried different locations but kept coming up with an error message. And what exactly do those "score strategy" effects do?