Any map editors?

Hi guys, I've tried using a couple of map editors that I found on the web but they just wont work for me. Are there more than two map editors for Galciv2?

Dan.
9,291 views 16 replies
Reply #1 Top
I made two custom maps with Notepad...
Reply #2 Top
I made two custom maps with Notepad...


?How?!
Reply #3 Top
I made two custom maps with Notepad...
?How?!


more specifically, how did you have the patience!?!
Reply #4 Top
I made two custom maps with Notepad...

?How?!


more specifically, how did you have the patience!?!


Patience for what? I never knew you could do that with notepad. Sorry for any misunderstanding. Can tell me how to do that?
Reply #5 Top
Patience for what? I never knew you could do that with notepad. Sorry for any misunderstanding. Can tell me how to do that?


oh, IIRC custom map files are all done with XML tags. you just have to manually enter the coordinates of every star, planet and asteroid by hand, list which stars the latter two belong to, and what ships the players will start with. i might be mis-remembering, but i'm pretty sure that's how it works.
Reply #6 Top
It took me an hour to make a tiny map with 5 stars 2 planets each, with two starting races... I never made another one after that. I guess with A LOT of practice you could get good with it, but I don't think its worth the time...

The very instant you show your weakness, your downfall will begin!



Reply #7 Top
yeah... it took me several days with each, I didn't make any more after that.

Here's the tags for each if you want to know how...

PlanetName="whatever"
X # /X (X cordinate)
Y # /Y (Y cordinate)
Customname 0 or 1 /Customname (tells if you want it to use the name on the planets start tag)
Homeworld 0 or 1 /Homeworld (if you want the planet to be a homeworld)
Owner race# /Owner (who owns the planet at the start)
Quality # /Quality (planets class, if it has one)
RotationSpeed #.#### /RotationSpeed (how fast it rotates, can be negative)
Size #.#### /Size (Size, duh)
Influence ?.???? /Influence (I don't know what this ones for)
Star starname /Star (whichever star the planet belongs to)
/Planet

As you can see its very self explainatory

If you want to do more complex stuff, look at the Gc2Map files for the campain, they are much more detailed than the custom made ones that come with the game.

Anyway, it is a pain to do all that (even if you copy and paste), so I'd like to know more about the map editors, especially about how I can get them.
Reply #8 Top
Influence ?.???? /Influence (I don't know what this ones for)


Perhaps this is the one that dictates the base influence of a planet. If the influence was 2 and the planet had no people or upgrades, but was owned by an empire, this might be what the IP would be for that planet. The base influence would be changed through improvements, techs, pop, and racial abilities.

Atleast that's what I get from it...
Reply #11 Top
There is one in the GalCiv2IDE, in the modding forum. I had a look at it, and it seems to do the job quite well. Drag and drop functionality, automatic placement of whole starsystems (compelte with asteroid fields), scenario and campaign editing... While I usually play sandbox games, I think the GC2IDE is currently the best working and most complete editing tool for GalCiv2.
Reply #13 Top
Well... you could grab a pencil, paper, and a very good long lasting eraser, and draw it out and then after you do that, make the map somehow... Notepad or GC2IDE.

  
Reply #14 Top
Well... you could grab a pencil, paper, and a very good long lasting eraser, and draw it out and then after you do that, make the map somehow... Notepad or GC2IDE.


i think it'd be possible to use Excel to generate most of the text needed, i just don't care enough to set it up. but if there are any other excel afficionados out there, here's what i had in mind.

sheet 1 would be a grid representing the galaxy map. you'd place Xs in any cell where you'd want a star and leave the rest blank.

sheet 2 would test for blank cells on sheet 1 (it might ultimately be the page that produces the text you want). i'd use the function: =IF(ISBLANK(Sheet1!##),##,"{text}").

the first "##" refers to a cell on sheet 1, and the second "##" refers to the next cell in the list on sheet 2 (so that you don't need to fuss with blank spaces in the final text). "{text}" refers to the text you want outputted if the cell is not blank.

so it'd look like this: =IF(ISBLANK(Sheet1!A1),A2,"{text}")

filling in the {text} part is the next step, and we'll take care of that on Sheet3. we need that text to resemble:
PlanetName="whatever"
X # /X (X cordinate)
Y # /Y (Y cordinate)
Customname 0 or 1 /Customname
Homeworld 0 or 1 /Homeworld
Owner race# /Owner
Quality # /Quality
RotationSpeed #.#### /RotationSpeed
Size #.#### /Size
Influence ?.???? /Influence (I don't know what this ones for)
Star starname /Star (whichever star the planet belongs to)
/Planet


plus you'd need to code for the mother star and any asteroids you want. excel can map all that text into new cells as long as you place it in quotation marks in the original reference cells, but generating the number values is where we're going to have some trouble.

you could very easily create the same star system over and over again by entering the values you want in the original text. you could also break up the text chunks into pieces and generate numbers with the RAND() function.

i haven't exactly tested this all yet, so i'm not clear how it'd play out, but i'm pretty confident it's possible. in fact, i think it'd even be possible to enter S, P, A, R (star, planet, asteroid, resource) in Sheet1 and have Excel output the appropriate text for each; i could also probably have it check for a number value instead of "P" in order to produce planets of a particular quality... maybe S, Y, O, R, W, B, G, P for star color, and E, I, K, W and H for resource type (Economics, Influece, Knowledge instead of research, War instead of military, and Happiness instead of morale - too many letters!). hmm... you'd have to nest some of the functions in other cells since IF can only test for 7 conditions.

edit: on second thought, don't planets and asteroids need a tag to identify their parent star? or does the game assume the nearest star is the parent if it's not specified? if it's a must-have line in the programming, you might be able to use one of the LOOKUP functions to automatically match planets to their closest star... but whole systems would be a lot easier.

once Excel had been set up to generate the text you need, all you have to do after that is highlight what you want, copy, open Word, and use Edit> Paste Special> text only, then save as a .txt and rename the file extension accordingly. if you don't know excel, this probably doesn't sound simple at all.

if anyone else does know excel, this might give you the clue you need to set the thing up. i myself don't have any especial motivation to do all this, but if i find some time maybe i'll poke around and see what i can come up with. of course, if you don't have excel to begin with, it's a totally moot point as far as you're concerned.

Ok lots of chatting but no meat.... Anyone here with a REAL map editor?


maybe that wasn't meat, but hopefully it at least smelled like a BBQ?
Reply #15 Top
Well, I'd find it a crazy idea to do it with excel, however it is possible.
I'm really encouraging you, to try the galciv2ide. Out of ~500 downloads, only around 2% of users have had trouble so far, to get it running.
@cameron
there is no other editor for DA I'm aware of, that was the reason for writing the galciv2ide.
If you have trouble, please read through the GalCiv2IDE thread, since you got the Hresult problem, a solution is in there
Reply #16 Top
Well, I'd find it a crazy idea to do it with excel, however it is possible.
I'm really encouraging you, to try the galciv2ide. Out of ~500 downloads, only around 2% of users have had trouble so far, to get it running.


oh i've tried IDE and it works great for me. and yes, it'd be a less than ideal solution with plenty of problems. i'm not too big on custom maps myself, i was just proposing an alternative for Cameron.