New yardmap type

New yardmap type

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

New yardmap type

Post by Caydr »

I'd like a new kind of yardmap type, something that allows you to designate areas that cannot be built in, but are not actually occupied.

So for instance, I could do something like the petronas towers, where a certain area is passable.

Something like, for instance:

ooxxoo
ooxxoo

Where "x" means passable, but not buildable. I could build a whole column of these:

ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo
ooxxoo

and, in effect, make a shielded tunnel, for instance.

Or, I could make something like this

Code: Select all

          ooooxxoooo
ooooooooooooooxxoooooooooooooo
ooooooooooooooxxoooooooooooooo
          ooooxxoooo
by laying DT all around it.

Just strictly hypothedical... I'm not thinking about a shielded tunnel unit or something.

The reason why I cannot use "c" or whatever it is, and just have the unit's script say that its construction zone was always open (as in, a factory) is because I might want to use this "x" zone at the same time as the "c" zone on a factory.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

In factories, this is very similair to how it should work, units can walk through but the difference is that its flawed, you can build things like turrets in the openings.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

already possible. the y yardmap tag is for areas that units can walk over, but as part of the building it cannot be built on. A tag for an area of a building that *can* be built on would be good though
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Too baed Spring ignores y on anything except mines.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

I've been wishing forever that Spring supports not new yardmap type but merely old TA ones.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

KDR_11k wrote:Too baed Spring ignores y on anything except mines.
Amen
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

KDR_11k wrote:Too baed Spring ignores y on anything except mines.
Can this be changed?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

You can make everything a mine, and just set the value to nearly zero.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

not true, it doesnt useit for mines, you can build 100 mines ontop of eachother if they're not set as blocking.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

AF wrote:not true, it doesnt useit for mines, you can build 100 mines ontop of eachother if they're not set as blocking.
Well, it evidently works then, no?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

If ti worked then youd be able to build 1 mine and have allied units walk through it but the same mine would block a second mine built ontop.

Instead the second mine is not blocked and gets built and a 3rd and a 4th etc.
User avatar
VonGratz
Posts: 471
Joined: 03 May 2005, 05:25

Post by VonGratz »

zwzsg wrote:I've been wishing forever that Spring supports not new yardmap type but merely old TA ones.
+One
Particularly for my new gates.
http://spring.clan-sy.com/phpbb/viewtopic.php?t=10589
VonGratz :wink:
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

nudgewhine
Post Reply

Return to “Feature Requests”