Jump to content
The Dark Mod Forums

Alarm


Sotha

Recommended Posts

Has anyone implemented or experimented with Alarm entity in their missions?

 

The wiki entry gives a clear idea how it is used: http://wiki.thedarkmod.com/index.php?title=Atdm:alarm_sound

 

But it does not answer one question. How far the alarm alerts the AI? Is it dependent on the alarm sound shader distance?

 

According to the DR help:

 

Place one (or more) in your level, then link it from any 'atdm:start_alarm' or 'atdm:stop_alarm' entity. Default sprS_propogate alerts virtually entire map; use 'alarm_mild' for more reasonable value.

 

So the spawnarg sprS_propogate is the one that dictates the distance the alarm goes? How can we tune the distance the alarm alerts AI? How "reasonable" is "alarm_mild""

How can I create an alarm with a local effect, lets say equivalent to the noisemaker arrow. Or a mine explosion?

 

Can I create a custom sprS_propogate "alarm-effect" and fine tune the distance. For example, make a piano the player can frob to make a sound to distract a guard in the same room.

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

I managed to get an alarm system setup in lord Edgars bathhouse. If you open up my map take a look at suite 1 or 2 (I can't remember which) inside the bathhouse, there is a lady sleeping in the bed and if the player hits the light switch it activates the silent alarm which notifies her and causes her to wake up searching but I had to tweak it down so it didn't set off the whole bathhouse. I don't know the exact range but it seems to be fairly small with my settings.

 

I believe the distance is called with a spawnarg but if you need any further help just let me know :)

Link to comment
Share on other sites

Alarms use normal sound propagation, so you set the volume not the distance, and they should work on the same scale as noisemakers. There was detailed discussion of them in the 2.02 beta thread iirc. And they have more spawnargs than they need. I remember discussing some volume modifier spawnarg that turned out simply to add its value to the main volume spawnarg.

 

You can use tdm_showsprop to see how far your alarm is reaching, and at what volume, as long as you have AI around to hear it. I think the threshold for AI hearing is about 20. If sound arrives with less than threshold volume they won't be alerted.

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 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
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...