Formations? Perhaps solve the friendly fire problem...

Formations? Perhaps solve the friendly fire problem...

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Formations? Perhaps solve the friendly fire problem...

Post by Optimus Prime »

Formations? Perhaps solve the friendly fire problem in a more realistic way.

The reason why so much friendly fire happens is, that if you move your hundred units towards the enemy, they all come in a row (ok mostly a big row) and its hard to let them attack in a front line with tank near tank. So the units behind their own units arent able to shoot, or they damage their own units.
But if you would be able to put units in a formation (block, frontline, doubleline and so on), this problem would be solved i think. Sure you have to use your skill for the best formation for every unit, but i m sure, that this would help and it would be more realistic than to make units shoot through their own.

Just my thought on that...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Ah good, the source code for the simple formation groupAI is in the svn, it's setup already to put units in grid formations, all you need todo is change it to whatever formation you want.
User avatar
Cyberwal
Posts: 149
Joined: 31 Jan 2006, 14:42

Post by Cyberwal »

An additional button to select group formations easily and (or? maybe just make a 'reasonable' formation standard at first) a standard formation would be really nice, although it

a) would change the way the game was played (for any mod, really) and would most likely require balancing changes and

b) of course someone would have to program it :P
IMSabbel
Posts: 747
Joined: 30 Jul 2005, 13:29

Post by IMSabbel »

Well, using formations is already easy enough (just drag the right buttom while issuing a move order)...

But currently, as soon as an attack order follows, the formation breaks apart, and they will wedge themself together...

Maybe an "attack formation" setting would be nice (line attack, form circle around target, form 1/2 circle) for each groupe.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Would need a way to make the engine put ballistic weapons in the rear and line of sight weapons in the front if this was to be any more useful than just holding down the right mouse button when giving a movement order.
SJ
Posts: 618
Joined: 13 Aug 2004, 17:13

Post by SJ »

Hold alt when giving a move order and they will form in an approximate square with longest range units toward the back.
FrantzX
Posts: 5
Joined: 17 May 2005, 23:32

Post by FrantzX »

That should be the default.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

SJ wrote:Hold alt when giving a move order and they will form in an approximate square with longest range units toward the back.
I love you.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

This is why SJ is so good at XTA spring, because he added all these things to help your playing and then just never told anyone else about them :P
Kixxe
Posts: 1547
Joined: 14 May 2005, 10:02

Post by Kixxe »

It's in the "Things you may not know" thread...
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

Just to join in on the fun... wiki
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Post by Optimus Prime »

ok i tested it and it works.
But one point should be improved:
if you send your units out of no formation into a formation and at the same time you send them to the enemy, the units should FIRST go into formation and then they should move towards the enemy. Right now, it is so, that the units first move to the enemy (they try to go in formation while they move, but cause all units have the same speed, they never reach their correct position in relation to the other units) and then if they reached their target, they go into their formation position. Thats not the way like formations should work, cause a formation for me means the formation when moving AND standing.
I dont know, if that happens only with fighters, but i tested it with them. I can imagine, that its harder with fighters to implement, cause they never stand still and fly around.
Post Reply

Return to “Engine”