func_water Last edited 3 years ago2020-05-24 20:49:47 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Brush Entity

You guessed it.... Water! A water texture (one prefixed with '!') will act as water, but binding it to an entity gives added advantages. By the way, this entity looks a lot like func_door, because it's designed to be able to move (flooding etc.)

Attributes

Flags

Notes

1 Comment

Commented 6 years ago2017-11-22 23:25:38 UTC Comment #101141
Cheap water:

Water is always rendered no matter where you are. A cheaper alternative is to use NULL texture for the water brush, set wave height to 0, set its render mode to texture and fx amount to 0. This will prevent the water from rendering, but you'll still be able to swim in it.

Use a func_door on top of it, with NULL texture except on top where you put actual water texture. Set render mode to texture and fx amount to 100. Set the passable flag.

If you want to create rising water, set the same target name to both the water and the door and trigger them together. Don't forget to set delays to the same values.

If you have a large amount of water, scale your door water texture by two or three.

You must log in to post a comment. You can login or register a new account.