Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 18 and Version 19 of content/LevelHowTo


Ignore:
Timestamp:
Feb 15, 2011, 5:51:09 PM (14 years ago)
Author:
jo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v18 v19  
    3737/>
    3838}}}
    39  2. Decide wether you create a level for a gametype or a single player mission. A gametype is set in the <level> tag.
     39 2. Decide wether you create a level for a gametype or a single player mission. A gametype is set in the <Level> tag.
    4040{{{
    4141#!xml
     
    7979The StaticEntity defines the model's place and orientation (and some other values). The Model (a cube) is attached to the StaticEntity. With the proper sized collisionshape attached to the StaticEntity you have a "solid" cube. Without a collisionshape, the cube wouldn't be solid and your spaceship could just fly through it. This exampe is quite useful, since you usually can't see a collisionshape's size. If you combine a invisible collisionshape with a fitting model you can see where a collisionshape is for testing purposes.
    8080
    81 == MovalbeEntity - Let's get the world moving==
     81== MovalbeEntity - Let's get the world moving ==
    8282Worldentities can be attached to other worldentities. If you want a model to move in circles, you can create a MovableEntity that rotates and a StaticEntity attached to it. The model that should be rotating is attached to the StaticEntity.
    8383{{{
     
    129129{{{
    130130#!xml
    131 <?lua
     131<?lua
     132    include("templates/pickupRepresentationTemplates.oxt")
    132133    include("includes/pickups.oxi")
    133134 ?>
     
    142143</PickupSpawner>
    143144}}}
     145'''Pickupspawner - attributes''':
    144146 * triggerDistance: Distance to collect the pickup. The larger the triggerDistance, the easier it is to get the pickup.
    145147 * respawnTime: After respawntime seconds a new pickup will appear, if the pickup had been collected.
    146148 * maxSpawnedItems: After maxSpawnedItems no further pickup will appear.
     149'''Pickups - have a look at pickups.oxw''':
     150|| <ShieldPickup template=hugeshieldpickup /> ||<ShieldPickup template=mediumshieldpickup />||<ShieldPickup template=smallshieldpickup />||
     151||<HealthPickup template=crazyhealthpickup />|| <HealthPickup template=hugehealthpickup /> ||<HealthPickup template=mediumhealthpickup />||<HealthPickup template=smallhealthpickup />||
     152|| <SpeedPickup template=hugespeedpickup /> || <SpeedPickup template=mediumspeedpickup /> ||<SpeedPickup template=mediumspeedpickup />||<SpeedPickup template=smalljumppickup />||
     153|| <InvisiblePickup template=hugeinvisiblepickup /> ||<InvisiblePickup template=mediuminvisiblepickup />||<InvisiblePickup template=smallinvisiblepickup />||
     154|| <MetaPickup metaType="use" /> || <MetaPickup metaType="drop" /> ||<MetaPickup metaType="destroy" />||<MetaPickup metaType="destroyCarrier" />||
     155|| <DronePickup template=dronepickup /> ||<PickupCollection template=triplehealthspeedinvisibilitypickup />||