Another one...[INTERMISSIONS]

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Another one...[INTERMISSIONS]

Post by Logan MTM »

Hi everyone! 8-)

Guys, i've been trying something to end the game without go to Final Cluster but i don't know if this is possible. I mean, i want my "Final Map" comeback to the TITLEMAP like the engine has just started.

It's possible? :?

Edit: To be more clear, i mean exactly what F7+Y do!

Edit2: 40 VIEWS, 0 REPLIES... Sweet. ^^'
Last edited by Logan MTM on Sun Jul 26, 2009 11:21 am, edited 2 times in total.
User avatar
Kappes Buur
 
 
Posts: 4166
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Ending game.

Post by Kappes Buur »

Logan MTM wrote:... It's possible? :? ... '
I've never seen anyone do something like this. It's a novel approach.
Off-hand I would say it's not possible, but you could try to specify TITLEMAP in MAPINFO. See what happens.

Why not duplicate the TITLEMAP architecture as your final map and make it playable?

arrgh, The Slimeinator was faster with the cross posting :D
Last edited by Kappes Buur on Fri Jul 10, 2009 11:02 pm, edited 2 times in total.
User avatar
The Slimeinator
Posts: 44
Joined: Fri Jun 26, 2009 1:23 pm

Re: Ending game.

Post by The Slimeinator »

I think there's a MAPINFO option in the SVNs that allow you to go back to the titlescreen (and thus the TITLEMAP) when you end the game.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: Ending game.

Post by Logan MTM »

Kappes Buur wrote:Why not duplicate the TITLEMAP architecture as your final map and make it playable?
Cus the TITLEMAP become playable! ^^

Thanks anyway! :)
Gez
 
 
Posts: 17938
Joined: Fri Jul 06, 2007 3:22 pm

Re: Ending game.

Post by Gez »

Mapinfo:

Code: Select all

Map LastMap
{
Next = EndTitle
}
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Ending game.

Post by Enjay »

Is there any way to specify EndTitle from a line activated within the level? ie in the same way as you can use exit lines or scripts to specify maps other than those identified as "next" in the MAPINFO lump?
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Ending game.

Post by Enjay »

Hmmm, forget that question, I can work around that. However, using next = EndTitle brings up the text for the cluster before you go to the title loop. Is there any way to prevent that? nointermission just skips the level stats tally screen, not the cluster text.
User avatar
The Slimeinator
Posts: 44
Joined: Fri Jun 26, 2009 1:23 pm

Re: Ending game.

Post by The Slimeinator »

Hmmm. Maybe you could change the TITLEMAP to have the same cluster as the end-level?
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Ending game.

Post by Enjay »

That may work but, unfortunately, in this case, I'm not using a TITLEMAP. I'm just using EndTitle to got to the TITLEPIC/DEMO/CREDIT loop.

As it happens, there are no demos, so it just goes TITLEPIC/CREDIT/CREDIT/TITLEPIC... and I can emulate that with HUDmessages. The only difference is that the menu doesn't get brought up by any key as it does during the normal TITLEPIC loop so it isn't a perfect emulation.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: Ending game.

Post by Logan MTM »

Gez wrote:Mapinfo:

Code: Select all

Map LastMap
{
Next = EndTitle
}
This format don't work anymore. That's:

Code: Select all

Map LastMap
Next EndTitle
Just what i got was End Game Screen (Icon of Sin and stuffs) or back to another Map.
I think there is no way to make the F7 effect. =/
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Ending game.

Post by Enjay »

Try this in a MAPINFO

Code: Select all

map MAP01 lookup "HUSTR_1"
{
	titlepatch = "CWILV00"
	next = "EndTitle"
	secretnext = "MAP02"
	sky1 = "SKY1"
	cluster = 5
	par = 30
	music = "$MUSIC_RUNNIN"
}
Then go play MAP01 of Doom2. As i said, it does show the cluster message (which may, or may not, be what you want but then it does take you to the TITLE sequence.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: Ending game.

Post by Logan MTM »

I've got a Cluster.
I think i wasn't enough clear in my post or my English is worse than I imagine. O-)
Try this dude:

Start any game with any wad and while playing press "F7" and "Y". That's what i want to my last Map do. 8-)
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Ending game.

Post by Enjay »

That code that I posted comes as close as you can get I think. It won't cause the game to quit. It merely allows you to set the next "map" to be the TITLE cycle after going through the normal map exiting routines.

So, the exit line in your map (or a script that exits the map) would finish the map, show the end of map tally, the cluster script, then go back to the title screen as if you had just started Zdoom. I'm pretty sure that there isn't an insta-quit-to-the-title way of doing it which sounds like what you want.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Ending game.

Post by HotWax »

Enjay wrote:Hmmm, forget that question, I can work around that. However, using next = EndTitle brings up the text for the cluster before you go to the title loop. Is there any way to prevent that? nointermission just skips the level stats tally screen, not the cluster text.
Is there any reason you have to have the exittext set on the cluster you're leaving? Maybe you could instead put it as entertext on the next cluster in line, and then if a map ends the game it won't get shown.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: Ending game.

Post by Logan MTM »

My idea is restart the Game after all "Credits". :cry:

@Enjay: The code that you posted does the game restart the Map01 after show the Cluster.
Locked

Return to “Editing (Archive)”