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 Fri Apr 19, 2024 12:51 am
All times are UTC + 0
Primary and secondary weapon
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Fri Sep 25, 2009 3:23 pm    Post subject:  Primary and secondary weapon Reply with quote  Mark this post and the followings unread

I'm trying to give a unit both a primary and a secondary weapon, both being anti-ground weapons. I've given the secondary weapon a longer range than the primary, and a very long reload time so it can be fired only rarely. I'm getting some mixed results with this. The unit fires the secondary first, then starts to move in to use the primary, but once it gets within the range it simply stops doing anything. I'm guessing its waiting to reload the secondary weapon. Giving the secondary weapon a minimum range longer than the primary weapon range does not help either. Same thing happens. The way I would want it to work is that the unit fires the secondary first, then uses the primary until the secondary is available again. That, or simply use the secondary first, then keep using the primary until given a new target. Any way to get the unit to behave like this? I've messed around quite a lot with the ranges, minimumranges and ROF, and haven't got it to work 100%. Best I got the unit would force fire the primary, and use the secondary on real targets.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Sep 25, 2009 4:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

I doubt that this is possible.
Primary and Secondary are coexistent and not independent from each other. That's why Primary has to wait until the Secondary reloaded. Then Primary can start firing and use its own reload rate.

What you could try is using Burst and BurstDelay on the long range Secondary.
An aborted burst shot allows a unit to fire again, thus with a high BurstDelay (same as ROF), the Secondary should abort its burst when the Primary comes close enough and in turn allow Primary to start fire instantly. But i'm not sure as i haven't tested this.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 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.1473s ][ Queries: 11 (0.0080s) ][ Debug on ]