Tremulous Forum

Media => Mapping Center => Topic started by: Rprp on December 08, 2006, 11:38:16 pm

Title: Water
Post by: Rprp 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
Title: Water
Post by: Thorn on December 08, 2006, 11:59:31 pm
You fail.
Title: Water
Post by: Rprp on December 09, 2006, 12:37:52 am
rofl :') Thnx xD
Title: Water
Post by: LinuxManMikeC 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
Title: Water
Post by: Rprp on December 09, 2006, 02:16:17 am
Thnx, i alreay patched it.
I will try :)

Grtz Rprp
Title: Water
Post by: n00b pl0x 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.
Title: Water
Post by: Rprp 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
Title: Water
Post by: LinuxManMikeC 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
Title: Water
Post by: DarkRogue 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.
Title: Water
Post by: KnightBear 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
Title: Water
Post by: kaziorvb 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