Map script

Issues with the server software (not campaign)

Moderators: Torren, Moderators

Post Reply
Ravage
Mekwars Server Operator
Posts: 138
Joined: Sun Feb 17, 2008 3:02 am

Map script

Post by Ravage »

Hi all,

There was a map script on the forums once before, but I cant seem to find it now.

ANyone still use it that i could borrow it off?

Cheers,
Heath

Spork
Mekwars Developer
Posts: 3899
Joined: Wed Feb 13, 2008 10:23 pm

Re: Map script

Post by Spork »

Is this a script to generate a starmap based on a dataset from Sarna?
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.

Ravage
Mekwars Server Operator
Posts: 138
Joined: Sun Feb 17, 2008 3:02 am

Re: Map script

Post by Ravage »

I think so. I can't remember what the dataset was but it was a perl script on here if memory serves correct quite some time ago

Ironboot
Mekwars Server Operator
Posts: 213
Joined: Tue Apr 27, 2010 5:00 am
Location: Boston, MA

Re: Map script

Post by Ironboot »

Having read the forums over about 5 times... it was a pearl script form what I remember. Never used it myself.

Ironboot
Mekwars Server Operator
Posts: 213
Joined: Tue Apr 27, 2010 5:00 am
Location: Boston, MA

Re: Map script

Post by Ironboot »

Okay it would be here...

http://www.mekwars.org/archive/index.php

I will try to dig around some more.


EDIT: In the archive you can do a search for Perl... Old info, hope it helps!

Ravage
Mekwars Server Operator
Posts: 138
Joined: Sun Feb 17, 2008 3:02 am

Re: Map script

Post by Ravage »


Ravage
Mekwars Server Operator
Posts: 138
Joined: Sun Feb 17, 2008 3:02 am

Re: Map script

Post by Ravage »

http://www.alphahpg.com/?p=60

I've created one. Has some caveats (best to be done on linux, but should work in windows too).

Map script: http://www.alphahpg.com/wp-content/uplo ... ratemap.js

Example CSV: http://www.alphahpg.com/wp-content/uplo ... 10/map.csv

You need: node js and a module called xmlbuilder.

How to run it: node generatemap.js map.csv > planets.xml

Post Reply