English VisualLua [v1.3] icon

119 comments
16.05.11 08:21:49 pm
like 59 like it!
7 kb, 1,082 Downloads
EngiN33R
Moderator
Offline Off
Some of you have probably noticed that CS2D has few UI functions. It's not enough for me, so I decided to make UI functions myself. And therefore, behold - the VisualLua mod!

Sorry everyone, the window creating function was absent in the uploaded version! Thanks to user tom282f3 for pointing that out. Updated now.

Features:
√ Create UI elements - windows, buttons, text
√ Customize them any way you want - style sheet tables
√ Hover and click states for buttons
√ Assign ANY Lua functions to buttons - they will be executed on button click

Documentation about style sheet tables is INSIDE the archive in a txt file. Read it if you want to add your own styles.

Comments about usage of functions and their arguments are in the script before every function.

Write anything that's not clear to you in the comments - I'll gladly explain.

Video preview: http://www.youtube.com/watch?v=WKPjjVrtNog

Style tables documentation:
More >


Examples of usage:
More >


EDIT 1: If box versions of this are ever to be released, then they'll probably look like the third image

Download, rate and comment, but most importantly - have fun.
imageimageimage
edited 6×, last 10.03.15 02:48:50 pm
ok This file has been reviewed and approved by Starkkz (29.11.15 02:44:45 pm)

Comments

119 comments
Goto Page
To the start Previous 1 2 3 4 5 6 Next To the start

Log in!

You need to log in to be able to write comments!Log in
22.05.11 01:53:45 pm
like I like it!
Up
Tajifun
User
Offline Off
Okay, that's by far the best own-usage script I've ever seen.
Thank ya so much for sharing. It's amazing!
22.05.11 07:22:54 am
like I like it!
Up
Surplus
User
Offline Off
Wich he will probrably do, like he does with every script he gets e_e
21.05.11 08:03:35 pm
like I like it!
Up
Quit123
User
Offline Off
ok thx man GooD Luck you good lua maker
21.05.11 06:26:33 pm
Up
EngiN33R
Moderator
Offline Off
Well this script is made so you could edit it to fit to your needs. Don't claim the edited version as yours though.
21.05.11 05:57:39 pm
like I like it!
Up
Quit123
User
Offline Off
can i edit ? it please ohhh and GooD Luck
21.05.11 05:16:47 pm
Up
EngiN33R
Moderator
Offline Off
Thanks for ruining the rating.

You put the content of the visuallua folder into your CS2D folder. You won't see any changes in the game, this script is mostly for experienced scripters!

If the script doesn't work FOR YOU it doesn't mean it deserves 1 star.
21.05.11 04:36:35 pm
Up
ArChaLV
User
Offline Off
This Script not working!How to make it work?Please help!
edited 1×, last 21.05.11 05:22:07 pm
17.05.11 08:35:56 pm
Up
Picias
BANNED
Offline Off
Spoiler >


Lol -,-
17.05.11 06:45:29 pm
like I like it!
Up
Andrez
User
Offline Off
Fucking awesome

5/5!
17.05.11 06:01:29 pm
Up
Picias
BANNED
Offline Off
Tobey
i try it too
but its fail
17.05.11 04:21:40 pm
like I like it!
Up
CY
Reviewer
Offline Off
At the comment below, oh yes. Another great upload by Sir Engy!
17.05.11 04:16:24 pm
like I like it!
Up
RAVENOUS
BANNED
Offline Off
Stupid Picias has written:
dofile("sys/VisualLua.lua)"


Boy, it's

Code:
1
dofile("sys/lua/VisualLua.lua)"
17.05.11 03:31:54 pm
Up
Picias
BANNED
Offline Off
i know its work
but i dont know where i put it
i puted it in server.lua its not work
i puted it in sys/lua
and write in server.lua
dofile("sys/VisualLua.lua)"
and its not work..
-,-
17.05.11 03:22:31 pm
like I like it!
Up
DannyDeth
User
Offline Off
Oh, come on, Picias. It works fine, you just don't know how to GET it working. Scripts do not just magically work!
17.05.11 03:11:31 pm
Up
Picias
BANNED
Offline Off
help me good man
its not work -,-
17.05.11 02:22:34 pm
like I like it!
Up
DannyDeth
User
Offline Off
Nice, Engi Imma check out this source code, by the looks of things you made it image-based ( I highly doubt you made it in another fashion ).
17.05.11 12:01:07 pm
Up
EngiN33R
Moderator
Offline Off
You put everything that's inside the visuallua directory in the archive in your CS2D folder.
17.05.11 11:01:59 am
Up
Picias
BANNED
Offline Off
Man , help me where i put this -,-


More >
17.05.11 08:05:07 am
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
Great, that script is nice!
BTW
LoRdEnPeRoR
If u cant use scripts just stfu and leave it...
17.05.11 06:35:56 am
Up
EngiN33R
Moderator
Offline Off
@KimKat
I think I put a comment before every function explaining how to use it, what do the arguments mean and what are their possible values. I can as well post examples.

Welcome window, as I mentioned in the video preview, isn't in the final release, it was purely for testing purposes. I may as well use it as the example for creating windows and all these things.

@LoRdEnPeRoR Durr, thanks for ruining my mod overall rating, pardn'r.

EDIT 1: Now added style tables documentation and examples of the script usage (Welcome screen yay)
edited 2×, last 17.05.11 06:56:29 am
To the start Previous 1 2 3 4 5 6 Next To the start