Bazooka crashes game

DeGreye

Chieftain
Joined
Aug 22, 2012
Messages
7
Every time I try to use a bazooka, the game crashes. Even if I choose not to use it, William uses one on the next turn and the game crashes. I've attached the LUA log.
 

Attachments

It looks like something's bugged with the bazooka's combat animation. If you want a quick fix try turning on quick combat and that should let you play out the rest of your game.
 
A good idea, but--alas--even with quick combat on, the game still crashes.
 
Actually, you're right. I tried it again, and this time it worked. I guess the bug is in the animation. Thanks!
 
I took some time to look at the code and it looks like the bazooka hasn't been adjusted (flavors, animation) to fit with the new combat line that gattling guns and machine guns fall into.

All you need to do to fix the animation is to add the following to line 28 of the CEA_Land.xml file:
PHP:
		<Update>
			<Where Class="UNITCLASS_BAZOOKA" />
			<Set CombatClass="UNITCOMBAT_GUN" />
		</Update>
 
Back
Top Bottom