コード例 #1
0
def run():
    print "--> mission Labors of War (1 of 3)"

    if not station.undock():
        return False

    if not space.warpToMissionLocation():
        return False

    if not space.enableAllLowSlot():
        return False

    if not space.openMissionDetail():
        return False

    if not space.lockBig():
        return False

    if not space.approach():
        return False

    if not space.openAfterBurn():
        return False

    if not space.launchDrones():
        return False

    if not space.fireOne():
        return False

    if not space.dronesEngage():
        return False

        # in this mission we should destroy all three industrials
    while True:
        space.lockBig()
        space.dronesEngage()
        time.sleep(15)
        if space.findV():
            break

    if not space.dronesReturn():
        return False

    if not space.missionObjectiveComplete():
        return False

    if not space.backToAgentStation():
        return False

    print "<-- mission Labors of War (1 of 3)\n"
    return True
コード例 #2
0
def run():
	print '--> mission Eliminate the Score'

	if not station.undock():
		return False

	pilot.autopilot()

	if not space.warpToMissionLocation():
		return False

	if not space.enableAllLowSlot():
		return False

	if not space.openMissionDetail():
		return False

	if not space.activateAccelerationGate():
		return False

	if not space.launchDrones():
		return False

	while not space.findV():
		if space.findEnemy():
			mouse.leftClick()
			key.keyPressEx(sc.Lock)
			time.sleep(10)
			space.fireOne()
			time.sleep(10)

	if not space.missionObjectiveComplete():
		return False

	if not space.dronesReturn():
		return False

	if space.setMissionWaypoint():
		pilot.autopilot()
	else:
		mouse.leftClick()
		space.exitStartMap()
		space.backToAgentStation()

	print '<-- mission Eliminate the Score\n'
	return True
コード例 #3
0
def run():
	print '--> mission The Blockade'

	if not station.undock():
		return False

	if not space.warpToMissionLocation():
		return False

	if not space.enableAllLowSlot():
		return False

	if not space.openMissionDetail():
		return False

	if not space.launchDrones():
		return False

	while not space.findV():
		if space.lockTarget('img/enslaver.bmp') or space.lockTarget('img/plague.bmp'):
			space.dronesReturn()
			time.sleep(8)
			space.launchDrones()
			space.fireOne()
			space.dronesEngage()
			time.sleep(20)
		else:
			time.sleep(5)

	if not space.missionObjectiveComplete():
		return False

	if not space.dronesReturn():
		return False

	space.backToAgentStation()

	print '<-- mission The Blockade\n'
	return True
コード例 #4
0
def run():
	print '--> mission Technological Secrets (3 of 3)'

	if not station.undock():
		return False

	pilot.autopilot()

	if not space.warpToMissionLocation():
		return False

	if not space.enableAllLowSlot():
		return False

	if not space.launchDrones():
		return False

	if not space.openMissionDetail():
		return False

	while not space.findV():
		# collect
		space.pickWreck()

	if not space.missionObjectiveComplete():
		return False	

	if not space.dronesReturn():
		return False

	if space.setMissionWaypoint():
		pilot.autopilot()
	else:
		mouse.leftClick()
		space.exitStartMap()
		space.backToAgentStation()
		
	print '<-- mission Technological Secrets (3 of 3)\n'
	return True
コード例 #5
0
def run():
	print '--> mission Unauthorized Military Presence'

	if not station.undock():
		return False

	pilot.autopilot()

	if not space.warpToMissionLocation():
		return False

	if not space.enableAllLowSlot():
		return False

	if not space.activateAccelerationGate():
		return False

	if not space.openMissionDetail():
		return False

	if not space.lockTarget('img/blood_raider_personnel.bmp'):
		return False

	if not space.openAfterBurn():
		return False

	if not space.approachFor(90):
		return False

	if not space.lockTarget('img/blood_raider_personnel.bmp'):
		return False

	if not space.launchDrones():
		return False

	if not space.fireOne():
		return False

	if not space.dronesEngage():
		return False

	# mission item is in wreck
	while not space.findV():
		if space.findEnemy():
			mouse.leftClick()
			space.approach()
			key.keyPressEx(sc.Lock)
			time.sleep(8)
			space.fireOne()
			time.sleep(15)
			mouse.move(-200, 0)
		# collect
		space.pickWreck()

	if not space.missionObjectiveComplete():
		return False

	if not space.dronesReturn():
		return False

	if space.setMissionWaypoint():
		pilot.autopilot()
	else:
		mouse.leftClick()
		space.exitStartMap()
		space.backToAgentStation()

	print '<-- mission Unauthorized Military Presence\n'
	return True
コード例 #6
0
def run():
	print '--> mission Mission of Mercy'

	if not station.undock():
		return False

	pilot.autopilot()

	if not space.warpToMissionLocation():
		return False

	if not space.enableAllLowSlot():
		return False

	if not space.openMissionDetail():
		return False

	if not space.activateAccelerationGate():
		return False

	if not space.openAfterBurn():
		return False

	# wait for enemy to warp in
	time.sleep(60)

	# establish hate
	if space.findEnemy():
		mouse.leftClick()
		key.keyPressEx(sc.Lock)
		key.keyPressEx(sc.Keep)
		time.sleep(10)
		space.fireOne()
		time.sleep(5)

	if not space.launchDrones():
		return False

	while not space.findV() and space.findEnemy():
		mouse.leftClick()
		key.keyPressEx(sc.Keep)
		key.keyPressEx(sc.Lock)
		time.sleep(10)
		space.fireOne()
		time.sleep(50)
		mouse.move(-200, 0)
		mouse.leftClick()

	if not space.missionObjectiveComplete():
		return False

	if not space.dronesReturn():
		return False

	if space.setMissionWaypoint():
		pilot.autopilot()
	else:
		mouse.leftClick()
		space.exitStartMap()
		space.backToAgentStation()

	print '<-- mission Mission of Mercy\n'
	return True