Changeset 11899 for code/branches
- Timestamp:
- Apr 24, 2018, 10:32:56 AM (7 years ago)
- Location:
- code/branches/OrxyRoad_FS18
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxyRoad_FS18/data/levels/OrxyRoad.oxw
r11887 r11899 43 43 <!-- <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> --> 44 44 <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 45 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=OrxyRoadShip pawndesign=spaceship dodgerace/>45 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=OrxyRoadShip pawndesign=spaceshiporxyroad /> 46 46 47 47 <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 /> -
code/branches/OrxyRoad_FS18/data/levels/templates/spaceshipOrxyRoad.oxt
r11836 r11899 1 <Template name=spaceship dodgerace>2 < DodgeRaceShip1 <Template name=spaceshiporxyroad> 2 <OrxyRoadShip 3 3 hudtemplate = spaceshiphud 4 4 camerapositiontemplate = spaceshipescortcameras … … 74 74 include("../includes/invaderWeapon.oxi") 75 75 ?> 76 </ DodgeRaceShip>76 </OrxyRoadShip> 77 77 </Template> 78 78 79 79 <Template name=spaceshipescortcameras defaults=0> 80 < DodgeRaceShip>80 <OrxyRoadShip> 81 81 <camerapositions> 82 82 <CameraPosition position="0,100,180" direction="0, -0.2, -1" drag=false mouselook=true /> … … 85 85 <CameraPosition position="0,1300,-100" direction="0, -1, 0" drag=false mouselook=true /> 86 86 </camerapositions> 87 </ DodgeRaceShip>87 </OrxyRoadShip> 88 88 </Template> 89 89 -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/CMakeLists.txt
r11888 r11899 1 SET_SOURCE_FILES(Orxy Road_SRC_FILES1 SET_SOURCE_FILES(Orxyroad_SRC_FILES 2 2 OrxyRoad.cc 3 3 OrxyRoadCenterPoint.cc … … 14 14 orxonox 15 15 overlays 16 SOURCE_FILES ${Orxy Road_SRC_FILES}16 SOURCE_FILES ${Orxyroad_SRC_FILES} 17 17 ) -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc
r11891 r11899 43 43 RegisterUnloadableClass(OrxyRoad); 44 44 45 OrxyRoad::OrxyRoad(Context* context) : Gametype(context)45 OrxyRoad::OrxyRoad(Context* context) : Deathmatch(context) 46 46 { 47 47 RegisterObject(OrxyRoad); … … 118 118 switch(pattern) 119 119 { 120 case 1: cube->addTemplate(" DodgeRaceCube01");120 case 1: cube->addTemplate("OrxyRoadCube01"); 121 121 break; 122 case 2: cube->addTemplate(" DodgeRaceCube01");122 case 2: cube->addTemplate("OrxyRoadCube01"); 123 123 break; 124 124 … … 191 191 return; 192 192 } 193 Deathmatch::start(); 193 194 } 194 195 … … 234 235 { 235 236 int score = this->getPoints(); 236 Highscore::getInstance().storeScore(" Dodge Race", score, this->playerInfo_);237 Highscore::getInstance().storeScore("Orxy Road ", score, this->playerInfo_); 237 238 } 238 239 GSLevel::startMainMenu(); -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.h
r11886 r11899 57 57 #include "core/command/ConsoleCommand.h" 58 58 59 #include "gametypes/ Gametype.h"59 #include "gametypes/Deathmatch.h" 60 60 #include "tools/Timer.h" 61 61 … … 63 63 { 64 64 65 class _OrxyRoadExport OrxyRoad : public Gametype65 class _OrxyRoadExport OrxyRoad : public Deathmatch 66 66 { 67 67 public: -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadCube.cc
r11838 r11899 1 1 2 /* ORXONOX - the hottest 3D action shooter ever to exist 2 3 * > www.orxonox.net < -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadShip.cc
r11884 r11899 55 55 void OrxyRoadShip::tick(float dt) 56 56 { 57 orxout(user_info) << "This is some cool output!" << endl; 58 57 59 Vector3 pos = getPosition(); 58 60
Note: See TracChangeset
for help on using the changeset viewer.