Color in water texture? (vmt)

A Forum Thread for Counter-Strike: Source

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending MRs.sTAcy.TyLER points.
  • Post: Give MRs.sTAcy.TyLER your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

Dunno in which topic to post :(

Hey guys, ive got a question to this .vmt: can i put any kind of color in it? (water texture) i thought of red.. would be awesome here the code: "Refract" { "$model" 1 "$refractamount" "1.0" "$refracttint" "[0 1 1 100]" "$dudvmap" "dev/water_dudv" "$normalmap" "dev/water_normal" "$surfaceprop" "water" "$bumpframe" "0" "Proxies" { "AnimatedTexture" { "animatedtexturevar" "$normalmap" "animatedtextureframenumvar" "$bumpframe" "animatedtextureframerate" 30.00 } "TextureScroll" { "texturescrollvar" "$bumptransform" "texturescrollrate" .05 "texturescrollangle" 45.00 } } }

Posts

  • 9y
    Mastergun avatar
    Mastergun Offline
    Member Joined 10y
    3,431 points Ranked 1354th
    10 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    Yea you can my buddy did it I'm not really famillar with vmts or anything tho he made red purple and green
    run, gun, reload avatar
    Mantra
    run, gun, reload
  • 9y
    MRs.sTAcy.TyLER avatar
    Member Joined 9y
    Umm.. can you ask him how he did? :)
    the cock that fucks you in the
  • 9y
    Mastergun avatar
    Mastergun Offline
    Member Joined 10y
    3,431 points Ranked 1354th
    10 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    Yea sure ill ask him what to add to the vmt

    EDIT
    ahh its gonna have to wait hes not online i think he went to his parents but ill add you o friends and when hes on ill let you know :)
    run, gun, reload avatar
    Mantra
    run, gun, reload
  • 9y
    MRs.sTAcy.TyLER avatar
    Member Joined 9y
    Ok thx dude :)
    the cock that fucks you in the
  • 9y
    AbbelssiiNi avatar
    Member Joined 10y
    Maybe crazypip or SGT_kick_ur_ass can help, they're experts, I mean, really pros :D They know everything about it.
     avatar
    Mantra
  • 9y
    -tWo- avatar
    -tWo- Offline
    Member Joined 10y
    34,053 points Ranked 121st
    13 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • Reached 25,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    "Refract"
    {
    "$model" 1
    "$refractamount" "1.0"
    "$refracttint" "[0 1 1 100]"

    What you want is this line: "$refracttint" "[0 1 1 100]".

    What you see isn't coloured water, it's the refracting that is coloured. this talks about refracting.

    what determines the colour is [0 1 1 100], change the "0 1 1" to the RGB values you want, and the "100" from 0 to 255 to change the alpha translucency level. The 0 is red, the first 1 is green and the last 1 is blue. Values go from 0 (no channel color) to 255 (full color)
    Applenite avatar
    Mantra
    Applenite
  • 9y
    ROJAN avatar
    ROJAN Offline
    Member Joined 10y
    2,457 points Ranked 1904th
    Ask crazypip about this, he will know it.
     avatar
    Mantra
  • 9y
    MRs.sTAcy.TyLER avatar
    Member Joined 9y
    Posted by -tWo-

    "Refract"
    {
    "$model" 1
    "$refractamount" "1.0"
    "$refracttint" "[0 1 1 100]"

    What you want is this line: "$refracttint" "[0 1 1 100]".

    What you see isn't coloured water, it's the refracting that is coloured. this talks about refracting.

    what determines the colour is [0 1 1 100], change the "0 1 1" to the RGB values you want, and the "100" from 0 to 255 to change the alpha translucency level. The 0 is red, the first 1 is green and the last 1 is blue. Values go from 0 (no channel color) to 255 (full color)


    awesome, just awesome! BIG thx :)
    the cock that fucks you in the

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
8
Views
2,297
Date Added
9y
Date Modified
9y
bcp.crwdcntrl.net tracking pixel