Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2015, 10:30:56 PM (9 years ago)
Author:
gania
Message:

added other weapons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/controllers/WingmanController.cc

    r10883 r10885  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      Gani Aliguzhinov
    2424 *   Co-authors:
    25  *      Dominik Solenicki
     25 *      ...
    2626 *
    2727 */
     
    8989                //spread copyOrientation called equally among the division
    9090                if (this->myLeader_->getIdentifier()->getName() == "SectionController")
    91                     this->actionCounter_ = 2;
     91                    this->actionCounter_ = 1;
    9292                else
    93                     this->actionCounter_ = 5;
     93                    this->actionCounter_ = 4;
    9494            }
    9595        }
     
    126126                     + (orient* (targetRelativePosition)));
    127127                //let ship finish rotating. also don't call copyOrientation to often as it is a slow function.
    128                 if (this->actionCounter_ % 9 == 0 && !this->bHasTargetOrientation_)
     128                if (this->actionCounter_ % 6 == 0 && !this->bHasTargetOrientation_)
    129129                    this->setAction (Action::FLY, targetAbsolutePosition, orient);
    130130                else
Note: See TracChangeset for help on using the changeset viewer.