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

    • taaaki

      Apologies for the unplanned downtime. A routine upgrade did not go to plan, and the rollback had its own issues
      · 2 replies
    • freyk

      Got tdm 2.12 running on my android phone. For more info, read the latest post in the topic on subforum techsupport.
      · 2 replies
    • snatcher

      TDM Modpack v4.5 released!
      Introducing... The Loop
      · 1 reply
    • Ansome

      Taking a break to alleviate burnout. In retrospect, I probably shouldn't have jumped into a map-making contest so quickly after just finishing another project and especially with my busy schedule, but I do believe I have something that the community will enjoy. No clue if I'll be able to finish it on time for the competition if I factor in a break, but I'd rather take my time and deliver something of quality rather than engage in development crunch or lose part of the map's soul to burnout.
      · 1 reply
    • Skaruts

      Working on an update for my mission By The Cookbook. If anyone that played it has any further bugs to report, please let me know.
      I posted more details about the update in the mission thread.
      · 1 reply
×
×
  • Create New...