Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | setupEnemy |
def | setupFriendly |
def | updateEnemyObjective |
def | nextSystem |
def | getJumpTo |
def | getPlacementVectors |
def | doPlacement |
def | SetVar |
def | initSuccess |
def | enemyThreatened |
def | outOfRange |
def | tooClose |
def | tooDead |
def | fail |
def | Execute |
Static Public Attributes | |
tuple | WAITTIME = float(240) |
tuple | DELAYTIME = float(30) |
def __init__ | ( | self, | |
var_to_set, | |||
creds, | |||
direct, | |||
sdist, | |||
mdist, | |||
efaction, | |||
ffaction, | |||
efg, | |||
ffg, | |||
fnum = 3 , |
|||
edyntype = '' , |
|||
fdyntype = '' , |
|||
edynfg = '' , |
|||
fdynfg = '' , |
|||
tooclose = ["Thought you could hide from me?" , |
|||
Try, | |||
hiding, | |||
from, | |||
this, | |||
toofar = ["We have lost the lock on the target vessel."] , |
|||
justright = ["Thankyou. You help in tracking this criminal has been appreciated."] |
|||
) |
Definition at line 13 of file tail.py.
def doPlacement | ( | self, | |
target | |||
) |
Definition at line 179 of file tail.py.
References Vector.Add(), ambush.cp, tail.cp, directions_mission.cp, tail.getPlacementVectors(), and Vector.Scale().
def enemyThreatened | ( | self) |
Does the enemy feel different about the player? If yes, the player must have talked to, or shot at the enemy.
Definition at line 210 of file tail.py.
References ambush.cp, tail.cp, directions_mission.cp, and tail.relation.
def Execute | ( | self) |
Definition at line 250 of file tail.py.
References ambush.cp, tail.cp, directions_mission.cp, tail.doPlacement(), plunder.enemy, tail.enemy, rescue.enemy, bounty.enemy, ambush.enemy, tail.enemyThreatened(), tail.fail(), TestCase.fail(), Doc.fail(), tail.initSuccess(), tail.mindist, tail.nextSystem(), tail.objref, tail.outOfRange(), tail.setupEnemy(), tail.success, tail.tooClose(), tail.tooDead(), tail.tracking, tail.updateEnemyObjective(), tail.waiting, and tail.WAITTIME.
def fail | ( | self) |
Definition at line 244 of file tail.py.
References tail.objref, bounty.SetVar(), cargo_mission.SetVar(), and tail.SetVar().
def getJumpTo | ( | self, | |
jto | |||
) |
def getPlacementVectors | ( | self, | |
target | |||
) |
Definition at line 157 of file tail.py.
References ambush.cp, tail.cp, directions_mission.cp, Vector.Mag(), tail.mindist, Vector.Scale(), tail.startdist, Vector.Sub(), tail.tracking, and tail.WAITTIME.
def initSuccess | ( | self) |
Definition at line 189 of file tail.py.
References Vector.Add(), ambush.cp, tail.cp, directions_mission.cp, difficulty.creds, tail.creds, HaveCredits.creds, escort_mission.creds, AddCredits.creds, RemoveCredits.creds, SetCredits.creds, tail.DELAYTIME, tail.directions, plunder.enemy, tail.enemy, rescue.enemy, bounty.enemy, ambush.enemy, tail.getJumpTo(), tail.objref, Vector.Scale(), tail.setupFriendly(), bounty.SetVar(), cargo_mission.SetVar(), tail.SetVar(), tail.succeed1, tail.success, and tail.tracking.
def nextSystem | ( | self, | |
uni = None |
|||
) |
Definition at line 129 of file tail.py.
References tail.directions, plunder.enemy, tail.enemy, rescue.enemy, bounty.enemy, and ambush.enemy.
def outOfRange | ( | self) |
Definition at line 218 of file tail.py.
References tail.fail(), TestCase.fail(), Doc.fail(), and tail.fail2.
def setupEnemy | ( | self) |
Definition at line 51 of file tail.py.
References ambush.cp, tail.cp, directions_mission.cp, tail.directions, plunder.enemy, tail.enemy, rescue.enemy, bounty.enemy, ambush.enemy, tail.enemydynfg, tail.enemydyntype, tail.enemyfaction, tail.enemyfg, tail.enemynum, gettext.find(), faction_ships.getRandomFighter(), string.lower(), tail.mindist, tail.startdist, tail.started, and BlockFinder.started.
def setupFriendly | ( | self, | |
around | |||
) |
Definition at line 86 of file tail.py.
References plunder.enemy, tail.enemy, rescue.enemy, bounty.enemy, ambush.enemy, tail.friendlydynfg, tail.friendlydyntype, cleansweep_escort.friendlyfaction, tail.friendlyfaction, tail.friendlyfg, tail.friendlynum, faction_ships.getRandomFighter(), and tail.mindist.
def SetVar | ( | self, | |
val | |||
) |
Definition at line 185 of file tail.py.
References ambush.cp, tail.cp, directions_mission.cp, defend.var_to_set, escort_local.var_to_set, escort_mission.var_to_set, bounty.var_to_set, tail.var_to_set, and cargo_mission.var_to_set.
def tooClose | ( | self) |
Definition at line 228 of file tail.py.
References ambush.cp, tail.cp, directions_mission.cp, tail.fail(), TestCase.fail(), Doc.fail(), and tail.fail1.
def tooDead | ( | self) |
Definition at line 238 of file tail.py.
References tail.fail(), TestCase.fail(), and Doc.fail().
def updateEnemyObjective | ( | self) |