0
AC130 / Spectre Gunship
Started By Medusa, Nov 26 2010 10:46
12 replies to this topic
#1
Posted 26 November 2010 - 10:46
Hello,
how could I make an AC130 / Spectre Gunship like Aircraft that circles a target while it's bombarding it?
I saw a screenshot (C&C3) a while ago - dont remember where it was - and there was the idea to recreate the Gunship of ZH, but I hadnt found anything helpful in the .xds yet. May you have some possible solutions I never imagined. Thank you in advanced.
how could I make an AC130 / Spectre Gunship like Aircraft that circles a target while it's bombarding it?
I saw a screenshot (C&C3) a while ago - dont remember where it was - and there was the idea to recreate the Gunship of ZH, but I hadnt found anything helpful in the .xds yet. May you have some possible solutions I never imagined. Thank you in advanced.
#2
Posted 26 November 2010 - 11:07
It's the standard Stormrider's locomotor.
#3
Posted 26 November 2010 - 13:27
Making it shoot like the Stormrider then giving it a minimum range might make it circle around.
#4
Posted 26 November 2010 - 14:57
IIRC Rho has experience in this, you should get him.
#5
Posted 26 November 2010 - 15:15
DetoNato is quite a bit more of a code-guru than I am. But yeah, just make a plane with Stormrider settings.
#6
Posted 26 November 2010 - 15:52
Oh yeah, didn't you mention that the radius of the circling could be adjusted/increased?
#7
Posted 26 November 2010 - 16:21
Yes, I'd have to look at the code again to see how exactly, but I'm quite certain it can be changed.
#9
Posted 12 December 2010 - 23:08
#10
Posted 13 December 2010 - 01:08
How did you code that? Could you potentially post source for it?
#11
Posted 13 December 2010 - 17:54
R3ven, on 13 Dec 2010, 2:08, said:
How did you code that? Could you potentially post source for it?
Like an Orca-Strike with more ammo that uses a Storm Rider like locomotion. I haven't yet coded, but thats what Im guessing. An AC130 like attack is on my To-Do-List for my mod.
#12
Posted 14 December 2010 - 02:02
Not at my computer right now so can't paste the direct code, but DetoNato is basically on the money.
Take the orca strike code, plug in your AC-130 model and remove the strafe area update from the attack code. Give it a taxiing locomotor for when stopped with a wide circling radius. The actual firing is all scripted and purely cosmetic, FX are timed to the animation frames and damage on the ground is dealt by an invisible object created at the target area with a timed recurring damage behavior.
When the scripted firing object on the ground expires, a trigger is sent to the AC-130's XML that forces a fly off map behaviour. If the plane gets shot down, there is a behavior that fires a special weapon that instantly kills the damage object but doesn't affect anything else on the map.
Hope this helps.
Take the orca strike code, plug in your AC-130 model and remove the strafe area update from the attack code. Give it a taxiing locomotor for when stopped with a wide circling radius. The actual firing is all scripted and purely cosmetic, FX are timed to the animation frames and damage on the ground is dealt by an invisible object created at the target area with a timed recurring damage behavior.
When the scripted firing object on the ground expires, a trigger is sent to the AC-130's XML that forces a fly off map behaviour. If the plane gets shot down, there is a behavior that fires a special weapon that instantly kills the damage object but doesn't affect anything else on the map.
Hope this helps.
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users