Dateien

> > CS2D > Lua Scripts > VisualLua [v1.3]
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch VisualLua [v1.3] >

119 Kommentare7 kb, 1.476 Downloads

alt 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:
Mehr >


Examples of usage:
Mehr >


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.
6× editiert, zuletzt 10.03.15 14:48:50
Zugelassen von Starkkz

Download Download

7 kb, 1.476 Downloads

Kommentare

119 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 4 5 6 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Tajifun
User Off Offline

Okay, that's by far the best own-usage script I've ever seen.
Thank ya so much for sharing. It's amazing!
Ich mag es!

alt

Surplus
User Off Offline

Wich he will probrably do, like he does with every script he gets e_e
Ich mag es!

alt

Quit123
User Off Offline

ok thx man GooD Luck you good lua maker
Ich mag es!

alt

EngiN33R
Moderator Off Offline

Well this script is made so you could edit it to fit to your needs. Don't claim the edited version as yours though.

alt nice

Quit123
User Off Offline

can i edit ? it please ohhh and GooD Luck
Ich mag es!

alt

EngiN33R
Moderator Off Offline

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.

alt

ArChaLV
User Off Offline

This Script not working!How to make it work?Please help!
1× editiert, zuletzt 21.05.11 17:22:07

alt

Andrez
User Off Offline

Fucking awesome

5/5!
Ich mag es!

alt

Picias
BANNED Off Offline

Tobey
i try it too
but its fail

alt I lol'd

CY
Reviewer Off Offline

At the comment below, oh yes. Another great upload by Sir Engy!
Ich mag es!

alt

RAVENOUS
BANNED Off Offline

Stupid Picias hat geschrieben
dofile("sys/VisualLua.lua)"


Boy, it's

1
dofile("sys/lua/VisualLua.lua)"
Ich mag es!

alt

Picias
BANNED Off Offline

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..
-,-

alt

DannyDeth
User Off Offline

Oh, come on, Picias. It works fine, you just don't know how to GET it working. Scripts do not just magically work!
Ich mag es!

alt

Picias
BANNED Off Offline

help me good man
its not work -,-

alt

DannyDeth
User Off Offline

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 ).
Ich mag es!

alt

EngiN33R
Moderator Off Offline

You put everything that's inside the visuallua directory in the archive in your CS2D folder.

alt

Picias
BANNED Off Offline

Man , help me where i put this -,-


Mehr >

alt

Infinite Rain
Reviewer Off Offline

Great, that script is nice!
BTW
LoRdEnPeRoR
If u cant use scripts just stfu and leave it...
Ich mag es!

alt

EngiN33R
Moderator Off Offline

@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)
2× editiert, zuletzt 17.05.11 06:56:29
Zum Anfang Vorherige 1 2 3 4 5 6 Nächste Zum Anfang