Skip to content

Conversation

@elf-alchemist
Copy link
Collaborator

I initially tried implementing both in one block instead of two, but the code was ugly and messy for little benefit.

The UMAPINFO_BOSS_SPECIAL macro is extract due to ID24's new exit lines, not yet implemented.

Tested by tweaking the bossaction and bossactionednum values in the following WAD
id24_umapinfo.zip

@rfomin
Copy link
Collaborator

rfomin commented Mar 20, 2025

I'm not sure if it's worth supporting ID24 DEHACKED extensions, are there WADs that use them? In MBF25 we will have thing names instead of numbers.

@elf-alchemist
Copy link
Collaborator Author

This PR is independent from the ID24HACKED part of the spec, it is from the "Mapping additions" section. And either way, these two entries are still useful, as there's no other way to add bossactions in the DSDHACKED index range.

@rfomin
Copy link
Collaborator

rfomin commented Mar 20, 2025

This PR is independent from the ID24HACKED part of the spec, it is from the "Mapping additions" section.

I understand that, but bossactionednum should support negative values and have reserved range according to ID24 spec.

I think we should add ability to define custom things string mnemonics in MBF25 DECORATE and use them in UMAPINFO.

@elf-alchemist elf-alchemist changed the title Implementat ID24 UMAPINFO bossaction extensions Implement ID24 UMAPINFO bossaction extensions Mar 20, 2025
@elf-alchemist
Copy link
Collaborator Author

We don't need to choose one of either, both can co-exist. While the MBF2y spec is not yet finalized, we can work with the spec that is already out, and still add Custom UMAPINFO Mnemonics later. Both of these I believe are natural and very useful extensions to have on the bossaction, whether we support the negative indices or not.

@electricbrass
Copy link
Contributor

I would wait on the final ID24 spec, as it was mentioned that this part may be revised before then, to use custom mnemonics instead.

@elf-alchemist elf-alchemist marked this pull request as draft June 29, 2025 16:40
@elf-alchemist
Copy link
Collaborator Author

elf-alchemist commented Jun 29, 2025

Drafting this as i has been brought to my attention the use of the following mnemonic system is not just fully functional in current KEX it is intended to be a part of the revised ID24 spec. From R&R's boomtest.wad, this is a custom strings mechanic, similar to the USER_* strings. I will continue work at a later moment.

DEHACKED:

[STRINGS]
DEHTHING_Vassago = -1879048187
DEHTHING_Tyrant = -1879048186
DEHTHING_TyrantBoss1 = -1879048185
DEHTHING_TyrantBoss2 = -1879048184

UMAPINFO:

map E1M1
{
  levelname = "Boom test"
  bossaction = DEHTHING_Vassago, 103, 73
  bossaction = DEHTHING_Tyrant, 112, 86
  bossaction = DEHTHING_TyrantBoss1, 112, 67
  bossaction = DEHTHING_TyrantBoss2, 112, 72
  bossaction = SpiderMastermind, 2070, 0
  endfinale = "NEWCAST"
  intertext = "You are defeat the test!",
  "",
  "",
  "Make time fast to self author!"
  interbackdrop = "FLAT5_2"
}

@elf-alchemist elf-alchemist marked this pull request as ready for review July 18, 2025 21:03
@elf-alchemist
Copy link
Collaborator Author

Re-opening this, as bossactionednum is already being used in the WAD The Last Day On Earth:

	//Secret Fight 1
	bossactionednum  = 20033, 23, 666
	bossactionednum  = 20035, 23, 667
	bossactionednum  = 20034, 23, 668
	bossactionednum  = 20036, 23, 669
	
	//Arena 1
	bossactionednum = 20044, 23, 680
	bossactionednum = 20038, 23, 681
	
	//Secret Fight 2
	bossactionednum = 20046, 23, 682
	bossactionednum = 23001, 23, 683
	bossactionednum = 20048, 23, 684
	bossactionednum = 20047, 23, 686
	
	bossactionednum = 20049, 23, 685 
	
	//Arena Fight 2
	bossactionednum = 20050, 23, 687
	bossactionednum = 20051, 23, 688
	bossactionednum = 20052, 23, 689
	
	bossactionednum = 153, 23, 700
	
	//Slotter
	bossactionednum = 164, 23, 702
	bossactionednum = 165, 23, 206
	
	//Final 
	bossactionednum = 161, 23, 1000

@elf-alchemist
Copy link
Collaborator Author

The Last Day On Earth:

Tested some boss sequences in the map (with the deaths of the early "Diabolist" and "Cyberdemon Junior"s), behaving as intended.

woof1014 woof1016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants