Advanced Search

Author Topic: [TUTOR] SECTINFO Setup  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

January 05, 2022, 04:41:05 AM
Read 505 times

Offline Thunderono

  • MM8BDM MM9 Contributor

  • The Treaded Treasury
  • *****
  • Date Registered: December 04, 2010, 11:20:27 PM

    • View Profile
    • KHAN
« on: January 05, 2022, 04:41:05 AM »
What the heck is SECTINFO?
I can't blame you for not knowing-- before using it myself in Spectral Echo, the only person I know of that ever bothered using it in a map was Russel.  SECTINFO is a lump in your map's wad archive that assigns a name to sectors by sector number.  For instance, Spectral Echo's SECTINFO lump looked like this:

(click to show/hide)

This has two relatively low-impact effects on gameplay.  The first is that typing $location in chat will display your actual location on the map, based on the mappings in SECTINFO.  The second, and often more noticeable, is that co-op info will now display your teammates' locations.

Is this a requirement for maps to be competitively viable or even casually viable?  No, not at all.
Is it cool?  Absolutely.

Unfortunately, all known versions of Doom Builder lack a mechanism to implement this, which means that in order to do so, you have to either manually gather sector numbers or cobble together an external workflow.  On top of that, since SECTINFO runs off of sector numbers, it would actually break whenever you were to split or delete a sector...

...or does it?

I spent my evening today crafting up a fix to this situation.  The result is a standalone tool that can root through information in your map's TEXTMAP to generate a SECTINFO for you!  The method this tool uses has a couple of upsides: you don't have to look at sector numbers, and since it uses information harmlessly saved in the map that doesn't rely on sector numbers, it will not break if you split or delete sectors.  If you don't mind briefly dipping into an external tool to make it, this can save you a lot of time and energy setting up callouts on your map.

Grab the tool here!

Included is a short .pdf file that details the workflow for getting these set up.  Enjoy!

oh and I guess you can use SECTINFO to set up control points for domination too but this tool doesn't do that uh oh