Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11239 for code/branches


Ignore:
Timestamp:
Oct 17, 2016, 4:08:32 PM (8 years ago)
Author:
bberabi
Message:

sound and countdown

Location:
code/branches/SpaceRace_HS16
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SpaceRace_HS16/data/levels/newnewnewspacerace.oxw

    r11238 r11239  
    3232 
    3333  <!-- SOUNDS & MUSIC -->
    34     <WorldSound name="scoreSound" position="0,-2100,0" source="sounds/ReadyGo.ogg" >
     34  <!--  <WorldSound name="scoreSound" position="0,-2100,0" source="sounds/ReadyGo.ogg" >
    3535      <events>
    3636        <play>
     
    3838        </play>
    3939      </events>
     40    </WorldSound> -->
     41 
     42<WorldSound name="Countdown" position="0,-2100,0" source="sounds/Countdown.ogg" >
     43      <events>
     44        <play>
     45          <EventListener event="start1" />
     46        </play>
     47      </events>
    4048    </WorldSound>
    41     <DistanceTrigger name="start" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
    42  
    43     <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" />
     49
     50
     51<WorldSound name="Go" position="0,-2100,0" source="sounds/Go.ogg" >
     52      <events>
     53        <play>
     54          <EventListener event="go" />
     55        </play>
     56      </events>
     57    </WorldSound>
     58
     59<WorldSound name="racetheme" position="0,-2100,0" source="sounds/racetheme.ogg" >
     60      <events>
     61        <play>
     62          <EventListener event="racetheme" />
     63        </play>
     64      </events>
     65    </WorldSound>
     66
     67    <DistanceTrigger name="start1" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
     68        <DistanceTrigger name="go" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=10.5  />
     69         <DistanceTrigger name="racetheme" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=10.7  />
     70
     71
     72
     73
     74      <WorldAmbientSound source="racetheme.ogg" looping="true" playOnLoad="true" />
     75
     76  <!--   <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" /> -->
    4477 
    4578
  • code/branches/SpaceRace_HS16/data/levels/spaceRace.oxw

    r10624 r11239  
    11<LevelInfo
    2  name = "Old Space Race"
     2 name = "Space Race"
    33 description = "Have a furious Race in Space: Reach the checkpoints as fast as possible."
    44 tags = "gametype"
     
    3939      </events>
    4040    </WorldSound>
     41
     42  <WorldSound name="Countdown" position="0,-2100,0" source="sounds/Countdown.ogg" >
     43      <events>
     44        <play>
     45          <EventListener event="start" />
     46        </play>
     47      </events>
     48    </WorldSound>
     49
     50
     51
     52
    4153    <DistanceTrigger name="start" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
    4254 
  • code/branches/SpaceRace_HS16/src/modules/gametypes/OldSpaceRace.cc

    r9667 r11239  
    8484        Gametype::start();
    8585
    86         std::string message("The match has started! Reach the check points as quickly as possible!");
     86        std::string message("Take Them All!");
    8787        this->getGametypeInfo()->sendAnnounceMessage(message);
    8888        ChatManager::message(message);
     
    102102    }
    103103
     104
    104105}
  • code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRaceBot.h

    r11224 r11239  
    3636
    3737    /**
    38 /sdaasdasdasdasdas
     38/sdaasdasdasdasdas     
    3939    */
    4040    class _GametypesExport SpaceRaceBot: public Bot
Note: See TracChangeset for help on using the changeset viewer.