Skip to content

Instantly share code, notes, and snippets.

@steveanton
Created July 3, 2012 15:57
Show Gist options
  • Save steveanton/3040649 to your computer and use it in GitHub Desktop.
Save steveanton/3040649 to your computer and use it in GitHub Desktop.
Draft for a cleaner version of spawns for map.xml
Sand Wars like:
<spawns>
<spawns safe="true" kit="spawn">
<spawn team="blue" yaw="180">
<cuboid min="x,y,z" max="x,y,z"/>
<cuboid min="x,y,z" max="x,y,z"/>
<point>x,y,z</point>
</spawn>
<spawn team="red" yaw="0">
<cuboid min="x,y,z" max="x,y,z"/>
<cuboid min="x,y,z" max="x,y,z"/>
<point>x,y,z</point>
</spawn>
</spawns>
<default yaw="90"><cylinder base="x,y,z" radius="r" height="0"/></default>
</spawns>
Airship Battle like:
<spawns>
<spawn team="blue" yaw="180"><cuboid min="x,y,z" max="x,y,z"/></spawn>
<spawn team="red" yaw="0"><cuboid min="x,y,z" max="x,y,z"/></spawn>
<default yaw="90"><cylinder base="x,y,z" radius="r" height="0"/></default>
</spawns>
Battleships like:
<spawns>
<spawn team="blue" yaw="0"><cuboid min="x,y,z" max="x,y,z"/></spawn>
<spawn team="red" yaw="180"><cuboid min="x,y,z" max="x,y,z"/></spawn>
<default>
<point yaw="90"><cuboid min="x,y,z" max="x,y,z"/></point>
<point yaw="270"><cuboid min="x,y,z" max="x,y,z"/></point>
</default>
</spawns>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment