View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:56 pm



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

Joined: Tue Oct 31, 2006 6:10 pm
Posts: 358
Location: at ze kopta!
Reply with quote
Post Re: Lua
Pyrorex wrote:
Yes, and everything revolves around you couchy. Just because you lack the intelligence to learn lua doesn't mean everyone else does.

I never said I did, it was my personal opinion. Plus, I already said I was going to learn it, so that proves you wrong again.

couchcaboose wrote:
Xera wrote:
Here, have a read :) http://lua-users.org/wiki/TutorialDirectory
Lua is pretty much the simplest scripting language besides HTML, just about anybody can pick it up in a few hours.


Hmm.. Thanks... Maybe I can use this for Gmod... But not CC.


Seleia wrote:
also get that ♥♥♥♥ out of your signature thanks

No thanks. I like how it is.

And last, please let's not start a flame war.


Thu Jul 26, 2007 11:19 pm
Profile
User avatar

Joined: Tue Apr 10, 2007 10:32 pm
Posts: 830
Reply with quote
Post Re: Lua
For anyone wanting to see why Lua in a 2D game would be useful, just check out one of the many Lua-powered mods for Gusanos and compare them to the original game.

Gusanos' typical weapon scripts are similar to CC's, and although people like amrobotics push the limit and bring us really creative mods, there's a lot of potential to be had if a more powerful scripting system like Lua was implemented.


Fri Jul 27, 2007 12:06 am
Profile
User avatar

Joined: Sun Dec 03, 2006 4:00 am
Posts: 578
Location: America
Reply with quote
Post Re: Lua
cambiogris wrote:
For anyone wanting to see why Lua in a 2D game would be useful, just check out one of the many Lua-powered mods for Gusanos and compare them to the original game.

Gusanos' typical weapon scripts are similar to CC's, and although people like amrobotics push the limit and bring us really creative mods, there's a lot of potential to be had if a more powerful scripting system like Lua was implemented.


I think that it would probably be sorta unnecessary. CC is based on real life physics, if something isn't directly physically possible, then it's not in the game.

Besides, correct me if I'm wrong, the final CC build will probably be unmoddable.


Fri Jul 27, 2007 12:11 am
Profile WWW
User avatar

Joined: Tue Apr 10, 2007 10:32 pm
Posts: 830
Reply with quote
Post Re: Lua
Kokits wrote:
Besides, correct me if I'm wrong, the final CC build will probably be unmoddable.
Data would be shooting himself in the foot. Why would it be unmoddable?


Fri Jul 27, 2007 12:12 am
Profile
User avatar

Joined: Sun Dec 03, 2006 4:00 am
Posts: 578
Location: America
Reply with quote
Post Re: Lua
I dunno, it never said anywhere that it wouldn't be unmoddable.


Fri Jul 27, 2007 12:14 am
Profile WWW
User avatar

Joined: Tue Oct 31, 2006 6:10 pm
Posts: 358
Location: at ze kopta!
Reply with quote
Post Re: Lua
Watch, Data is really going to surprise us with the Final build. Probably going to be no script at all and fit it into one 10kb file like kkrieger.


Fri Jul 27, 2007 12:46 am
Profile
User avatar

Joined: Thu Jul 19, 2007 11:31 am
Posts: 249
Location: Sweden, Hallstavik
Reply with quote
Post Re: Lua
Hehehe, yeah exactly. :P

I do just want to play the official Campaign :D.


Fri Jul 27, 2007 12:48 am
Profile WWW
User avatar

Joined: Fri Jul 13, 2007 12:11 pm
Posts: 15
Location: Xera
Reply with quote
Post Re: Lua
Lord Tim wrote:
LUA will not be put into CC for many, many reasons. Mostly because the game is pretty much built from scratch with it's own unique language, and also because Data isn't going to convert all this work just so that you don't have to learn a new language. LUA is built for 3D games anyways.

Lua isn't made for anything specific, you could use it with Apache HTTP Server if you wanted.

Heck, you could make your own HTTP server with Lua and a sockets module.
Lua is designed to be dynamic and can be used in almost anything.

Data wrote:
We have seriously considered LUA support, and it's still not off the table. It could be integrated with the current system and wouldn't replace it. It would, however, make it possible to affect behavior a lot more powerfully than now.

Perhaps we'll rewrite the AI system to take make use of it, and expand from there...

Awesome. :D

Sorry for bumping.


Sun Jul 29, 2007 3:20 pm
Profile

Joined: Fri Oct 27, 2006 8:35 pm
Posts: 167
Location: Bradford, England
Reply with quote
Post Re: Lua
Xera wrote:
easier to understand(And read :wink: )


No.
With Lua you have to use all these 'callfunctions', 'ends' and ♥♥♥♥ like that that i don't understand.


Tue Jul 31, 2007 10:11 am
Profile WWW

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Lua
Holy ♥♥♥♥.

Do some people seriously think that the current code is hard?
With enough imagination you can make anything with it if you combine the right stuff and you know how they work. Xera, pack your stuff and take that lua with you.


Tue Jul 31, 2007 10:26 am
Profile
User avatar

Joined: Wed Mar 28, 2007 9:02 pm
Posts: 1639
Location: Somewhere. Nowhere.
Reply with quote
Post Re: Lua
Before I moddded: I was scared of the code. Seriously. I had no idea what any of it meant.
When I was modding: I made mistakes, but it was easy!
After I modded: It didn't get much attention.. Still, It was fun to make.


Tue Jul 31, 2007 11:35 am
Profile
User avatar

Joined: Fri Jul 13, 2007 12:11 pm
Posts: 15
Location: Xera
Reply with quote
Post Re: Lua
Morbo! wrote:
Xera wrote:
easier to understand(And read :wink: )


No.
With Lua you have to use all these 'callfunctions', 'ends' and ♥♥♥♥ like that that i don't understand.

You can't understand something simple like:

Code:
player = CurrentPlayer() --gets the current clone
alive = IsAlive(player) --checks if the current clone is alive
if(alive == true) then --if alive is true then
Kill(player) --kill the clone
end --close the 'if'

? lol.

numgun wrote:
Holy ♥♥♥♥.

Do some people seriously think that the current code is hard?
With enough imagination you can make anything with it if you combine the right stuff and you know how they work. Xera, pack your stuff and take that lua with you.

I'm not saying I can't understand the current system but it's messy as hell. (No delimiters or parenthesis)


Tue Jul 31, 2007 12:54 pm
Profile
User avatar

Joined: Sat Jun 30, 2007 12:10 pm
Posts: 93
Location: Here
Reply with quote
Post Re: Lua
Xera wrote:
Morbo! wrote:
Xera wrote:
easier to understand(And read :wink: )


No.
With Lua you have to use all these 'callfunctions', 'ends' and ♥♥♥♥ like that that i don't understand.

You can't understand something simple like:

Code:
player = CurrentPlayer() --gets the current clone
alive = IsAlive(player) --checks if the current clone is alive
if(alive == true) then --if alive is true then
Kill(player) --kill the clone
end --close the 'if'

? lol.

I'm not saying I can't understand the current system but it's messy as hell.(no delimiters or parenthesis)


Where can you possibly shove that in CC?
If player is alive then he is alive, if he is dead he is dead
There is no need for a variable to prove that


Tue Jul 31, 2007 1:01 pm
Profile
User avatar

Joined: Thu Jul 19, 2007 11:31 am
Posts: 249
Location: Sweden, Hallstavik
Reply with quote
Post Re: Lua
Well... LUA could be used for Campaigns :). Like making infinite spawns :P. Clean a area from Land. (To prevent blockage)

while i != 1
Spawn("Green Clone",500,1000)
Wait(1000)
end

:P


Tue Jul 31, 2007 4:17 pm
Profile WWW
User avatar

Joined: Sun Dec 03, 2006 4:00 am
Posts: 578
Location: America
Reply with quote
Post Re: Lua
Morbo! wrote:
Xera wrote:
easier to understand(And read :wink: )


No.
With Lua you have to use all these 'callfunctions', 'ends' and ♥♥♥♥ like that that i don't understand.

And just because YOU don't understand it makes it hard to everyone else?


Tue Jul 31, 2007 8:03 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

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.101s | 14 Queries | GZIP : Off ]