mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Remove club house from front threes
This commit is contained in:
parent
e22248e742
commit
196de9056e
5 changed files with 9 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Entity(EntityTypeDesc):
|
||||||
class LevelMgr(Entity):
|
class LevelMgr(Entity):
|
||||||
type = 'levelMgr'
|
type = 'levelMgr'
|
||||||
permanent = 1
|
permanent = 1
|
||||||
attribs = (('name', 'LevelMgr', 'const'), ('parentEntId', 0, 'const'), ('modelFilename', '', 'const'))
|
attribs = (('name', 'LevelMgr', 'const'), ('parentEntId', 0, 'const'), ('modelFilename', '', 'const'), ('removeNodes', [], 'const'))
|
||||||
|
|
||||||
|
|
||||||
class AttribModifier(Entity):
|
class AttribModifier(Entity):
|
||||||
|
|
|
@ -6,6 +6,11 @@ class LevelMgr(LevelMgrBase.LevelMgrBase):
|
||||||
def __init__(self, level, entId):
|
def __init__(self, level, entId):
|
||||||
LevelMgrBase.LevelMgrBase.__init__(self, level, entId)
|
LevelMgrBase.LevelMgrBase.__init__(self, level, entId)
|
||||||
self.geom = loader.loadModel(self.modelFilename)
|
self.geom = loader.loadModel(self.modelFilename)
|
||||||
|
|
||||||
|
if hasattr(self, 'removeNodes'):
|
||||||
|
for node in self.removeNodes:
|
||||||
|
self.geom.find(node).removeNode()
|
||||||
|
|
||||||
self.zoneNums = []
|
self.zoneNums = []
|
||||||
self.level.zoneNum2zoneId = {}
|
self.level.zoneNum2zoneId = {}
|
||||||
self.level.zoneId2zoneNum = {}
|
self.level.zoneId2zoneNum = {}
|
||||||
|
|
|
@ -6,6 +6,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
|
||||||
'cogLevel': 0,
|
'cogLevel': 0,
|
||||||
'farPlaneDistance': 1500,
|
'farPlaneDistance': 1500,
|
||||||
'modelFilename': 'phase_12/models/bossbotHQ/BossbotMazex1_C',
|
'modelFilename': 'phase_12/models/bossbotHQ/BossbotMazex1_C',
|
||||||
|
'removeNodes': ['**/clubHouse'],
|
||||||
'wantDoors': 1},
|
'wantDoors': 1},
|
||||||
0: {'type': 'zone',
|
0: {'type': 'zone',
|
||||||
'name': 'UberZone',
|
'name': 'UberZone',
|
||||||
|
|
|
@ -6,6 +6,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
|
||||||
'cogLevel': 0,
|
'cogLevel': 0,
|
||||||
'farPlaneDistance': 1500,
|
'farPlaneDistance': 1500,
|
||||||
'modelFilename': 'phase_12/models/bossbotHQ/BossbotMazex2_straight_C',
|
'modelFilename': 'phase_12/models/bossbotHQ/BossbotMazex2_straight_C',
|
||||||
|
'removeNodes': ['**/clubHouse'],
|
||||||
'wantDoors': 1},
|
'wantDoors': 1},
|
||||||
0: {'type': 'zone',
|
0: {'type': 'zone',
|
||||||
'name': 'UberZone',
|
'name': 'UberZone',
|
||||||
|
|
|
@ -6,6 +6,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
|
||||||
'cogLevel': 0,
|
'cogLevel': 0,
|
||||||
'farPlaneDistance': 1500,
|
'farPlaneDistance': 1500,
|
||||||
'modelFilename': 'phase_12/models/bossbotHQ/BossbotMazex4_C',
|
'modelFilename': 'phase_12/models/bossbotHQ/BossbotMazex4_C',
|
||||||
|
'removeNodes': ['**/clubHouse'],
|
||||||
'wantDoors': 1},
|
'wantDoors': 1},
|
||||||
0: {'type': 'zone',
|
0: {'type': 'zone',
|
||||||
'name': 'UberZone',
|
'name': 'UberZone',
|
||||||
|
|
Loading…
Reference in a new issue