Posted: Mon Apr 17, 2023 1:23 am Post subject:
Warthog Airstrike
So I've been attempting to create an AirField super weapon that calls in three A-10 planes using a SpyPlane type clone that attack a point on the map. I can't get them to fire straight line barrage of bullets and I've only figured out to simulate it by using Airburst and AirburstSpread, problem with that is that they fire almost below them and not ahead of them like I want. Is this a limitation or has someone figured out something like this before? I need a hint lol
In TS a projectile with Arcing=no and ROT=0, would be shot in the direction of the units facing with the start angle of the art.ini keys (FireAngle, FireFLH etc)
So you basically let it shoot straight ahead and let the projectile fall down by gravity.
The Aircraft flight height would then determine, how far the projectile can travel before it hits the ground.
Simple and effective for inaccurate overrun aircraft attacks.
I assume something similar can be done in RA2.
Another very easy way
Set PrimaryFireFLH=1000,0,0
First value (Forward) very far ahead of the plane (this is how far ahead the plane shoots, adjust to your liking)
Then let an invisible projectile (e.g. a fast falling kirov bomb) fall down from that place.
Ingame you wouldn't see that the projectile is fired that far ahead and only see the piff/explosion anim on the ground, where the invisible bomb hit.
Ra2 with CourseLockDuration or however that key is called which lets a missile fly straight for a certain duration can also help. You basically prevent the missile from homing in on the target and fly straight ahead to hit the ground there. _________________ SHP Artist of Twisted Insurrection: Nod buildings
I tried both methods. Arcing=no and ROT=0 worked fine it is a decent effect but for whatever reason the plane doesn't like to fire ahead instead it always fires below like a bomber would, playing around with the range just makes it shoot early before the intended target and below the plane. I kind of tested the falling Kirov Bomb but the bomb just flies ahead forever and out of bounds. Kinda burned out but with more testing I feel i can get the Kirov bomb to travel downwards. QUICK_EDIT
That didn't have any effect it seems like the plane is hard coded to deliver the projectiles in a bomb run pattern but I was able to get the strafe run effect I was looking for by setting a ROF=2 Range=16 and PrimaryFireFLH=2500,0,0.
The rest is up to fine tuning the WarHead and maybe add clusters, also I'm thinking having the actual weapon do the firing and try the FeedBack Weapon logic from Phobos to do the animations and FireFLH.
EDIT: For anyone that needs this, I was finally able to get everything the way I wanted it to play out by using the new Kratos dll tag ExtraFire.Primary. I've been away for so long yet this community keeps thriving, very cool. QUICK_EDIT
That didn't have any effect it seems like the plane is hard coded to deliver the projectiles in a bomb run pattern but I was able to get the strafe run effect I was looking for by setting a ROF=2 Range=16 and PrimaryFireFLH=2500,0,0.
The rest is up to fine tuning the WarHead and maybe add clusters, also I'm thinking having the actual weapon do the firing and try the FeedBack Weapon logic from Phobos to do the animations and FireFLH.
EDIT: For anyone that needs this, I was finally able to get everything the way I wanted it to play out by using the new Kratos dll tag ExtraFire.Primary. I've been away for so long yet this community keeps thriving, very cool.
I am stuck the same way as yours but I can’t keep it running with Kratos because it seems conflicted with Phobos. QUICK_EDIT
Yeah I think the whole aircraft weapons situation is very limited. Even with all the new tags added I couldn't get a long bullet strafe run because the Primary on an aircraft locks every other Weapon to the same ROF. I'm thinking of testing for Airburst and Cluster next and see how that goes. QUICK_EDIT
Overrun attack fires 0 damage dummy weapon.
Invisible muzzleflash anim plays for a certain duration and spawns art.ini debris via Trailer
This is done with well timed art.ini anims only
But I'm pretty sure a similar result could be achieved in RA2 with plain rules.ini coding.
First try would be CourseLockDuration with a Harrier. If this doesn't work on aircraft, then try ROT between 2 and 16, in hope the special missile flight behaviour of TS still works in RA2.
MY MAN! you are a G Lin Kuei. The invisible muzzle anim coupled with a spawning debris animation does an amazing bullet storm line!
I can't quite get the same inaccuracy effect from that RA1 (i think) missile barrage but playing with the ROT CourseLockDuration and Acceleration is getting there. Does the speed of the Aircraft affect a homing missile accuracy? QUICK_EDIT
Overrun attack fires 0 damage dummy weapon.
Invisible muzzleflash anim plays for a certain duration and spawns art.ini debris via Trailer
This is done with well timed art.ini anims only
But I'm pretty sure a similar result could be achieved in RA2 with plain rules.ini coding.
First try would be CourseLockDuration with a Harrier. If this doesn't work on aircraft, then try ROT between 2 and 16, in hope the special missile flight behaviour of TS still works in RA2.
MY MAN! you are a G Lin Kuei. The invisible muzzle anim coupled with a spawning debris animation does an amazing bullet storm line!
I can't quite get the same inaccuracy effect from that RA1 (i think) missile barrage but playing with the ROT CourseLockDuration and Acceleration is getting there. Does the speed of the Aircraft affect a homing missile accuracy?
MY MAN! you are a G Lin Kuei. The invisible muzzle anim coupled with a spawning debris animation does an amazing bullet storm line!
I can't quite get the same inaccuracy effect from that RA1 (i think) missile barrage but playing with the ROT CourseLockDuration and Acceleration is getting there. Does the speed of the Aircraft affect a homing missile accuracy?
I thought you wanted the bullets to land ahead of the aircraft? If it falls behind, then you're carpet bombing instead aren't you?
Well I used Lin Kuei's long muzzle animation debris spawning trick with a FLH=4000,0,-300 that when used with a dummy weapon with a ROT=0 forces the Aircraft to go on a strafe run and that spawns the debris in a straight line ahead.
Now since I liked the effect I added a ExtraFire.Primary
Code:
[WarthSplit4]
Damage=15 ;75 ;150
ROF=5
Range=20 ;16 ;7;6
Projectile=WarthogRun3 ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=70
Warhead=ORCAAP
Report=IntruderAttack
Burst=2 ;2;1;2
But I can't get it to sweet spot it so it barrages a small wide area.
too high ROT the missiles always hit the same cell, too low and some of them over shoot their target. Might just go with Arcing=yes for the missiles. I just really liked that A10 gif Lin Kuei posted lol QUICK_EDIT
Yeah thats what I ended up using. btw anybody use the Dive= tag from Kratos?
Code:
Dive=yes
Dive.Distance=25 ; the distance to start reducing the height
Dive.Speed=50 ; The amount of height adjustment each time
Dive.Delay=8 ; how many frames to adjust the height
Dive.FlightLevel=300 ; Height from the ground
Dive.PullUpAfterFire=no ; stop adjusting height immediately after firing the weapon
this doesn't have any effect does it need any extra tags? QUICK_EDIT
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