#if a.clas == 'node': # ar.actors.remove(a) if a.clas == 'seeker': if nseekers: nseekers -= 1 else: ar.actors.remove(a) if a.clas == 'player': if ar.mapname != 'demo05': ar.actors.remove(a) for ar in self.map.areas: for w in ar.walls: if (w.hitag == 10 or w.hitag == 12) and w.links: ofz = w.links.iterkeys().next().floor.getz(w.x1, w.y1) fl = ar.floor fl.slope = (ofz - fl.z) / ((w.x1 - fl.x)*fl.ix + (w.y1 - fl.y)*fl.iy) if (w.hitag == 11 or w.hitag == 12) and w.links: ocz = w.links.iterkeys().next().ceil.getz(w.x1, w.y1) ce = ar.ceil ce.slope = (ocz - ce.z) / ((w.x1 - ce.x)*ce.ix + (w.y1 - ce.y)*ce.iy) dmaps=(0,1,2,3,4,5,6,7,8,9,10,11,12,13) #dmaps=(0,1,2,3,4,5,6,7,8,9,10,11,12,13) genmap.convert(['demo%02d'%mn for mn in dmaps], 'demo.world', Hooks()) #genmap.convert(['demo5'], 'demo.world', Hooks())
import genmap class Hooks(object): def __init__(self): self.map = None genmap.convert(['longhall'],'longhall.world',Hooks())
import genmap class Hooks(object): def __init__(self): self.map = None genmap.convert(['hangar'],'hangar.world',Hooks())
import genmap class Hooks(object): def __init__(self): self.map = None genmap.convert(['tstvis3'],'tstvis3.world',Hooks())
import genmap class Hooks(object): def __init__(self): self.map = None genmap.convert(['nodetest'],'nodetest.world',Hooks())
import genmap class mangler(object): pass genmap.convert(['hvrl1t4'],'hover1.world',[{}],mangler())
import genmap class Hooks(object): def __init__(self): self.map = None genmap.convert(['tstwater'],'tstwater.world',Hooks())
import genmap class Hooks(object): def __init__(self): self.map = None genmap.convert(['align'],'align.world',Hooks())