本文整理汇总了Python中services.spawn.DynamicSpawnGroup类的典型用法代码示例。如果您正苦于以下问题:Python DynamicSpawnGroup类的具体用法?Python DynamicSpawnGroup怎么用?Python DynamicSpawnGroup使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DynamicSpawnGroup类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('tusken_raider')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setName('tatooine_tusken_wild')
dynamicGroup.setMaxSpawns(5)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('tatooine_tusken_wild', dynamicGroup)
return
示例2: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('tusken_raider')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setName('tuskens_wild_1')
dynamicGroup.setMaxSpawns(20)
dynamicGroup.setMinSpawnDistance(25)
core.spawnService.addDynamicGroup('tuskens_wild_1', dynamicGroup)
return
示例3: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('ace_imp_storm_com_87')
mobileTemplates.add('decorated_imperial_colonel_87')
mobileTemplates.add('fbase_at_st')
mobileTemplates.add('imp_stormtrooper_80')
mobileTemplates.add('imp_stormtrooper_80')
mobileTemplates.add('imp_stormtrooper_80')
mobileTemplates.add('imp_stormtrooper_80')
mobileTemplates.add('imp_stormtrooper_80')
mobileTemplates.add('imp_stormtrooper_80')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-5)
dynamicGroup.setName('imperial')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('imperial', dynamicGroup)
return
示例4: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('bolle_bol_bark_biter')
mobileTemplates.add('bolle_bol_calf')
mobileTemplates.add('bolle_bol_colt')
mobileTemplates.add('bolle_bol_female')
mobileTemplates.add('bolle_bol_stomper')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(3)
dynamicGroup.setName('endor_bolle')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('endor_bolle', dynamicGroup)
return
示例5: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('dark_jedi_master')
mobileTemplates.add('dark_jedi_knight')
mobileTemplates.add('dark_adept')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(3)
dynamicGroup.setName('dark_jedi_wild_1')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dark_jedi_wild_1', dynamicGroup)
return
示例6: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('choku')
mobileTemplates.add('choku_female')
mobileTemplates.add('choku_hunter')
mobileTemplates.add('choku_male')
mobileTemplates.add('choku_packmaster')
mobileTemplates.add('choku_pup')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(15)
dynamicGroup.setName('yavin4_choku')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('yavin4_choku', dynamicGroup)
return
示例7: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('desert_demon')
mobileTemplates.add('desert_demon_bodyguard')
mobileTemplates.add('desert_demon_brawler')
mobileTemplates.add('desert_demon_leader')
mobileTemplates.add('desert_demon_marksman')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(15)
dynamicGroup.setName('tatooine_desert_demon')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('tatooine_desert_demon', dynamicGroup)
return
示例8: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('kimogila')
mobileTemplates.add('kimogila_aged')
mobileTemplates.add('kimogila_dwarf')
mobileTemplates.add('kimogila_hatchling')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(2)
dynamicGroup.setName('lok_kimogila')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('lok_kimogila', dynamicGroup)
return
示例9: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add("corellian_butterfly")
mobileTemplates.add("corellian_butterfly_defender")
mobileTemplates.add("corellian_butterfly_drone")
mobileTemplates.add("corellian_butterfly_monarch")
mobileTemplates.add("corellian_butterfly_warrior")
mobileTemplates.add("corellian_butterfly_worker")
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(3)
dynamicGroup.setName("corellia_cor_butterfly")
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup("corellia_cor_butterfly", dynamicGroup)
return
示例10: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('jawa')
mobileTemplates.add('jawa_avenger')
mobileTemplates.add('jawa_engineer')
mobileTemplates.add('jawa_healer')
mobileTemplates.add('jawa_henchman')
mobileTemplates.add('jawa_leader')
mobileTemplates.add('jawa_protector')
mobileTemplates.add('jawa_thief')
mobileTemplates.add('jawa_warlord')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(5)
dynamicGroup.setName('tatooine_jawa')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('tatooine_jawa', dynamicGroup)
return
示例11: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add("kunga_clan_leader")
mobileTemplates.add("kunga_clan_primalist")
mobileTemplates.add("kunga_harvester")
mobileTemplates.add("kunga_herbalist")
mobileTemplates.add("kunga_hunter")
mobileTemplates.add("kunga_loreweaver")
mobileTemplates.add("kunga_rockshaper")
mobileTemplates.add("kunga_scout")
mobileTemplates.add("kunga_shaman")
mobileTemplates.add("kunga_soothsayer")
mobileTemplates.add("kunga_tribesman")
mobileTemplates.add("kunga_warrior")
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-3)
dynamicGroup.setName("kunga_central_group_1")
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup("kunga_central_group_1", dynamicGroup)
return
示例12: addDynamicGroup
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
示例13: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('skreeg_adolescent')
mobileTemplates.add('skreeg_female')
mobileTemplates.add('skreeg_gatherer')
mobileTemplates.add('skreeg_hunter')
mobileTemplates.add('skreeg_infant')
mobileTemplates.add('skreeg_male')
mobileTemplates.add('skreeg_scout')
mobileTemplates.add('skreeg_warrior')
mobileTemplates.add('skreeg_warrior_elite')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(15)
dynamicGroup.setName('yavin4_skreeg')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('yavin4_skreeg', dynamicGroup)
return
示例14: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add("krayt_dragon_ancient")
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(1)
dynamicGroup.setName("krayt_dragon_ancient_1")
dynamicGroup.setMaxSpawns(1)
dynamicGroup.setMinSpawnDistance(5)
core.spawnService.addDynamicGroup("krayt_dragon_ancient_1", dynamicGroup)
return
示例15: addDynamicGroup
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('huurton')
mobileTemplates.add('huurton_bloodhunter')
mobileTemplates.add('huurton_howler')
mobileTemplates.add('huurton_huntress')
mobileTemplates.add('huurton_matron')
mobileTemplates.add('huurton_reaper')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-3)
dynamicGroup.setName('dantooine_huurton')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dantooine_huurton', dynamicGroup)
return