Files
NGECore2/scripts/static_map_locations.py
T
Doogla 9331ec2f64 a few jedi abilities
added force run with particle effects, saber intercept, saber block,
added particle effects for stance and focus, moved the marker for Dee'ja
Peak to its correct location on the map.
2013-09-27 03:38:27 -07:00

139 lines
4.0 KiB
Python

import sys
def addLocations(core, planet):
if planet.getName() == 'tatooine':
tatooineLocations(core, planet)
if planet.getName() == 'corellia':
corelliaLocations(core, planet)
if planet.getName() == 'naboo':
nabooLocations(core, planet)
if planet.getName() == 'rori':
roriLocations(core, planet)
if planet.getName() == 'endor':
endorLocations(core, planet)
if planet.getName() == 'talus':
talusLocations(core, planet)
if planet.getName() == 'yavin4':
yavin4Locations(core, planet)
if planet.getName() == 'dantooine':
dantooineLocations(core, planet)
if planet.getName() == 'dathomir':
dathomirLocations(core, planet)
if planet.getName() == 'lok':
lokLocations(core, planet)
def tatooineLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Bestine', -1290, -3590, 17, 0, 0)
mapService.addLocation(planet, 'Mos Espa', -2902, 2130, 17, 0, 0)
mapService.addLocation(planet, 'Mos Entha', 1291, 3138, 17, 0, 0)
mapService.addLocation(planet, 'Wayfar', -5124, -6530, 17, 0, 0)
mapService.addLocation(planet, 'Mos Eisley', 3528, -4804, 17, 0, 0)
mapService.addLocation(planet, 'Anchorhead', 40, -5348, 17, 0, 0)
def corelliaLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Coronet', -178, -4504, 17, 0, 0)
mapService.addLocation(planet, 'Tyrena', -5140, 2450, 17, 0, 0)
mapService.addLocation(planet, 'Bela Vistal', 6766, -5692, 17, 0, 0)
mapService.addLocation(planet, 'Kor Vella', -3420, 3146, 17, 0, 0)
mapService.addLocation(planet, 'Doaba Guerfel', 3274, 5582, 17, 0, 0)
mapService.addLocation(planet, 'Vreni Island', -5538, 6176, 17, 0, 0)
def nabooLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Theed', -5488, 4380, 17, 0, 0)
mapService.addLocation(planet, 'Keren', 1888, 2700, 17, 0, 0)
mapService.addLocation(planet, 'Moenia', 4836, -4830.5, 17, 0, 0)
mapService.addLocation(planet, 'Deeja Peek', 4686, -1375, 17, 0, 0)
mapService.addLocation(planet, 'Kaadara', 5288, 6687, 17, 0, 0)
def roriLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Narmle', -5140, -2368, 17, 0, 0)
mapService.addLocation(planet, 'Restuss', 5318, 5680, 17, 0, 0)
mapService.addLocation(planet, 'Rebel outpost', 3677, -6447, 17, 0, 0)
def endorLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'an outpost', -905, 1584, 17, 0, 0)
def talusLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Dearic', 422, -3004, 17, 0, 0)
mapService.addLocation(planet, 'Nashal', 4163, 5220, 17, 0, 0)
mapService.addLocation(planet, 'Imperial outpost', -2178, 2300, 17, 0, 0)
def yavin4Locations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Mining Outpost', -312, 4865, 17, 0, 0)
mapService.addLocation(planet, 'Labor Outpost', -6925, -5707, 17, 0, 0)
def dantooineLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Mining outpost', -640, 2486, 17, 0, 0)
mapService.addLocation(planet, 'Pirate outpost', 1588, -6399, 17, 0, 0)
mapService.addLocation(planet, 'Imperial outpost', -4224, -2400, 17, 0, 0)
def dathomirLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'a restricted area', -6358, 930, 17, 0, 0)
mapService.addLocation(planet, 'Trade Outpost', 599, 3046, 17, 0, 0)
mapService.addLocation(planet, 'Science Outpost', -85, -1600, 17, 0, 0)
def lokLocations(core, planet):
mapService = core.mapService
# Cities
mapService.addLocation(planet, 'Nym\'s Stronghold', 440, 5029, 17, 0, 0)
mapService.addLocation(planet, 'Imperial outpost', -1920, -3084, 17, 0, 0)