Page 1 of 1

LOD terrain question...

Posted: Sat Mar 15, 2003 3:58 pm
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....

Posted: Sat Mar 15, 2003 4:33 pm
by jv_map
Did you apply a texture to the terrain?

Posted: Sat Mar 15, 2003 6:46 pm
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?

Posted: Sat Mar 15, 2003 8:53 pm
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.

Posted: Sat Mar 15, 2003 9:28 pm
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?!)

Posted: Sat Mar 15, 2003 11:22 pm
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.

Posted: Sun Mar 16, 2003 2:19 pm
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.

Posted: Sun Mar 16, 2003 2:28 pm
by mohaa_rox
Good for a start. I didn't have these in my first map. :(