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 3:58 am
All times are UTC + 0
CoolDown weapon time
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
pitvenin
Civilian


Joined: 22 Nov 2009

PostPosted: Wed Dec 16, 2009 10:32 pm    Post subject:  CoolDown weapon time Reply with quote  Mark this post and the followings unread

Let's say I have unit with a powerfull minigun but I want to make the weapon have a cooldown time if the weapon has fired for to long..How do I do that, or at least how do I make it reload when the unit is not firing for 1-2 secs?

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Thu Dec 17, 2009 1:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Give it a clipsize but don't play a reload sound. So that it looks like its overheated.
Also reload if idle (dunno the name of the attribute atm, just look in the xsd)

_________________

Back to top
View user's profile Send private message Skype Account
pitvenin
Civilian


Joined: 22 Nov 2009

PostPosted: Thu Dec 17, 2009 3:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

That's what I have so far but the AutoReloadWhenIdleSeconds dosen't help that good, as this only works when the unit is idle si not selected, so for example lets the unit has 5 bullets left and has nothing to shoot at but you keep it selected for 1-2 minutes then you put it to shoot again....after a 5 bullets shot, the "cooldown" effect kick in. Thats what I'm trying to fix, don't know how this works:InstantLoadClipOnActivate but it dosen't seem to have any effect on the weapon...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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.2119s ][ Queries: 11 (0.0085s) ][ Debug on ]