Changes between Version 18 and Version 19 of content/LevelHowTo
- Timestamp:
- Feb 15, 2011, 5:51:09 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
content/LevelHowTo
v18 v19 37 37 /> 38 38 }}} 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. 40 40 {{{ 41 41 #!xml … … 79 79 The 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. 80 80 81 == MovalbeEntity - Let's get the world moving ==81 == MovalbeEntity - Let's get the world moving == 82 82 Worldentities 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. 83 83 {{{ … … 129 129 {{{ 130 130 #!xml 131 <?lua 131 <?lua 132 include("templates/pickupRepresentationTemplates.oxt") 132 133 include("includes/pickups.oxi") 133 134 ?> … … 142 143 </PickupSpawner> 143 144 }}} 145 '''Pickupspawner - attributes''': 144 146 * triggerDistance: Distance to collect the pickup. The larger the triggerDistance, the easier it is to get the pickup. 145 147 * respawnTime: After respawntime seconds a new pickup will appear, if the pickup had been collected. 146 148 * 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 />||