Advanced Search

Author Topic: [TUTOR] SECTINFO Setup (Now with Domination!)  (Read 768 times)

0 Members and 1 Guest are viewing this topic.

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

Offline Thunderono

  • MM8BDM MM9 Contributor

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

    • View Profile
    • KHAN
[TUTOR] SECTINFO Setup (Now with Domination!)
« 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
edit: OH YEAH IT DOES PAL

August 15, 2022, 10:29:42 PM
Reply #1

Offline Thunderono

  • MM8BDM MM9 Contributor

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

    • View Profile
    • KHAN
Re: [TUTOR] SECTINFO Setup
« Reply #1 on: August 15, 2022, 10:29:42 PM »
At the request of Trillster, I've added support for Domination points to this tool.  The included pdf has been updated with a breakdown of how exactly they work, but the short version is that you would add a "user_point" user variable to all the sectors you want to make up a capture point.  This works alongside the user_callout uservar, so you'd want the sector to have both.  OP has been updated with the new link, have fun!