Maps of different shapes.
Moderator: Moderators
Maps of different shapes.
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.
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.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Maps of different shapes.
Patches welcome. Also, in before new map format.
Re: Maps of different shapes.
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.
ETA? Any details?Auswaschbar wrote:in before new map format.
Re: Maps of different shapes.
not practical imho. too much potential code complexity increase and performance hit for a smallish gain.
Re: Maps of different shapes.
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.
and in spring modders and mappers already got everything to limit the playable area to other shapes.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Maps of different shapes.
Typemaps
Re: Maps of different shapes.
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?
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.
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.
you can prohibit all those with gadgetssmoth 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.
Re: Maps of different shapes.
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.
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: Maps of different shapes.
For example with AllowCommand. So you can prohibit to move there etc.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.
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.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Maps of different shapes.
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.
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.
I am really feeling ill.... so i don't have the energy to be nice..SirMaverick wrote:For example with AllowCommand. So you can prohibit to move there etc.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.
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.
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.
Do you want an invisible wall? You can make an invisible wall with lua, no special callins, just GetUnitPosition.
Re: Maps of different shapes.
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.
That sucks, but is unrelated to the topic?
Re: Maps of different shapes.
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.
this stuff has a use in my own work so i am asking because I will need to write it some day.
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: Maps of different shapes.
Just like Water that does damage. All 3 things happen there too.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.
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.