Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

sinful

Advice on a 3D RTS

This topic is 6387 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Before I venture into my first 3D OpenGL RTS game, anyone have any advice on it? I''ve written a 2D RTS before using isometrics, but I''m not sure how to go about the engine for a 3D game. Any ideas or tips?

Share this post


Link to post
Share on other sites
Advertisement
Very first thing you get is the terrain engine. I''ll assume you are working outdoors, for something along the lines of BattleZone, although the principles are the same for Earth:2140 and Metal Fatigue.

Anyways, you want the terrain engine. You also want subroutines for detecting the 3D world position that is at a 2D screen location, so that the player can "click" with the mouse or targetting reticle, and not have an annoying "fixed-position targetting cursor that is 20 meters in front of your vehicle".

Next, you want to have the non-terrain renderer up. The usual dynamically-added buildings and units are the same, but you will want to make the building models with a "base" extension, a bit of wall to extent below their "bottom", so that you can build them on slightly uneven ground.

Lastly, everything else is the same. Collision detection needs only a bit of revamping, which can be easily enough handled by any level of programmer.

I hope this helps.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!