Difference between revisions of "MW Factions"

From MMNet Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
For MegaMekNET-specific Faction information, check [[Factions|here]].
 
For MegaMekNET-specific Faction information, check [[Factions|here]].
  
 +
===Faction Definition===
 
Factions are defined at initial server start in data/factions.xml.  A sample faction entry, taken from the default factions.xml shipped with MekWars is as follows:
 
Factions are defined at initial server start in data/factions.xml.  A sample faction entry, taken from the default factions.xml shipped with MekWars is as follows:
  
Line 63: Line 64:
  
 
<br clear=all>
 
<br clear=all>
'''Influence Tab'''
+
===Influence Tab===
 
[[File:mw_factionconfigmenu_influencetab.png|thumb|The Influence Tab]]
 
[[File:mw_factionconfigmenu_influencetab.png|thumb|The Influence Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Pilots Tab'''
+
===Pilots Tab===
 
[[File:mw_factionconfigmenu_pilotstab.png|thumb|The Pilots Tab]]
 
[[File:mw_factionconfigmenu_pilotstab.png|thumb|The Pilots Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Pilot Skills (Mek) Tab'''
+
===Pilot Skills (Mek) Tab===
 
[[File:mw_factionconfigmenu_skillstab1.png|thumb|The Pilot Skills (Mek) Tab]]
 
[[File:mw_factionconfigmenu_skillstab1.png|thumb|The Pilot Skills (Mek) Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Pilot Skills Tab'''
+
===Pilot Skills Tab===
 
[[File:mw_factionconfigmenu_skillstab2.png|thumb|The Pilot Skills Tab]]
 
[[File:mw_factionconfigmenu_skillstab2.png|thumb|The Pilot Skills Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Pilot Skill Mods Tab'''
+
===Pilot Skill Mods Tab===
 
[[File:mw_factionconfigmenu_skillmodtab.png|thumb|The Pilot Skill Mods Tab]]
 
[[File:mw_factionconfigmenu_skillmodtab.png|thumb|The Pilot Skill Mods Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Repodding Tab'''
+
===Repodding Tab===
 
[[File:mw_factionconfigmenu_repoddingtab.png|thumb|The Repodding Tab]]
 
[[File:mw_factionconfigmenu_repoddingtab.png|thumb|The Repodding Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Rewards Tab'''
+
===Rewards Tab===
 
[[File:mw_factionconfigmenu_rewardstab.png|thumb|The Rewards Tab]]
 
[[File:mw_factionconfigmenu_rewardstab.png|thumb|The Rewards Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Techs Tab'''
+
===Techs Tab===
 
[[File:mw_factionconfigmenu_techstab.png|thumb|The Techs Tab]]
 
[[File:mw_factionconfigmenu_techstab.png|thumb|The Techs Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Units Tab'''
+
===Units Tab===
 
[[File:mw_factionconfigmenu_unitstab.png|thumb|The Units Tab]]
 
[[File:mw_factionconfigmenu_unitstab.png|thumb|The Units Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Units 2 Tab'''
+
===Units 2 Tab===
 
[[File:mw_factionconfigmenu_units2tab.png|thumb|The Units 2 Tab]]
 
[[File:mw_factionconfigmenu_units2tab.png|thumb|The Units 2 Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Unit Limits Tab'''
+
===Unit Limits Tab===
 
[[File:mw_factionconfigmenu_unitlimitstab.png|thumb|The Unit Limits Tab]]
 
[[File:mw_factionconfigmenu_unitlimitstab.png|thumb|The Unit Limits Tab]]
  
  
 
<br clear=all>
 
<br clear=all>
'''Autoproduction Tab'''
+
===Autoproduction Tab===
 
[[File:mw_factionconfigmenu_autoproductiontab.png|thumb|The Autoproduction Tab]]
 
[[File:mw_factionconfigmenu_autoproductiontab.png|thumb|The Autoproduction Tab]]

Revision as of 15:04, 2 December 2015

Factions are the MekWars equivalent of teams. Players in the same faction share resources, such as components and bays, and have a faction-specific dedicated Chat channel.

For MegaMekNET-specific Faction information, check here.

Faction Definition

Factions are defined at initial server start in data/factions.xml. A sample faction entry, taken from the default factions.xml shipped with MekWars is as follows:

		<FACTION>
			<NAME>Davion</NAME>
			<MONEY>180</MONEY>
			<COLOR>#808000</COLOR>
			<ABBREVIATION>D</ABBREVIATION>
			<LOGO>http://www.megamek.com/NoLogo.jpg</LOGO>
			<ID>0</ID>
		</FACTION>

There is more that could be in this file, though, as noted by factions.dtd:

<!ELEMENT ABBREVIATION (#PCDATA)>
<!ELEMENT BASEGUNNER (#PCDATA)>
<!ELEMENT BASEPILOT (#PCDATA)>
<!ELEMENT COLOR (#PCDATA)>
<!ELEMENT CONQUERABLE (#PCDATA)>
<!ELEMENT INHOUSEATTACKS (#PCDATA)>
<!ELEMENT ISMERCENARY (#PCDATA)>
<!ELEMENT LOGO (#PCDATA)>
<!ELEMENT MAYUSEBM (#PCDATA)>
<!ELEMENT MONEY (#PCDATA)>
<!ELEMENT NAME (#PCDATA)>
<!ELEMENT CONQUERABLE  (#PCDATA)>
<!ELEMENT INHOUSEATTACKS (#PCDATA)>
<!ELEMENT HOUSEPLAYERCOLOR (#PCDATA)>
<!ELEMENT DEFECTTO (#PCDATA)>
<!ELEMENT DEFECTFROM (#PCDATA)>
<!ELEMENT ISNEWBIE (#PCDATA)>

Once a faction has been created, it can be edited from the Faction Configuration menu within MekWars (Server Configs -> Faction Configuration)

There are many options in this menu (warning, this is a work in progress, unfinished at the moment):


Direct Sales Tab

The Direct Sales Tab

This tab relates to the ability of players in a faction to sell units directly to each other.

The "Use Direct Sell" checkbox enables or disables Direct Sell for this faction.

The Pricemod for each unit type is an amount added to the direct sales price, paid for either by the seller or recipient, depending on the "Seller Pays" checkbox on the Server Direct Sales menu.


Faction Tab

The Faction Tab

This tab contains miscellaneous configuration options for the faction.


Factory Options Tab

The Factory Options Tab



Influence Tab

The Influence Tab



Pilots Tab

The Pilots Tab



Pilot Skills (Mek) Tab

The Pilot Skills (Mek) Tab



Pilot Skills Tab

The Pilot Skills Tab



Pilot Skill Mods Tab

The Pilot Skill Mods Tab



Repodding Tab

The Repodding Tab



Rewards Tab

The Rewards Tab



Techs Tab

The Techs Tab



Units Tab

The Units Tab



Units 2 Tab

The Units 2 Tab



Unit Limits Tab

The Unit Limits Tab



Autoproduction Tab

The Autoproduction Tab