Thread
:
Timer v16 - includes: Timer, Day/Night, Weather
View Single Post
Plugin Info:
Modification:
Category:
Approver:
Johnny got his gun (102)
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
07-17-2004 , 22:35 Timer v16 - includes: Timer, Day/Night, Weather
#
1
This plugin offers a wide array of features to aid in the simulation of a real world enviroment. I divide them into three basic area's:
General:
Update: Just added a cvar to disable parts of the hud bar
To Do:
Add Fog
Add Hail
Add Wind
Inside but looking outside effects
CVARS
sv_timer_flags (abc) - Enable specific parts of Timer v16.
a = Timer
b = Day/Night
c = Weather
Timer:
Timer creates a fake data/system, and displays it.
It includes:
A full date system (minutes to years) + seasons
Temperature system w/ sloping temperature system
AM/PM time or military time
Defaults to current time outside game when no current time is made
Saves time to a quick and effecient vault system
Quick turn off ( Just remove the A from sv_timer_flags )
Updated:
Cvar added for taking out the hud bar
Cvar added for updating hud bar
Command made for reset time to current outside time
Commands:
change_time <minutes> <hours> <AM/PM> <days> <months> <years>
default_time
Fixed:
Stupid bugs that broke time when it ran for an extended time
Command for setting time manually is fixed
Temperature handling fixed
Various small errors fixed
CVARS:
sv_military_time (0|1) - Enable military time
sv_hourlength (int) - Length of the hour
sv_update_time (float) - How quickly the hud updates
sv_timer_bar (a-h) - Defines what elements are included in the bar:
a = minutes
b = hours
c = days
d = months
e = years
f = temp
g = weather type
h = seasons
Day/Night:
Day/Night, which can function in compliment to Timer or as a stand alone, changes the lighting of the map to match either the fake date set by Timer, or the time outside your window.
It includes:
It changes lights based on time. What else really is there?
Command to set lights manually
Updates:
Added a cvar to stop it day/night.
Added the option to set the day/light change to be based on the real world time.
Commands:
amx_setlight <1-26>
Fixes:
Turning off the lights now sets it to #OFF
No more stupid overruns of the sequence constant.
CVARS:
sv_real_lights (0|1) - lights based on real life or timer
If day/night is based on timer, all the timer commands will effect it.
Weather:
Adds weather type effects to HL and its mods.
Very straightforward
Updates:
Removed laggy rain
Removed laggy snow
Removed laggy (wrath of god) thunderstorms
Added new lagless versions of above things.
Commands:
amx_rain <time> <frequency>
amx_snow <time> <frequency>
amx_thunderstorm <time> <frequency>
Fixes:
No more crashing or lag
CVARS:
- How many snow sprites at any 0.1 seconds? Above 10 will lag.
sv_snow_multiplier - (2)
- How many rain sprites at any 0.1 seconds? Above 50 will lag
sv_rain_multiplier - (25)
- How will the sprites be handled? Different values render different effects
sv_weather_aim - (0-4)
- Only make weather effects to those outside?
sv_check_outside - (0|1)
NOTES:
Derailing may occur if you fuck up with the date
The settings are at optimium currently
Weather is a LITTLE um....predictable. Its really a quick hack job.
It doesnt lag though, I tested with a whole lot of people, so thats good.
Have fun with it.
Attached Files
Get Plugin
or
Get Source
(timer16.sma - 11282 views - 27.3 KB)
sprites.rar
(3.6 KB, 7743 views)
__________________
.png" rel="nofollow noopener">
Twilight Suzuka
View Public Profile
Send a private message to Twilight Suzuka
Find More Posts by Twilight Suzuka