IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Help with scripting, as above need help
stealthg36c
post 10 May 2011, 0:28
Post #1



Group Icon

Group: Members
Posts: 5
Joined: 13 April 2010
From: dorset
Member No.: 936
emp in human form.



I've been trying to script a map to use on rise of the reds, 8 players.

I wanted to script it so that every 30 seconds players receive $10000 until they had $1,000,000 where as the game would end.
I have scripted a text intro, then the money script, promotions and finally a broken radar script.

Problem is, either the map works with (a) broken radar script working but nothing else or (cool.gif all 4 work and the game dies a "mismatch" within 30 seconds.

Need help trying to get it working please anyone?

PS:Sorry i've just realised its in the wrong forum-sub forum sad.gif

This post has been edited by stealthg36c: 10 May 2011, 0:32
Go to the top of the page
 
+Quote Post
Casojin
post 18 May 2011, 10:59
Post #2



Group Icon

Group: Members
Posts: 584
Joined: 29 June 2009
From: Thailand
Member No.: 222



Use frame timer instead of second timer. Actual frame/second on each computer is not a fixed value (but humans barely notice as difference might be in millisecond). During lag, some computers might have slower frame/second. That causes mismatch (as the same script would be activate at different time on each computer).

By estimate: 30 frames = 1 second


--------------------
CASOJIN

Go to the top of the page
 
+Quote Post
stealthg36c
post 22 May 2011, 0:50
Post #3



Group Icon

Group: Members
Posts: 5
Joined: 13 April 2010
From: dorset
Member No.: 936
emp in human form.



QUOTE (Casojin @ 18 May 2011, 10:59) *
Use frame timer instead of second timer. Actual frame/second on each computer is not a fixed value (but humans barely notice as difference might be in millisecond). During lag, some computers might have slower frame/second. That causes mismatch (as the same script would be activate at different time on each computer).

By estimate: 30 frames = 1 second


Thank you, i'll try that and let you know how it went wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 27 April 2024 - 0:19