Map Viewer (possibly editor?)

Stardog13

Chieftain
Joined
Nov 13, 2003
Messages
55
So I decided to play around with the fact that the map files are in text and came up with this real quick, let me know what you think; I might possibly make this into a simple(?) out-of game editor.

This is all in C++ and OpenGL using the glut library. Let me know if anyones interested in seeing the code.

Here's the pic looking at Rhye's 18 civ Earth Map (only base terrain so far; no forests, jungles, etc...:
 

Attachments

  • Civ4MapViewer.jpg
    Civ4MapViewer.jpg
    85.5 KB · Views: 343
If anyone's interested here is the exe, it will load Map.Civ4WorldBuilderSave from the same folder the exe is in. I just threw this together in an hour so don't expect much, it also doesn't like some of the maps for some reason (I'll have to look into it). I also added overlays for forests, jungles, and ice.

controls:
+ zoom in
- zoom out
arrows, pan
 

Attachments

Can you make it into an editor? I dont know much about coding, but if you make it they will download! :)
 
Yes! Make this into an editor! The World Builder that comes with Civ IV takes a minute to even make one change on my poor elderly Duron 1300. And besides I just want a map editor to make a basic map to play on, not a full production valued mod or anything.
 
Excellent! I look forward to when you release the editor! And if you can't do it, that's alright since I'm in the early planning stages of getting a new computer so it's all good. :)
 
Or, even better is to interface your code with the Civ4 python script CvWBDesc.py in the assets folder. All the calls to create the map are there and its formatted to how Civ4 likes it without having to worry about tabs. :)

Dale
 
Back
Top Bottom