It don't seem to be working the Sub is still able to fire ranged.
I added the sql under <InGameActions> and </UpdateDatabase> in .modinfo, is that correct?
So you just want to eliminate it's ranged attack? For that you'll need to update the Units table.
Code:
UPDATE Units SET RangedCombat = 0, Range = 0 WHERE UnitType = 'UNIT_SUBMARINE';
You'll probably also want to throw a LoadOrder that's greater than 300 or so on the UpdateDatabase action as well to ensure it loads after all base game files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.