Changeset 4514
- Timestamp:
- Jan 25, 2007, 4:44:14 PM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/sp_level_spacestation1.oxw
r4507 r4514 18 18 <FPSPlayer> 19 19 <name>Player</name> 20 <model>models/planets/uranus.obj </model>20 <model>models/planets/uranus.obj, 4</model> 21 21 <abs-coor>128,20,0</abs-coor> 22 22 </FPSPlayer> -
data/trunk/levels/sp_level_spacestation1B.oxw
r4504 r4514 10 10 <FPSPlayer> 11 11 <name>Player</name> 12 <model>models/planets/uranus.obj, 4</model> 12 13 <abs-coor>4480,20,-4320</abs-coor> 13 14 </FPSPlayer> … … 441 442 442 443 <Script> 443 <file>spacestation/spaceship_hang er.lua</file>444 <file>spacestation/spaceship_hangar.lua</file> 444 445 </Script> 445 446 -
data/trunk/scripts/spacestation/switchtohangar.lua
r4504 r4514 3 3 trigger:setScript("switchtohangar.lua") 4 4 trigger:setFunction("tick") 5 trigger:setAbsCoor(-5.601662, 35, -1 264.822632)5 trigger:setAbsCoor(-5.601662, 35, -1564.822632) 6 6 trigger:setTarget("Player") 7 trigger:setRadius( 200)7 trigger:setRadius(700) 8 8 trigger:setTriggerRemains(false) 9 9 trigger:setDebugDraw(true) … … 14 14 15 15 function tick(timestep) 16 17 16 if spacestationtower:setNextStoryName( "Space Station 1B" ) then 18 17 spacestationtower:stop() -
data/trunk/scripts/spacestation/switchtotower.lua
r4504 r4514 3 3 trigger:setScript("switchtotower.lua") 4 4 trigger:setFunction("tick") 5 trigger:setAbsCoor( -5.601662, 35, -1264.822632)5 trigger:setAbsCoor(4470.895508, 17.554901, -3433.780518) 6 6 trigger:setTarget("Player") 7 trigger:setRadius( 200)7 trigger:setRadius(500) 8 8 trigger:setTriggerRemains(false) 9 9 trigger:setDebugDraw(true) … … 11 11 12 12 -- Add Objects 13 thisscript:addObjectAsName("GameWorld", "Space Station 1B", "spacestation hanger")13 thisscript:addObjectAsName("GameWorld", "Space Station 1B", "spacestationtower") 14 14 15 15 function tick(timestep) 16 17 if spacestation hanger:setNextStoryName( "Space Station 1" ) then18 spacestation hanger:stop()16 io.write("TESTING TESTING \n") 17 if spacestationtower:setNextStoryName( "Space Station 1" ) then 18 spacestationtower:stop() 19 19 end 20 20 return true
Note: See TracChangeset
for help on using the changeset viewer.