Posted: Tue Jul 16, 2019 7:52 am Post subject:
Soviet spy-plane flying in circles?
Subject description: any way to do that?
i played numerous mods for YR and once i noticed soviet spy plane doesn't simply flyby, but makes 1-2 circles on place or makes half-circle and flies back. it happened unpredictable and i didn't find any info about such spy plane behaviour.
maybe smb knows some ways to make spy plane do several circles on pointed location? actually any info about making plane to stay in place(like speed slow-down) would be welcome too. Last edited by rey on Sun Aug 09, 2020 8:46 pm; edited 1 time in total QUICK_EDIT
i would look at [SPYP] for the spyplane
notice that it has
Code:
Primary=SpyCameraWeapon
Ammo=100
FlyBy=true ;GEF Don't slow down over your target
then check out the weapon
Code:
[SpyCameraWeapon]
Damage=6;range of shroud to reveal
Range=20;howfar away to start revealing
Burst=1
Projectile=InvisibleHigh
Warhead=DummyWarhead
Report=SpyPlaneSnapshot
Then notice that it has no ROF, thus most likely shoots with ROF=1 and this way probably depletes its Ammo=100 very quick.
Then i would start playing around with the weapon and the aircraft settings. Like giving it ROF=10 to see if it then takes 10 times longer to finish the attack, this way forcing it into multiple attack runs which probably also make it move several circles.
Things to try would be giving the plane
FlyBy=no
IsDropship=yes
SlowdownDistance=1000
DeaccelerationFactor=0.1
AccelerationFactor=0.1
see tiberian sun rules.ini for examples. RA2 is dumbed down and doesn't use these keys that much (or at all), making most units use the same default settings. _________________ SHP Artist of Twisted Insurrection: Nod buildings
thanks for advices, but it seems to be some unpredictable magic.
i'll open cards: i noticed behaviour i got interested in while playing Mental Omega mod(plane makes circles sometimes or even makes a long turn and flies back), comparared everything to code of Red Ressurection mod where i tried to add this behaviour, but whatever i do in RR plane simply flies forward, no turns, no circles, even after i tried to copy most parameters of MO variant.
only FlyBy=no makes a tiny slowdown for few moment, change of ROF makes no difference at all too. QUICK_EDIT
Seeing as you're modding another mod, it's possible the values you set are being overridden somewhere you forgot to chk, like the map itself or the MP INIs.
I don't know if RR does it, but the #include feature and the overrides/extensions it allows are fancy enough to warrant every mod using them. I'm guessing RR is. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
@TAK02 thanks for a hint, didn't know there are some global things influencing all units, i thought it's just about a code of unit or special power. 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