HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Gridding a Map

02-28-2004, 03:07 PM#1
RaeVanMorlock
I'm considering making a strategic game similiar to Civ3 -- the problem being that I'd need to create a grid across the entire map and I can find no trigger to create regions or way to convert strings to regions. So does anyone have any ideas on how to go about doing this?
02-28-2004, 03:26 PM#2
linkmaster23
You can create regions through triggers... Just make a Region Variable and set it to whatever you want...
02-28-2004, 04:23 PM#3
RaeVanMorlock
Quote:
Originally posted by linkmaster23
You can create regions through triggers... Just make a Region Variable and set it to whatever you want...


By George, I'm an idiot! Thanks though... now if only the WE would start its coords at 0,0 I'd be much happier!! ... oooh the math
02-28-2004, 04:23 PM#4
Mazuli
If you want a grid to keep everything in the middle of every 64, 128, 256, whatever then just use x and y coordinates and some pretty complicated math and variables to figure out how far from the middle they are and move them to the middle. If that's what you're trying to do, it would save you a lot of heartache and trouble if you were trying to create a region for every spot.

If you want a grid to keep everything in the middle of every 64, 128, 256, whatever then just use x and y coordinates and some pretty complicated math and variables to figure out how far from the middle they are and move them to the middle. If that's what you're trying to do, it would save you a lot of heartache and trouble if you were trying to create a region for every spot.


EDIT: Also what you should do is create a region the size you want and just move it around. A civilization map sounds cool, it was something I was considering at one point but I have other projects to finish first.