Пример #1
0
 def __init__(self):
     ActionAIFramework.__init__(self)
     EasyStatsFramework.__init__(self)
     CommonQueryAIFramework.__init__(self)
     logic = [self.Action_GetClosestBall, self.Action_AttackClosestOpponent]
     self.actions[1] = logic
     self.actions[2] = logic
     self.actions[3] = logic
Пример #2
0
 def __init__(self):
     ActionAIFramework.__init__(self)
     EasyStatsFramework.__init__(self)
     CommonQueryAIFramework.__init__(self)
     self.stats = [PlayerStatsPrebuilts.blitzer, PlayerStatsPrebuilts.blitzer, PlayerStatsPrebuilts.blitzer] * 3
     logic = [self.Action_GetBallIfClosest, self.Action_AvoidEverything]
     self.actions[1] = logic
     self.actions[2] = logic
     self.actions[3] = logic
Пример #3
0
 def __init__(self):
     ActionAIFramework.__init__(self)
     self.strategy = [  self.Action_DodgeGoose,
                        self.Action_GetTheFOutOfTheWay,
                        self.Action_GetClosestBall,
                        self.Action_GetBallToTargetPlayer,
                        ]        
     self.actions[1] = self.strategy
     self.actions[2] = self.strategy
     self.actions[3] = self.strategy        
Пример #4
0
 def __init__(self):
     ActionAIFramework.__init__(self)
     EasyStatsFramework.__init__(self)
     CommonQueryAIFramework.__init__(self)
     self.stats = [ PlayerStatsPrebuilts.stealer, PlayerStatsPrebuilts.stealer, PlayerStatsPrebuilts.stealer]        
     logic = [self.Action_AvoidIncomingBall, self.Action_GetClosestBall, self.Action_CullTheWeak ,self.Action_AttackClosestOpponent]
     self.actions[1] = logic
     self.actions[2] = logic
     self.actions[3] = logic
     self.weak = 0
     self.delay = 5
     self.time_since_last_throw = 999
Пример #5
0
 def __init__(self):
     ActionAIFramework.__init__(self)
     EasyStatsFramework.__init__(self)
     CommonQueryAIFramework.__init__(self)
     self.player_starting_positions = {}
     self.strategy = [  self.Action_AvoidIncomingBall
                     , self.Action_AttackClosestOpponent
                     , self.Action_CatchIncomingPass
                     , self.Action_GetClosestBall
                     , self.Action_PassBack
                     , self.Action_ReturnToStart
                    ]        
     self.actions[1] = self.strategy
     self.actions[2] = self.strategy
     self.actions[3] = self.strategy
     self.stats = [ PlayerStatsPrebuilts.blitzer, PlayerStatsPrebuilts.blitzer, PlayerStatsPrebuilts.blitzer ]        
Пример #6
0
 def __init__(self):
     EasyStatsFramework.__init__(self)
     ActionAIFramework.__init__(self)
     CommonQueryAIFramework.__init__(self)
     self.stats = [PlayerStatsPrebuilts.catapault, PlayerStatsPrebuilts.dervish, PlayerStatsPrebuilts.catapault]
     self.mode_fetcher = [self.Action_Dodge, self.Action_GetFieldBall, self.Action_PassBallToTeammate, self.Action_StoreBallAtBase, self.Action_GetClosestBall, self.Action_CircleStart]
     self.mode_turret = [self.Action_Dodge, self.Action_CatchPass, self.Action_ThrowAtNearbyOpponent, self.Action_CircleStart]
     self.mode_solo = [self.Action_Dodge, self.Action_GetClosestBall, self.Action_AttackClosestOpponent]
     
     self.actions[1] = self.mode_turret
     self.actions[2] = self.mode_fetcher
     self.actions[3] = self.mode_turret
     
     self.base_field_percent = 0.1
     self.updates = 0
     
     self.player_starting_positions = {}