Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 24, 2008, 1:50:47 AM (16 years ago)
Author:
landauf
Message:

Update your media repository and delete keybindings.ini if you want to use boost (space).

  • Added new class "Engine" to control the speed of a SpaceShip (Engine is an Item, MultiStateEngine is a specialized version of Engine)
  • Added FadingBillboard, a billboard with the ability to fade in and out smoothly when activated/deactivated.
  • Several changes in Backlight, it's now a child of FadingBillboard
  • Some changes concerning local control in ControllableEntity
  • Fixed a bug in WorldEntity caused by different destruction order of attached objects on server and client
  • Added a "MainState" to BaseObject. An object has several states (activity, visibility, …) and one of it can be defined as "MainState" in the XML file. Other objects can change this state without knowing which state it really is (used by MultiStateEngine).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/controllers/HumanController.cc

    r2087 r2254  
    4444    SetConsoleCommand(HumanController, fire,          true).keybindMode(KeybindMode::OnHold);
    4545    SetConsoleCommand(HumanController, altFire,       true).keybindMode(KeybindMode::OnHold);
     46    SetConsoleCommand(HumanController, boost,         true).keybindMode(KeybindMode::OnHold);
    4647    SetConsoleCommand(HumanController, greet,         true);
    4748    SetConsoleCommand(HumanController, use,           true);
     
    112113    }
    113114
     115    void HumanController::boost()
     116    {
     117        if (HumanController::localController_s && HumanController::localController_s->controllableEntity_)
     118            HumanController::localController_s->controllableEntity_->boost();
     119    }
     120
    114121    void HumanController::greet()
    115122    {
Note: See TracChangeset for help on using the changeset viewer.