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

    • Sotha

      WIP mission name confirmed: "The Last Offering"
       
      · 5 replies
    • Sotha

      Today I started writing readables for my WIP mission.
      I wrote my usual text and then crammed it into AI and boom, high quality stuff comes out.
      I used to say that clipper is the mappers best friend, but now it seems it is more like "AI is the mappers best friend."
      · 2 replies
    • The Black Arrow

      Just saw further into 2.13 development, or is it 2.14? Anyway, proper Parallax Mapping...Absolutely fuck yes, please!
      · 2 replies
    • nbohr1more

      Happy Halloween! "Gem of Souls" is out:
       
      Psst, someone let Darkfate know...
      · 1 reply
    • The Black Arrow

      Is there a thread for "Moving Day 2: Look Who's Moving Now"? If not, could someone hint me on what is Dick's birthday? This mission is quite enjoyable on its disturbing creepy implications.
      · 3 replies
×
×
  • Create New...