Forum

> > CS2D > General > I want to learn how to IN-GAME LUA SETTING
Forums overviewCS2D overviewGeneral overviewLog in to reply

English I want to learn how to IN-GAME LUA SETTING

7 replies
To the start Previous 1 Next To the start

old Re: I want to learn how to IN-GAME LUA SETTING

DC
Admin Off Offline

Quote
1. Please don't post unrelated stuff (like a list of files you've done) when asking questions. Please. Everyone who wants to see your files can simply click at your profile. It's not necessary to post lists of it

2. I don't really get your question. Please try to explain what exactly you want to do. Do you want to learn how to script something in Lua or do you just want to change some settings in-game? Or do you want to change Lua settings/variables in-game?

old Re: I want to learn how to IN-GAME LUA SETTING

THEMUD
User Off Offline

Quote
• If you want to learn how to program in Lua, here is the website:
Click here!

• If you want a framwork for programming a 2D games within Lua, here is the website:
Click here!

• If you want to know how to launch a Lua file in your server, here is the tutorial:

> First, go to your cs2d folder.
> Then, go to /sys/lua/, and put your specific file.
> After that, in the same path open a file called server.lua .
> Put this command after the last line:
1
dofile ("sys/lua/yourfilename.lua")
> Done!

I hope that I helped yoy.

old Re: I want to learn how to IN-GAME LUA SETTING

GeoB99
Moderator Off Offline

Quote
I don't really get the point too, with your poor english we can't understand exacly what is the problem or to fulfil something that you want.
I'm pretty sure you mean how to manipulate a lua script trough the game while are you playing (and i don't know to be precise if is possible but may be done with a sophisticated script like @user Bowlinghead already said but which isn't in File Archive or it might be but with a different name but i will try again to search it) or you mean how to execute a script through the server with the command cs2d cmd lua (which you can execute a script in the game without writting the dofile).

Otherwise we can't help you at all what do you mean exacly in this thread.
@user eledah: This command is commonly used to execute a script instead of manipulating it while are you in game.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview