Virus E1 demo SBARINFO and MAPINFO not working quite right

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.
Locked
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Virus E1 demo SBARINFO and MAPINFO not working quite right

Post by Phobus »

Using ZDoom v2.3.1.1480 (Ie. the latest official release), and loading VirusRes.wad and Virus.wad (with ZDL 3.0) to see what state things were in has thrown a few issues to the fore. Now, I'm not sure whether this is down to my text lumps or what, so I've not said it's a bug or anything. I know this used to work as intended however. Here's the link to Virus:

http://www.phobus.servegame.com/ph_virus.zip

And here's the issues as I see them:

1) My SBARINFO (one line, found in VirusRes.wad) is as follows:

Code: Select all

Height 0;
The above line is the entire entry, and it appears to be being ignored entirely (ie. the standard Doom2 status bar is still being drawn)

2) The MAPINFO in Virus.wad (which is in the old format) works fine, except for any intermission screen where there is no text or specified interpic. In other words, the problem only arises where the default interpic is used. The problem is that the map acts like nointermission is set, starting the next level directly after the previous is finished with no intermission screen. This is viewable on MAP01, MAP02, MAP03, MAP04, MAP05's normal exit, MAP06 and MAP07. The mapinfo is below.

Code: Select all

clearepisodes

episode map00
name "Spore Training"
noskillmenu

map map00 "Training"
levelnum 0
next map000
secretnext map00
sky1 ASKY 0.0
cluster 1
music D_TRAIN
aircontrol 0.6
nocrouch
par 20
enterpic INTERPCT
exitpic INTERPCT

map map000 "Final Note"
levelnum 100
next map00
sky1 ASKY 0.0
cluster 100
music D_TRAIN
aircontrol 0.6
nocrouch
par 1
enterpic INTERPCT
exitpic INTERPCT

clusterdef 1
flat ATRAIN
music D_WIN
exittext "And now for the final part of
your training. If you wish
you may now start the level
again (pressing 'use' will
do this) and fly through the
map as quickly as possible.

Don't try to kill anything
that you don't need to. Just
fly to the end, and see if you
can get, or beat, the par time.

Good luck!"

episode map01
name "1: Virus"

map map01 "Sector Limits"
levelnum 1
next map02
secretnext map02
sky1 ASKY 0.0
cluster 2
music D_VIRUS
aircontrol 0.6
airsupply 60
nocrouch
par 15

map map02 "Recreation"
levelnum 2
next map03
secretnext map03
sky1 ASKY 0.0
cluster 2
music D_VIRUS
aircontrol 0.6
airsupply 60
nocrouch
par 21

map map03 "Power Supply"
levelnum 3
next map04
secretnext map04
sky1 ASKY 0.0
cluster 2
music D_VIRUS
aircontrol 0.6
airsupply 60
nocrouch
par 49

map map04 "Water Under The Bridge"
levelnum 4
next map05
secretnext map05
sky1 ASKY 0.0
cluster 2
music D_VIRUS
aircontrol 0.6
airsupply 60
nocrouch
par 16

map map05 "Transfer"
levelnum 5
next map06
secretnext map09
sky1 ASKY 0.0
cluster 2
music D_VIRUS2
aircontrol 0.6
airsupply 60
nocrouch
par 32

map map06 "Hardware"
levelnum 6
next map07
secretnext map07
sky1 ASKY 0.0
cluster 2
music D_VIRUS2
aircontrol 0.6
airsupply 60
nocrouch
titlepatch "GMTG01"
par 47

map map07 "Manufactoria"
levelnum 7
next map08
secretnext map08
sky1 ASKY 0.0
cluster 2
music D_VIRUS2
aircontrol 0.6
airsupply 60
nocrouch
titlepatch "GMTG02"
par 99

map map08 "Treachery"
levelnum 8
next map10
secretnext map10
sky1 ASKY 0.0
cluster 2
music D_VIRUS2
aircontrol 0.6
airsupply 60
nocrouch
par 102

map map09 "Doom"
levelnum 9
next map06
secretnext map06
sky1 SKY3 0.0
cluster 3
music D_RUNNIN
aircontrol 0.6
airsupply 60
nocrouch
enterpic INTERPCD
exitpic INTERPCD
par 27

map map10 "Congratulations"
levelnum 10
sky1 ASKY 0.0
cluster 4
music D_WIN

clusterdef 3
flat SFLR6_1
entertext "You can scarcely believe what
you see. You have been plucked
from your world entirely, it 
seems.

Now you're in a nightmare from
some other creation, and the 
only way out is through.

Face your DooM."

exittext "Having destroyed the opposition
here, you can not help but
wonder what other worlds
there are in existance, and
what their inhabitants look
like.

However, you are glad to
have made it through, and
would like to stay alive.

Back to work."

clusterdef 4
flat AWATER
music D_WIN
entertext "The Leader that you've just
destroyed wasn't even infected.
It was merely doing wrong.

It would seem the threat isn't
over just yet. The Virus is still
at large.

Still, congratulations are due.

Take time off... until your next 
assignment!"
Now, I will be updating the MAPINFO for Virus into the new format when I make the later episodes, but in the mean time - what is the problem? Is it a fault of mine, or is there a bug in ZDoom that causes slight issues with old format MAPINFO? I'm presuming SBARINFO has been updated or similar, which is the cause of my first problem, but the MAPINFO issue makes no sense to me.

EDIT:

Further testing has bought the following to light:

GZDoom v1.2.1.309 and SkullTag v0.97.2228.2 both also ignore the SBARINFO, so I imagine that's my fault. however, only GZDoom showed the same problem with the MAPINFO as ZDoom. SkullTag ran all intermission screens as expected, although it did crush the BIGFONT together, which is something ZDoom and GZDoom do not do. Bug with (G)ZDoom perhaps?
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Virus E1 demo SBARINFO and MAPINFO not working quite right

Post by Project Shadowcat »

Phobus wrote:1) My SBARINFO (one line, found in VirusRes.wad) is as follows:

Code: Select all

Height 0;
I want to say it's because you don't have anything defined. If you have nothing defined, it would just go to the regular status bar.
There are ways with SBARINFO to replicate what you have going right now in Virus.
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Re: Virus E1 demo SBARINFO and MAPINFO not working quite right

Post by Phobus »

I guess I shall have to learn the changes in format and stuff for SBARINFO. Ideally, my current system is to be maintained, simply because that works fine as is.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Virus E1 demo SBARINFO and MAPINFO not working quite right

Post by Project Shadowcat »

Phobus wrote:I guess I shall have to learn the changes in format and stuff for SBARINFO. Ideally, my current system is to be maintained, simply because that works fine as is.
You should be good to go. Everything in your simple ACS HUD can be replicated in SBARINFO, and with how little you actually need to replace, should be (comparatively) a cakewalk.
Locked

Return to “Editing (Archive)”