Jump to content
The Dark Mod Forums

Independent mapper cvars and options


Fidcal

Recommended Posts

Dark Mod includes its own cvars prefixed with tdm_ but mappers will want to create their own both for control and to offer variety and options in FMs separate from the difficulty options. It's my belief that it will be useful to have a standard so these do not conflict and so players can set the same option that will work in any FM where mappers use the same cvar.

 

For this purpose I am proposing mapvars to be prefixed by mvr_. As an example, I have set up secrets in my next FM. Some players don't like a "Found a Secret" message popping up in the middle of the game so I am using mvr_show_secrets to let them turn off the messages. There can also be an optional objective eg, "Find 3 out of 5 secrets" but those who don't like secrets at all can ignore it.

 

I will eventually make available a script so anyone can easily set up secrets in their FMs (beg me now if you're in a hurry.) But anyone independently might set up secrets by their own method (may already have) or any options of endless possibilities. So it makes sense to me if we all use the same cvar. That way, any FM that players play, no matter which method is used, they can turn off secrets or any other mapper option.

 

Note that for the time being, mapvars are not supported by Dark Mod so they have to go in an autoexec.cfg. This does not need to be (nor indeed must NOT be) included with the FM zip. If the Dark Mod team decide to support mapvars then instead these can be put in DoomConfig.cfg.

 

Note that such mapvars do not affect any future official TDM features. For example, if TDM set up secrets incorporated into the code and resources they will no doubt use something like tdm_show_secrets. Mappers and players can start using those with no conflict. Existing maps using mvr_show_secrets will still work.

 

So probably the best way is to set up a wiki page with a kind of list or registry of mapvars. I await discussion before proceeding with that in case anything I have not foreseen is raised. For the present most of you will not realize the possibilities that mapvars will offer. Hopefully there will be mappers with enough imagination to use them where appropriate to enhance their FM.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 4 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 2 replies
    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
×
×
  • Create New...