More work on Tatooine NPC Spawns

Added Desert Swoopers
Changed Swoopers to be Agressive
Added Scavenger Spawns
Changed Scavengers to be agressive.
This commit is contained in:
tacef
2014-05-15 14:52:54 +02:00
parent 495542a1e7
commit 8a48caa159
5 changed files with 78 additions and 5 deletions
@@ -0,0 +1,36 @@
import sys
# Project SWG: Mos Eisley Desert Swoopers: Static Spawns
# (C)2014 ProjectSWG
from resources.datatables import Options
from resources.datatables import State
def addPlanetSpawns(core, planet):
stcSvc = core.staticService
objSvc = core.objectService
desert_swooper = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3319), float(5), float(-5125), float(0), float(0), float(0), float(0), 30)
desert_swooper1 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3309), float(5), float(-5121), float(0), float(0), float(0), float(0), 30)
desert_swooper2 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3325), float(5), float(-5112), float(0), float(0), float(0), float(0), 30)
desert_swooper3 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3334), float(5), float(-5130), float(0), float(0), float(0), float(0), 30)
desert_swooper4 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3315), float(5), float(-5122), float(0), float(0), float(0), float(0), 30)
desert_swooper5 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3322), float(5), float(-5138), float(0), float(0), float(0), float(0), 30)
desert_swooper6 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3331), float(5), float(-5119), float(0), float(0), float(0), float(0), 30)
desert_swooper7 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3292), float(5), float(-5155), float(0), float(0), float(0), float(0), 30)
desert_swooper8 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3312), float(5), float(-5155), float(0), float(0), float(0), float(0), 30)
desert_swooper9 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3303), float(5), float(-5145), float(0), float(0), float(0), float(0), 30)
desert_swooper10 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3296), float(5), float(-5121), float(0), float(0), float(0), float(0), 30)
desert_swooper11 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3280), float(5), float(-5112), float(0), float(0), float(0), float(0), 30)
desert_swooper12 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3294), float(5), float(-5130), float(0), float(0), float(0), float(0), 30)
desert_swooper13 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3303), float(5), float(-5119), float(0), float(0), float(0), float(0), 30)
desert_swooper14 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3290), float(5), float(-5138), float(0), float(0), float(0), float(0), 30)
desert_swooper_leader = stcSvc.spawnObject('desert_swooper_leader', 'tatooine', long(0), float(3313), float(5), float(-5138), float(0), float(0), float(0), float(0), 30)
desert_swooper_leader1 = stcSvc.spawnObject('desert_swooper_leader', 'tatooine', long(0), float(3316), float(5), float(-5131), float(0), float(0), float(0), float(0), 30)
return
@@ -0,0 +1,35 @@
import sys
# Project SWG: Mos Eisley scavenger: Static Spawns
# (C)2014 ProjectSWG
from resources.datatables import Options
from resources.datatables import State
def addPlanetSpawns(core, planet):
stcSvc = core.staticService
objSvc = core.objectService
#Enforcers
scavenger = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3102), float(9), float(-4951), float(0), float(0), float(0), float(0), 30)
scavenger1 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3110), float(8), float(-4952), float(0), float(0), float(0), float(0), 30)
scavenger2 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3109), float(7), float(-4961), float(0), float(0), float(0), float(0), 30)
scavenger3 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3096), float(9), float(-4938), float(0), float(0), float(0), float(0), 30)
scavenger4 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3080), float(11), float(-4942), float(0), float(0), float(0), float(0), 30)
scavenger5 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3089), float(10), float(-4961), float(0), float(0), float(0), float(0), 30)
scavenger6 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3106), float(7), float(-4969), float(0), float(0), float(0), float(0), 30)
scavenger7 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3100), float(8), float(-4973), float(0), float(0), float(0), float(0), 30)
scavenger8 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3067), float(9), float(-4932), float(0), float(0), float(0), float(0), 30)
scavenger9 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3061), float(6), float(-4951), float(0), float(0), float(0), float(0), 30)
scavenger10 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3077), float(3), float(-4961), float(0), float(0), float(0), float(0), 30)
scavenger11 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3071), float(3), float(-4971), float(0), float(0), float(0), float(0), 30)
scavenger12 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3047), float(7), float(-4957), float(0), float(0), float(0), float(0), 30)
return