This wiki is archived from 2021-09-05
Planetary Annihilation Maps: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
System (map) pas files are JSON. | System (map) pas files are JSON. | ||
== | == System / Map == | ||
{| class="wikitable" | {| class="wikitable" |
Revision as of 00:08, 21 September 2016
File:Titans-icon.png Planetary Annihilation Titans & Classic Maps
System (map) pas files are JSON.
System / Map
name | mandatory | string | there is currently no unique identifier for maps |
---|---|---|---|
players | optional | array of two numbers | [minPlayers,maxPlayers] where minPlayers is normally set to number of starting planets so that no player starts alone) |
creator | mandatory | string | system sharing |
description | optional | string | system sharing |
version | optional | string | system sharing |
planets | mandatory | array of planets |
In the future a unique identifier similar to mods will be added.
Planets
name | mandatory | string | there is currently no unique identifier for planets |
---|---|---|---|
mass | mandatory | integer | |
position_x | mandatory | float | |
position_y | mandatory | float | |
velocity_x | mandatory | float | |
velocity_y | mandatory | float | |
velocity_y | mandatory | float | |
required_thrust_to_move | mandatory | number | 0 or number of halleys required to move planet |
starting_planet | mandatory | boolean | |
planet | mandatory | object | planet spec for procedural generator |
landing_zones | optional | array of landing zone objects | |
metal_spots | optional | array of metal spot objects | |
planetCSG | optional | array of CSG objects |