Submarine City bombard

Celtic Warrior

Warlord
Joined
Aug 29, 2004
Messages
200
Is there any way to edit it so that subs can bombard cities like destroyers and battleships are able to ?
 
Sort of. Submarines are a ranged unit, but they have the <OnlyInDomain> flag, which prevents them from using their ranged attack on anything other than a naval unit. You can remove that flag (set it back to false, the default), and the submarine will now be able to bombard cities. Unfortunately, it'll also now be able to bombard land units, who'd be incapable of seeing the sub, so I'd REALLY not recommend doing this.
 
Should be in the main Units table. I might not have the name right (I'm at work), but if you go to the Submarine or Nuclear Submarine entries, it should be obvious which one it is. They'll be the only units with this flag set.
 
Back
Top Bottom