JDPElGrillo
Chieftain
- Joined
- Aug 20, 2015
- Messages
- 72
Hello,
I'm currently working on a mod where Missiles can be loaded with Warheads (a new special unit class) to affect their behavior using getTransportUnit().
I'm working in the Event Manager, and I'm having some difficulty figuring out what callback to work with. From testing, it doesn't appear that Missiles (or other Air units) actually use onCombatResult, and onUnitLost doesn't store plot data, as unit.getX()/unit.getY() don't return useful values.
Ideally there'd be a callback for things like onBombard, onAirStrike, or onAirBomb, but they currently don't exist in the Event Manager. Is this where I'd have to learn to use the SDK, or am I missing something that would make this doable with just Python?
Thanks in advance! I'm sadly aware that I've only stumbled upon Civ4 modding recently, and that this forum has seen more active days. Searching through the archives has been extremely helpful, though, and I'm glad to have the resources available.
I'm currently working on a mod where Missiles can be loaded with Warheads (a new special unit class) to affect their behavior using getTransportUnit().
I'm working in the Event Manager, and I'm having some difficulty figuring out what callback to work with. From testing, it doesn't appear that Missiles (or other Air units) actually use onCombatResult, and onUnitLost doesn't store plot data, as unit.getX()/unit.getY() don't return useful values.
Ideally there'd be a callback for things like onBombard, onAirStrike, or onAirBomb, but they currently don't exist in the Event Manager. Is this where I'd have to learn to use the SDK, or am I missing something that would make this doable with just Python?
Thanks in advance! I'm sadly aware that I've only stumbled upon Civ4 modding recently, and that this forum has seen more active days. Searching through the archives has been extremely helpful, though, and I'm glad to have the resources available.