Data Realms Fan Forums
http://forums.datarealms.com/

Lua
http://forums.datarealms.com/viewtopic.php?f=73&t=11226
Page 6 of 6

Author:  Hariku [ Tue Jul 22, 2008 7:24 pm ]
Post subject:  Re: Lua

This Lua thing sounds pretty cool. Can't wait to see what the modders can come up with.

Author:  Lord Tim [ Wed Jul 23, 2008 1:21 am ]
Post subject:  Re: Lua

Oh, I've already came up.

Image

(No stealing.)

Author:  octyl [ Wed Jul 23, 2008 1:30 am ]
Post subject:  Re: Lua

Pong bunker awesome. Would the IRC scene connect to cortex.datarealms.com?

Author:  robolee [ Wed Jul 23, 2008 1:32 am ]
Post subject:  Re: Lua

So have I, in fact I have already written one theory lua script, all I will need to do is correct mistakes when B21 comes out. I will be the FIRST guy to make a multi functional portal gun (complete with zero point gravity manipulator). I have all the bmp's and .ini all done, I'm just waiting... always waiting and watching, and then BAM!

edit: the way the score looks to me: "|:D"
edit2: literally all I need to add is the actual portal code, and as I said I already have a theory code based on EVERYTHING data has announced.

Author:  Lord Tim [ Wed Jul 23, 2008 1:42 am ]
Post subject:  Re: Lua

octyl wrote:
Pong bunker awesome. Would the IRC scene connect to cortex.datarealms.com?


Only of course!

robolee wrote:
So have I, in fact I have already written one theory lua script, all I will need to do is correct mistakes when B21 comes out. I will be the FIRST guy to make a multi functional portal gun (complete with zero point gravity manipulator). I have all the bmp's and .ini all done, I'm just waiting... always waiting and watching, and then BAM!

edit: the way the score looks to me: "|:D"
edit2: literally all I need to add is the actual portal code, and as I said I already have a theory code based on EVERYTHING data has announced.


Have you actually coded in Lua before? You should check out löve. You can at least write in Lua first that way, and see the results.

Author:  robolee [ Wed Jul 23, 2008 1:45 am ]
Post subject:  Re: Lua

Yes, I have coded in Lua before, I'm learning OpenGL right now, I'm quite multi-functional one might say.


Lua is VERY easy to learn.

Author:  Mind [ Fri Jul 25, 2008 9:23 pm ]
Post subject:  Re: Lua

robolee wrote:
Yes, I have coded in Lua before, I'm learning OpenGL right now, I'm quite multi-functional one might say.


Lua is VERY easy to learn.

WHERE DID YOU LEARN IT?

Author:  Krumbs [ Fri Jul 25, 2008 9:57 pm ]
Post subject:  Re: Lua

Grif wrote:
Lua will, for one, enable you to declare flexible variables, and do logical arguments. In other words, I can make a script that says that:

if <something happens> then <something happens>
but if <nothing happens> then <something else happens>

That, along with triggers, which enable a modder to (shocking) trigger an event, action, or movement based on something else, true ingame logic, checking, and flexible modification of normally hardcoded variables while in-game promises some very unique modding possibilities.

When you get right down to it, really, damn near anything is possible in Lua.

Data himself said on IRC a few weeks ago that, and I quote "Lua is just so goddamn powerful".


So you would be able to basically code you're own missions and things like that? That would pretty amazing if so, look forward to what people make.

Author:  robolee [ Fri Jul 25, 2008 11:13 pm ]
Post subject:  Re: Lua

The Mind wrote:
robolee wrote:
Lua is VERY easy to learn.

WHERE DID YOU LEARN IT?


There's no point me giving you tutorials as every game implement it differently, and you will figure it out within a couple of days of release anyway (especially since data is supposedly going to make a wiki article on it, as well as providing sample scripts).

Author:  Mind [ Sat Jul 26, 2008 10:32 pm ]
Post subject:  Re: Lua

robolee wrote:
The Mind wrote:
robolee wrote:
Lua is VERY easy to learn.

WHERE DID YOU LEARN IT?


There's no point me giving you tutorials as every game implement it differently, and you will figure it out within a couple of days of release anyway (especially since data is supposedly going to make a wiki article on it, as well as providing sample scripts).

But aren't there like infinity functions?

Author:  Lord Tim [ Sat Jul 26, 2008 10:38 pm ]
Post subject:  Re: Lua

http://www.lua.org/manual/5.1/

Isn't exactly infinity.

Author:  Mind [ Sat Jul 26, 2008 10:44 pm ]
Post subject:  Re: Lua

Lord Tim wrote:
http://www.lua.org/manual/5.1/

Isn't exactly infinity.

Figure of speech, but there are A LOT

Author:  Lord Tim [ Sat Jul 26, 2008 10:52 pm ]
Post subject:  Re: Lua

Most of them you'll never use. The most used ones are in the table, math, and string classes. Other than that, and occasionally some I/O, all you need to know is the syntax.

Author:  Daman [ Fri Aug 01, 2008 2:14 am ]
Post subject:  Re: Lua

Falcon X wrote:
Devlog wrote:
Thanks to the Swedish geniuses at Rasterbar (recommended to us by Klei), we have managed to expose almost all of our internal classes and interfaces to the Lua environment now running in the system. This will eventually mean that some of you will literally be able to create entire new games with the Cortex Command engine by writing elaborate Lua scripts in addition to the content mods and addons you have been limited to so far.


Next time you talk about what Data is doing, try reading what he is actually doing.


What are you even talking about, that is EXACTLY what I said minus the russian, they are nazis or whatever instead.

Next time don't post?


@The Mind

It doesn't take long to learn the syntax and functions you commonly use. Chances are you won't use every function in any single script, ever.

Page 6 of 6 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/