Project X Forums



It is currently Tue May 07, 2024 3:40 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: VARIABLE WIND (new wind every 2-20 sec, random choose)
PostPosted: Fri Jan 04, 2013 9:57 pm 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
Can`t wait good wind? Now it will update when your worm is still active. Catch the wind you want and hit your opponent! But hurry, wind value will change randomly from 2 to 20 seconds!

Wind changes very slow and smooth


Attachments:
File comment: random timer here works from 10 secs to 40 secs.
p_wind_(10_40).rar [639 Bytes]
Downloaded 404 times
File comment: version: 06.01.2013
fixed: crazy wind changing when many players
added: very slow and smooth wind change.

p_wind.rar [631 Bytes]
Downloaded 428 times

_________________
Things to impress.


Last edited by PyroMan on Mon Jan 07, 2013 1:39 am, edited 1 time in total.
Top
 Profile  
Reply with quote  
 Post subject: Re: VARIABLE WIND (new wind every 2-20 sec, random choose)
PostPosted: Sun Jan 06, 2013 3:22 pm 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
Updated.

_________________
Things to impress.


Top
 Profile  
Reply with quote  
 Post subject: Re: VARIABLE WIND (new wind every 2-20 sec, random choose)
PostPosted: Sun Jan 06, 2013 11:17 pm 
Offline

Joined: Fri Feb 26, 2010 4:44 pm
Posts: 92
I noticed that 2 seconds to 20 seconds is too short as change wind....
what row number of the script p_wind i can change to make it at 10 seconds to 30 seconds?


Top
 Profile  
Reply with quote  
 Post subject: Re: VARIABLE WIND (new wind every 2-20 sec, random choose)
PostPosted: Mon Jan 07, 2013 1:36 am 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
Atr0x wrote:
I noticed that 2 seconds to 20 seconds is too short as change wind....
what row number of the script p_wind i can change to make it at 10 seconds to 30 seconds?


Code:
if (WindDelay == 1) varWind = RandomInt(150, 1000);


this Row.

its set in frames. 50 frames in PX worms = 1 second. apparently 150 = 3 secs (yes, i lied about 2 to 20, its 3 to 20), 1000 = 20 secs.

no need, i`ll change myself and post as separate lib. im agree with ya :D
choosing those or other lib wil allow to choose between them.

_________________
Things to impress.


Top
 Profile  
Reply with quote  
 Post subject: Re: VARIABLE WIND (new wind every 2-20 sec, random choose)
PostPosted: Mon Jan 07, 2013 6:48 am 
Offline

Joined: Fri Feb 26, 2010 4:44 pm
Posts: 92
good!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 78 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane