Author |
Message |
Hariku
Joined: Mon Feb 11, 2008 4:45 am Posts: 69
|
Re: Lua
This Lua thing sounds pretty cool. Can't wait to see what the modders can come up with.
|
Tue Jul 22, 2008 7:24 pm |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
Re: Lua
Oh, I've already came up. (No stealing.)
|
Wed Jul 23, 2008 1:21 am |
|
|
octyl
Joined: Fri Aug 31, 2007 3:57 am Posts: 227 Location: Canada
|
Re: Lua
Pong bunker awesome. Would the IRC scene connect to cortex.datarealms.com?
|
Wed Jul 23, 2008 1:30 am |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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.
|
Wed Jul 23, 2008 1:32 am |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
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.
|
Wed Jul 23, 2008 1:42 am |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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.
|
Wed Jul 23, 2008 1:45 am |
|
|
Mind
Joined: Thu Mar 06, 2008 10:54 pm Posts: 1360 Location: USA
|
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?
|
Fri Jul 25, 2008 9:23 pm |
|
|
Krumbs
Joined: Mon Aug 27, 2007 7:56 pm Posts: 1186 Location: Scotland
|
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.
|
Fri Jul 25, 2008 9:57 pm |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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).
|
Fri Jul 25, 2008 11:13 pm |
|
|
Mind
Joined: Thu Mar 06, 2008 10:54 pm Posts: 1360 Location: USA
|
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?
|
Sat Jul 26, 2008 10:32 pm |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
Re: Lua
|
Sat Jul 26, 2008 10:38 pm |
|
|
Mind
Joined: Thu Mar 06, 2008 10:54 pm Posts: 1360 Location: USA
|
Re: Lua
Lord Tim wrote: http://www.lua.org/manual/5.1/
Isn't exactly infinity. Figure of speech, but there are A LOT
|
Sat Jul 26, 2008 10:44 pm |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
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.
|
Sat Jul 26, 2008 10:52 pm |
|
|
Daman
Joined: Fri Jan 26, 2007 3:22 am Posts: 1451
|
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.
|
Fri Aug 01, 2008 2:14 am |
|
|
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|