当前位置: 首页>>代码示例>>Python>>正文


Python spawn.DynamicSpawnGroup类代码示例

本文整理汇总了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
开发者ID:Demannu,项目名称:NGECore2,代码行数:10,代码来源:tatooine_tusken_wild.py

示例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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:10,代码来源:tuskens_wild_1.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:19,代码来源:imperial.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:15,代码来源:endor_bolle.py

示例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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:13,代码来源:dark_jedi_wild_1.py

示例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
开发者ID:RobCubed,项目名称:NGECore2,代码行数:16,代码来源:yavin4_choku.py

示例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
开发者ID:RobCubed,项目名称:NGECore2,代码行数:15,代码来源:tatooine_desert_demon.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:14,代码来源:lok_kimogila.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:16,代码来源:corellia_cor_butterfly.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:19,代码来源:tatooine_jawa.py

示例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
开发者ID:Avasia,项目名称:NGECore2,代码行数:22,代码来源:kunga_central_group_1.py

示例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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:13,代码来源:thunes_1.py

示例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
开发者ID:RobCubed,项目名称:NGECore2,代码行数:19,代码来源:yavin4_skreeg.py

示例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
开发者ID:GaiamarkGames,项目名称:NGECore2,代码行数:11,代码来源:krayt_dragon_ancient_wild_1.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:16,代码来源:dantooine_huurton.py


注:本文中的services.spawn.DynamicSpawnGroup类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。