Files

> > CS2D > Lua Scripts > VisualLua [v1.3]
Files overviewCS2D overviewLua Scripts overview

English VisualLua [v1.3] >

119 comments7 kb, 1,567 Downloads

old VisualLua [v1.3]

EngiN33R
Moderator Off Offline

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.
edited 6×, last 10.03.15 02:48:50 pm
Approved by Starkkz

Download Download

7 kb, 1,567 Downloads

Comments

119 comments
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

old

Infinite Rain
Reviewer Off Offline

@user EngiN33R:
I Lol'd
@Lubo
Well, lubo. You need simple knowledge in Lua to make this script working.
I like it!

old

EngiN33R
Moderator Off Offline

@user Lubo: If you don't understand a shit from lau, it's probably not the right tool for you, unless you have the need to make custom interfaces - then you'll have to begin understanding at least a shit from lau.

old

Lubo
User Off Offline

I have to ask.
Can some one like me, that don't understand a shit from lau, can use it?

old

Zurak
User Off Offline

thats a long way you went with lua there. very advanced, good job bratok
I like it!

old

Infinite Rain
Reviewer Off Offline

I don't see the sense of using ms100 there. Useless.
I like it!

old

Avo
User Off Offline

Make it with text editing.
I like it!

old

robed
User Off Offline

can you show an tutorial how to make an inventory where you can store weapon id stuffs on it?
I like it!

old

EngiN33R
Moderator Off Offline

@user Trixx: The VisualLua library is only server-side, so people don't have to download it to see your stuff - you probably didn't put all graphics that you used for your windows and buttons in servertransfer.lst.

old

DevGru
User Off Offline

user Trixx has written
I suggest that you should message DC to update everyone's CS2D


@user Trixx: Why don't you message him?
I like it!

old

Trixx
User Off Offline

I suggest u message DC to update all The CS2D of players to put this visual lua to all players cuz when someone join my server(my server has a visual lua), they dont see some of my luas and features. I keep saying download visual lua but some ppl nowadays just dont listen. Pls put this to all CS2D of players. (sorry for my bad english)
I like it!

old

Ridho
User Off Offline

too complicated for me, but the script is very good
I like it!

old niceeeeeeee

escarabajo
User Off Offline

LOL nice job nice lua
nice me ? sorry xd
like it
I like it!

old

Misho
User Off Offline

i watched your Video about this Lua.
It's Cool Window mod, Epic!
Watch this video if you don't get the idea.
VIDEO
I like it!

old

Pirtyu
User Off Offline

Ok download and use yes really good
I like it!

old

EngiN33R
Moderator Off Offline

I uploaded a version with a very major bug fixed concerning multi-player game. To everyone using this library in their mods - please update!

old

Pirtyu
User Off Offline

I just looked at the picture
I downloaded does not
I like it!

old

EngiN33R
Moderator Off Offline

Thank you for the positive feedback.

@user Pirtyu: Please elaborate, what do you think should be added/changed/fixed?

old

Pirtyu
User Off Offline

the 3. pic very awesome!
but the script not very good
I like it!

old

Jezis
User Off Offline

Hey man!
You are really good
I like it!
To the start Previous 1 2 3 4 5 6 Next To the start