Changeset 8493 for code/branches/dockingsystem2/data
- Timestamp:
- May 16, 2011, 6:21:05 PM (14 years ago)
- Location:
- code/branches/dockingsystem2/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/data/gui/scripts/DockingDialog.lua
r8487 r8493 10 10 11 11 function P.onShow() 12 orxonox. CommandExecutor:execute("pause")12 orxonox.execute("setPause 1") 13 13 P.update() 14 14 end 15 15 16 16 function P.onHide() 17 orxonox. CommandExecutor:execute("pause")17 orxonox.execute("setPause 0") 18 18 end 19 19 … … 42 42 local index = listbox:getItemIndex(choice) 43 43 local dock = P.docks[index+1] 44 cout(0, index )--.. ": " .. P.docks[index])45 44 if dock ~= nil then 46 cout(0, "LUA>Docking")47 45 dock:dock() 48 46 end … … 52 50 53 51 function P.cancelButton_clicked(e) 54 --P.hideMe()55 52 hideMenuSheet(P.name) 56 53 end -
code/branches/dockingsystem2/data/levels/docking.oxw
r8487 r8493 35 35 36 36 37 38 37 <Dock> 39 <animation >38 <animations> 40 39 <MoveToDockingTarget target="destroyer" position="10,150,40" /> 41 </animation >40 </animations> 42 41 <effects> 43 <DockToShip target=" destroyer" />42 <DockToShip target="spaceShip" /> 44 43 </effects> 45 44 <events> … … 49 48 </events> 50 49 <attached> 51 <DistanceTrigger position="0,0,0" distance="30" target="Pawn" beaconMode="exclude" targetname=" destroyerBeacon" name="dockMe" />50 <DistanceTrigger position="0,0,0" distance="30" target="Pawn" beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe" /> 52 51 <Billboard material="Examples/Flare" colour="1.0, 0, 0" /> 53 52 </attached> … … 79 78 > 80 79 <attached> 81 <DistanceTriggerBeacon name="bcnSpaceShip 1" />82 <DockingTarget name="spaceShip 1" />80 <DistanceTriggerBeacon name="bcnSpaceShip" /> 81 <DockingTarget name="spaceShip" /> 83 82 84 83 <Model position="0,0,0" yaw="90" pitch="-90" roll="0" scale="4" mesh="assff.mesh" />
Note: See TracChangeset
for help on using the changeset viewer.