Changeset 7679 for code/trunk
- Timestamp:
- Nov 28, 2010, 11:21:20 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 18 edited
- 55 moved
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/levels/FPSTest.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/ fps.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/FPS.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/asteroids.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("templates/spaceship _assff.oxt")5 include("templates/lod information.oxt")4 include("templates/spaceshipAssff.oxt") 5 include("templates/lodInformation.oxt") 6 6 ?> 7 7 -
code/trunk/data/levels/dynamicMatch.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("templates/spaceship _assff.oxt")5 include("templates/spaceship _ghost.oxt")6 include("dynamic matchhud.oxo")7 include("templates/lod information.oxt")4 include("templates/spaceshipAssff.oxt") 5 include("templates/spaceshipGhost.oxt") 6 include("dynamicMatchHUD.oxo") 7 include("templates/lodInformation.oxt") 8 8 ?> 9 9 -
code/trunk/data/levels/emptyLevel.oxw
r7678 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")10 include("templates/lod information.oxt")9 include("HUDTemplates3.oxo") 10 include("templates/lodInformation.oxt") 11 11 ?> 12 12 13 13 <?lua 14 include("templates/spaceship _assff.oxt")15 include("templates/spaceship _pirate.oxt")14 include("templates/spaceshipAssff.oxt") 15 include("templates/spaceshipPirate.oxt") 16 16 ?> 17 17 -
code/trunk/data/levels/events.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/lodInformation.oxt") 13 13 ?> 14 14 -
code/trunk/data/levels/fightInOurBack.oxw
r7678 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")10 include("templates/lod information.oxt")11 include("templates/spaceship _assff.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/spaceship _Transporter.oxt")9 include("HUDTemplates3.oxo") 10 include("templates/lodInformation.oxt") 11 include("templates/spaceshipAssff.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/spaceshipTransporter.oxt") 14 14 ?> 15 15 … … 54 54 </collisionShapes> 55 55 <?lua 56 include("includes/weapon settings3.oxi")56 include("includes/weaponSettings3.oxi") 57 57 ?> 58 58 </SpaceShip> -
code/trunk/data/levels/lastManStanding.oxw
r7678 r7679 1 1 <?lua 2 2 include("stats.oxo") 3 include(" hudtemplates3.oxo")4 include("templates/lod information.oxt")5 include("last manstandinghud.oxo")6 include("templates/spaceship _assff.oxt")7 include("templates/spaceship _pirate.oxt")8 include("templates/pickup _representation_templates.oxt")3 include("HUDTemplates3.oxo") 4 include("templates/lodInformation.oxt") 5 include("lastManStandingHUD.oxo") 6 include("templates/spaceshipAssff.oxt") 7 include("templates/spaceshipPirate.oxt") 8 include("templates/pickupRepresentationTemplates.oxt") 9 9 ?> 10 10 -
code/trunk/data/levels/notifications.oxw
r7655 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/lodInformation.oxt") 12 12 ?> 13 13 -
code/trunk/data/levels/old/CuboidSpaceStation.oxw
r5781 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 ?> 4 4 5 5 <?lua 6 include("templates/spaceship _assff.oxt")6 include("templates/spaceshipAssff.oxt") 7 7 ?> 8 8 -
code/trunk/data/levels/old/physicsTest2.oxw
r7678 r7679 1 1 <?lua 2 include("spaceship templates_physics.oxw")2 include("spaceshipTemplatesPhysics.oxw") 3 3 ?> 4 4 <?lua 5 include(" hudtemplates3.oxo")5 include("HUDTemplates3.oxo") 6 6 ?> 7 7 -
code/trunk/data/levels/old/planetTest.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 ?> 4 4 5 5 <?lua 6 include("templates/spaceship _assff.oxt")6 include("templates/spaceshipAssff.oxt") 7 7 ?> 8 8 -
code/trunk/data/levels/old/presentationLOD.oxw
r7163 r7679 1 1 <?lua 2 2 include("stats.oxo") 3 include(" hudtemplates3.oxo")4 include("templates/lod information.oxt")3 include("HUDTemplates3.oxo") 4 include("templates/lodInformation.oxt") 5 5 ?> 6 6 7 7 <?lua 8 include("templates/spaceship _assff.oxt")9 include("templates/spaceship _pirate.oxt")8 include("templates/spaceshipAssff.oxt") 9 include("templates/spaceshipPirate.oxt") 10 10 ?> 11 11 -
code/trunk/data/levels/old/presentationPhysics.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("templates/spaceship _assff.oxt")4 include("templates/spaceshipAssff.oxt") 5 5 math.randomseed(344) 6 6 ?> -
code/trunk/data/levels/old/princessAeryn.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("templates/spaceship _assff.oxt")4 include("templates/spaceshipAssff.oxt") 5 5 ?> 6 6 -
code/trunk/data/levels/old/questSystem.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("templates/spaceship _assff.oxt")4 include("templates/spaceshipAssff.oxt") 5 5 ?> 6 6 -
code/trunk/data/levels/old/sample4.oxw
r6417 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 ?> 4 4 5 5 <?lua 6 include("templates/spaceship _assff.oxt")6 include("templates/spaceshipAssff.oxt") 7 7 ?> 8 8 -
code/trunk/data/levels/pickups.oxw
r7648 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")9 include("HUDTemplates3.oxo") 10 10 ?> 11 11 12 12 <?lua 13 include("templates/spaceship _assff.oxt")14 include("templates/pickup _representation_templates.oxt")15 include("templates/lod information.oxt")13 include("templates/spaceshipAssff.oxt") 14 include("templates/pickupRepresentationTemplates.oxt") 15 include("templates/lodInformation.oxt") 16 16 ?> 17 17 -
code/trunk/data/levels/pirateAttack.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _HXY_SL.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipHXYSL.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/presentation.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/lodInformation.oxt") 12 12 ?> 13 13 -
code/trunk/data/levels/presentation09.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/lodInformation.oxt") 13 13 ?> 14 14 -
code/trunk/data/levels/presentation09b.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/pickup _representation_templates.oxt")14 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/pickupRepresentationTemplates.oxt") 14 include("templates/lodInformation.oxt") 15 15 ?> 16 16 -
code/trunk/data/levels/presentationDM.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/lodInformation.oxt") 13 13 ?> 14 14 -
code/trunk/data/levels/presentationFS10.oxw
r7648 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")9 include("HUDTemplates3.oxo") 10 10 ?> 11 11 12 12 <?lua 13 include("templates/lod information.oxt")14 include("templates/spaceship _assff.oxt")15 include("templates/spaceship _pirate.oxt")16 include("templates/spaceship _swallow.oxt")17 include("templates/pickup _representation_templates.oxt")13 include("templates/lodInformation.oxt") 14 include("templates/spaceshipAssff.oxt") 15 include("templates/spaceshipPirate.oxt") 16 include("templates/spaceshipSwallow.oxt") 17 include("templates/pickupRepresentationTemplates.oxt") 18 18 ?> 19 19 -
code/trunk/data/levels/presentationFS102.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/ fps.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/FPS.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/presentationFS10Ed.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/ fps.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/FPS.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/presentationHS09.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/pickup _representation_templates.oxt")14 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/pickupRepresentationTemplates.oxt") 14 include("templates/lodInformation.oxt") 15 15 ?> 16 16 -
code/trunk/data/levels/presentationHS09b.oxw
r7648 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")10 include("templates/lod information.oxt")9 include("HUDTemplates3.oxo") 10 include("templates/lodInformation.oxt") 11 11 ?> 12 12 13 13 <?lua 14 include("templates/spaceship _assff.oxt")15 include("templates/spaceship _pirate.oxt")16 include("templates/spaceship _ghost.oxt")17 include("templates/spaceship _HXY.oxt")18 include("templates/spaceship _Transporter.oxt")19 include("templates/spaceship _HXY_SL.oxt")20 include("templates/spaceship _Transporter_SL.oxt")14 include("templates/spaceshipAssff.oxt") 15 include("templates/spaceshipPirate.oxt") 16 include("templates/spaceshipGhost.oxt") 17 include("templates/spaceshipHXY.oxt") 18 include("templates/spaceshipTransporter.oxt") 19 include("templates/spaceshipHXYSL.oxt") 20 include("templates/spaceshipTransporterSL.oxt") 21 21 ?> 22 22 -
code/trunk/data/levels/presentation_pong.oxw
r7163 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("pong hud.oxo")5 include("templates/lod information.oxt")4 include("pongHUD.oxo") 5 include("templates/lodInformation.oxt") 6 6 ?> 7 7 -
code/trunk/data/levels/princessAeryn.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/lodInformation.oxt") 12 12 ?> 13 13 -
code/trunk/data/levels/screenshot.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/sound.oxw
r7648 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")10 include("templates/lod information.oxt")9 include("HUDTemplates3.oxo") 10 include("templates/lodInformation.oxt") 11 11 ?> 12 12 13 13 <?lua 14 include("templates/spaceship _assff.oxt")15 include("templates/spaceship _pirate.oxt")14 include("templates/spaceshipAssff.oxt") 15 include("templates/spaceshipPirate.oxt") 16 16 ?> 17 17 -
code/trunk/data/levels/teamBaseMatch.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("team basematchhud.oxo")11 include("templates/spaceship _assff.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/lod information.oxt")10 include("teamBaseMatchHUD.oxo") 11 include("templates/spaceshipAssff.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/teamDeathMatch.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/data/levels/templates/FPS.oxt
r7678 r7679 30 30 31 31 <?lua 32 include("includes/weapon settings_fps.oxi")32 include("includes/weaponSettingsFPS.oxi") 33 33 ?> 34 34 -
code/trunk/data/levels/templates/spaceshipAssff.oxt
r7678 r7679 35 35 </collisionShapes> 36 36 <?lua 37 include("includes/weapon settings3.oxi")37 include("includes/weaponSettings3.oxi") 38 38 ?> 39 39 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipGhost.oxt
r7678 r7679 34 34 </collisionShapes> 35 35 <?lua 36 include("includes/weapon settings_ghost.oxi")36 include("includes/weaponSettingsGhost.oxi") 37 37 ?> 38 38 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipH2.oxt
r7678 r7679 23 23 24 24 <?lua 25 include("includes/weapon settings_H2.oxi")25 include("includes/weaponSettingsH2.oxi") 26 26 ?> 27 27 -
code/trunk/data/levels/templates/spaceshipHXY.oxt
r7678 r7679 34 34 35 35 <?lua 36 include("includes/weapon settings_HXY.oxi")36 include("includes/weaponSettingsHXY.oxi") 37 37 ?> 38 38 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipHXYSL.oxt
r7678 r7679 34 34 35 35 <?lua 36 include("includes/weapon settings_HXY.oxi")36 include("includes/weaponSettingsHXY.oxi") 37 37 ?> 38 38 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipPirate.oxt
r7678 r7679 38 38 39 39 <?lua 40 include("includes/weapon settings_pirate.oxi")40 include("includes/weaponSettingsPirate.oxi") 41 41 ?> 42 42 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipSwallow.oxt
r7678 r7679 34 34 </collisionShapes> 35 35 <?lua 36 include("includes/weapon settings_swallow.oxi")36 include("includes/weaponSettingsSwallow.oxi") 37 37 ?> 38 38 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipTransporter.oxt
r7678 r7679 34 34 35 35 <?lua 36 include("includes/weapon settings_Transporter.oxi")36 include("includes/weaponSettingsTransporter.oxi") 37 37 ?> 38 38 </SpaceShip> -
code/trunk/data/levels/templates/spaceshipTransporterSL.oxt
r7678 r7679 34 34 35 35 <?lua 36 include("includes/weapon settings_Transporter.oxi")36 include("includes/weaponSettingsTransporter.oxi") 37 37 ?> 38 38 </SpaceShip> -
code/trunk/data/levels/testStars.oxw
r7678 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")10 include("templates/lod information.oxt")9 include("HUDTemplates3.oxo") 10 include("templates/lodInformation.oxt") 11 11 ?> 12 12 13 13 <?lua 14 include("templates/spaceship _assff.oxt")15 include("templates/spaceship _pirate.oxt")14 include("templates/spaceshipAssff.oxt") 15 include("templates/spaceshipPirate.oxt") 16 16 ?> 17 17 -
code/trunk/data/levels/testSwallow.oxw
r7678 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _swallow.oxt")11 include("templates/spaceship _pirate.oxt")12 include("templates/lod information.oxt")10 include("templates/spaceshipSwallow.oxt") 11 include("templates/spaceshipPirate.oxt") 12 include("templates/lodInformation.oxt") 13 13 ?> 14 14 -
code/trunk/data/levels/theTimeMachine.oxw
r7678 r7679 7 7 <?lua 8 8 include("stats.oxo") 9 include(" hudtemplates3.oxo")10 include("templates/lod information.oxt")11 include("templates/spaceship _assff.oxt")12 include("templates/spaceship _pirate.oxt")9 include("HUDTemplates3.oxo") 10 include("templates/lodInformation.oxt") 11 include("templates/spaceshipAssff.oxt") 12 include("templates/spaceshipPirate.oxt") 13 13 ?> 14 14 … … 53 53 </collisionShapes> 54 54 <?lua 55 include("includes/weapon settings3.oxi")55 include("includes/weaponSettings3.oxi") 56 56 ?> 57 57 </SpaceShip> -
code/trunk/data/levels/tutorial.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/lodInformation.oxt") 12 12 ?> 13 13 -
code/trunk/data/levels/underAttack.oxw
r7678 r7679 1 1 <?lua 2 include(" hudtemplates3.oxo")2 include("HUDTemplates3.oxo") 3 3 include("stats.oxo") 4 include("under attackhud.oxo")5 include("templates/spaceship _assff.oxt")6 include("templates/lod information.oxt")4 include("underAttackHUD.oxo") 5 include("templates/spaceshipAssff.oxt") 6 include("templates/lodInformation.oxt") 7 7 ?> 8 8 -
code/trunk/data/levels/waypoints.oxw
r7648 r7679 6 6 7 7 <?lua 8 include(" hudtemplates3.oxo")8 include("HUDTemplates3.oxo") 9 9 include("stats.oxo") 10 include("templates/spaceship _assff.oxt")11 include("templates/spaceship _H2.oxt")12 include("templates/spaceship _pirate.oxt")13 include("templates/lod information.oxt")10 include("templates/spaceshipAssff.oxt") 11 include("templates/spaceshipH2.oxt") 12 include("templates/spaceshipPirate.oxt") 13 include("templates/lodInformation.oxt") 14 14 ?> 15 15 -
code/trunk/doc/api/Groups.dox
r7610 r7679 291 291 292 292 @subsection UsingPredifinedPickups Using predefined pickups 293 There is a file called <code>pickup _representation_templates.oxt</code> in <code>levels/templates</code>, which holds the templates for the @ref orxonox::PickupRepresentation "PickupRepresentations" and also templates for @ref orxonox::Pickupable "Pickupables". The templates for the @ref orxonox::PickupRepresentation "PickupRepresentations" define the @ref orxonox::StaticEntity "StaticEntities" that are attached to the @ref orxonox::PickupSpawner "PickupSpawners" to make them look like the @ref orxonox::Pickupable "Pickupable" they are spawning. The templates for the @ref orxonox::Pickupable "Pickupables" can be added just for ease of use.293 There is a file called <code>pickupRepresentationTemplates.oxt</code> in <code>levels/templates</code>, which holds the templates for the @ref orxonox::PickupRepresentation "PickupRepresentations" and also templates for @ref orxonox::Pickupable "Pickupables". The templates for the @ref orxonox::PickupRepresentation "PickupRepresentations" define the @ref orxonox::StaticEntity "StaticEntities" that are attached to the @ref orxonox::PickupSpawner "PickupSpawners" to make them look like the @ref orxonox::Pickupable "Pickupable" they are spawning. The templates for the @ref orxonox::Pickupable "Pickupables" can be added just for ease of use. 294 294 If you want to use pickups you will have to include this file in your level file, somewhere above the Level-tag. 295 295 @code 296 296 <?lua 297 include("templates/pickup _representation_templates.oxt")297 include("templates/pickupRepresentationTemplates.oxt") 298 298 ?> 299 299 ... … … 301 301 ... 302 302 @endcode 303 There is another file called <code>pickups.oxi</code> in <code>level/includes</code> which creates all @ref orxonox::PickupRepresentation "PickupRepresentations" needed for the @ref orxonox::Pickupable "Pickupable" supplied by the <code>pickup _representation_templates.oxt</code> file. This file will have to be included as well. It has to be somewhere after the opening Scene-tag and your first use of a pickup.303 There is another file called <code>pickups.oxi</code> in <code>level/includes</code> which creates all @ref orxonox::PickupRepresentation "PickupRepresentations" needed for the @ref orxonox::Pickupable "Pickupable" supplied by the <code>pickupRepresentationTemplates.oxt</code> file. This file will have to be included as well. It has to be somewhere after the opening Scene-tag and your first use of a pickup. 304 304 @code 305 305 <Scene> … … 324 324 @endcode 325 325 Please be aware, that the @ref orxonox::Pickupable "Pickupable" specified for the @ref orxonox::PickupSpawner "PickupSpawner", has to be exactly the same (including all parameters) to the one specified in the <code>pickups.oxi</code> file. 326 To make things simpler, one could just use the templates specified in the <code>pickup _representation_templates.oxt</code> file. Which, following the previous example, would look like this:326 To make things simpler, one could just use the templates specified in the <code>pickupRepresentationTemplates.oxt</code> file. Which, following the previous example, would look like this: 327 327 @code 328 328 <PickupSpawner position="-100,0,-100" respawnTime="30" maxSpawnedItems="10"> … … 347 347 </PickupSpawner> 348 348 @endcode 349 As can be seen in the <code>pickup _representation_templates.oxt</code> file and the <code>pickups.oxi</code> file there is no @ref orxonox::PickupRepresentation "PickupRepresentation" defined for this type of pickup. Thus the default representation will be used.349 As can be seen in the <code>pickupRepresentationTemplates.oxt</code> file and the <code>pickups.oxi</code> file there is no @ref orxonox::PickupRepresentation "PickupRepresentation" defined for this type of pickup. Thus the default representation will be used. 350 350 351 351 To create an appropriate @ref orxonox::PickupRepresentation "PickupRepresentation" for the inserted pickup above, you can just create a @ref orxonox::PickupRepresentation "PickupRepresentation" within the scene (Within the Scene-tags). … … 388 388 </Template> 389 389 @endcode 390 Please refer to the <code>pickup _representation_templates.oxt</code> for more examples.390 Please refer to the <code>pickupRepresentationTemplates.oxt</code> for more examples. 391 391 392 392 The @ref orxonox::PickupRepresentation "PickupRepresentation" also needs another parameter the <em>inventoryRepresentation</em>. This parameter defined how the @ref orxonox::Pickupable "Pickupable" is displayed in the PickupInventory (a menu to browse the currently equipped pickups). … … 396 396 This is the name of an image defined in the PickupInventory imageset (<code>PickupInventory.imageset</code>), which can be found in <code>data_extern/gui/imagesets</code>. 397 397 398 This is all that has to be done. Now you have a new pickup type with an appropriate @ref orxonox::PickupRepresentation "PickupRepresentation" for your use. If you feel that your pickup is useful in general, please don't hesitate to create a template for the pickup and add your pickup to the <code>pickup _representation_templates.oxt</code> file and the <code>pickups.oxi</code> file, so that anyone who wants to use it can do so quite easily.398 This is all that has to be done. Now you have a new pickup type with an appropriate @ref orxonox::PickupRepresentation "PickupRepresentation" for your use. If you feel that your pickup is useful in general, please don't hesitate to create a template for the pickup and add your pickup to the <code>pickupRepresentationTemplates.oxt</code> file and the <code>pickups.oxi</code> file, so that anyone who wants to use it can do so quite easily. 399 399 400 400 There is also an additional way to create new types of pickups to be used in a level (without having to do any coding). There is a @ref orxonox::Pickupable "Pickupable" called the @ref orxonox::PickupCollection "PickupCollection", which is just a collection (hence the name) of @ref orxonox::Pickupable "Pickupables" (more precisely of @ref orxonox::CollectiblePickup "CollectiblePickups"), behaving as if it was just one @ref orxonox::Pickupable "Pickupable". … … 686 686 687 687 @section SampleQuest Sample quest 688 To get your head around all of this and see some of the things mentioned here in action you might want to check out the "The Tale of Princess Aeryn"-Quest (Levelfile: princess aeryn.oxw) in the level-folder.688 To get your head around all of this and see some of the things mentioned here in action you might want to check out the "The Tale of Princess Aeryn"-Quest (Levelfile: princessAeryn.oxw) in the level-folder. 689 689 */ 690 690
Note: See TracChangeset
for help on using the changeset viewer.