Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 6, 2012, 3:00:38 PM (12 years ago)
Author:
jo
Message:

Small improvements; adjusting values for better playfeeling. An irregular error occured concerning the SpaceBoundaries. Hopefully attaching the SpaceBoundary to the Transporter solves the problem.

Location:
code/branches/release2012
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/release2012/data/levels/underAttack.oxw

    r9371 r9372  
    4646    <?lua end ?>
    4747
    48 <!--- A SpaceBoundary moving along with the transporter, in order to filter out bots that are too far away from the transporter ---->
    49       <MovableEntity
    50           position="0,0,0"
    51           velocity="-35,0,0"
    52       >
    53         <attached>
    54             <SpaceBoundaries position="1,2,3" maxDistance="1600" warnDistance="300" showDistance="300" reactionMode="1" healthDecrease="5.0" />
    55           <BlinkingBillboard
    56             position="0,0,0"
    57             material="Flares/ringflare2"
    58             colour="1.0, 0.5, 0.3"
    59             phase="-180"
    60             amplitude=0.1
    61             frequency=0.5
    62             quadratic=1
    63           />
    64         </attached>
    65       </MovableEntity>
    66 
    6748
    6849    <Destroyer
     
    7960
    8061      <attached>
     62        <SpaceBoundaries position="1,2,3" maxDistance="1600" warnDistance="300" showDistance="300" reactionMode="1" healthDecrease="5.0" />
    8163        <TeamSpawnPoint team=1 position="200,0,20" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    8264        <TeamSpawnPoint team=1 position="50,0,100" lookat="-1,0,0" roll="90"  yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    83         <TeamSpawnPoint team=1 position="-200,0,20" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
     65        <TeamSpawnPoint team=1 position="-200,0,-60" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    8466        <TeamSpawnPoint team=1 position="100,0,-50" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
    8567        <TeamSpawnPoint team=1 position="400,0,20" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
  • code/branches/release2012/src/orxonox/gametypes/UnderAttack.cc

    r9370 r9372  
    207207            //Each defender prevents 500 damage. If human 2000 damage will be additionally be prevented.
    208208            //TODO: use gametime and the damage dealt so far in order to calculate the transporter's life more precisely
    209             float health = this->getTeamSize(attacker_)*3500.0f + this->getHumansInTeam(attacker_)*1500.0f - this->getTeamSize(defender_)*500.0f - this->getHumansInTeam(defender_)*2000.0f ;
     209            float health = this->getTeamSize(attacker_)*2000.0f + this->getHumansInTeam(attacker_)*3000.0f - this->getTeamSize(defender_)*500.0f - this->getHumansInTeam(defender_)*2000.0f ;
    210210            this->destroyer_->setHealth(std::max(health, 5000.0f)); //the destoyer should have at least 5000.0f life.
    211211        }
Note: See TracChangeset for help on using the changeset viewer.