Author |
Message |
wabash1
Joined: Wed Oct 11, 2006 3:34 am Posts: 6
|
Lua
The addition of LUA would help create many things, say even, The possibility of changing models, which could be useful for vehicles, (Like helicopters), it could create ways to glue things together (Deliver mechs and such to bases with certain dropships or trucks?) The possibility of scripted actions, like an RPG, or a deathmatch, the possibility to have an AI base, (possibility, lua can probably do this), more effects also.
|
Fri Feb 09, 2007 7:25 pm |
|
|
MaximDude
Joined: Wed Nov 22, 2006 3:19 pm Posts: 2073
|
Dosent lua ony work with HL2 and Gmod?
I dont think it will be possible to add lua to CC
|
Fri Feb 09, 2007 7:31 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software.
Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.
A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing features, instead of providing a host of features directly in the language. For example, although Lua is not a pure object-oriented language, it does provide meta-mechanisms for implementing classes and inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the language small, while allowing the semantics to be extended in unconventional ways. Extensible semantics is a distinguishing feature of Lua.
Lua is a language engine that you can embed into your application. This means that, besides syntax and semantics, Lua has an API that allows the application to exchange data with Lua programs and also to extend Lua with C functions. In this sense, Lua can be regarded as a language framework for building domain-specific languages.
Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost. The result is a fast language engine with small footprint, making it ideal in embedded systems too.
Lua is designed and implemented by a team at PUC-Rio, the Pontifical Catholic University of Rio de Janeiro in Brazil. Lua was born and raised at Tecgraf, the Computer Graphics Technology Group of PUC-Rio, and is now housed at Lablua . Both Tecgraf and Lablua are laboratories of the Department of Computer Science.
'Lua' means 'moon' in Portuguese and is pronounced LOO-ah.
lua.org
|
Fri Feb 09, 2007 7:43 pm |
|
|
wabash1
Joined: Wed Oct 11, 2006 3:34 am Posts: 6
|
Lua is not a HL2 thing, it is with a few games though, but it's always good. It opens up new possibilities.
|
Fri Feb 09, 2007 7:50 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
by the time data will be making the campaign for the game he will have some sort of way to script different events but i doubt it will be lua but.... who knows
|
Fri Feb 09, 2007 7:56 pm |
|
|
Striker26
Joined: Sun Sep 24, 2006 4:01 am Posts: 641 Location: um.......yeah..
|
oh.....i have a game that has lua and it is very confusing to script lua...
|
Fri Feb 09, 2007 9:37 pm |
|
|
Seraph
Moderator Hero
Joined: Sun Dec 24, 2006 11:28 pm Posts: 868 Location: London Server
|
So many mods have been made for Homeworld 2 that rock so hard. They come in little packets of joy called LUAs.
|
Fri Feb 09, 2007 10:16 pm |
|
|
Fearful_Ferret
Joined: Tue Dec 05, 2006 3:36 pm Posts: 676
|
I really don't think that cc needs to expand much at all when it comes to how to implement things. With any kind of open-ended thing like this, cc would go away from being cc and become whatever a mod would want it to be, which, while it sounds awesome, pretty much just leads to a jumble of rather unpolished totally seperate mods.
I say that these things are pretty nice things to think about, but will never and should never come to fruition for a good long while.
|
Fri Feb 09, 2007 11:09 pm |
|
|
Striker26
Joined: Sun Sep 24, 2006 4:01 am Posts: 641 Location: um.......yeah..
|
the engine should be improved not the scripting
|
Fri Feb 09, 2007 11:37 pm |
|
|
uberhen
Joined: Wed Jan 24, 2007 11:53 pm Posts: 589 Location: Silicon Valley, California
|
doesn't the allegro engine support lua's? i think i read that at the allegro engine homepage.
|
Sat Feb 10, 2007 12:05 am |
|
|
gtaiiilc
Joined: Wed Dec 13, 2006 12:10 am Posts: 562 Location: Termina
|
I read that to so YES!!!
|
Sat Feb 10, 2007 12:11 am |
|
|
Inane
Joined: Fri Dec 09, 2005 7:53 am Posts: 233
|
Am I the only one that likes the system Data made?
Seriously, guy. Implementing a new scripting engine would be a lot of work at this point.
|
Sat Feb 10, 2007 12:16 am |
|
|
BreenedandScrooned
Joined: Tue Dec 26, 2006 9:35 am Posts: 481
|
Yeah, I think it's fine as it is.
|
Sat Feb 10, 2007 12:20 am |
|
|
Striker26
Joined: Sun Sep 24, 2006 4:01 am Posts: 641 Location: um.......yeah..
|
yea i dont want to have to wait forever for the next build or whatever
|
Sat Feb 10, 2007 1:46 am |
|
|
Juggz
Joined: Wed Nov 15, 2006 2:42 pm Posts: 304 Location: Western Australia
|
I WANT LUA XD
Its in all the best games, Far Cry, HL2... well they're the only ones i know of
|
Mon Feb 12, 2007 4:11 pm |
|
|
|