Home » MODDING HQ 1.13 » Flugente's Magika Workshop » Not a feature: classic air raids
Re: Not a feature: classic air raids[message #345986 is a reply to message #344783] Tue, 21 June 2016 13:54 Go to previous message
RunAwayScientist is currently offline RunAwayScientist

 
Messages:84
Registered:September 2001
Here's an idea on how to minimize work to implement this feature:


1. Clone the 'Helicopter Class' from ASD.

2. Change the map icon of the silhouetted helicopter to an appropriate plane image.

3. Use CVB's plane .sti (the second one looks boss, Skyhawks suck) as the in-game tile for the 'cloned' helicopter type.

4. Add in appropriate XML entries for it and set a price for it like the helicopter.

5. Instead of 'dropping' 6 elites, it 'drops' a bomb on a sector with mercs or militia. A dialog box appears detailing how many militia were killed, or mercs injured. No forced tactical required.

6. Modify the speed of the 'Plane Class' to be twice as fast as the ASD helicopter. (or more, depending on this next feature)

(Extra) Have the plane called in by an enemy with a radio-set while in combat with >10 enemies and not jammed and not in player controlled airspace. A plane will be dispatched from Meduna airfield toward ongoing combat. Modify the plane speed so that the plane arrives in [5 minutes/20 turns] or [XML defined turns/XML defined time]. Once there, if tactical is loaded for that sector, drop [XML defined] number of mortar strikes around a randomly selected friendly troop. The plane then turns tail and heads back to the airfield.



This feature should be a fair amount of work, but perhaps doable. No need to mess with SirTech's disabled code such as what DOM did; just clone what you've done already with the ASD helis and bam.

[Updated on: Tue, 21 June 2016 14:01]

Report message to a moderator

Corporal 1st Class
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Feature: Collapsing roofs
Next Topic: New feature: mines require workers
Goto Forum:
  


Current Time: Thu Dec 12 03:44:58 GMT+2 2024

Total time taken to generate the page: 0.00728 seconds