Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11899


Ignore:
Timestamp:
Apr 24, 2018, 10:32:56 AM (6 years ago)
Author:
jacobsr
Message:

restored orxyroad to dodgerace state, fixed waiting for players issue

Location:
code/branches/OrxyRoad_FS18
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/data/levels/OrxyRoad.oxw

    r11887 r11899  
    4343    <!-- <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"/> -->
    4444    <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=spaceshipdodgerace />
     45    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=OrxyRoadShip pawndesign=spaceshiporxyroad />
    4646
    4747    <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=spaceshipdodgerace>
    2   <DodgeRaceShip
     1<Template name=spaceshiporxyroad>
     2  <OrxyRoadShip
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipescortcameras
     
    7474  include("../includes/invaderWeapon.oxi")
    7575?>
    76   </DodgeRaceShip>
     76  </OrxyRoadShip>
    7777</Template>
    7878
    7979<Template name=spaceshipescortcameras defaults=0>
    80   <DodgeRaceShip>
     80  <OrxyRoadShip>
    8181    <camerapositions>
    8282                <CameraPosition position="0,100,180" direction="0, -0.2, -1" drag=false mouselook=true />
     
    8585                <CameraPosition position="0,1300,-100" direction="0, -1, 0" drag=false mouselook=true />
    8686    </camerapositions>
    87   </DodgeRaceShip>
     87  </OrxyRoadShip>
    8888</Template>
    8989
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/CMakeLists.txt

    r11888 r11899  
    1 SET_SOURCE_FILES(OrxyRoad_SRC_FILES
     1SET_SOURCE_FILES(Orxyroad_SRC_FILES
    22OrxyRoad.cc
    33OrxyRoadCenterPoint.cc
     
    1414    orxonox
    1515    overlays
    16   SOURCE_FILES ${OrxyRoad_SRC_FILES}
     16  SOURCE_FILES ${Orxyroad_SRC_FILES}
    1717)
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc

    r11891 r11899  
    4343    RegisterUnloadableClass(OrxyRoad);
    4444
    45     OrxyRoad::OrxyRoad(Context* context) : Gametype(context)
     45    OrxyRoad::OrxyRoad(Context* context) : Deathmatch(context)
    4646    {
    4747        RegisterObject(OrxyRoad);
     
    118118                    switch(pattern)
    119119                    {
    120                     case 1: cube->addTemplate("DodgeRaceCube01");
     120                    case 1: cube->addTemplate("OrxyRoadCube01");
    121121                    break;
    122                     case 2: cube->addTemplate("DodgeRaceCube01");
     122                    case 2: cube->addTemplate("OrxyRoadCube01");
    123123                    break;
    124124
     
    191191            return;
    192192        }
     193        Deathmatch::start();
    193194    }
    194195
     
    234235        {
    235236            int score = this->getPoints();
    236             Highscore::getInstance().storeScore("Dodge Race", score, this->playerInfo_);
     237            Highscore::getInstance().storeScore("Orxy Road ", score, this->playerInfo_);
    237238        }
    238239        GSLevel::startMainMenu();
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.h

    r11886 r11899  
    5757#include "core/command/ConsoleCommand.h"
    5858
    59 #include "gametypes/Gametype.h"
     59#include "gametypes/Deathmatch.h"
    6060#include "tools/Timer.h"
    6161
     
    6363{
    6464
    65     class _OrxyRoadExport OrxyRoad : public Gametype
     65    class _OrxyRoadExport OrxyRoad : public Deathmatch
    6666    {
    6767       public:
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadCube.cc

    r11838 r11899  
     1
    12/*   ORXONOX - the hottest 3D action shooter ever to exist
    23 *                    > www.orxonox.net <
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadShip.cc

    r11884 r11899  
    5555    void OrxyRoadShip::tick(float dt)
    5656    {
     57        orxout(user_info) << "This is some cool output!" << endl;
     58
    5759        Vector3 pos = getPosition();
    5860
Note: See TracChangeset for help on using the changeset viewer.