Beispiel #1
0
def run():
	print '--> mission The Score'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	# pocket 1

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()	

	overview.seekAndDestory()

	if not drones.back():
		return False

	if not overview.activateAccelerationGate():
		return False

	# pocket 2
	if not overview.switchTo('battle'):
		return False

	for i in range(4):
		overview.lockTarget('s', 1)

	drones.launchSentry()

	time.sleep(20)

	begin = time.time()
	while time.time() - begin < 100:
		ship.fireOnce()
		drones.engage()
		overview.lockEnemy(1)

	drones.back()

	ship.enableAfterburn()	

	if not drones.launchSmall():
		return False

	ship.fireOnce()

	overview.seekAndDestory()

	if not drones.back():
		return False

	print '<-- mission The Score\n'
	return True
Beispiel #2
0
def run():
	print '--> mission Break Their Will'

	if not ship.enableDefense():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('repair_station'):
		return False

	if not general.openMissionDetails():
		return False

	if not drones.launchSentry():
		return False

	if not drones.engage():
		return False

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Break Their Will\n'
	return True
Beispiel #3
0
def run():
	print '--> mission Retribution'

	if not ship.enableDefense():
		return False

	if not overview.activateAccelerationGate():
		return False

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('guristas_outpost', 5):
		return False

	if not general.openMissionDetails():
		return False

	if not drones.launchSentry():
		return False

	ship.fireOnce()

	drones.engage()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Retribution\n'
	return True
def run():
	print '--> mission Eliminate the Pirate Campers'

	if not ship.enableDefense():
		return False

	if not drones.launchSentry():
		return False

	if not overview.switchTo('battle'):
		return False

	begin = time.time()
	result = None
	while not result and time.time() - begin < 5:
		result = findAtFull('close')
	if result:
		mouse.leftClickAtP(result)

	# kill small

	count = 0
	while count < 4:
		result = overview.lockTarget('s', 1)
		if result:
			count += 1

	begin = time.time()
	while time.time() - begin < 120:
		overview.lockTarget('s', 1)
		ship.fireOnce()
		drones.engage()

	if not drones.back():
		return False

	# seek and destory

	if not general.openMissionDetails():
		return False

	ship.enableAfterburn()

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not general.missionObjectiveComplete():
		return False

	if not drones.back():
		return False

	print '<-- mission Eliminate the Pirate Campers\n'
	return True
Beispiel #5
0
def run():
	print '--> mission New Frontiers - Raw Materials (5 of 7)'

	if not ship.enableDefense():
		return False

	if not drones.launchSentry():
		return False

	if not overview.switchTo('battle'):
		return False

	if not overview.lockTarget('drone_energy', 25):
		return False

	drones.engage()

	time.sleep(160)

	if not drones.back():
		return False

	mouse.moveTo(100, 100)

	result = findAtDrones('sentry')
	if result:
		mouse.leftClickAtP(result)

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	ship.enableAfterburn()

	while not overview.pickCargo():
		time.sleep(5)

	while overview.pickCargo():
		pass

	if not drones.back():
		return False

	print '<-- mission New Frontiers - Raw Materials (5 of 7)\n'
	return True
def run():
	print '--> mission Intercept The Sabateurs'

	if not ship.enableDefense():
		return False

	if not drones.launchSmall():
		return False

	overview.seekAndDestory()

	if not drones.back():
		return False

	ship.enableAfterburn()

	if not overview.activateAccelerationGate():
		return False

	# pocket 1
	# main enemies are 90km away
	# approach for 85 secs
	# mean while clean up nearby enemy

	drones.launchSmall()
	
	if not overview.switchTo('battle'):
		return False

	if not overview.lockEnemy(20):
		return False

	ship.fireOnce()

	if not overview.lockTarget('transport', 1):
		return False

	ship.enableAfterburn()

	ship.approachFor(85)

	# wait for stop
	begin = time.time()
	while time.time() - begin < 20:
		ship.stop()
		key.pressEx(sc.Unlock)

	mouse.moveToP(panel.center(panel.Drones))

	mouse.wheel(-100)

	while findAtDrones('fighting'):
		time.sleep(10)

	drones.back()

	# use sentry to destory all the smalls

	for i in range(6):
		overview.lockTarget('s', 1)

	drones.launchSentry()

	begin = time.time()
	while overview.lockTarget('s', 1) and time.time() - begin < 130:
		ship.fireOnce()
		drones.engage()

	drones.back()

	# do the rest

	ship.fireOnce()

	drones.launchSmall()

	overview.seekAndDestory()

	while not overview.pickCargo():
		pass

	drones.back()

	print '<-- mission Intercept The Sabateurs\n'
	return True
Beispiel #7
0
def run():
	print '--> mission New Frontiers - Raw Materials (2 of 7)'

	if not ship.enableDefense():
		return False

	ship.enableAfterburn()

	if not overview.activateAccelerationGate():
		return False

	print 'pocket 1'

	if not overview.switchTo('battle'):
		return False

	if not drones.launchSentry():
		return False

	if not overview.lockTarget('drone_energy', 25):
		return False

	drones.engage()

	time.sleep(160)

	if not drones.back():
		return False

	mouse.moveTo(100, 100)

	result = findAtDrones('sentry')
	if result:
		mouse.leftClickAtP(result)

	if not drones.launchSmall():
		return False

	ship.enableAfterburn()

	overview.seekAndDestory()

	if not overview.switchTo('lcs'):
		return False

	if not overview.lockTarget('delainens', 1):
		return False

	ship.approachFor(30)

	drones.engage()

	overview.switchTo('battle')

	while not overview.pickCargo():
		pass

	while overview.pickCargo():
		pass

	overview.seekAndDestory()

	if not drones.back():
		return False

	print '<-- mission New Frontiers - Raw Materials (2 of 7)\n'
	return True