Author Topic: Water  (Read 5064 times)

Rprp

  • Posts: 30
  • Turrets: +0/-0
Water
« on: December 08, 2006, 11:38:16 pm »
Hi,

I tried to make water in my map.
Ripped the gloom Shader :P etc.
But still i CANT swim!!

How can i fix that? :p
Or, what does i need to compile? (Maybe im doing something wrong with compiling)

Grtz, Rprp

Thorn

  • Guest
Water
« Reply #1 on: December 08, 2006, 11:59:31 pm »
You fail.

Rprp

  • Posts: 30
  • Turrets: +0/-0
Water
« Reply #2 on: December 09, 2006, 12:37:52 am »
rofl :') Thnx xD

LinuxManMikeC

  • Posts: 125
  • Turrets: +0/-0
Water
« Reply #3 on: December 09, 2006, 12:48:13 am »
If you are using Linux, Unix, or MacOSX, maybe this will help.  :)

http://tremulous.net/phpBB2/viewtopic.php?t=2774
b]Embrace your inner penguin 8)
GtkRadiant Wiki (under construction)[/b]

Rprp

  • Posts: 30
  • Turrets: +0/-0
Water
« Reply #4 on: December 09, 2006, 02:16:17 am »
Thnx, i alreay patched it.
I will try :)

Grtz Rprp

n00b pl0x

  • Posts: 2412
  • Turrets: +55/-168
Water
« Reply #5 on: December 09, 2006, 02:21:27 am »
i know nothing of mapping, but ive read a few posts about it and it seems theres a way to 'steal' certain textures from different already existing maps...you might wanna try stealing some water from pulse or procyon etc.
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

Rprp

  • Posts: 30
  • Turrets: +0/-0
Water
« Reply #6 on: December 09, 2006, 02:23:16 am »
It gives a error here (When i put a new option in the command line (-game tremulous))

************ ERROR ************
Usage: /home/ricky/GtkRadiant/install/q3map2.x86 [general options] [options] mapfile

0.o

Btw,

I can walk on the water (Again)
And,,, 'The' water is not 'Moving' :/ :p

LinuxManMikeC

  • Posts: 125
  • Turrets: +0/-0
Water
« Reply #7 on: December 09, 2006, 02:53:10 am »
Quote from: "Rprp"
It gives a error here (When i put a new option in the command line (-game tremulous))

************ ERROR ************
Usage: /home/ricky/GtkRadiant/install/q3map2.x86 [general options] [options] mapfile


Maybe you put the -game option in the wrong place?  Please post the exact command you are running.

It should be something similar to this:
Code: [Select]
q3map2.x86 -game tremulous -fs_basepath "/usr/share/tremulous/" -fs_game base -meta mymap.map
Note that the -game option comes near the very beginning.  Reference this documentation for more details about the command line switches.
http://en.wikibooks.org/wiki/Q3Map2
b]Embrace your inner penguin 8)
GtkRadiant Wiki (under construction)[/b]

DarkRogue

  • Posts: 308
  • Turrets: +0/-0
Water
« Reply #8 on: December 09, 2006, 10:20:28 am »
Also be sure the waters shader file is both correctly specifying it as liquid and is being read. From description of the problem I'd say there's a 99% chance that its a shader malfunction.
n game name: Xiane

KnightBear

  • Posts: 44
  • Turrets: +0/-0
Water
« Reply #9 on: December 11, 2006, 08:10:31 am »
ok, if your using windows, this may help the swimming thing.

http://tremulous.net/phpBB2/viewtopic.php?t=2737

use the shader to make the brush water.

if your using another OS, sorry, and GL
m not a Player, I just smoke alot

kaziorvb

  • Posts: 234
  • Turrets: +19/-43
Water
« Reply #10 on: December 12, 2006, 11:48:54 am »
hi,
yeah that has been explained in topic that its link has been posted above,
but ill write here what shader i use in my map (Watah - water map ;p):

its just:

Code: [Select]
textures/watah_misc/woda
{
qer_editorimage textures/watah_misc/xd.jpg
qer_trans .5
q3map_lightimage textures/watah_misc/xd.jpg
// q3map_surfacelight 50
q3map_globaltexture

surfaceparm trans
surfaceparm nonsolid
surfaceparm water

cull disable
deformVertexes wave 64 sin .25 .25 0 .5
{
map textures/watah_misc/xd.jpg
blendFunc GL_dst_color GL_one
rgbgen identity
tcmod scale .5 .5
tcmod scroll .025 .01
}
{
map textures/watah_misc/xd.jpg
blendFunc GL_dst_color GL_one
tcmod scale -.5 -.5
tcmod scroll .025 .025
}
{
map $lightmap
blendFunc GL_dst_color GL_zero
rgbgen identity
}
}


where watah_misc is folder for my misc textures. xd is just water texture from gloom2b2. ofc you have to replace my texture filename, paths etc.

it gives a very nice water effect (water's surface is moving).
ah and theres commented line:

Code: [Select]
// q3map_surfacelight 50

uncomment it (remove //) and youll get water that emites light ;p

hope it helps

EDIT: ah, and ''woda'' - its polish word - it means  ''water'' ;p
Signatures are displayed at the bottom of each post or personal message. BBCode and smileys may be used in your signature.