Murky Water


(Megatog615) #1

How do I get it to be murky when you go under water? It’s kind of hard to describe. Could I make it so that it makes the screen dark blue/green(transparent color drawn over everything, like how the blood flash is done)?


(Loffy) #2

Hi Megatog615 and welcome to the forum. I think we’ve discussed this before, but Im not sure where. Search for “dark water” or somehting, Im sure we’ve got a forum thread somewhere.//Loffy
PS. I found this thread:
http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=13095


(Megatog615) #3

I searched already, and found nothing.

How would I accomplish this through modding, and not by editing all the maps?


(carnage) #4

its controled by a .UI i file i belive

so you would have to make your image and .UI file package then in a pk3 then in the code find the places that recognises when a player is underwater and activate the UI file

however ime not sure how realistic this would look


(Loffy) #5

Ah, sorry, I misinterpret. Through a mod, OK. Then, that is indeed a different question.
I have no idea, but it could perhaps be done. I’m just a corridor- and lake-maker :slight_smile:
//L.


(Jaquboss) #6

hmm i think it is possible but nobody will surrender etpub / etpro just because this…


(IneQuation) #7

No offence meant, but total bs. If you look at the cvarlist, the blood flash cvar name begins with cg_, which means it’s client game library stuff. IMHO it wouldn’t be very clever to do it via UI.

I think that if you looked into the client game code, found the part that makes your vision stretch when underwater and added the blood flash code (altering it properly, obviously) in that place, you would get the desired result.


(carnage) #8

added the blood flash code

you might look for the on screen fire code to see how that works and see if you can aply something similar when underwatter

No offence meant, but total bs. If you look at the cvarlist, the blood flash cvar name begins with cg_, which means it’s client game library stuff. IMHO it wouldn’t be very clever to do it via UI.

i was unsure about 2d display on screen if they were done directly from code or had to be set up in UI or something similar, even if there was no interaction just to aranage the graphics on screen