- Timestamp:
- Jan 29, 2007, 4:39:16 PM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/DefaultCampaign.oxc
r4538 r4621 30 30 <SinglePlayerWorld> 31 31 <identifier>3</identifier> 32 <nextid> 2</nextid>33 <name> In Space</name>32 <nextid>3</nextid> 33 <name>Mission 1</name> 34 34 <path>levels/vertical_scroller.oxw</path> 35 35 <menu-entry>1</menu-entry> … … 38 38 <SinglePlayerWorld> 39 39 <identifier>4</identifier> 40 <nextid>2</nextid> 41 <name>Noxon Encounter</name> 42 <path>levels/vertical_scroller2.oxw</path> 43 <menu-entry>1</menu-entry> 44 </SinglePlayerWorld> 45 46 <SinglePlayerWorld> 47 <identifier>5</identifier> 40 48 <nextid>1</nextid> 41 49 <name>Cut Scene</name> -
data/trunk/levels/vertical_scroller.oxw
r4608 r4621 1 1 <WorldDataFile> 2 <name> In Space</name>2 <name>Mission 1</name> 3 3 <description>This is the vertical scroller level.</description> 4 4 <menu-item-image>textures/menu/Scienceproject_512x512.jpg</menu-item-image> … … 90 90 <NPC> 91 91 <name>Pirate01</name> 92 <model>models/spaceships/noxon_spaceship_fighter.obj,0.2</model> 92 <model>models/spaceships/pirates_spaceship_fighter.obj,0.2</model> 93 <enableAI></enableAI> 94 <team>1</team> 95 <swarm>1</swarm> 96 <attackDistance>100</attackDistance> 97 <maxSpeed>50</maxSpeed> 98 <Weapons>LaserCannon</Weapons> 93 99 <abs-coor>3500, 0, 20</abs-coor> 94 < abs-dir> 3.14,0,1,0 </abs-dir>100 <rotation>0,1,0</rotation> 95 101 </NPC> 96 102 97 103 <NPC> 98 104 <name>Pirate02</name> 99 <model>models/spaceships/noxon_spaceship_fighter.obj,0.2</model> 105 <model>models/spaceships/pirates_spaceship_fighter.obj,0.2</model> 106 <enableAI></enableAI> 107 <team>1</team> 108 <swarm>1</swarm> 109 <attackDistance>100</attackDistance> 110 <maxSpeed>50</maxSpeed> 111 <Weapons>HeavyBlaster</Weapons> 100 112 <abs-coor>3500, 0, 0</abs-coor> 101 113 <abs-dir> 3.14,0,1,0 </abs-dir> … … 104 116 <NPC> 105 117 <name>Pirate03</name> 106 <model>models/spaceships/noxon_spaceship_fighter.obj,0.2</model> 118 <model>models/spaceships/pirates_spaceship_fighter.obj,0.2</model> 119 <enableAI></enableAI> 120 <team>1</team> 121 <swarm>1</swarm> 122 <attackDistance>100</attackDistance> 123 <maxSpeed>50</maxSpeed> 124 <Weapons>HeavyBlaster</Weapons> 107 125 <abs-coor>3450, 0, 10</abs-coor> 108 126 <abs-dir> 3.14,0,1,0 </abs-dir> -
data/trunk/scripts/vertical_scroller/vs1.lua
r4608 r4621 2 2 thisscript:addObject("SpaceShip", "Player") 3 3 thisscript:addObject("CameraMan", "cameraManager") 4 -- thisscript:addObjectAsName("GameWorld", " In Space", "gameWorld")4 -- thisscript:addObjectAsName("GameWorld", "Mission 1", "gameWorld") 5 5 6 6 triggerInit = ScriptTrigger() … … 13 13 triggerCutscene:setScript("vs1.lua") 14 14 triggerCutscene:setFunction("startSequence") 15 triggerCutscene:setRadius( 30)15 triggerCutscene:setRadius(50) 16 16 triggerCutscene:setTarget("Player") 17 triggerCutscene:setAbsCoor( 0 , 0 , 0)17 triggerCutscene:setAbsCoor(100 , 0 , 0) 18 18 triggerCutscene:setDebugDraw(true) 19 19 triggerCutscene:setActiveOnCreation(false) … … 23 23 24 24 function init(timestep) 25 -- cameraManager:setCam("GameWorld-Camera") 26 cameraManager:atachCameraToWorldEntity("CameraOne", "NPC", "Pirate01") 25 27 26 cameraManager:atachCameraToWorldEntity("CameraOne", "NPC", "Pirate01")27 28 cameraManager:changeTarget("CameraOne", "NPC", "Pirate01") 29 cameraManager:jumpCam("CameraOne", 3400, 0, 50) 30 28 31 29 32 … … 34 37 35 38 cameraManager:setCam("CameraOne") 36 cameraManager:changeCurrTarget("NPC", "Pirate01") 37 cameraManager:atachCurrCameraToWorldEntity("NPC", "Pirate01") 39 -- gameWorld:showText("Kill those traitorous bastards") 40 -- cameraManager:changeCurrTarget("NPC", "Pirate01") 41 -- cameraManager:atachCurrCameraToWorldEntity("NPC", "Pirate01") 38 42 39 43 return true
Note: See TracChangeset
for help on using the changeset viewer.