예제 #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)
     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
예제 #4
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 ]        
예제 #5
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 = {}