mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Considering the combat level ranges from live, the planet's surface has been covered with spawn areas for various mobs and NPCs. A small as possible count of collidables was used to save server resources while still being able to realize the spawns.
20 lines
642 B
Python
20 lines
642 B
Python
# Spawn Group file created with PSWG Planetary Spawn Tool
|
|
import sys
|
|
from java.util import Vector
|
|
from services.spawn import DynamicSpawnGroup
|
|
from services.spawn import MobileTemplate
|
|
|
|
def addDynamicGroup(core):
|
|
dynamicGroup = DynamicSpawnGroup()
|
|
mobileTemplates = Vector()
|
|
mobileTemplates.add('mammoth_thune')
|
|
mobileTemplates.add('thune')
|
|
mobileTemplates.add('thune_herd_leader')
|
|
dynamicGroup.setMobiles(mobileTemplates)
|
|
dynamicGroup.setGroupMembersNumber(-3)
|
|
dynamicGroup.setName('thunes_1')
|
|
dynamicGroup.setMaxSpawns(-1)
|
|
dynamicGroup.setMinSpawnDistance(150)
|
|
core.spawnService.addDynamicGroup('thunes_1', dynamicGroup)
|
|
return
|