Jump to content
  • Advertisement
Sign in to follow this  
schupf

File structure/Terrain editor

This topic is 3119 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

Hello, I am currently writing on a terrain/outdoor editor and now I am wondering how I store the created terrains. Right now I have only implemented the terrain editing, but in the near future my editor will also be able to create a sky, water, camera paths and many more features. How would you guys store all this different stuff? Would you create one big (binary?) file structure to store everything (heightmap, textures, splines for camera path, course of day parameters etc. etc.) or would you create several files (for example one for the heightmap, one for layers, one for the sky...) and maybe combine them to a .pak? Does anyone know how other editors (Sandbox2, Battlefield2 editor etc.) store their levels? Thanks for any help!

Share this post


Link to post
Share on other sites
Advertisement
The answer of course is it's totally up to you. What goes in the same or different files depends on the considerations your own game engine. From what you described I would say throw everything into one file. With your terrain editor if users of the program wanted to load another persons terrain, it would be un-becoming for them to have to transfer and place more than one file right?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!