![]() |
Key Open / Key Tile : Make Door Dissapear While Open - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Key Open / Key Tile : Make Door Dissapear While Open (/showthread.php?tid=861) |
Key Open / Key Tile : Make Door Dissapear While Open - JokeofWeek - 08-04-2007 Hi there ![]() So there are 2 versions, there both really easy and only require one bit of code. The first version is for the original set of layers. What you do is just, in the modGameLogic, in the sub bltFringeTile, look for the line : Code: Fringe = Map.Tile(x, y).Fringe and replace it with : Code: If TempTile(x, y).DoorOpen = 1 Then And there you go, it's done and should be 100% working ![]() The first version is for the extra layers, which will use Fringe 2 + Fringe 2 Animatiion. What you do is just, in the modGameLogic, in the sub bltFringeTile, look for the line : [code] If (MapAnim = 0) Or (F2Anim - Boo - 09-04-2007 very nice, glad to see u back Joke - Matt - 09-04-2007 Isn't this already in the source? I know you can open doors with the default mirage key and key open attribs. - Obsidian - 09-04-2007 I think this was already included in MSE1... the difference was, that when you used the key it made the 'mask' layer disappear. I think what Joke is going for, is if you want to make something other than just Mask disappear (if you've added more layers, or if you want to use Fringe, that kind of thing) - Matt - 09-04-2007 Oh, okay. I was a bit confused. ^_^ - JokeofWeek - 09-04-2007 Oops, my bad, didn't realize that the mask layer dissapeared xD. Well, guess this tut isn't that useful then, unless you want to change the layer lol. |