Files

> > CS2D > Lua Scripts > Customisable Time Display
Files overviewCS2D overviewLua Scripts overview

English Customisable Time Display >

11 comments8 kb, 474 Downloads

old Customisable Time Display

Cure Pikachu
User Off Offline

Think it's about time I upload something.

This is the time display script to outclass all other time display scripts that I know of, such as file cs2d The Time script , by allowing players to personalise their time display to their liking.

∗ Features (for players) ∗
Open up the menu using your serveraction key 3 (F4 by default) and you can:
• Change the colour of your own time display from a choice of different colours. (24 different colours by default)
• Set the position of the time display
• Change the time/date style of the display
• Change your time display's time zone (screenshot 5)
• Hide your time display from view if you think it's obstructing your view (Don't worry, you can re-enable it anytime). This option is found in the main menu and the first and last page of all sub-menus, except the colour sub-menu! (See below)

Preset colours not good enough for you? In the first and last page of the colour sub-menu is an option called Custom Colour. Select it and be greeted with an interface (screenshot 4) that lets you experiment with up to ~16.8 million colour combinations for your time display!

> Installation
• Extract the contents to your CS2D directory, preserving the archive's folder structure.
• Add these to your servertransfer.lst file in the sys folder:
gfx/yates/lua/shit_colour_menu_2.png
gfx/yates/lua/shit_colour_menu_example.png
gfx/yates/lua/shit_colour_menu_arrow.png


flame Customising this script flame
Colour table >

Position table >

Style table >

Remember to keep at least 1 entry per table! There's no maximum limit to the amount of entries you can have, so add away!
The other settings >

° Adding entries in-game °
It is also possible to add entries while in game with these functions (Only lasts for current session):
addcolour(name,red,green,blue)
addpos(n,xpos,xpos,o)

Execute these using cs2d cmd lua !

> Credits
• user Yates - file cs2d Yates - Shit menu colour/color say/chat changer script and assets
• user Infinite Rain - The code provided in thread cs2d How to Make a Infinite Menu? is the basis for my menu script
• user VADemon - Suggestions
• user Talented Doge - Suggestions

Changelog >
edited 34×, last 13.04.24 04:39:00 am
Approved by Sparty

Download Download

8 kb, 474 Downloads

Comments

11 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

cs2d_is_a_Gem
User Off Offline

I was able to read the full code and it's very good even though it's old.
I like it!

old

The Art Of Killing
User Off Offline

great ! , i have a good idea for your script , why don't you put a (temperature display + Zone Location) , this will make an evolution
I like it!

old

Cure Pikachu
User Off Offline

Nice suggestions you guys. I'll see if I can implement them.

old

_Yank
User Off Offline

colour_optimize should be turned on by default
you should also be able to position the hud without going thru code
I like it!

old

Avo
User Off Offline

Those names of the colours...Persian pink? Chartreuse green? Never heard about them :<

Pretty much what user VADemon said. Try to add that.
I like it!

old

VADemon
User Off Offline

I expected adjustable timezones for players.

old

Infinite Rain
Reviewer Off Offline

Very nice! Would be nice if you added an option to relocate the text for clients.
I like it!

old

Pseudon
User Off Offline

Would be nice if you'd be able to mix the colours.

old

Biusem
User Off Offline

Great! Its very useful for my server!
I like it!

old

Talented Doge
User Off Offline

Would be better adding the following features:
•Change position, default right, players can choose left, top left, top right.
•Choose the style of showing time.

Good one though.
I like it!

old

omg
User Off Offline

wow its really nice Xd
I like it!
edited 1×, last 06.12.15 06:29:55 am
To the start Previous 1 Next To the start