:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sun Jul 03, 2022 8:24 pm
All times are UTC + 0
 Forum index » Modding Central » Tiberian Sun Editing Forum
Aircraft strafe attack... with 1 shot weapon.
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Chordeiles
Vehicle Drone


Joined: 05 Aug 2009

PostPosted: Wed Feb 02, 2022 5:28 am    Post subject:  Aircraft strafe attack... with 1 shot weapon.
Subject description: I actually wanted an accelerating RPG launcher attack...
Reply with quote  Mark this post and the followings unread

I remember having problems getting aircraft strafe attacks being hard-coded to fire a volley of 5 shots regardless of the Burst= number you assign. Frankly, I only have a vague idea of why this works (and you do get occasional multi-shots leaking out against moving targets), but it works well as a single shot attack against static targets.

The code:

Code:
; air-to-surface homing missile (orca strafe)
[Hellfire2]
Damage=80
ROF=5
Range=4
MinimumRange=3.5
ProjectileRange=12 ;max range before disarm
Projectile=HeatSeeker3
Speed=15
Warhead=ORCAAP
Report=ORCAMIS1
BurstDelay0=20
BurstDelay1=90


With a bit of fiddling with the BurstDelayX= values, I could even get a two-shot burst attack for the strafing run.

Might be the interaction between the tight Range=x vs MinimumRange=x, though BurstDelay seems to play a role in holding back the second shot so it can't fire until the aircraft flies outside its attack range. The low ROF value causes it to "expend" its attack window and reset the attack run quicker than assigning a high value for the ROF. Otherwise, it'll keep on flying straight even though it's not firing off anything.

The Projectile is just a copy of the vanilla Orca missile, with ROT=1 to make it a strafing attack.

I'll post a video after I figure out how to take a screen grab on this laptop of mine. Might be later today.

P.S., if this is already well-known, I just want to put this out here so people will know what keys to use when they need to make this type of weapon.

Edit: Messed up the MinimumRange by a hair. Now it should work properly

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
 Forum index » Modding Central » Tiberian Sun Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1376s ][ Queries: 11 (0.0079s) ][ Debug on ]