Jump to content
The Dark Mod Forums

Rising Water Help


refl3ks

Recommended Posts

A switch triggers water to rise. How can I go about making this happen? Searched through the forum & the wiki, possibly overlooked the solution. Figured posting would help expedite the process.

Thanks for any help.

Link to comment
Share on other sites

1. Create a water entity (=water_source)

2. Create a small brush (size does not matter) and convert it into an entity of the class "sliding door" (=water mover) - give it the properties

a. frobable - 0
b. noclipmodel - 1


3. Give the water mover the follownig spawnargs to remove the default sounds:

a. snd_move - nosound
b. snd_close - nosound
c. snd_open - nosound

4. Bind the water_source to the water_mover

5. Give the water_mover a fitting translating value, for example "400 0 0"

6. Target the water mover from the switch in question

 

Edited by JackFarmer
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

32 minutes ago, JackFarmer said:

Edit: Sorry man, had to correct step #1 as I forgot that water brushes always have to be converted into water entities.

No worries haha. Thank you for your help, you saved me from a headache!

Link to comment
Share on other sites

One thing I love about idTech 4 and people using this engine, is that we always find many ways to reach the same conclusion, that usage of the sliding door, is really clever and funny at the same time, at lest to me. :D 

Thou the first thing that came to my mind when I read the question was using a func_mover, it exists exactly for that, I'm surprised if there's nothing in TDM wiki about it, if there's not here are something about it, and a more powerful and complex tutorial here thou a slide door is just a special binary func_mover.

Link to comment
Share on other sites

7 hours ago, HMart said:

Thou the first thing that came to my mind when I read the question was using a func_mover, it exists exactly for that, I'm surprised if there's nothing in TDM wiki about it, if there's not here are something about it, and a more powerful and complex tutorial here thou a slide door is just a special binary func_mover.

I believe there's no way to control a func_mover without using a script. Doors have the advantage of having an inbuilt response to frobs and triggers. If you can script, then func_movers are the more elegant option. In this case their advantage would be that you can more easily make it a single-use thing.

  • Like 1
Link to comment
Share on other sites

9 hours ago, Dragofer said:

 In this case their advantage would be that you can more easily make it a single-use thing.

Yes, I had thought of that too, but since @refl3ks hadn't mentioned it, I left that step out. I would have solved this then through a Response on the switch; whereby with the Response "make unfrobable - _self" only a unique Frobbing would have been possible.

Link to comment
Share on other sites

14 hours ago, Dragofer said:

I believe there's no way to control a func_mover without using a script. Doors have the advantage of having an inbuilt response to frobs and triggers. If you can script, then func_movers are the more elegant option. In this case their advantage would be that you can more easily make it a single-use thing.

Indeed func_movers don't do anything unless you script them but they have a good amount of script functions to make it easy to use and is also imo what makes them powerful and versatile, but if a func_door does the job you want, by all means use it. :) 

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

      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 )
      · 2 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
       
      · 5 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
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...