Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7834


Ignore:
Timestamp:
Jan 27, 2011, 10:55:30 PM (14 years ago)
Author:
jo
Message:

The bot's level can be set via spawnpoints. Example: lastmanstanding level

Location:
code/branches/ai
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/data/levels/gametype_lastmanstanding.oxw

    r7655 r7834  
    7474    ?>
    7575
    76     <SpawnPoint team=0 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     76    <SpawnPoint team=0 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff level="9.9f"/>
    7777
    7878    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> collisionType=static >
  • code/branches/ai/src/orxonox/controllers/ArtificialController.cc

    r7833 r7834  
    8686        this->bSetupWorked = false;
    8787        this->numberOfWeapons = 0;
    88         this->botlevel_ = 10.0f;
     88        this->botlevel_ = 1.0f;
    8989    }
    9090
Note: See TracChangeset for help on using the changeset viewer.