Page 1 of 1

LevelGroundImmediately and CrushFeature tags

Posted: 13 Mar 2007, 12:31
by KDR_11k
The idea is to change the reclaim features, level ground, start building workflow of builders.

LevelGroundImmediately (bool) would flatten the ground the moment the unit is spawned instead of having the builder do that, would also be useful for factory coms.

CrushFeature (int) would allow the construction to crush features like moving units do, the value would be identical to CrushStrength and builders would not bother reclaiming anything the construction can crush.

Posted: 13 Mar 2007, 14:20
by Pxtl
I would think a simpler approach for CrushFeature would be to add CrushStrength to static buildings. I realize that your "CrushFeature" tag has a slight syntactic difference (builder, not subject) but I think a focus should be made on expanding the use of current tags out to other unit classes rather than creating new tags.

Posted: 13 Mar 2007, 15:40
by KDR_11k
CrushStrength is a part of the MoveType AFAIK, buildings don't have those.

Posted: 13 Mar 2007, 16:30
by Pxtl
KDR_11k wrote:CrushStrength is a part of the MoveType AFAIK, buildings don't have those.
Oh. Nm. I are stupid.

Posted: 13 Mar 2007, 20:31
by smoth
+!, I support this kdk.

Posted: 14 Mar 2007, 01:53
by Argh
Anyone try adding a MoveType to a building?

Posted: 14 Mar 2007, 07:34
by KDR_11k
That wouldn't do this, the constructor wouldn't start building until the area is clean.

Also AFAIK all building restrictions are in the fbi, e.g. the fbi maxslope is used instead of the movetype.

Posted: 15 Mar 2007, 16:53
by bwansy
+1.
Also, sometimes builders would walk around to clear up the build area, and in the end found itself blocking its own buildpos, and doesn't walk away itself, which is plain stupid.