[Already In] Use exittext property in MAPINFO/Map definitions

Moderator: GZDoom Developers

Use exittext property in MAPINFO/Map definitions

Postby SPZ1 » Wed Jun 26, 2019 9:23 pm

Requesting to be able to directly use the exittext property in any MAPINFO/Map Definition besides only in between Cluster/Hub definitions. Although not a PC Hexen feature, the Nintendo 64 version of Hexen would display text at the beginning of every level every time. Maybe there could also be a feature to toggle whether the text is always displayed or only displayed one time.
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: Use exittext property in MAPINFO/Map definitions

Postby Graf Zahl » Thu Jun 27, 2019 1:12 am

You can already attach exit texts to every level. In fact you can attach texts to each level for every specific target level.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Use exittext property in MAPINFO/Map definitions

Postby SPZ1 » Thu Jun 27, 2019 11:04 am

Could you shed some light on this? The wiki is confusing and cryptic and there are no good examples anywhere (including gzdoom.pk3).

These are 3 different ways that I could not get the code to work:



Spoiler:


Spoiler:


Spoiler:
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: Use exittext property in MAPINFO/Map definitions

Postby Graf Zahl » Fri Jun 28, 2019 1:18 am

It should be 'exittext = mapname, "text to show"', where mapname is the target map to go to, or "normal" or "secret" for the standard exits where the target map is set through MAPINFO.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Use exittext property in MAPINFO/Map definitions

Postby SPZ1 » Fri Jun 28, 2019 8:32 am

Excellent, this works! Just a couple more questions now: How can I specify a background texture and music?

Also, this should be in the wiki but I cannot create an account. :?
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 4 guests