UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Simple script help

broken avatar :(
Created 7 years ago
by Pieternba2k
0 Members and 1 Guest are viewing this topic.
1,640 views
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 7 March 2016
Last active: 5 years ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Love 4 Custom zombies
Signature
My maps:
Pietercity v1.0
Matrix V1.1
×
Pieternba2k's Groups
Pieternba2k's Contact & Social Linksbasketlbalpro-96PieternbaPieternba2kLove4theGame
Hello everyone,

I was wondering if its possible to display a timer on the screen, that would counts from 5 minutes to zero, as that is what im gonna use. My scripting knowledge is basically zero, so if someone wants to help me out, thankyou

Thanks
Last Edit: August 08, 2017, 06:47:34 am by Pieternba2k
Marked as best answer by Pieternba2k 7 years ago
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 3 years ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) paypal.me/F3ARxReaper666
discord server:
https://discord.gg/tsGHW99
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
this is definitely possible, but with waw theres a string limit and something like this would break it im pretty sure. best way to do it would be through menu files as they dont add to this limit.
with the string limit as i mentioned, each time the timer changes, thats a new string, 5 minutes would be around 300 strings alone.
menu files a lot of people can mess up easily too, if you want to continue i can probably make a simple tutorial for adding a menu timer
Last Edit: August 08, 2017, 06:58:46 am by death_reaper0
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 3 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
you should use the timer hud element which once set will count down but you will need to delete the timer hud element once it reaches 0,this is how the campaign does timers.

Or even use the clock hud element which is what is used for the stopwatch in der riese . it can have any time set for the max time.

Timer:
http://ugx-mods.com/script/#core.HUD.setTimer

Timer with tenths of seconds shown:
http://ugx-mods.com/script/#core.HUD.setTenthsTimer

clock:
http://ugx-mods.com/script/#core.HUD.setClock
Last Edit: August 14, 2017, 06:51:14 pm by buttkicker845
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 7 March 2016
Last active: 5 years ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Love 4 Custom zombies
×
Pieternba2k's Groups
Pieternba2k's Contact & Social Linksbasketlbalpro-96PieternbaPieternba2kLove4theGame
you should use the timer hud element which once set will count down but you will need to delete the timer hud element once it reaches 0,this is how the campaign does timers.

Or even use the clock hud element which is what is used for the stopwatch in der riese . it can have any time set for the max time.

Timer:
http://ugx-mods.com/script/#core.HUD.setTimer

Timer with tenths of seconds shown:
http://ugx-mods.com/script/#core.HUD.setTenthsTimer

clock:
http://ugx-mods.com/script/#core.HUD.setClock
Thanks appreciate the help :)

 
Loading ...