Difference between revisions of "Category:Modding:PVEMissions"

From Galactineers
Jump to navigationJump to search
(Created blank page)
 
Line 1: Line 1:
 +
== Mission ZIP File==
 +
A new PVE mission can be created by adding a '''.zip''' file to the ''missions'' directory in the application or server folder. The '''.zip''' file must contain the following files:
 +
* [[Modding:PVEMissions:loot.xml|loot.xml]]: An '''.xml''' file that defines the loot/reward for each player, when they win the mission (e.g. unlock ship modules, or gain ressources)
 +
* [[Modding:PVEMissions:map.xml|map.xml]]: An '''.xml''' file that contains the mission map. This is exactly the file saved from the [[Modding:ObjectEditor|Galactineers Editor]]
 +
* [[Category:Modding:PVEMissions:mission.php]]: A '''.php''' file which contains the scripts (e.g. triggers, objectives) for your mission
 +
* [[Modding:PVEMissions:missioninfo.xml|missioninfo.xml]]: An '''.xml''' file which holds all info about the mission displayed ingame (e.g. number of ships, players, mission type and description)
 +
* [[Modding:PVEMissions:picture.png|picture.png]]: A '''.png''' image that is displayed in the mission description and lobby
 +
* [[Modding:PVEMissions:shipdefinitions.xml|shipdefinitions.xml]]: An '''.xml''' file containing all ship defintions (exported from the [[HowToPlay:ShipDesigner|Ship Designer]]) needed for the mission, e.g. to be placed on the map or given as loot to the players)
  
 +
== Testing and playing your mission ==
 +
To play your mission, you need the '''.zip''' file placed in the ''missions'' directory of your game.
 +
* You can either create a [[Modding:GeneralSpaceObjects|General Space Object]] in the [[Modding:ObjectEditor|Galactineers Editor]], containing a green questionmark with the same Id as defined in your [[Modding:PVEMissions:missioninfo.xml|missioninfo.xml]] file, and then search a place in a map to open a lobby at this question mark.
 +
* Or you can open a lobby for '''any''' installed mission in a '''Mission Control Center''' (Level 3 building), which you can either find on a map as well, or just build it whereever you like.
 +
To get testing and scripting quickly, we propose the second approach :-)
 +
 +
-

Revision as of 10:32, 15 March 2016

Mission ZIP File

A new PVE mission can be created by adding a .zip file to the missions directory in the application or server folder. The .zip file must contain the following files:

  • loot.xml: An .xml file that defines the loot/reward for each player, when they win the mission (e.g. unlock ship modules, or gain ressources)
  • map.xml: An .xml file that contains the mission map. This is exactly the file saved from the Galactineers Editor
    A .php file which contains the scripts (e.g. triggers, objectives) for your mission
  • missioninfo.xml: An .xml file which holds all info about the mission displayed ingame (e.g. number of ships, players, mission type and description)
  • picture.png: A .png image that is displayed in the mission description and lobby
  • shipdefinitions.xml: An .xml file containing all ship defintions (exported from the Ship Designer) needed for the mission, e.g. to be placed on the map or given as loot to the players)

Testing and playing your mission

To play your mission, you need the .zip file placed in the missions directory of your game.

  • You can either create a General Space Object in the Galactineers Editor, containing a green questionmark with the same Id as defined in your missioninfo.xml file, and then search a place in a map to open a lobby at this question mark.
  • Or you can open a lobby for any installed mission in a Mission Control Center (Level 3 building), which you can either find on a map as well, or just build it whereever you like.

To get testing and scripting quickly, we propose the second approach :-)

-

Subcategories

This category has only the following subcategory.