Behold! I am dumb! Simple question, setting default orders

Behold! I am dumb! Simple question, setting default orders

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

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

Behold! I am dumb! Simple question, setting default orders

Post by Caydr »

I forget, can we set units' default orders now, like hold fire, return fire, fire at will? (mod-side)

Also, does Hold Position/Maneuver/Roam have any impact in Spring? I just don't remember anymore... TBH I don't think I ever used it much even in TA.
User avatar
Zoy64
Posts: 454
Joined: 12 Nov 2006, 00:30

Post by Zoy64 »

Hold position=unit will not follow enemy far;

Maneuver=unit will folow enemy until enemy leaves sight or is dead;

Roam=unit will follow enemy until one of them dies. or so i think

and yes, these work, i use them all the time
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Yes, through COB/BOS IIRC, but I could be wrong (but I have seen something like that in a commit message :-))

Hold pos/Maneuver/Roam does have impact in Spring, though in certain cases (at least Patrol and Fight) the impact is limited to allowing the unit to move 0, 1 or 2 times a hardcoded distance away from it's path.

I know hold pos works for sure 'cause I use that in every game :-)
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

I need to be able to set units to Roam at default - melee units don't move into attack range until it's too late with Maneuvre.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

set/get STANDINGMOVEORDERS to value;
0=hold pos,1=maneuvre,2=roam

set/get STANDINGFIREORDERS to value;
0=hold fire,1=return,2=fire at will

I have to admit the patch I intially submitted didn't work, couldn't compile at the time so it wasn't tested properly. This one however now works.
http://spring.clan-sy.com/mantis/view.php?id=554
Post Reply

Return to “General Discussion”