Project

General

Profile

Feature #2427

Heretic: Patch as a background for "intermission screen"

Added by Deimos_X 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement
Target version:
Start date:
2020-05-25
% Done:

100%


Description

As a mod creator
I want to be able to set Patch picture (320x200) as a background for "intermission screen" in Heretic

The goal here is to have an ability to set a Patch background in any Map Info script for any level.

The last version of the main definition is here: https://github.com/skyjake/Doomsday-Engine/commit/53e66cf4a316637253b4c6d0cf1e04e5bd12a0a3

Example:

Map Info {
ID = "E1M2";
Name = "E1M2: The Dungeons";
Author = "Raven Software";
Flags = "mif_spawn_all_firemaces";
Gravity = 1;
Intermission background = "Flats:FLOOR12";
Sky height = 0.6;
Sky Layer 1 {
Flags = "slf_enable";
Texture = "SKY1";
};
}

Currently I can confirm that only "Flats" are relevant and working properly:
Intermission background = "Flats:XXX";

Any other attributes, like "Patches" result in black background, despite that selected Patch picture is existed in the wad.

I still assume if Patch background is used in Doom, it could be transported the same way for Heretic

In case of Doom 1 the picture names that are used for it are:
WIMAP0
WIMAP1
WIMAP2

Screenshot_3.png (661 KB) Screenshot_3.png Deimos_X, 2020-05-25 21:35

Associated revisions

Revision d64f14e4 (diff)
Added by skyjake 5 months ago

Heretic|Intermission: Using a patch image as background

The Intermission Background of a Map Info can now be set to a patch in Heretic.

Instead of attempting to solve this at a lower level, the intermission drawing routine now checks whether the defined image is a flat or a patch, and draws it with bespoke code for the type of resource.

IssueID #2427

History

#1 Updated by skyjake 5 months ago

  • Category set to Defect
  • Status changed from New to In Progress
  • Assignee changed from Deng Team to skyjake
  • Target version set to 2.2.x

#2 Updated by skyjake 5 months ago

  • Category changed from Defect to Enhancement
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF