problem with terrain


(apok) #1

I’m totaly new in mapping :???:

I have a map with terrain generated by EasyGen. I had to compile-decompile this map twice to fix bugs (for now, doesnt matter what bugs). But in new decompiled .map all terrain brushes weren’t textured with common/terrain so I made it textured by selecting one by one. the problem is that when I compile it, there are no terrain textures (it looks like ‘caulk’). I use my own grass texture witch is in /textures/of19/francegrassfull.jpg

what should I do ?
i sopose the problem is in .shader file (what should i put there?)
help me


(CptnTriscuit) #2

If im following you correctly - you have a .map, which you compiled into a .bsp, loaded in-game, noticed something wrong, and decompiled the .bsp back into a .map to fix the problem?

Well, the decompile is most likley what is causing the problems. If you have an earlier .map file that wasnt made from decompiling a .bsp, edit the .map to fix your peoblems and RE-compile. The de-compile feature should only be used to figure out how somone else did somthing in their map (…and there are some ethical questions that come up which have been discussed in these forums, at length…). Always save many versions of your map, such as: mymap_1.map, my_map2.map, etc… so you can revert back when somthing bad happens…

And welcome to mapping, BTW - please take some time to read through the stickies at the top of the level design forum, as well as the ET: Level designers Reference, found here:

http://www.planetquake.com/simland/ldr1_1/default.htm


(apok) #3

thnx for answer!

If im following you correctly - you have a .map, which you compiled into a .bsp, loaded in-game, noticed something wrong, and decompiled the .bsp back into a .map to fix the problem?

thats right. I had an ugly problem. In game there were two brushes witch I couldn’t see editing .map. After decompile i delated it.

Well, the decompile is most likley what is causing the problems.

Yes, model of tree I had is gone :slight_smile:

If you have an earlier .map file that wasnt made from decompiling a .bsp

I have, but something happened (?) - the terrain generated by Easygen disapeared. lol !?!?!. so I have only .map from decompiling bsp.

Ofcourse to fix the problem I can manually add grass texture in place of ‘/common/terrain’ but what with foot steps sounds and ground chipping while shooting??

thx


(Mr_Tickles) #4

Ok, you need to select all of your terrain brushes, right click in one of the 2D window and func_group them. Then, with them all still selected, press ‘n’ and enter the following kes/values:

Key…Value

alphamap…apoksalphamapnamegoeshere.pcx
shader…apoksmapnamegoeshere/terrain
layers…thenumberoftexturesyouusedineasygengoeshere
terrain…1

The alphamap key value should be the name of the pcx you used for the map, this should still be in etmain.
The layers value should be the number of textures you used in easygen when you exported everything.
The shader value should be the name of the metashader that you exported from easygen with /terrain following.
If you paste your shader we can work out the layers from that if it doesn’t seem to work, probably could also work out the shader value if you can’t get that to work either.
Also, check this thread out


(CptnTriscuit) #5

You might have accidently hit filter-details (keystroke is ctr+d, easy to hit by mistake). Terrain exported by easygen is detail by default.

And speaking of which; the sooner you learn about detail and structural brushes, the better! (trust me, I know first hand :D) Check out the Mapping Resources sticky or search the forums…there must be about 200 threads about this topic.


(apok) #6

Mr_Tickles thank you, grass appeared :]

You might have accidently hit filter-details (keystroke is ctr+d, easy to hit by mistake).

heh : ) it seems i hit it. thx