Posted by: Outlier - Thursday, February 16, 2017 10:00:11 AM
Hi, I did search and found a tutorial on adding Generals powers but it involves simply cloning one and giving it to another faction. I would like to know if it is possible to create a new power using existing graphics and effects from a unit?
My idea is this: have a Tomahawk cruise missile bombard with infinite range. The missiles would appear from off screen and fly to target from the direction of the command center, the same way aircraft-based powers do. The missiles would be identical to the weapon from the game Tomahawk launcher unit.
Preferably they would cover a small radius and not impact the same point, but I'll take whatever is possible.
Posted by: Zatsupachi - Thursday, February 16, 2017 12:10:00 PM
There's two ways to make this happen.
The first one is the lazy way:
Make a clone of the Artillery Barrage.
Clone the Artillery Barrage Shell, change the model to the Tomahawk Missile.
Then, make a unique DamageWeapon if you want.
Then, there's the aesthetic way:
Make a clone of the A10 Strike.
Strip off any of it's weapons from the OCL.
Clone the A10 Thunderbolt aircraft, Change it's model to the Tomahawk Missile.
On this clone of the Tomahawk Missile, make it have a HeightDieUpdate, kill it when dips a certain height from the ground.
Make a DeathWeapon for when it dies this way.
(If you have trouble with these instructions, then let me just get back on my computer to do it for you.)
Posted by: Annihilationzh - Thursday, February 16, 2017 12:41:46 PM
My first thought was to make an invisible A10 and have it fire a tomahawk immediately upon spawning.
An easy but less aesthetic method would be to have a tomahawk (plane) drop a tomahawk (bomb) and have the plane die when it drops the bomb, like the artillerybarrage does. The aesthetic problem being that the tomahawk will just drop like a bomb when it gets to its target.
Posted by: klingondragon - Thursday, February 16, 2017 1:19:19 PM
Could the Scud and Nuke code be used for this? A missile launched by a special power. That could turn in mid air.
Posted by: Outlier - Friday, February 17, 2017 6:37:39 PM
Thanks, I'll try to figure it out from here. I think the invisible A10 method sounds like the best route.
On a slightly related note, is it possible to clone one of the plane attacks for a different aircraft strike? Like an aurora bomber attack wave for example.
Posted by: klingondragon - Friday, February 17, 2017 6:54:52 PM
Have a look at the OCL ini entries. Have a bit of a play. See what you can do. You shouldn't have too much trouble making that aurora wave.