Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   Ocean's PKM (alliedassault.us/showthread.php?t=42351)

philadelphia killing mach 11-26-2004 10:05 AM

Ocean's PKM
 
any tuts on editing the waves when using a water/sea texture ? typhoon sized tidal waves kinda takes the realism out .

Godsmack 11-26-2004 11:57 AM

look at the shader's for the water

I dont know what to change but thats how you take the waves out

philadelphia killing mach 11-26-2004 01:59 PM

yea, i figured that much GS (btw, ignore the repeat message in the email i'm sending)
[code:25e1f]textures/misc_outside/multiocean
{
qer_editorimage textures/misc_outside/ocean2.tga
qer_keyword natural
qer_keyword liquid
qer_keyword ocean
qer_trans .4
surfaceparm trans
surfaceparm water
// surfaceparm nolightmap
cull none
deformvertexes wave 20 sin 0 40 0 .2
// deformvertexes wave 30 sin 0 10 0 .2
{
map textures/misc_outside/ocean1.tga
tcGen environment
tcMod scale .222 .222
tcMod scroll .003 .004
}
{
map textures/misc_outside/froth1.tga
blendFunc GL_ONE GL_ONE
tcMod scale .255 .255
tcMod turb .1 .3 .2 0
tcMod scroll .003 .03
nextbundle
map textures/misc_outside/froth1.tga
tcMod scale .039 .039
tcMod scroll .02 .02
}
{
map textures/misc_outside/froth1.tga
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
tcMod scroll .07 -.04
}
{
map $lightmap
rgbGen Identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}[/code:25e1f]

i'm sure it's this part of the code but not sure which part of this part
[code:25e1f]deformvertexes wave 20 sin 0 40 0 .2[/code:25e1f]

imported_Grim_Reaper 11-26-2004 02:03 PM

[quote="philadelphia killing mach":6fd87]i'm sure it's this part of the code but not sure which part of this part
[code:6fd87]deformvertexes wave 20 sin 0 40 0 .2[/code:6fd87][/quote:6fd87]
that is it. remember way back when in high school there was sine, cosine, and tangent i think? i think thats what that is. just change it all to 0 to get rid of the wave.

philadelphia killing mach 11-26-2004 06:13 PM

uh......back in my hs days, they had not invented sine yet
the abicuses couldn't go diagonal.

imported_Grim_Reaper 11-26-2004 06:36 PM

[quote="philadelphia killing mach":ea63e]uh......back in my hs days, they had not invented sine yet
the abicuses couldn't go diagonal.[/quote:ea63e]
o... well i just started it this year so im new to it. but to not have waves have the numbers at 0.

Scorpion -]M15F1T[- 11-27-2004 08:33 PM

tcMod scale .039 .039
tcMod scroll .02 .02

as well
Scorp


All times are GMT -6. The time now is 12:37 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.