Maps of different shapes.

Maps of different shapes.

Requests for features in the spring code.

Moderator: Moderators

User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Maps of different shapes.

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Maps of different shapes.

Post by Auswaschbar »

Patches welcome. Also, in before new map format.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Maps of different shapes.

Post by Neddie »

It is a good suggestion, but there are numerous problems to overcome, and many people will regard it as merely gimmicky.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Maps of different shapes.

Post by Beherith »

Auswaschbar wrote:in before new map format.
ETA? Any details?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Maps of different shapes.

Post by imbaczek »

not practical imho. too much potential code complexity increase and performance hit for a smallish gain.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Maps of different shapes.

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Maps of different shapes.

Post by Forboding Angel »

Typemaps
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Maps of different shapes.

Post 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?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Maps of different shapes.

Post 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.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Maps of different shapes.

Post 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
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Maps of different shapes.

Post 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.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Maps of different shapes.

Post 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.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Maps of different shapes.

Post 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.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Maps of different shapes.

Post 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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Maps of different shapes.

Post 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.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Maps of different shapes.

Post by lurker »

Do you want an invisible wall? You can make an invisible wall with lua, no special callins, just GetUnitPosition.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Maps of different shapes.

Post by smoth »

units getting pushed can get pushed inside of features, I have seen it, even though they were not supposed to be there.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Maps of different shapes.

Post by lurker »

That sucks, but is unrelated to the topic?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Maps of different shapes.

Post 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.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Maps of different shapes.

Post 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.
Post Reply

Return to “Feature Requests”