Difference between revisions of "HowTo:Edit faction relationships"

From VsWiki
Jump to: navigation, search
(added basic content)
 
(Sample file: added reduced sample file)
Line 7: Line 7:
 
= EDIT FACTION RELATIONSHIPS =
 
= EDIT FACTION RELATIONSHIPS =
 
== Sample file ==
 
== Sample file ==
 +
This sample file has been grabbed from the 0.4.x CVS <code>factions.xml</code> file (2005 03 31) and reduced to only a few factions (tha main ones are: privateer, confed, aera).
 +
<pre>
 +
<Factions>
 +
<Faction name="neutral" logoRGB="logos/confedPri.png" logoSec="logos/confedSec.png"/>
 +
<Faction name="privateer" logoRGB="logos/privateerPri.png" secLogoRGB="logos/privateerSec.png" contraband="contraband" sparkred=".4" sparkgreen=".4" sparkblue="1">
 +
<stats name="privateer" relation="0"/>
 +
<stats name="confed" relation=".2"/>
 +
<stats name="aera" relation="-.5"/>
 +
<Explosion name="explosion_orange.ani"/>
 +
<!-- <CommAnimation> 
 +
<MoodAnimation name="explosion_orange.ani" sex="0"/> 
 +
</CommAnimation>  -->
 +
</Faction>
 +
<Faction name="confed" logoRGB="logos/confedPri.png" secLogoRGB="logos/confedSec.png" contraband="contraband" sparkred="0" sparkgreen="0" sparkblue="1">
 +
<stats name="privateer" relation=".2"/>
 +
<stats name="confed" relation="1"/>
 +
<stats name="aera" relation="-1"/>
 +
<Explosion name="explosion_orange.ani"/>
 +
<!-- <CommAnimation> 
 +
<MoodAnimation name="explosion_orange.ani" sex="0"/> 
 +
</CommAnimation>  -->
 +
</Faction>
 +
<Faction name="aera" logoRGB="logos/aeraPri.png" secLogoRGB="logos/aeraSec.png" contraband="contraband" sparkred="0" sparkgreen="1" sparkblue="0">
 +
<stats name="privateer" relation="-.5"/>
 +
<stats name="confed" relation="-1"/>
 +
<stats name="aera" relation="1"/>
 +
<Explosion name="explosion_aera.ani"/>
 +
<!-- <CommAnimation> 
 +
<MoodAnimation name="explosion_aera.ani" sex="0"/> 
 +
</CommAnimation>  -->
 +
</Faction>
 +
<Faction name="upgrades" logoRGB="logos/confedPri.png" logoSec="logos/confedSec.png"/>
 +
<Faction name="planets" logoRGB="logos/confedPri.png" logoSec="logos/confedSec.png"/>
 +
</Factions>
 +
</pre>
  
 
= See also =
 
= See also =

Revision as of 18:19, 31 March 2005

arrow_left.png Add Conversations arrow_up.png HowTo Edit Missions arrow_right.png

EDIT FACTION RELATIONSHIPS

Sample file

This sample file has been grabbed from the 0.4.x CVS factions.xml file (2005 03 31) and reduced to only a few factions (tha main ones are: privateer, confed, aera).

<Factions>
	<Faction name="neutral" logoRGB="logos/confedPri.png" logoSec="logos/confedSec.png"/>
	<Faction name="privateer" logoRGB="logos/privateerPri.png" secLogoRGB="logos/privateerSec.png" contraband="contraband" sparkred=".4" sparkgreen=".4" sparkblue="1">
		<stats name="privateer" relation="0"/>
		<stats name="confed" relation=".2"/>
		<stats name="aera" relation="-.5"/>
		<Explosion name="explosion_orange.ani"/>
<!--		<CommAnimation>  
			<MoodAnimation name="explosion_orange.ani" sex="0"/>  
		</CommAnimation>  -->
	</Faction>
	<Faction name="confed" logoRGB="logos/confedPri.png" secLogoRGB="logos/confedSec.png" contraband="contraband" sparkred="0" sparkgreen="0" sparkblue="1">
		<stats name="privateer" relation=".2"/>
		<stats name="confed" relation="1"/>
		<stats name="aera" relation="-1"/>
		<Explosion name="explosion_orange.ani"/>
<!--		<CommAnimation>  
			<MoodAnimation name="explosion_orange.ani" sex="0"/>  
		</CommAnimation>  -->
	</Faction>
	<Faction name="aera" logoRGB="logos/aeraPri.png" secLogoRGB="logos/aeraSec.png" contraband="contraband" sparkred="0" sparkgreen="1" sparkblue="0">
		<stats name="privateer" relation="-.5"/>
		<stats name="confed" relation="-1"/>
		<stats name="aera" relation="1"/>
		<Explosion name="explosion_aera.ani"/>
<!--		<CommAnimation>  
			<MoodAnimation name="explosion_aera.ani" sex="0"/>  
		</CommAnimation>  -->
	</Faction>
	<Faction name="upgrades" logoRGB="logos/confedPri.png" logoSec="logos/confedSec.png"/>
	<Faction name="planets" logoRGB="logos/confedPri.png" logoSec="logos/confedSec.png"/>
</Factions>

See also


arrow_left.png Add Conversations arrow_up.png HowTo Edit Missions arrow_right.png