Author |
Message |
Roy-G-Biv
Joined: Mon Feb 12, 2007 12:46 am Posts: 1765 Location: ..............
|
Re: Lua
Grif wrote: "Lua is just so goddamn powerful". Yet easy to learn.
|
Sat May 17, 2008 12:25 am |
|
|
Mind
Joined: Thu Mar 06, 2008 10:54 pm Posts: 1360 Location: USA
|
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 |
|
|
Falcon X
Joined: Thu Aug 09, 2007 6:37 pm Posts: 889 Location: Not Jewtown.
|
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 |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
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 |
|
|
Foa
Data Realms Elite
Joined: Wed Sep 05, 2007 4:14 am Posts: 3966 Location: Canadida
|
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 |
|
|
Roy-G-Biv
Joined: Mon Feb 12, 2007 12:46 am Posts: 1765 Location: ..............
|
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 |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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 |
|
|
Roy-G-Biv
Joined: Mon Feb 12, 2007 12:46 am Posts: 1765 Location: ..............
|
Re: Lua
Can we try our CC Lua scripts outside of CC?
|
Sun May 18, 2008 12:18 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
Ophanim
Joined: Wed Dec 26, 2007 6:33 am Posts: 1743 Location: Trapped in UCP. Send help.
|
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 |
|
|
Daman
Joined: Fri Jan 26, 2007 3:22 am Posts: 1451
|
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 |
|
|
robowurmz
Joined: Thu Aug 16, 2007 10:09 am Posts: 163
|
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 |
|
|
Sixteen
Joined: Sun Nov 25, 2007 6:29 am Posts: 400
|
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 |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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... I think this will be possible. goddamn lua is powerful and awesome.
|
Sun May 18, 2008 9:01 pm |
|
|
Roy-G-Biv
Joined: Mon Feb 12, 2007 12:46 am Posts: 1765 Location: ..............
|
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 |
|
|
|