Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Underwater Vision
#1
Hello

Sometime ago I was messing around with some HUD effects and I made a underwater/diving vision, here it is, I think it can be improved a lot more, but I was lazy and hadnt updated it.

This is the vision:

Code:
self setClientDvars( "cg_watersheeting", 1, "cg_waterSheeting_brightness", 0, "cg_waterSheeting_contrast", 1, "cg_waterSheeting_darkTint", 1, "cg_waterSheeting_desaturation", 0, "cg_waterSheeting_distortionScaleFactor", 0.021961, "cg_waterSheeting_enable", 0, "cg_waterSheeting_fadeDuration", 2, "cg_waterSheeting_lightTint", 0.780261, "cg_waterSheeting_magnitude", 0.0655388, "cg_waterSheeting_radius", 4.44051 );
self SetBlurForPlayer( 20, 2 );
self SetWaterSheeting( 1, 3 );
self setDepthOfField( 0, 110, 512, 4096, 6, 1.8 );
self VisionSetNakedForPlayer( "oilrig_underwater", 0.5 );
self.googles = self CreateOverlay( "ballistic_overlay", 1, undefined );

If you want the sound that grenades do when they drop on water, just do this:

Code:
self playSound( "grenade_bounce_water" );

In Init():

Code:
precacheShader( "ballistic_overlay" );

Add this somewhere on your code:

Code:
CreateOverlay( names, startalpha, color )
{
    overlay = newHudElem();
    overlay.x = 0;
    overlay.y = 0;
    overlay setshader( names, 640, 480 );
    overlay.alignX = "left";
    overlay.alignY = "top";
    overlay.sort = 1;
    overlay.color = color;
    overlay.horzAlign = "fullscreen";
    overlay.vertAlign = "fullscreen";
    overlay.alpha = startalpha;
    overlay.foreground = true;
    return overlay;
}

The preview of the vision was there:

http://www.itsmods.com/forum/Thread-Prev...-Menu.html


Thanks and OMA
Reply

#2
I asked you before about the overlay, but you never gave me it D:
"ballistic_overlay" it is...
Reply

#3
(01-15-2012, 11:40)Rendflex Wrote: I asked you before about the overlay, but you never gave me it D:
"ballistic_overlay" it is...

O.o, really?
Reply

#4
it is epic, also dvars are working? Maybe you will make mod on Underpass? ( like mw3, underwater ) ?
maybe there are swimming anims too Tongue?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
(01-15-2012, 11:57)Se7en Wrote: it is epic, also dvars are working? Maybe you will make mod on Underpass? ( like mw3, underwater ) ?
maybe there are swimming anims too Tongue?

I didnt understand anything. What dvars are working? Why a mod on underpass and about what? About the anims, I think that swimming anims are only in SP.
Reply

#6
(01-15-2012, 12:04)Yamato Wrote:
(01-15-2012, 11:57)Se7en Wrote: it is epic, also dvars are working? Maybe you will make mod on Underpass? ( like mw3, underwater ) ?
maybe there are swimming anims too Tongue?

I didnt understand anything. What dvars are working? Why a mod on underpass and about what? About the anims, I think that swimming anims are only in SP.

Didn't understand @SE7EN either Confused

There's no swimming animations in MW2, not in SP nor in MP.

Edit:
Oh, there's actually swimming animations for the AI's and the player viewmodel swimming animation, but just in oilrig :p
Reply

#7
awsome!
My Reputation is low, help me with +1 rep if i helped you! Big Grin
Reply

#8
(01-15-2012, 12:04)Yamato Wrote:
(01-15-2012, 11:57)Se7en Wrote: it is epic, also dvars are working? Maybe you will make mod on Underpass? ( like mw3, underwater ) ?
maybe there are swimming anims too Tongue?

I didnt understand anything. What dvars are working? Why a mod on underpass and about what? About the anims, I think that swimming anims are only in SP.

He means make the maps look underwater with this. Maybe a custom game mode?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Star [Release] Night-Vision Plugin v1.1 X-Track 7 5,413 06-01-2013, 22:26
Last Post: X-Track
  [Release] Vision Changer Ich1994 14 10,647 05-21-2013, 19:06
Last Post: [HARD] Tony.
  [Tutorial] MW3 Vision List Yamato 4 9,617 09-18-2012, 20:56
Last Post: Yamato
  [Release] Black Ops 2 Vision list *so far* d0h! 5 5,971 09-17-2012, 21:47
Last Post: Yamato
  Preview Underwater Menu Yamato 5 4,849 10-31-2011, 15:42
Last Post: d0h!
  I Had A Vision 4FunPlayin 17 8,525 08-10-2011, 19:23
Last Post: 4FunPlayin
  Infrared Vision cervantes 1 1,888 07-21-2011, 00:21
Last Post: AZUMIKKEL
  Help vision Puffiamo 9 5,133 07-02-2011, 10:06
Last Post: No One
  [Request] night vision No One 31 14,667 02-27-2011, 15:43
Last Post: Arteq
  Normal vision GeKKoFL0X 1 3,434 12-31-2010, 14:02
Last Post: d0h!

Forum Jump:


Users browsing this thread:
4 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.