Page 1 of 1
Air->Sub Torpedo firing on ground
Posted: 17 Feb 2007, 22:14
by Yatta
Hi
I have an airplane (modified brawler) which has 2 weapons, the second weapon being a torpedo launcher.
My problem is that tough the weapon settings for the torpedo launcher on the unit fatures "OnlyTargetCategory2=UNDERWATER;" the plane still fires its torpedoes when attacking on ground. Is there a way to prevent that ?
Kisses :3
Posted: 17 Feb 2007, 22:15
by rattle
Did you define UNDERWATER in the armor.txt? It's either that or...

Posted: 17 Feb 2007, 22:30
by Yatta
Dumb me.
I didnt understood it worked this way ...
But what about amphibious unit ? Wont it fire its torpedoes to amphibious units being classed "Underwater" when the units are out of water ?
Posted: 17 Feb 2007, 22:35
by KDR_11k
UNDERWATER would be in the category tag, not the armor.txt.
Of course it'll fire at units that are out of water. Spring doesn't check that.
Posted: 17 Feb 2007, 22:56
by rattle
Ah right my bad. Was certain it had to be defined in armor.txt as well but it doesn't.
Re: Air->Sub Torpedo firing on ground
Posted: 18 Feb 2007, 02:07
by FLOZi
Yatta wrote:Hi
I have an airplane (modified brawler) which has 2 weapons, the second weapon being a torpedo launcher.
My problem is that tough the weapon settings for the torpedo launcher on the unit fatures "OnlyTargetCategory2=UNDERWATER;" the plane still fires its torpedoes when attacking on ground. Is there a way to prevent that ?
Kisses :3
Do you measn when attacking units on the ground, or simply force attacking the ground?
The former indicates a problem, the latter is standard spring behaviour, which will be overrideable next version with the canAttackGround tag.
Posted: 18 Feb 2007, 02:27
by AF
look at the lvl 2 torp bomber in arm XTA, it fires torpedoes at ground targets.
Posted: 18 Feb 2007, 18:17
by Yatta
Ok thanks for the help everyone. At least I should be able to avoid firing torpedoes on non-amphibious units I guess.
Anyways thats not really a big problem since when it fires torpodoes on the ground, the torpedo doesnt reach the point the attack is aimed at, so its hard to use it as an efficient ground attack.
Posted: 18 Feb 2007, 19:00
by manored
Yatta wrote:Ok thanks for the help everyone. At least I should be able to avoid firing torpedoes on non-amphibious units I guess.
Anyways thats not really a big problem since when it fires torpodoes on the ground, the torpedo doesnt reach the point the attack is aimed at, so its hard to use it as an efficient ground attack.
With some skill you could make the torpedo hit on the right place... but its better to use the big bombers!

Posted: 19 Feb 2007, 13:10
by Saktoth
waterweapon is its own weapon category. It behaves like a dropped weapon out of water and a guided weapon under water.
If you put it on a amphib tank etc, the tank wont have this problem of firing it out of the water- because he cant hit anything with it (It would just roll out the end of his gun and tumble to the ground).
Its only because of the altitude of planes that they have this problem.