Page 1 of 1

Anti-Air fire at falling planes!

Posted: 01 Aug 2007, 22:24
by Pendrokar
Only this time make AA prioritize non-falling planes!!!

Posted: 02 Aug 2007, 00:30
by Caydr
That causes a problem, what if anti air fires at the falling plane just as new planes enter the field of view? Precious milliseconds or much worse can be lost. Picture a Mercury wasting its only shot on an already-dead peeper and how you'd feel as a few brawlers then kill your Mercury.

Posted: 02 Aug 2007, 02:30
by Thor
+1

they actually already did prioritize iirc... this fix was completely unnecessary imho. it's frustrating when anti-air completely ignores a large airship plummeting down on top of your base. It would be nice if this were controllable by the mod.

Posted: 02 Aug 2007, 02:43
by smoth
how about we leave it fixed and the crap can be an option. I DO NOT WANT IT CHANGED BACK!


seriously, I don't want it reverted. Having anti air shooting at a ship doesn't help anyway because the fucking thing is regenerating anyway on the way down. OH and while your aa is still pluging that regenerating hulk other aircraft are fisting your base.

Posted: 02 Aug 2007, 02:54
by Snipawolf
I like it this way. Leave it as the new update made it.

Posted: 02 Aug 2007, 03:40
by Thor
Actually, it did help, if you had a good amount of anti-air you would usually be able to destroy the ship before it hit the ground. And the anti-air already did a good job of prioritizing on living targets. I'm all for making it an option, but as it is it seems ridiculous to me that your units will ignore even a direct command to shoot the falling unit. I understand that this way is better for some mods, but at least in the case of nota, it was perfect before the update.

Posted: 02 Aug 2007, 04:25
by Snipawolf
Then there can be an option.

I don't want it reverted in any case. Your mod may even have stronger AA firepower to compensate, so it all depends.

Posted: 02 Aug 2007, 06:09
by Argh
Um, you can script aircraft so that they cannot fire while Killed() is operating, solving this problem.

Posted: 02 Aug 2007, 07:15
by KDR_11k
Killed is called after it hits the ground, not while it's falling.

Posted: 02 Aug 2007, 08:27
by yuritch
I decided to make a patch for this again (the patch that initially disabled fire at crashing units was mine). So, this time the modder has more control over what is fired on and what isn't.
A new section should be added to modrules.tdf:

Code: Select all

[FIREATDEAD]
{
  fireAtKilled=0;
  fireAtCrashing=0;
}
FireAtKilled controls the targetting of units running Killed() script, fireAtCrashing controls the targetting of crashing planes. The defaults for Spring 0.75 are
fireAtKilled=0;
fireAtCrashing=0;
Spring 0.74 behaviour was
fireAtKilled=1;
fireAtCrashing=1;

Posted: 02 Aug 2007, 14:55
by smoth
thanks yurtch

Posted: 03 Aug 2007, 07:29
by MadRat
You da man, yuritch.

Posted: 03 Aug 2007, 08:20
by Argh
Sweet, that's a major hassle taken care of, balance-wise...

Posted: 03 Aug 2007, 08:36
by MR.D
yes!@!@!@!!!!, thank god :D

Posted: 03 Aug 2007, 14:28
by Pxtl
I know the solution is already here, so I'm being damned silly for even mentioning this, but wouldn't the best approach be to allow modders to have a different unit for the dying-version of a plane? That is, when the plane is falling, it is replaced with unit X. Unit X has it's own health, it's own model, and most importantly: it's own unit groups that can be set to be ignored by Mercuries and avoided by others.

Ultimate (but silliest) solution: "ballistic" is a movement class, and provide a generic FBI way to say "when X unit dies, convert into a new Y unit". Use "ballistic" movement class for falling planes and complex scripted projectiles.

Either way, I'm rambling.

Posted: 31 Aug 2007, 05:26
by MadRat
You were not really rambling. Your idea is clever.

Posted: 31 Aug 2007, 18:34
by manored
I think the OPTION of AA shooting on falling planes should be keeped, was it wouldnt be fun to see a falling plane coming straigh for your metal makers and being unable to do anything... :)

Posted: 01 Sep 2007, 06:08
by Saktoth
Ive won no small number of games by FPS'ing a crashing plane and getting it to fire an extra salvo.

Do this with a liche to finish off an adv fus for epic win- though ive also done it with EMP bombers to para an anti, and just regular bombers to take out nano fields, wind farms, etc.

P.S please dont fix this you guys are always ruining my hax. :(

Posted: 01 Sep 2007, 11:18
by Pendrokar
AA should just have an aiming range bigger than their fire range, so they start targeting air units earlier and if there are no air units left in the aiming range then AA should fire at falling planes(exept Long range Anti-Air)!!!

Well I think in WW2 flaks were rdy for incoming bombers, but waited when they are in range!(Not sure about this though :) )

Posted: 01 Sep 2007, 19:12
by MadRat
I'd of thought fps mode would of been disabled on the swan dive. That's an ugly thought someone could do that.

On the other hand, swapping units (a downgrade per se) would allow for pilot ejections, unarmed clones of the original to prevent doing last gasp shots on the swan dive, etc. LUA probably is capable of it of course.