I'll post here as I didn't see this questions thread until just now.
I'm working on putting together a 2-stage mod for capapults. I don't think I'm duplicating work as I have not yet seen a catapult mod online...
Thread showing the first stage is here:http://forums.elementalgame.com/445727/page/1/
To date, I've successfully attached the Lesser Catapult to the Drills tech and is available for construction.
I still am looking to remove the splash damage from the lesser catapult's basic attack. I'll be honest. I current have no idea how to do that. The ability that provides splash damage I plan to leave there but limit, being able to use it only 1/3turns or 1/5turns. (I think I can figure out how to add a cooldown)
I am also still looking as to how I add the lesser catapult as a city defender.
I saw the code for the Watchtower Improvement...but see no way as to how that improvement adds a catapult...or if it even does, despite the description saying it does...
Lastly, once the above two questions are figured out, I don't want there to be overlap and have two catapults on the field of battle. Whenever the regular catapult enters the picture, I want it to replace the lesser catapult. Still working on figuring out how to do that.
Any pointers would be very appriciative.
edit: K, I think I've found the location to remove the splash damage from the basic attack in basiccatapultattack in CoreSpells.xml. Testing now...
edit2: K, successfully removed the splash damage from the basic attack...BUT it seems that the ability attack and the basic attack are the same. Going to have to separate those. Also still trying to figure out how the catapult unit links to the BasicCatapultAttack as I've created a new BasicLesserCatapultAttack, wanting each type of catapult to line up with the appropriate damage type.