rooms and entering

I'm working on a level that has several buildings. I want my player to be able to enter some at the door and take the player inside a new area like a small room but can still come back out...how can I accomplish this? Is a new level required? Similar to back in the SNES days often you could press up and enter rooms.
 
I Think that is going to be warp, download the castlevania module , & see how the doors are coded, one of those modules allows your to go back and forth trough different levels (rooms) - i think that the only difficult part would be coding for changes in these rooms, for example a room where you collected an item, if you enter again the item should not appear, or if a room has a mirror & you break it, if you enter again it  must remain broken. details like that
 
oldyz said:
I think that is going to be warp, download the castlevania module , & see how the doors are coded, one of those modules allows your to go back and forth trough different levels (rooms) - i think that the only difficult part would be coding for changes in these rooms, for example a room where you collected an item, if you enter again the item should not appear, or if a room has a mirror & you break it, if you enter again it  must remain broken. details like that


Thanks yeah there's a similar level like that in GI joe but I can't remember which one is the Castlevania under the download files section?
 
oldyz  I found the same thing in GI Joe I think it's done by branching only part I can't seem to determine is where the entrance location is established. There is a wall command in each examples of rooms text files so perhaps the manual will shed a little light on it.
 
with Branching you are going to end up with a looong long, leves.txt file that might end up confusing you.

i am not certain of how the castlevania/metroidvania  mods work, but i am sure that their method involves warps rather than branches. I have not used warp because at the most NS will have 5 to 10 branches, & there will be no revisiting hall nor rooms...

now i am thinking that warps do not/might not take you to another level, but a section of a level, that would mean that you might have to create a level that contains the room itself in another invisible location on your level (accesible only trough the warp point)
 
I can imagine how warps work, I believe I've seen such mechanic in Bio Menace series before. Buuut even though I know how to create that mechanic, it's not compatible with 2 or more players and might cause some issues with other mechanics.
Branch OTOH is compatible for multiplayer as after one player triggers the branch, all players will be taken to that branch.

oldyz said:
with Branching you are going to end up with a looong long, leves.txt file that might end up confusing you.

Well, multi room system like in metroidvanias is complex so long level set is to be expected. However, since levels are defined in levels.txt, you can see the levels there. Unlike warps system in which everything will be declared in one level, that's confusing also IMO

oldyz said:
I Think that is going to be warp, download the castlevania module , & see how the doors are coded, one of those modules allows your to go back and forth trough different levels (rooms)

Which Castlevania module is that?

Wombat2112 : Have you downloaded and played Map Demo? Although it shows map system, the branch mechanic used to create multi room system is similar. The main difference is that there won't be any weapon model change like in map system. IOW players would use same model through all rooms.
 
Bloodbane said:
Which Castlevania module is that?

i will have to check amongst the downloads again... when i test mods i test them for about an hour or 2 & get impatient

It is too bad that warps don't seem to work with more than 1 player tho, my main concern was about objects that change status, (example , enter a room, break a table, exit enter again & table is broken instead of re-spawning)
so in that situation, warps could work better because you don't to do any scripting to account for differences if your room is in one big level that you may have to re-visit 2 or 3 times before its over.

That said, if it where a huge metroid type game , scripting envirometnal changes (broken walls that must stay broken, collected stuff that should no longer appear, boss remains, etc) will need scripts to keep those changes there between reloading levels & branching
 
Wombat2112 : Have you downloaded and played Map Demo? Although it shows map system, the branch mechanic used to create multi room system is similar. The main difference is that there won't be any weapon model change like in map system. IOW players would use same model through all rooms.
[/quote]

Bloodbane
How about this method...for instance...I have a level and want 4 empty rooms
that I can come in and out of...noticed it had your name


http://www.chronocrash.com/forum/index.php?action=search2
 
Back
Top Bottom