I saw lots of guides on how to create custom new games setups but none one them showed how to start with custom faction reps.
I want to start with +10 reputation with the argon, how can i do that?
Can you help me create a new a specific newgame setup please?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 1
- Joined: Wed, 31. Jul 19, 17:01
-
- Posts: 158
- Joined: Fri, 12. Jul 19, 14:03
Re: Can you help me create a new a specific newgame setup please?
you can do it in md with <add_faction_relation faction="faction.player" otherfaction="faction.argon" value="10" />
Re: Can you help me create a new a specific newgame setup please?
This is the definition from common.xsd found in the libraries folder:
The "value" ranges between 0 and 1 (rank 10 = 0.01, rank 20 = 0.1 and rank 30 = 1.0). Also the "reason" is a requirement. Hence, for a rank 10, you should do something like this:
Cheers Euclid
Code: Select all
<xs:element name="add_faction_relation">
<xs:annotation>
<xs:documentation>
Add global faction relation
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="action" />
<xs:attribute name="faction" type="faction" use="required" />
<xs:attribute name="otherfaction" type="faction" use="required" />
<xs:attribute name="value" type="expression" use="required">
<xs:annotation>
<xs:documentation>
Relation boost value
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="reason" type="relationchangereasonlookup" use="required">
<xs:annotation>
<xs:documentation>
The reason for relationship change
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Code: Select all
<add_faction_relation faction="faction.argon" otherfaction="faction.player" value="0.01" reason="relationchangereason.killedobject"/>
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786