Changeset 8197 for code/branches
- Timestamp:
- Apr 6, 2011, 4:54:07 PM (14 years ago)
- Location:
- code/branches/dockingsystem2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/data/levels/docking.oxw
r8196 r8197 30 30 <SpawnPoint position="<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 31 31 <?lua end ?> 32 33 34 <Dock>35 <effects>36 <DockToShip />37 </effects>38 <events>39 <execute>40 <EventListener event="dockMe" />41 </execute>42 </events>43 <attached>44 <DistanceTrigger position="0,0,0" distance="20" target="Pawn" name="dockMe" />45 <Billboard material="Examples/Flare" colour="1.0, 0, 0" />46 </attached>47 </Dock>48 49 50 32 51 33 <Destroyer … … 61 43 62 44 <attached> 45 <Dock> 46 <effects> 47 <DockToShip /> 48 </effects> 49 <events> 50 <execute> 51 <EventListener event="dockMe" /> 52 </execute> 53 </events> 54 <attached> 55 <DistanceMultiTrigger position="0,0,0" distance="20" target="Pawn" name="dockMe" /> 56 <Billboard material="Examples/Flare" colour="1.0, 0, 0" /> 57 </attached> 58 </Dock> 59 63 60 <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 64 61 <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> -
code/branches/dockingsystem2/src/modules/docking/Dock.cc
r8196 r8197 113 113 COUT(0) << "Docking::execute Player was not as human as expected.." << std::endl; 114 114 } 115 COUT(0) << "Dock triggered by player: " << human->getN ick() << ".." << std::endl;115 COUT(0) << "Dock triggered by player: " << human->getName() << ".." << std::endl; 116 116 117 117 //TODO: This is waaay too oversimplified -
code/branches/dockingsystem2/src/orxonox/infos/HumanPlayer.h
r8196 r8197 48 48 float getPing() const; 49 49 float getPacketLossRatio() const; 50 51 inline const std::string& getNick() const52 { return this->nick_; }53 50 54 51 void setClientID(unsigned int clientID);
Note: See TracChangeset
for help on using the changeset viewer.