Difference between revisions of "Modding:PVEMissions:shipdefinitions.xml"
From Galactineers
Jump to navigationJump to searchLInsoDeTeh (talk | contribs) (Created page with "{{DISPLAYTITLE:shipdefinitions.xml}} Category:Modding:PVEMissions") |
LInsoDeTeh (talk | contribs) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:shipdefinitions.xml}} | {{DISPLAYTITLE:shipdefinitions.xml}} | ||
+ | The shipdefinitions.xml contains all ship definitions required for that mission. Ships can either be used in the mission itself (as an enemy, quest ship or player ship), or as [[Modding:PVEMissions:loot.xml|Loot]]. | ||
+ | |||
+ | ==File Definition== | ||
+ | The contents of the shipdefinitions.xml look like this: | ||
+ | <source lang="xml"> | ||
+ | <ShipDefinitions> | ||
+ | <ShipDefinition> | ||
+ | <Id>PirateProbe</Id> | ||
+ | <Name>Pirate Probe</Name> | ||
+ | <Author>LInsoDeTeh</Author> | ||
+ | <Level>1</Level> | ||
+ | <Blocks>0,0,0,30,125,125</Blocks> | ||
+ | <Modules>6,0,1,0,1,30,125,125;4,0,-1,0,1,30,125,125;7,0,0,0,0,30,0,0;7,0,0,0,1,30,0,0;7,0,0,0,3,30,0,0;7,0,0,0,2,30,0,0</Modules> | ||
+ | </ShipDefinition> | ||
+ | </ShipDefinitions> | ||
+ | </source> | ||
+ | |||
+ | ==Options== | ||
+ | The '''<ShipDefinitions>''' node can contain an unlimited amount of '''<ShipDefinition>''' nodes. Each <ShipDefinition> node defines one ship. The <ShipDefinition> nodes can be pasted exactly from an '''.xml''' file exported from the [[HowToPlay:ShipDesigner]]Ship Designer ingame. | ||
[[Category:Modding:PVEMissions]] | [[Category:Modding:PVEMissions]] |
Revision as of 12:51, 15 March 2016
The shipdefinitions.xml contains all ship definitions required for that mission. Ships can either be used in the mission itself (as an enemy, quest ship or player ship), or as Loot.
File Definition
The contents of the shipdefinitions.xml look like this:
<ShipDefinitions>
<ShipDefinition>
<Id>PirateProbe</Id>
<Name>Pirate Probe</Name>
<Author>LInsoDeTeh</Author>
<Level>1</Level>
<Blocks>0,0,0,30,125,125</Blocks>
<Modules>6,0,1,0,1,30,125,125;4,0,-1,0,1,30,125,125;7,0,0,0,0,30,0,0;7,0,0,0,1,30,0,0;7,0,0,0,3,30,0,0;7,0,0,0,2,30,0,0</Modules>
</ShipDefinition>
</ShipDefinitions>
Options
The <ShipDefinitions> node can contain an unlimited amount of <ShipDefinition> nodes. Each <ShipDefinition> node defines one ship. The <ShipDefinition> nodes can be pasted exactly from an .xml file exported from the HowToPlay:ShipDesignerShip Designer ingame.