DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

Multiple Floors
Page 1 of 1
DieHard Wolfers Forum Index -> Feature Fanatics View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Acid Gear
Can I Play Daddy
Can I Play Daddy


Joined: 25 Nov 2007
Last Visit: 19 Jul 2009

Topics: 9
Posts: 31
Location: Near Castle Wolfenstein
usa.gif

PostPosted: Thu Dec 04, 2008 7:59 pm
   Subject: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

Did a quick search through this forum and didn't find anything, just wanted to know if it is within the realms of Wolf4SDL to handle an extra floor? I'm am just trying to make a basement area (in which you would have to take a set of stairs or elevator to reach) but am really doubting that this can be done Sad But that besides the point, any answers will be appreciated. Smile

_________________


Last edited by Acid Gear on Thu Dec 04, 2008 9:45 pm; edited 4 times in total
Haasboy
DieHard Officer
DieHard Officer


Joined: 23 Jul 2003
Last Visit: 14 Feb 2018

Topics: 58
Posts: 581
Location: South Africa, Johannesburg
southafrica.gif

PostPosted: Thu Dec 04, 2008 8:43 pm
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

If you searched you would have discovered it was located in the Code Tutorials section - TAKE A LOOK!!!!!!!!!!!!!!!!!!

_________________
Haasboy Engine - Currently under construction (To be used with future mods - F.A.D.E.D. - Mansion X - Rising Evil Series)
Acid Gear
Can I Play Daddy
Can I Play Daddy


Joined: 25 Nov 2007
Last Visit: 19 Jul 2009

Topics: 9
Posts: 31
Location: Near Castle Wolfenstein
usa.gif

PostPosted: Thu Dec 04, 2008 9:29 pm
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Let me re-phrase that, I'm not looking for an extra "floor" texture but an actual level like one that you would have to ride up an elevator in order to get too.

_________________
Tricob
Moderator
<B>Moderator</B>


Joined: 14 Mar 2005
Last Visit: 7:25 ago.

Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.
usa.gif

PostPosted: Fri Dec 05, 2008 9:11 am
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Acid Gear wrote:
Did a quick search through this forum and didn't find anything, just wanted to know if it is within the realms of Wolf4SDL to handle an extra floor? I'm am just trying to make a basement area (in which you would have to take a set of stairs or elevator to reach) but am really doubting that this can be done Sad But that besides the point, any answers will be appreciated. Smile
Quite possible, actually ... and it's also within the realms of Wolf3D 16-bit, too. I know because the code changes aren't all that complicated. The code - in several places - separates out each "Episode" into ten levels each. You'll need to change that code to have it separated out into eleven levels each (meaning there's 66 levels total instead of 60). I'm probably missing a few files, but here's the files I'd check for first:

WL_MENU.H
WL_MENU.CPP
WL_INTER.CPP
WL_GAME.CPP
WL_PLAY.CPP
WL_MAIN.CPP
WL_DEF.H

Do a search for the term "gamestate.episode" and change the numbers accordingly.

There's probably more you have to do, but the rest of the code changes escape my mind at the moment. Sad
Fragstein3D
DieHard Guard
DieHard Guard


Joined: 06 Dec 2009
Last Visit: 17 Mar 2010

Topics: 13
Posts: 200


PostPosted: Thu Dec 31, 2009 8:27 pm
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Are you talking about having a level in a game where you can take the stairs and go to a room above which is actually another level (which is actually attached to the level you describe as having stairs for example) which can lead back to the level you were on previously without resetting everything.

a more efficient idea for having basemtents and attics in levels, is actually having the basements and attics located outside of the levels walls, so that the only way you would be able to get there without taking the stairs (which would be like a teleporter) is with the NoCLIP function cheat.

it would also be possible to have ingame cinematics in these outside of level pockets.
WLHack
DieHard Wolfer
DieHard Wolfer


Joined: 10 Jul 2005
Last Visit: 18 Jan 2018

Topics: 66
Posts: 1242
Location: Loppi - Finland
finland.gif

PostPosted: Fri Jan 01, 2010 5:58 am
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Well, other way to do this would be making the game to save the floor 1
and then teleporting to floor2 and when you teleport back to floor1 you
just make the game save floor2 and then load floor1...

_________________
False Spear download
False Spear SDL download
Wolfenstein-blog
Fragstein3D
DieHard Guard
DieHard Guard


Joined: 06 Dec 2009
Last Visit: 17 Mar 2010

Topics: 13
Posts: 200


PostPosted: Fri Jan 01, 2010 6:33 am
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

What about items and score that you pickup on each respective floor, your idea would have the flaw of the fact one save was made before the other and hence going to floor 2 then loading floor 1 again anything you gained or earned on floor 2 would not apply because it hasen't been done yet, as the save on floor 1 was made earlier.
WLHack
DieHard Wolfer
DieHard Wolfer


Joined: 10 Jul 2005
Last Visit: 18 Jan 2018

Topics: 66
Posts: 1242
Location: Loppi - Finland
finland.gif

PostPosted: Fri Jan 01, 2010 7:18 am
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Yeah, thats right if we are using normal save-files... But my main idea was that only the object positions
(picked up items and killed enemies) would be saved. Now you just load that data and then proceed like
you would normally go to next level (of course player status from previous level would be kept).

Now in theory the revisited level would actually look revisited as some of the items has disappeared and
there are dead corpses lying around. Only problem would be that those guards that were alive when you
left the level would be reset to their original positions.

Players starting position problems could be solved with using the Spear of Destiny code (if you pick
the spear - you will be teleported to corresponding position in the level 21 - just change that to move
you one level backward/forward)...

Of course you could do like in Doll's house by Poet and divide the level to two sections and then make
the elevator to teleport you between these two sections when the switch is flipped (no idea wether
Poet actually did it like this though)...

_________________
False Spear download
False Spear SDL download
Wolfenstein-blog
Fragstein3D
DieHard Guard
DieHard Guard


Joined: 06 Dec 2009
Last Visit: 17 Mar 2010

Topics: 13
Posts: 200


PostPosted: Fri Jan 01, 2010 7:28 am
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Well that's what i was talking about.

two parts of the level both are inaccessible unless you cheat, the teleporter cloaked as an elevator would be able to transport you (hopefully seamlessly somehow) to the other unreachable area of the floor (level) so that it looks like you just went to an attic or something, and the cool thing is it's really just part of the same level.

so it would solve the guard reset positions.
of course patroling guards being reset wouldn't be a bad thing, nobody would really notice it, and it is kinda logical in limited game terminology for guards on patrol to resume their normal patrol course or their posts when the intruder gets away.
Tricob
Moderator
<B>Moderator</B>


Joined: 14 Mar 2005
Last Visit: 7:25 ago.

Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.
usa.gif

PostPosted: Fri Jan 01, 2010 6:34 pm
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Fragstein3D wrote:
two parts of the level both are inaccessible unless you cheat, the teleporter cloaked as an elevator would be able to transport you (hopefully seamlessly somehow) to the other unreachable area of the floor (level) so that it looks like you just went to an attic or something, and the cool thing is it's really just part of the same level.
Oh, yeah ... this is possible by doing a hack of the Teleport code from MCS. I've done my own version of the code so that it creates the illusion you suggest here. My code re-writes the whole routine from scratch (and uses far more memory, I'm sure), and now you're allowed much more freedom when mapping for this feature. Still a lot of fine-tuning to do with the code though, and two glitches to fix before I post the code. Sad
Officer-Michael John
Banned
Banned


Joined: 19 Dec 2014
Last Visit: 18 Feb 2017

Topics: 66
Posts: 280

blank.gif

Currently banned
PostPosted: Sun Sep 27, 2015 5:13 am
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

How to I can a multiple level (floor) with normal music,cleiling adding in Wolf4SDL as in MMC Anthology? Exaple:16 level -->13 normal,1 boss,2 secret level.
Tricob
Moderator
<B>Moderator</B>


Joined: 14 Mar 2005
Last Visit: 7:25 ago.

Topics: 163
Posts: 8116
Location: Neo-traditions, Inc.
usa.gif

PostPosted: Sun Sep 27, 2015 1:54 pm
   Subject: Re: Multiple Floors
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Try SDL Code Crackers for that. But please ask for one feature at a time.
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Feature Fanatics View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts Would you play a Unity3D and/or MUGEN FPS game that I make?
Author: stathmk
3 1160 Sun Aug 25, 2013 7:19 pm
stathmk View latest post
No new posts Few good ideas to make your games more interesting!
Author: Duartuss
8 2294 Thu Sep 11, 2008 4:06 am
Duartuss View latest post
No new posts [4GW] Extra Lives & Checkpoints
Author: the_fish
25 4378 Sat Dec 29, 2007 6:24 am
the_fish View latest post
No new posts Multiple Floor/Ceiling Textures
Author: WSJ
5 1347 Sun Mar 27, 2005 5:27 pm
jamez View latest post
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
   You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group