When I click the png map with fleets, the map doesn't show the fleets like it's supposed to. It just shows the stars and who owns them like the regular png map.
Man, you guys are on the ball! gj
btw Nice work on the new maps. I'm guessing you're using Rich's old map editor? If so you must have the patience of Gandhi ! ;)
ShannonA
03-21-2002, 11:44 PM
Originally posted by Gump
Man, you guys are on the ball! gj
btw Nice work on the new maps. I'm guessing you're using Rich's old map editor? If so you must have the patience of Gandhi ! ;)
The new maps are all done algorithmically and based on geometric shapes. I've been programming them into the game-creations software so far, but after putting together the last, hourglass, map, things were getting increasingly messy in that part of the code. So I've decided to build a little MAP creation language. I've got it working for "wheel" and "clover" right now, which look like this:
MAP Wheel
CIRCLE ADD 25,25,25
MAP Clover
CIRCLE ADD 12,12,11
CIRCLE ADD 38,12,11
CIRCLE ADD 12,38,11
CIRCLE ADD 38,38,11
CIRCLE ADD 25,25,2
CIRCLE ADD 2,25,2
CIRCLE ADD 48,25,2
CIRCLE ADD 25,2,2
CIRCLE ADD 25,48,2
For all the shapes, a star is legal if it's randomly generated in any of the ADDs, but illegal if it's randomly generated in any of the SUBTRACTs.
That's x,y,radius for all the circles.
Once I add in "CIRCLE SUBTRACT" and "RECTANGLE ADD" and a few OPTIONS I should be able to automagically create all the maps that currently exist.
And then I'll start taking suggestions from players too, as you can just create me an simple file.
Shannon
ChristopherA
03-22-2002, 01:11 AM
BTW, any of you math wizes out there have a formula of a spiral solved to y given x?
-- Christopher Allen
compguy
03-22-2002, 08:19 AM
BTW, any of you math wizes out there have a formula of a spiral solved to y given x?
What shape are you trying to create?
Steve
ChristopherA
03-23-2002, 01:49 AM
Originally posted by compguy
What shape are you trying to create?
A curve starting at the center point, and spiralling outward. 2 or 4 would make for a spiral galaxy ;)
-- Christopher Allen
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.