2023-04-01 09:03 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003604Spring engineGeneralpublic2013-03-23 01:05
Assigned ToKloot 
StatusclosedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0003604: units with ground weapons cannot shoot them while in shallow water
Descriptionsee demo, made with ba 7.72, spring 93.2.1-87 on tabula v4 with luarules off. water pool in north east of map.

the corseal is ordered to attack ground well within its range while it is within shallow water. instead it moves to the very edge of the water before firing.

the gimp is able to fire both a TorpedoLauncher and a LaserCannon. when in shallow water it is ordered to attack the water, it fires torpedos even if they have no hope of reaching target because the water is too shallow. when in shallow water and ordered to attack nearby ground it won't fire or move at all.

the pelican at the end works correctly (perhaps because it floats on the water surface?)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




silentwings (reporter)

Last edited: 2013-03-23 00:19

View 2 revisions

Demo is with luaui off as well (it's not caused by the customformations/prevent_range_hax bug, but I noticed it while fixing customformations).


Kloot (developer)

this is a bug / feature in the unit animation scripts BA uses, look at eg. scripts/coramph.bos:AimPrimary:

    if ( get IN_WATER(0) == 1 )
     return (0);

-Issue History
Date Modified Username Field Change
2013-03-22 23:17 silentwings New Issue
2013-03-22 23:17 silentwings File Added: 20130322_220940_Tabula-v4_93.2.1-87-g4aabb50 release.sdf
2013-03-22 23:23 silentwings Note Added: 0010164
2013-03-23 00:19 silentwings Note Edited: 0010164 View Revisions
2013-03-23 01:05 Kloot Note Added: 0010166
2013-03-23 01:05 Kloot Status new => closed
2013-03-23 01:05 Kloot Assigned To => Kloot
2013-03-23 01:05 Kloot Resolution open => no change required
+Issue History