Loading...
  OR  Zero-K Name:    Password:   

Metal n Geo map

13 posts, 811 views
Post comment
Filter:    Player:  
sort
11 years ago
Anyone know any software to do metal n geo map?
+0 / -0


11 years ago
Metal map should be done as a lua file included in the map.
Information: http://springrts.com/phpbb/viewtopic.php?f=13&t=28077
Example File: http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaRules/Configs/MetalSpots/Azure%20Rampart.lua

Geothermal spots are features, they can be placed by setting a pixel to a certain colour in the geomap. I don't know more details but the software requirement is "any image editor". More information can be found in the mapping forum. http://springrts.com/phpbb/viewforum.php?f=56
+0 / -0
11 years ago
thx :D
+0 / -0
11 years ago
It would be good if we have some kind of editor - should be pretty easy to do in JavaScript.

canvas-element to draw scaled map (image) and simple points
parse mex info (x, y, m) from lua, convert coordinates and use 0..1 *canvas.width/height
-
Add click events and nearest spot dedection - right/left to delete/add mex spots, middle click to enter metal value...
-
output as lua-file (in a textbox)


But should we have something like:

User> !mexlayout|!geolayout auto|USERNAME|default|borders|centered
Host success> mex|geo layout changed to -"-
Host failure> no mex|geo layout provided for -"-

Each user could have simultanously up to 3 custom configs.
Admins could copy these to a system-default|borders|centered config.
auto is the automatically generated layout, default the prefered config OR auto as fallback.

If someone wants to implement the server-side code, I would do the Java-script part.
+0 / -0
11 years ago
Yup GoogleFrog info is nice if u know where is the exact pin point is but if not is kinda hard to make it into sysmetrical
+0 / -0


11 years ago
I think the thread I linked also has a tool in it which makes mex placement as easy as clicking on the map.
+0 / -0

11 years ago
In one of those tutorials someone explained how to use gimp or photoshop to do this kind of stuff.

For features, grass and metal you take the feature and metal map in separate layers and put it on top of the downsized texturemap. If you make the maps half opaque you can see exactly what you are doing.
+0 / -0

11 years ago
Spring Map Edit:
http://springrts.com/wiki/Maps:SpringMapEdit
+0 / -0
11 years ago
saktoth
when i put the metal texture on does that part become a place for mex?
+0 / -0

11 years ago
What metal texture? The metal map, where you go to paint metal map and it all goes black and you paint in green?

Yes.

But you need to be sure of how much you're putting on the map, and the map def file will determine how much each pixel of metal is worth, etc. You should read up about this.
+0 / -0
Don't bother with the metal map image file thing for ZK.

quote:
Metal map should be done as a lua file included in the map.
Information: http://springrts.com/phpbb/viewtopic.php?f=13&t=28077
Example File: http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaRules/Configs/MetalSpots/Azure%20Rampart.lua
+0 / -0

11 years ago
There is no problem with making maps that are compatible with other Spring games... but chose whatever you find easiest.
+0 / -0
11 years ago
Hopefully there will be no mexes at very slopy places.

BA has sometimes the issue that you can build T1, but no T2 mex at some spot - even without to-1-pixel-hardcoded mex positions.
+0 / -0