LOD terrain question...

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Dogface
Private
Posts: 6
Joined: Sat Mar 15, 2003 3:34 pm

LOD terrain question...

Post by Dogface »

I feel real stupid, but I've gone through the LOD Terrain tute at this sight three or four times. I can understand everything in there okay.

To me, it seems as if the tute stops without making it really clear what to do with the terrain after you've made it, in so far as getting it into a map that a player can walk on. And that is where I have problems. When I try to compile my efforts, there is no terrain or it just does not compile.

Please forgive my ignorance, I am not worthy....
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Did you apply a texture to the terrain?
Image
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

Hi Dogface, please give us a little more detailed information so that we can help you.
What do you mean by:
...so far as getting it into a map that a player can walk on
If you followed the tutorial then the terrain already is in the map. You can see the terrain in Mohradiant, right? Did you add an info_ player_start entity?
You say that when you compile there is no terrain or it doesn't compile. Do you mean there's no bottom at all? Or do you have problems getting the map to compile?
User avatar
Dogface
Private
Posts: 6
Joined: Sat Mar 15, 2003 3:34 pm

Post by Dogface »

Right, sorry...I'll do it again whilst I write...

I can see the terrain in MOHRadiant, and I can move the little purple dots and see the resulting changes in MOHRadiant. However when I attempt to apply a texture to the terrain I see no results as when I would texture a wall or a skybox.

To apply a texture I first have to deselect the terrain by pressing the ESCAPE key, which causes the terrain and all it's triangles to turn tan or brown. Then I select a texture, such as "bermudaagegrass_1" and select the terrain and it just turns pink. I see no indication that it has had a texture applied to it.

I then add a player start, some ambient light, save. And when I compile it with MBuilder, the DOS window comes up for a few seconds and then disappears. I launch MOH and go to maplist and the map that I was working on is not listed.

Now, if I go back to this map and add a brush below the terrain, like a flat table under it and then recompile it, it then shows up in the maplist. But it is pitch black, even with the ambient light.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

Just asking:
Why do you have to deselect the terrain to texture it?

I do it like this:
Select the terrain (triangles become red in xy-view)
Open texture-viewer pressing 't'
click on desired texture
Terrain gets this texture
done

For the MBuilder "superfast" compile, check pause after bsp in the 'other options' to see what happend (not).
Tell us these messages... (You haven't forgotten a skybox?!)
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

go to 'lod-terrain' -> 'Shade' (and make sure the option is not checked). This could explain the terrain turning pink in the editor.
And Wacko is right. To apply a texture, all you have to do is select (shift+click) your lod-terrain patch and select a texture from the textures window.

If you've compiled the map and it's not listed when you start the game, then you'd better uncheck the "Launch Mohaa after compile"-box in Mbuilder. Browse through your mohaa/main folder to see if the new .bsp file of your map is in the right folder. The .bsp file should be in main/maps or main/maps/dm. If it's there the map should always be listed. Also see if the paths to the compiler directory in Mbuilder are set up correctly. I'd take Wacko's advice and check the 'Pause after'- options to see if Mbuilder isn't skipping the Mohlight compile for some reason.
User avatar
Dogface
Private
Posts: 6
Joined: Sat Mar 15, 2003 3:34 pm

Post by Dogface »

I tried everybody's suggestions and I managed to get it to work. I think the big deal was the skybox, but then I'm just starting out at this.
I've got a nice sky over a little hill and I can walk my player to the otherside and back. This is a start.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Good for a start. I didn't have these in my first map. :(
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply