Replace "Return Fire" with something useful

Replace "Return Fire" with something useful

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

Replace "Return Fire" with something useful

Post by KDR_11k »

Seriously, does anyopne ever use the "return fire" setting? All that means is your enemy gets to leisurely pick your units off one by one. It might be useful if it applied to the whole group but I'd rather have a setting like "respond to threat" that means a unit will shoot at anything that could shoot at it. AFAIK the fire options are there to prevent fire from giving away your position, this way they'd only give it away when the enemy already knows about it.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Hmm like shoot at enemy if enemy is targeting me.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Targeting wouldn't work since your enemy would most likely target your units one by one, leaving most of the group inactive.
chlue
Posts: 101
Joined: 28 Dec 2005, 20:48

Post by chlue »

In my opinion a good behavior would be, if the whole group in which the unit is, is set on 'aggessive' till the threat is eliminated, when a unit under 'return fire' get attacked bye an emeny

But something like this is probably better handeld by a widget, because such a behavior would irritate a lot of (new) players.

You need to consider if the units is attacked on purpose or accidental, too. (For example a cloaked unit that only get in the line of fire or AOE effect should now let your army of stealth units attack)

Thats currently my main reason to set an unit on "return fire". If a sniper sneaking in the emeny base get detected by an peewee, it is better to kill this thing and hope to recloak fast enough...
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

Yeah, hold fire is rarely used as well, its mostly useful on cloaked units. However, it might be better to put these units on return fire, so, as chlue says, they will at least get a shot or two off if they are detected (no point letting your sneaky snipers just stand there and die if they get spotted).

Any other option would probably be difficult to script and have all sorts of circumstances where it wouldnt work- especially something that assesses 'threats' or works by 'groups'.
User avatar
Machiosabre
Posts: 1474
Joined: 25 Dec 2005, 22:56

Post by Machiosabre »

the most natural addition to hold fire and fire at will would be constant fire! finally we'll have pyros just walking around burning everything! :lol:
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

One solution I've seen is that a unit under attack will notify all units in a certain radius which will notify others, etc and all notified units shoot.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

This could be implemented relatively easily with LuaRules
or LuaUI. Use the UnitDamaged() call-in to tell when a unit
has been hit, and check if it is in ReturnFire mode. Then use
the GetUnitsInCylinder() or a similar call to issue attack orders
to other units in ReturnFire mode. You could do it by group if
using LuaUI (LuaRules doesn't have access to user unit
groups).

You could also have lua automatically put units in ReturnFire
mode when they are cloaked (although this is probably best
done in LuaUI as a widget). Once cloaking is disabled, you
could return them to their (saved) original mode.
Last edited by trepan on 30 Mar 2007, 20:58, edited 2 times in total.
Radja
Posts: 70
Joined: 30 Dec 2006, 19:48

Post by Radja »

what about fire only buildings? that way slow arty would not attack faster units, that endes up in my own troops being attacked by accident

attack units who can fire back

attack not paralyzed units only + attack units not targeted by other unit in group

etc
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

I use both return fire and hold fire.
User avatar
EXit_W0und
Posts: 164
Joined: 22 Dec 2005, 01:33

Post by EXit_W0und »

Last time i checked, return fire didn't even work. When did you use it Smoth?

I would replace it with a 'go mental' button, where the units get a faster rate of fire but less accuracy, and the chances of them targeting and killing each other increases :P
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

Hold Fire has some uses.

Return Fire Only has one very important use, and not all that uncomon. In artilery wars, when one has a pop-up firing at your own pop-up, you often want to have it in Return Fire so it only targets the enemy pop-up and not the LLTs/Peewees/whatever around it. Many times, one pop-up survives while the other not, because the doomed one spent it's time firing at other stuff.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Post by Licho »

Radja wrote:what about fire only buildings? that way slow arty would not attack faster units, that endes up in my own troops being attacked by accident

attack units who can fire back

attack not paralyzed units only + attack units not targeted by other unit in group

etc
These are very good ideas, I would like "paralyze non-paralyzed" and "target structures only" most.

But tbh, paralyze units should only target non-paralyzed units by default..
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

Radja wrote:what about fire only buildings?
etc
+10000000000000000000000000000000000000000000000000000000

finally raiders wont get distracted by things trying to kill them and can focus on the windfarms!
Post Reply

Return to “Feature Requests”