Jump to content
The Dark Mod Forums

How would one use Trigger_presize? How does it work?


RJFerret

Recommended Posts

Anyone familiar with trigger_presize who might explain how to use it? It's description is identical to trigger_multiple, "Variable sized repeatable trigger." How does it differ? Why does it exist in addition to other triggers? Where/when would a mapper want to use it?

 

What spawnargs are used with it? I actually find not a single forum post or wiki reference to it other than my placeholder in the trigger wiki page on it, which is no help whatsoever. ;-)

 

Appreciate any insights please!

 

PS: Note to self, I do notice unlike trigger_multiple, it doesn't use worldspawn brush boundaries, but comes in at 128x32.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Haven't looked through the modwiki archive yet but neith google cache of doom3world or splashdamage's modwiki site have any reference to it. I'll probably need to look at the source code to fathom anything about this.

 

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

its a random timer multi-trigger so if wait is 2 and random is 1, and delay is 5 then the trigger will trigger between 4 to 6 seconds after initial trigger. then every 1 to 3 seconds after that.

 

quote from def file

"editor_usage1" "The basic time between firing is a random time between (wait - random) and (wait + random)."

 

end quote

 

if it works like the random timer in source then its 1.1 to 2.9 seconds after initial delay.

Edited by stumpy
Link to comment
Share on other sites

Usually, when you create triggers, you create a brush the size you want the trigger to be, then convert it to a trigger entity.

 

A trigger_presize doesn't require that you create the brush first. You just drop one into your map and set the spawnargs. Anything that touches it won't set it off, so you need to target it from another entity or a script.

 

It can be used multiple times, so it behaves like a trigger_multiple, but w/o the touching part.

Link to comment
Share on other sites

  • 2 weeks later...

Which has led to this description for the wiki page:

Akin to trigger_multiple without the need of creating a brush first, and defaults to not being touched by players/AIs, but triggered by other entities/script.

Let me know if/how to adjust that please (or edit/improve yourself), and thanks! That was the final element missing a description on that page.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

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

    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • 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.
      · 5 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.
      · 4 replies
×
×
  • Create New...