Jump to content


AC130 / Spectre Gunship


12 replies to this topic

#1 Medusa

    Regular

  • Member
  • 164 posts
  • Projects: Timeless War

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.
Posted Image

#2 Destiny

    Forum Nakadashi-er

  • Member Test
  • 3141 posts

Posted 26 November 2010 - 11:07

It's the standard Stormrider's locomotor.
Posted Image

#3 JJ

    Half dead member

  • Project Leader
  • 3294 posts
  • Projects: Real life things, personal RA3 mod

Posted 26 November 2010 - 13:27

Making it shoot like the Stormrider then giving it a minimum range might make it circle around.

#4 Destiny

    Forum Nakadashi-er

  • Member Test
  • 3141 posts

Posted 26 November 2010 - 14:57

IIRC Rho has experience in this, you should get him.
Posted Image

#5 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

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 Destiny

    Forum Nakadashi-er

  • Member Test
  • 3141 posts

Posted 26 November 2010 - 15:52

Oh yeah, didn't you mention that the radius of the circling could be adjusted/increased?
Posted Image

#7 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

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.

#8 Medusa

    Regular

  • Member
  • 164 posts
  • Projects: Timeless War

Posted 26 November 2010 - 16:51

Never thought that it would be that simple like the Stormrider. Thanks a lot @ all. <87
Posted Image

#9 Henford

    Visitor

  • Project Leader
  • 35 posts
  • Projects: CNC Fallout

Posted 12 December 2010 - 23:08

All to easy! AC-130 in TW is very much possible.

http://www.youtube.c...h?v=ir95WbTeLhM
Posted Image

Henford
CNC Fallout Mod Leader


cncfallout.falloutstudios.net

#10 R3ven

    Veteran

  • Project Team
  • 468 posts

Posted 13 December 2010 - 01:08

How did you code that? Could you potentially post source for it?

#11 Medusa

    Regular

  • Member
  • 164 posts
  • Projects: Timeless War

Posted 13 December 2010 - 17:54

View PostR3ven, 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.
Posted Image

#12 Henford

    Visitor

  • Project Leader
  • 35 posts
  • Projects: CNC Fallout

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.
Posted Image

Henford
CNC Fallout Mod Leader


cncfallout.falloutstudios.net

#13 Medusa

    Regular

  • Member
  • 164 posts
  • Projects: Timeless War

Posted 14 December 2010 - 15:31

Thanks a lot.^^
Posted Image



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users