LevelGroundImmediately and CrushFeature tags

LevelGroundImmediately and CrushFeature tags

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

LevelGroundImmediately and CrushFeature tags

Post 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.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

CrushStrength is a part of the MoveType AFAIK, buildings don't have those.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Post by Pxtl »

KDR_11k wrote:CrushStrength is a part of the MoveType AFAIK, buildings don't have those.
Oh. Nm. I are stupid.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

+!, I support this kdk.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Anyone try adding a MoveType to a building?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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.
bwansy
Posts: 385
Joined: 02 May 2006, 05:21

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

Return to “Feature Requests”