easygen terrain


(viktwaar) #1

hi, i’m making some terrain for my map with easygen 1.4.2

it’s a big terrain with sand only. everything goes fine. but when i shoot at the sand there’s no sand splashing around, and i hear no gravelsteps or something. i guess it has something to do with the shader of my terrain.

vallei2.shader:

textures/vallei2/terrain_0
{
surfaceparm landmine
surfaceparm gravelsteps
q3map_novertexshadows
q3map_forcesunlight
q3map_material Sand
q3map_material Gravel
{
map textures/egypt_floor_sd/sandy_dirt_01.jpg
rgbGen vertex
tcmod scale 0.100 0.100
}
}

textures/vallei2/terrain.vertex
{
surfaceparm landmine
surfaceparm gravelsteps
q3map_novertexshadows
q3map_forcesunlight
q3map_material Sand
q3map_material Gravel
{
map textures/egypt_floor_sd/sandy_dirt_01.jpg
rgbGen vertex
tcmod scale 0.100 0.100
}
}

please help me.
viktwaar


(-SSF-Sage) #2

Sounds like you don’t have a line called vallei2 in your shaderlist.


(viktwaar) #3

i have added a line in my shaderlist called vallei2, but it stil doesn’t work.
maybe there’s something wrong with my shaderfile


(Qualmi) #4

maybe you should rename the sandy_dirt_01.jpg to terrain_0.jpg and use terrain_0.jpg in easygen as texture.


(-SSF-Sage) #5

I read the shader now. Use always .tga in your shader instead of .jpg! If it can’t find a tga file, it will search autom. for a jpg file. Try removing these:

q3map_material Sand
q3map_material Gravel

(viktwaar) #6

i have removed the

q3map_material Sand
q3map_material Gravel

commands. and i replaced all .jpg for .tga.
but it still doesn’t work!
i can see the sand texture, but it doesn’t act like sand.
i don’t know what i’m doing wrong


(Qualmi) #7

where is your pcx file. did you do what i proposed ?


(viktwaar) #8

my pcx file is in etmain. but i don’t think that’s the problem


(Qualmi) #9

yea ok. i once had the same problem, but i solved it on my own, and somehow i cant remember exactly what it was :stuck_out_tongue:

shaderproblem ^^