Help! Modding Question

patrick.nagel

Chieftain
Joined
Jul 14, 2006
Messages
12
Civ Modders,

I'm designing a mod that adds additional nuclear weapons to the game, and decided to start with the WWII vintage "Little Boy" fission bomb. I've created the new unit, modified the Bomber and Stealth Bomber to act as bomb-only transports, and now seek to add a "Nuclear Strike" option to the Bomber and Stealth Bomber's interfaces.

it should:

a) only be selectable if a nuclear bomb is loaded
b) trigger the appropriate bombing animations
c) if the bomber is not intercepted, delete the bomb unit and trigger a nuclear blast on the selected tile.

I've figured out that this functionality can't be implemented in XML, and need a few pointers as to where I should be looking.

:nuke: :nuke: :nuke:

Thanks!
patrick
 
Back
Top Bottom