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


The time now is Sat Apr 20, 2024 6:43 am
All times are UTC + 0
How to use particles to restrict bomber strafing shots?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Fri Jul 22, 2016 11:38 pm    Post subject:  How to use particles to restrict bomber strafing shots?
Subject description: ...or alternate solutions to achieve the same effect?
Reply with quote  Mark this post and the followings unread

Aircraft with a Primary weapon has a projectile with ROT<2 will strafe over their target, firing their weapon neither more nor fewer than five times before having spent a point of ammo and turning around to return to base (if out of ammo), or re-commence a strafing run (if still holding ammo). The only phenomenon that can interrupt such a strafing run (short of the aircraft being shot down) is the target of the attack being destroyed during the attack, which will cause it to be interrupted and the aircraft to head home.

The weapon being fired five times may not always be desireable.

I've repeatedly heard (ATTN: LKO, perhaps) that the use of a ParticleSystem on a weapon can limit that weapon to being fired less than five times on a strafing run. This would, to my understanding, be explained by the inability of a weapon to fire while a particle system created by a previous instance of it firing is extant, and the instances of a weapon firing during a strafing run that fall within the lifetime of a particle system spawned by that weapon being entirely skipped, rather than delayed until after the particle system has expired (as is the case with other weapons). However, it appears that the second premise is wrong - during a strafing run, weapons are not fired while their particle systems are extant, but the firing is simply delayed until the particle system has expired, then they are fired again, until they have fired five times. No gain towards the intended goal of this method has been made.

So, what's going here? Am I doing it wrong and the particle system must be set up in some specific or different way? Or is this method entirely dysfunctional outside of Tiberian Sun? Or did Ares change something about it?

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat Jul 23, 2016 12:54 am    Post subject: Reply with quote  Mark this post and the followings unread

If you ever watched the original Allied jets firing 5 homing rounds, they will fire at other targets if the target gets destroyed before the last few launch. They won't change their flying course, but the missiles will just go in another direction, even backwards.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
PillBox20
Commander


Joined: 28 Sep 2013
Location: Plovdiv, Bulgaria.

PostPosted: Sat Jul 23, 2016 6:00 am    Post subject: Reply with quote  Mark this post and the followings unread

It does not work in RA2 onwards.
I too wanted to make use of that trick some time ago, but I could not achieve the effect at all.
I have tryed stuff, till I asked LKO for an example code just to find that the trick works for TS-FS ONLY.

Much like you, I have experienced a delayed shots...

Again, Thank you LKO for the help with this!

_________________
"If it ain't broke, don't fix it."
"If you are loyal to everybody, can you truly be loyal to anybody?"
Ares Documentation: http://ares-developers.github.io/Ares-docs/
My YouTube Channel: https://www.youtube.com/channel/UCtxeQoEM_iVd-F-xUIwleyQ
PillBox20's Red Alert 2 Mod: http://www.moddb.com/mods/pillbox20s-red-alert-2/downloads/pillbox20s-red-alert-2-version-02

Back to top
View user's profile Send private message Visit poster's website YouTube User URL Skype Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Jul 23, 2016 9:37 am    Post subject: Reply with quote  Mark this post and the followings unread

The DTA particle trick worked in Ares, I have successfully used it. Although the last Ares version I used was in 0.9.

You might need to give the particle a lot longer lifetime though.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Starkku
Cyborg Commando


Joined: 28 Dec 2007
Location: Finland

PostPosted: Sat Jul 23, 2016 11:29 am    Post subject: Reply with quote  Mark this post and the followings unread

FireOnce=yes restricts it to one shot canceling the strafe run after. Does not work without Ares though, you get an error if you try it.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Twitter Channel URL
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Mon Jul 25, 2016 12:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

This worked. Thanks much.

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
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.1895s ][ Queries: 11 (0.0087s) ][ Debug on ]