View unanswered posts | View active topics It is currently Wed Dec 25, 2024 5:21 pm



Reply to topic  [ 89 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
 Lua 
Author Message
User avatar

Joined: Mon Feb 11, 2008 4:45 am
Posts: 69
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Lua
Oh, I've already came up.

Image

(No stealing.)


Wed Jul 23, 2008 1:21 am
Profile
User avatar

Joined: Fri Aug 31, 2007 3:57 am
Posts: 227
Location: Canada
Reply with quote
Post Re: Lua
Pong bunker awesome. Would the IRC scene connect to cortex.datarealms.com?


Wed Jul 23, 2008 1:30 am
Profile
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post 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
Profile
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Aug 27, 2007 7:56 pm
Posts: 1186
Location: Scotland
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Lua
http://www.lua.org/manual/5.1/

Isn't exactly infinity.


Sat Jul 26, 2008 10:38 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 89 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.035s | 13 Queries | GZIP : Off ]