Sign in to follow this  
mcsoy0312

City level editor

Recommended Posts

Hi, I'm trying to make a game with a big city. It is similar to GTA, mafia, need for speed, midtown madness, etc. I'm considering how to implement the city level editor. Should I implement it inside a 3d modeler(e.g. 3ds max, maya)? If so, what features should my plugins provides? I've totally no clue. Someone please help me. Thanks.

Share this post


Link to post
Share on other sites
There are plenty of different ways to approach this and it will depend a lot on exactly what you are trying to achieve, but what I did for my game (a RPG not a GTA clone) was to build the level editor inside the game engine. All the game objects (buildings, trees, whatever) are loaded into the engine and then I've created a series of tools that allow me to position them in game before saving them to a map tile file (effectively a level file). Not too difficult really because the tools were based on game 'functionality' - I needed to be able to pick objects in game so picking objects in the editor was a no brainer, etc.

As the editor and the game are using the same engine it makes testing quick and easy, you have a WYSIWYG editor and you don't need to develop any plug ins (just mirror the level loading code so you can save as well).

Share this post


Link to post
Share on other sites
Hi,
Because my city will be non-tile, I think let the artist editing the mesh separately, and import it into the editor will be troublesome. And the things I wanted to do, is implement path node generations of the road, building modeling, etc
I wonder how the commercial games implement their city editor.
Do you know about the city editor of GTA, Mafia, Need of speed, midtown madness, driver, or similar game?
Thanks.

Share this post


Link to post
Share on other sites
Hi,
I problem I encounter is, road generation.
I've to gen. a road network for AI path finding. And it should be automatic, otherwise, one piece of road has to be drawn twice. One for the mesh, one for the AI path finding.
I don't know how to make this process to be automatic. Does someone have a clue? Does someone make a game encounter similar problem?
Thanks.

Share this post


Link to post
Share on other sites
You would probably have to "flag" the road polygons as being "road" somehow. I'm not familiar with the Max toolchain, your plugins or your game application, so I can't offer any more advice than that.

I do recommend you separate the pathing information from the polygon information, though. There's several cases where you would have to have paths divergent from the strict street direction in a driving simulator (for example, parking, changing lanes, left hand turns).

Share this post


Link to post
Share on other sites
Thanks for your advice.
I decided to implement a system, to generate the path from spline, which is independent from the road polygon.
Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this