tag for default fire state

tag for default fire state

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

tag for default fire state

Post by 1v0ry_k1ng »

I cant find one anywhere so im guessing there isnt one, is there is no tag to set a units default fire state to "return fire" or "hold fire"?
how hard would it be to make a patch if there is not?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

The tag should be:
StandingFireOrder=2;// fire at will
StandingFireOrder=1;// return fire
StandingFireOrder=0;// hold fire

But don't be surprised if it doesn't work. In TA some units used that tag (like Bertha), other inherited the current setting from the builder (like tanks built from a factory).
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

AFAIK the tags are implemented.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

Search through the source shows this tag isn't implemented (it isn't read from fbi files).
This variable can be set via COB set/get command, though. The following constants are defined for it (CobInstance.cpp):

Code: Select all

#define STANDINGMOVEORDERS   2  // set or get
#define STANDINGFIREORDERS   3  // set or get
Post Reply

Return to “Feature Requests”