Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | toonear |
def | nearflag |
def | TwoDdis |
def | tweakHeight |
def | scoreFlag |
def | checkUn |
def | randomFlagLocation |
def | randomLocation |
def | CreateFlag |
def | CreateObstacle |
def | CreateSub |
def | CreateUnit |
def | __init__ |
def | Execute |
def | EventualExecture |
def | AlwaysExecute |
def | ApplyEventualEnvironment |
Data Fields | |
unitheight | |
arenasize | |
flags | |
obstacles | |
subs | |
iter | |
num_un | |
Definition at line 9 of file spectre.py.
def __init__ | ( | self, | |
numobst, | |||
numflag, | |||
numspec, | |||
numseek, | |||
numsubs | |||
) |
Definition at line 99 of file spectre.py.
References Environment.unitheight.
def AlwaysExecute | ( | self) |
def ApplyEventualEnvironment | ( | self, | |
un, | |||
playa | |||
) |
def checkUn | ( | self) |
Definition at line 27 of file spectre.py.
References Pattern.flags, Environment.flags, Compile.flags, RegexObject.flags, Environment.subs, Environment.tweakHeight(), and Environment.TwoDdis().
def CreateFlag | ( | self, | |
name | |||
) |
def CreateObstacle | ( | self, | |
name | |||
) |
Definition at line 81 of file spectre.py.
References Environment.randomLocation().
def CreateSub | ( | self, | |
name | |||
) |
def CreateUnit | ( | self, | |
name, | |||
defend | |||
) |
Definition at line 88 of file spectre.py.
References Environment.num_un, Environment.randomFlagLocation(), and Environment.randomLocation().
def EventualExecture | ( | self) |
Definition at line 128 of file spectre.py.
References MyAI.Execute(), bounty_leader.Execute(), hideProgress.Execute(), quest_surplus.Execute(), go_none.Execute(), balancer.Execute(), TrafficAI.Execute(), Environment.Execute(), waitjump.Execute(), spawner.Execute(), quest_racene.Execute(), jump_privateer.Execute(), privateer.Execute(), cleansweep.Execute(), rescue.Execute(), total_war.Execute(), bounty_troop.Execute(), ai_escortpatrol.Execute(), quest_explore.Execute(), quest_rogue_militia.Execute(), ambush_scan.Execute(), faceoff.Execute(), quest_rlaan_spy.Execute(), wc1_mis0.Execute(), quest_drone.Execute(), quest_shipyardbomb.Execute(), cleansweep_escort.Execute(), quest_slaver.Execute(), quest_blockade.Execute(), wc1_mis1.Execute(), dantestmission.Execute(), quest_teleport.Execute(), wc1.Execute(), quest_introduction.Execute(), plunder.Execute(), quest_dispute.Execute(), go_to_adjacent_systems.Execute(), quest.Execute(), escort_mission.Execute(), bounty.Execute(), quest_debug.Execute(), quest_disappear.Execute(), difficulty.Execute(), patrol_ambush.Execute(), directions_mission.Execute(), server.Execute(), patrol.Execute(), ambush.Execute(), Executor.Execute(), test_quest.Execute(), player.Execute(), defend.Execute(), quest_isowing.Execute(), quest_contraband_truck.Execute(), cargo_mission.Execute(), escort_local.Execute(), DJ.Execute(), random_encounters.Execute(), and quest_tutorial.Execute().
def Execute | ( | self) |
Definition at line 120 of file spectre.py.
References Environment.ApplyEventualEnvironment(), spectre.isCar(), and Environment.iter.
def nearflag | ( | self, | |
un, | |||
flag | |||
) |
Definition at line 15 of file spectre.py.
def randomFlagLocation | ( | self) |
Definition at line 56 of file spectre.py.
References Vector.Add(), Pattern.flags, Environment.flags, Compile.flags, RegexObject.flags, vsrandom.randrange(), and vsrandom.uniform().
def randomLocation | ( | self) |
Definition at line 63 of file spectre.py.
References Environment.arenasize, Pattern.flags, Environment.flags, Compile.flags, RegexObject.flags, Environment.obstacles, Environment.toonear(), and vsrandom.uniform().
def scoreFlag | ( | self, | |
un, | |||
f | |||
) |
Definition at line 24 of file spectre.py.
def toonear | ( | self, | |
vec, | |||
un | |||
) |
def tweakHeight | ( | playa, | |
sub | |||
) |
Definition at line 22 of file spectre.py.
def TwoDdis | ( | self, | |
uvec, | |||
f | |||
) |
Definition at line 17 of file spectre.py.
arenasize |
Definition at line 102 of file spectre.py.
flags |
Definition at line 103 of file spectre.py.
iter |
Definition at line 107 of file spectre.py.
num_un |
Definition at line 108 of file spectre.py.
obstacles |
Definition at line 104 of file spectre.py.
subs |
Definition at line 105 of file spectre.py.
unitheight |
Definition at line 23 of file spectre.py.