Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 64 and Version 65 of content/LevelHowTo


Ignore:
Timestamp:
Oct 10, 2015, 4:49:39 PM (9 years ago)
Author:
fvultier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v64 v65  
    130130|| '''pawndesign''' || '''include()''' || '''additional information'''||
    131131||spaceshipassff||"templates/spaceshipAssff.oxt"||default spaceship - equipped with rockets||
    132 ||spaceshippirate||"templates/spaceshipPirate.oxt"|| ||
     132||spaceshippirate||"templates/spaceshipPirate.oxt"||Spaceship used by pirates||
    133133||spaceshipswallow||"templates/spaceshipSwallow.oxt"||fast, nice design||
    134134||spaceshipHtwo||"templates/spaceshipH2.oxt"|| ||
    135135||spaceshipghost||"templates/spaceshipGhost.oxt"||stealth aircraft ||
     136||spaceshipring||"templates/spaceshipRing.oxt"||spaceship with a large ring||
     137||spaceshipHeartAttack||"templates/spaceshipHeartAttack.oxt"||large flast spaceship with many laser weapons||
    136138||spaceshipHXY||"templates/spaceshipHXY.oxt"||||
    137139||spaceshipHXYSL||"templates/spaceshipHXYSL.oxt"||fast||
     
    141143{{{
    142144#!xml
    143 <Template name=spaceshipghost> .
    144 }}}
    145 If the level is designed for several teams you have to use team spawn points.
     145<Template name=spaceshipghost>
     146}}}
     147To use a specific spaceship in a level you first need to include the spaceship's template:
     148{{{
     149#!xml
     150<?lua
     151  include("templates/spaceshipPirate.oxt")
     152?>
     153}}}
     154Then change the "pawndesign" attribute of the spawnpoint to the name of the template (see table above).
     155
     156
     157== TeamSpawnPoint ==
     158If the level is designed for several teams you have to use team spawn points. Notice the "team" attribute of the TeamSpawnPoint.
    146159{{{
    147160#!xml