SOPMOD 2 Posted June 21, 2005 Share Posted June 21, 2005 Let's talk about mountains... I want to know about your way of creating mountains, hills .etc. I got some unpleasant surprises when I testing my map... For example: I making mountains by editing planes - result: mountains are nice but theres lots of places where player could walk throw on the other side. Next variant is quad path deform, by moving selected polys, I think it's pretty way to create mountains but the edges are sticky! I make walls unreachable for AI by unchecking "floor polygon" in map editor, but it seems like AI thinks that it's walkable surface...( At first variant I have all that I need, but I got holes, at second I have no holes but sticky walls making me mad... It's an interesting fact, but I know that all these ways of mountain creating are wrong, but I don't know what's right... Quote Link to post Share on other sites
The Worm 0 Posted June 21, 2005 Share Posted June 21, 2005 Either way is OK for making mountains, but you have to add some invisible collision walls to prevent the actors from getting stuck/walkind thru etc. Method: Use the Spline tool to draw a line around the base of your mountain. Then go to Modifier tab, and apply a "Extrude" modifier. On perfectly flat ground, you can extrude 1.5m and that's more than enough. So now what has happened is your Line has become a low "wall" around the base of the mountain. Check that the wall connects to the ground everywhere (no gaps). Check the normal is facing the player. Now in Map Editor, check the wall as non-3d collidable (can shoot through) and Not Rendered (ie invisble in-game). So now you have a wall you can see and shoot thru, but not walk through. (While your at it, select the bits of the mountain you cannot walk on, and click the as Non-2d-collidable.) Theory: It's a problem with the "blue lines" or 2D-collision that comes up very often. If you look at the map in Igor, there are thin blue lines everywhere. Everytime an object is placed on the map, the engine starts drawing blue lines around the object, and the AI "sees" this blue line, and avoids it. A box or oil barrel will give a perfectly neat square or round blue-line profile, but unusual shapes ( mountaians, rocks boulders, trees, destroyed tanks, furniture etc) produce chicken scratch blue lines with gaps and sticky bits. So start making these invisible walls. (Remember to tag the object inside the blue line as 2d-non-collide) Also, objects placed above ground (eg electric wires, the roof over a hut etc) will also produce this 2d-collison, so AI will refuse to walk underneath, so tag them as non 2d-collide. The "sticky edge" at the second method is because "end-of-floor" does not produce a 2d-collision blue line, so AI will get stuck. So you have to make your own collision. Er, too much info? Quote Link to post Share on other sites
SOPMOD 2 Posted June 22, 2005 Author Share Posted June 22, 2005 Thank u VERY much! I think this will help me in my problem!) Quote Link to post Share on other sites
element11 0 Posted June 23, 2005 Share Posted June 23, 2005 Yeah i have had 0 problems with using planes for hills and mountains. i basically do wat the worm says. i makea box forroom 1 and then attatch planes to the floor and bring them up as an editable mesh. good luck with your mountains and be sure to post screenshots when yyour finished Quote Link to post Share on other sites
SOPMOD 2 Posted June 24, 2005 Author Share Posted June 24, 2005 Yeah i have had 0 problems with using planes for hills and mountains. i basically do wat the worm says. i makea box forroom 1 and then attatch planes to the floor and bring them up as an editable mesh. good luck with your mountains and be sure to post screenshots when yyour finished ← Certainly I will Quote Link to post Share on other sites
SOPMOD 2 Posted June 26, 2005 Author Share Posted June 26, 2005 (edited) Afganistan map is coming soon Edited June 26, 2005 by SOPMOD Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.