View unanswered posts | View active topics It is currently Sat Apr 27, 2024 8:14 am



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

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: Lua
Grif wrote:
"Lua is just so goddamn powerful".

Yet easy to learn.


Sat May 17, 2008 12:25 am
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1359
Location: USA
Reply with quote
Post Re: Lua
Easy to learn......I've googled it, and it all seems soooo complicated
are there any easy tutorials?


Sat May 17, 2008 12:51 am
Profile
User avatar

Joined: Thu Aug 09, 2007 6:37 pm
Posts: 889
Location: Not Jewtown.
Reply with quote
Post Re: Lua
Roy-G-Biv wrote:
Grif wrote:
"Lua is just so goddamn powerful".

Yet easy to learn.

How did that actually add to the conversation, at all?

On Lua, how exactly does it work in CC Data?


Sat May 17, 2008 12:52 am
Profile WWW
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Lua
Lua will most likely be modified to work inside CC. It won't work exactly the same as it does in gmod.

If you can't understand how to make Lua work right now, you'll probably be better off staying with .ini modding. You don't need it. But if you really want to learn, I would suggest getting one of those books, or just reading through tutorials and stuff. Googling "Lua" gives you more than enough information.


Sat May 17, 2008 1:14 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: Lua
Can't what til it's B21, and I grasp the power of Lua!
Heh, can't wait to start spawn ambushes with [ Insert Effect ]!


Sat May 17, 2008 1:27 am
Profile
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: Lua
Falcon X wrote:
Roy-G-Biv wrote:
Grif wrote:
"Lua is just so goddamn powerful".

Yet easy to learn.

How did that actually add to the conversation, at all?

On Lua, how exactly does it work in CC Data?


Well it does add, because if you have even basic knowledge, you can learn Lua.


Sat May 17, 2008 1:53 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Lua
It's not that bad, really. All programming ever is is finding the right methods (whatever you may call them, I'm a Java boy) to call and the logic to figure out how to use them.
Some simple examples.
Didn't look through this, but here's a 101 article.
Take a look at the topic Ophanim posted, it's got a nice little tool to print any output you would get from a script.


Sat May 17, 2008 10:57 am
Profile
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: Lua
Can we try our CC Lua scripts outside of CC?


Sun May 18, 2008 12:18 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Lua
Depends on the script.

Logic based scripts could be fooled, but some things that rely on things specific to CC: i.e. teleports and etc that rely on a moving actor, tripping into a zone, could still be tested, but it'd be much harder.


Sun May 18, 2008 12:25 am
Profile
User avatar

Joined: Wed Dec 26, 2007 6:33 am
Posts: 1743
Location: Trapped in UCP. Send help.
Reply with quote
Post Re: Lua
Well I suppose someone could adapt the source of Brain Damage to CC, although they'd probably need help from Data.


Sun May 18, 2008 1:56 am
Profile WWW
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Re: Lua
That's sort of dumb when this is probably going to be released in < 1 month.

You could use GMod to test it outside of CC. I doubt it would be compatible with CC code at all, obviously, as source is very different. But it would allow you to get the jist of how scripting would work and be able to test things like how vectors work on things, etc.


Sun May 18, 2008 3:12 am
Profile

Joined: Thu Aug 16, 2007 10:09 am
Posts: 163
Reply with quote
Post Re: Lua
Hehe, moving actors 100 m/s to the right sounds a lot of fun. Of course, we could make proper TRAP MODULES with this; you know, magic floors and the like.


Sun May 18, 2008 12:38 pm
Profile
User avatar

Joined: Sun Nov 25, 2007 6:29 am
Posts: 400
Reply with quote
Post Re: Lua
robowurmz wrote:
Hehe, moving actors 100 m/s to the right sounds a lot of fun. Of course, we could make proper TRAP MODULES with this; you know, magic floors and the like.


Like trip wires. Move the feet backwards while the rest of the body keeps moving. Or boost areas.


Sun May 18, 2008 5:24 pm
Profile
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post Re: Lua
Sixteen wrote:
...Or boost areas.


Hmmm... am I right in saying that numgun said that he was going to make an accelerationbunker module, to send big mechs flying... :D

I think this will be possible.


goddamn lua is powerful and awesome.


Sun May 18, 2008 9:01 pm
Profile
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: Lua
I wonder if you can make boosting pads boost you up.

Like, you go next to boosting wall, touch it, and you fly up.
Great for cannons.


Sun May 18, 2008 9:36 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 89 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  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.100s | 15 Queries | GZIP : Off ]