Page 1 of 3
Maps of different shapes.
Posted: 12 Jun 2009, 08:51
by Gota
Instead of making the shapes we want out of square maps and leaving water that deals dmg in places we dont need why not allow to define a maps boundaries..
So we could make triangular or circular maps.
Circular maps would be a great start since they solve a lot of issues with balance of corner starts.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 09:43
by Auswaschbar
Patches welcome. Also, in before new map format.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 10:19
by Neddie
It is a good suggestion, but there are numerous problems to overcome, and many people will regard it as merely gimmicky.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 10:47
by Beherith
Auswaschbar wrote:in before new map format.
ETA? Any details?
Re: Maps of different shapes.
Posted: 12 Jun 2009, 11:01
by imbaczek
not practical imho. too much potential code complexity increase and performance hit for a smallish gain.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 11:23
by jK
all games use square/rectangle maps for all their shapes like settlers3(circles), dow2, ...
and in spring modders and mappers already got everything to limit the playable area to other shapes.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 11:29
by Forboding Angel
Typemaps
Re: Maps of different shapes.
Posted: 12 Jun 2009, 13:56
by Gota
Does not apply to AIR.
But if it really is a lot of troublez and nobody seems interested...
Will the new map format allow vertical walls and wont stretch textures?
Re: Maps of different shapes.
Posted: 12 Jun 2009, 16:24
by smoth
funny how units can get pushed into those typemaps aicraft can land there and I wonder, but suspect transports can drop units off there. The trasport thing can be blocked but aircraft and pushing I don't think it can.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 16:30
by jK
smoth wrote:funny how units can get pushed into those typemaps aicraft can land there and I wonder, but suspect transports can drop units off there.
you can prohibit all those with gadgets
Re: Maps of different shapes.
Posted: 12 Jun 2009, 16:47
by smoth
really? can you give some of the callins or checks? Not saying that I am disagreeing, I just don't know and would consider implementing this in lua.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 17:06
by SirMaverick
smoth wrote:really? can you give some of the callins or checks? Not saying that I am disagreeing, I just don't know and would consider implementing this in lua.
For example with AllowCommand. So you can prohibit to move there etc.
But it's only possible for LuaRules, not LuaGaia (additional feature request?).
The current bug/missing feature, that LuaRules is loaded from maps makes this possible for the moment.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 18:52
by CarRepairer
You'll have to call the jpg or png folks and ask them to create a new shape for image formats too, instead of those tired old rectangles.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 19:11
by Masure
Patching the current map format/system in order to get non rectangular shape is kinda waste of effort IMHO. It would be tricky and still unefficient.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 19:45
by smoth
SirMaverick wrote:smoth wrote:really? can you give some of the callins or checks? Not saying that I am disagreeing, I just don't know and would consider implementing this in lua.
For example with AllowCommand. So you can prohibit to move there etc.
But it's only possible for LuaRules, not LuaGaia (additional feature request?).
The current bug/missing feature, that LuaRules is loaded from maps makes this possible for the moment.
I am really feeling ill.... so i don't have the energy to be nice..
no shit
what about PUSHING
what about shit getting ThROWN THERE
what about AIRCRAFT LANDING THERE NOT ORDERED TO.
these are not commands but part of spring's behaviors and physics.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 19:57
by lurker
Do you want an invisible wall? You can make an invisible wall with lua, no special callins, just GetUnitPosition.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 20:00
by smoth
units getting pushed can get pushed inside of features, I have seen it, even though they were not supposed to be there.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 20:08
by lurker
That sucks, but is unrelated to the topic?
Re: Maps of different shapes.
Posted: 12 Jun 2009, 20:11
by smoth
pushing is an issue with marking areas as impassible. if yan wants definable map shapes(what I am assuming he is asking for) there needs to be a way to prevent this or counter-act it.
this stuff has a use in my own work so i am asking because I will need to write it some day.
Re: Maps of different shapes.
Posted: 12 Jun 2009, 20:52
by SirMaverick
smoth wrote:what about PUSHING
what about shit getting ThROWN THERE
what about AIRCRAFT LANDING THERE NOT ORDERED TO.
these are not commands but part of spring's behaviors and physics.
Just like Water that does damage. All 3 things happen there too.
The mapper can (for example) emulate water damage in the forbidden territory if he really wants no units there - regardless if it got there by cheating or game physics.