Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Nov 02, 2005, 02:45 AM   #1
Stardog13
Chieftain
 
Join Date: Nov 2003
Posts: 55
Map Viewer (possibly editor?)

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...:
Attached Thumbnails
Click image for larger version

Name:	Civ4MapViewer.jpg
Views:	275
Size:	85.5 KB
ID:	102411  
Stardog13 is offline   Reply With Quote
Old Nov 02, 2005, 03:12 AM   #2
Stardog13
Chieftain
 
Join Date: Nov 2003
Posts: 55
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
Attached Files
File Type: zip Civ4MapViewer.zip (108.8 KB, 80 views)
Stardog13 is offline   Reply With Quote
Old Nov 02, 2005, 06:38 AM   #3
Infinit1
Chieftain
 
Join Date: Oct 2005
Location: Illinois
Posts: 37
Can you make it into an editor? I dont know much about coding, but if you make it they will download!
Infinit1 is offline   Reply With Quote
Old Nov 02, 2005, 10:13 AM   #4
Leonel
Scrambled Egg Connoisseur
 
Leonel's Avatar
 
Join Date: Nov 2001
Location: Everett, WA
Posts: 9,606
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.
__________________
"While people say winning an internet argument is like winning the Special Olympics, the win still feels great!"

"A man who see's enemies everywhere will find friends nowhere."
Leonel is offline   Reply With Quote
Old Nov 02, 2005, 01:09 PM   #5
Stardog13
Chieftain
 
Join Date: Nov 2003
Posts: 55
I was planning on making it at least a simple terrain editor.
Stardog13 is offline   Reply With Quote
Old Nov 03, 2005, 08:50 AM   #6
Leonel
Scrambled Egg Connoisseur
 
Leonel's Avatar
 
Join Date: Nov 2001
Location: Everett, WA
Posts: 9,606
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.
__________________
"While people say winning an internet argument is like winning the Special Olympics, the win still feels great!"

"A man who see's enemies everywhere will find friends nowhere."
Leonel is offline   Reply With Quote
Old Nov 03, 2005, 02:16 PM   #7
Paasky
Good News Everyone!
 
Paasky's Avatar
 
Join Date: Nov 2003
Location: Vantaa, Finland
Posts: 2,062
Perhaps you could make something like layers: 1 for terrain, 1 for resources, 1 for tile improvements, etc? I don't know how hard that is, but you would make my day if that was possible!
__________________
My Civ3 Stuff|Carlton City
Download|WWII Europe: SF&B for CivIV (4th alpha)|Thread
Download|Napoleonic Europe|Thread
Download|The Renaissance|Thread
Download|Crimson Skies|Thread
Paasky is offline   Reply With Quote
Old Nov 03, 2005, 02:50 PM   #8
WildWeazel
Maker of Worlds
 
WildWeazel's Avatar
 
Join Date: Jul 2003
Location: %CIV3%\Conquests\Scenarios\
Posts: 6,689
Images: 11
Quote:
Originally Posted by Stardog13
I was planning on making it at least a simple terrain editor.
You stole my project, but nonetheless.

I guess that means I'll have to make a rules editor for mine when I get around to it.
WildWeazel is offline   Reply With Quote
Old Nov 03, 2005, 04:03 PM   #9
Gr3yHound
Mr.MapView
 
Gr3yHound's Avatar
 
Join Date: Mar 2004
Posts: 393
sounds great? but is there an image? i don´t see one? just see the box for attached images....really interessted in it.
Gr3yHound is offline   Reply With Quote
Old Nov 03, 2005, 04:14 PM   #10
jbfballrb
Warlord
 
jbfballrb's Avatar
 
Join Date: Oct 2003
Location: Richmond, VA
Posts: 203
how hard would it be to get the world builder code, and at least make it so i can load a blank map or whatever without having to open cIV? even better, maybe make it better?
__________________
If a man slaps you, slap him back so hard you knock his head off.


Join the Civilized Gaming Network!
jbfballrb is offline   Reply With Quote
Old Nov 03, 2005, 04:27 PM   #11
WildWeazel
Maker of Worlds
 
WildWeazel's Avatar
 
Join Date: Jul 2003
Location: %CIV3%\Conquests\Scenarios\
Posts: 6,689
Images: 11
About this hard:
Code:
for(int i = 0; i < x_dimension; i++)
{
    for(int j = 0; j < y_dimension; j++)
    {
        fprintf(WBS, "BeginPlot\nx=%i,y=%i\nTerrainType=TERRAIN_OCEAN\nPlotType=3\n
EndPlot\n", i, j);
    }
}
<-- feels proud of himself for actually writing a useful piece of code
WildWeazel is offline   Reply With Quote
Old Nov 04, 2005, 03:38 AM   #12
Dale
Deity
 
Dale's Avatar
 
Join Date: Mar 2002
Location: Melbourne
Posts: 6,481
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
__________________
http://www.brrgames.com
Dale is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Map Viewer (possibly editor?)

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The MapView Project - Editor/Viewer Gr3yHound Civ4 - Utility Programs 296 Jan 06, 2009 10:46 AM
Civ3FlcEdit - Civilization III animation viewer & editor Cyber Dreyk Civ3 - Utility Programs 273 Jan 08, 2007 08:26 PM
Civ3C Savegame editor (viewer) kryptos Civ3 - Utility Programs 2 Jun 18, 2004 01:14 AM
looking for a .flc viewer/editor dracoraven Civ3 - Creation & Customization 2 Mar 30, 2003 05:09 PM
Possibly another bug in the editor Grey Randall Civ3 - Macintosh 3 Mar 17, 2003 12:28 PM


Advertisement

All times are GMT -6. The time now is 03:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR