View unanswered posts | View active topics It is currently Wed May 15, 2024 8:45 am



Reply to topic  [ 7 posts ] 
 B23 Lua help 
Author Message

Joined: Mon Apr 06, 2009 10:40 am
Posts: 25
Reply with quote
Post B23 Lua help
Hey. I really want to learn Lua, but I can't find any Cortex Command specific tutorials. So, yeah, how do I like make the Lua files and where do they go first of all. And then how do I learn what to put into those files?

Thanks. I know this is immesnly newby, but you know. Thanks.


Wed May 13, 2009 7:53 pm
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: B23 Lua help
Start with regular lua tutorials.

Then learn about the binding interface.


Thu May 14, 2009 5:18 am
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: B23 Lua help
This is a great place to start.


Thu May 14, 2009 1:36 pm
Profile WWW

Joined: Mon Apr 06, 2009 10:40 am
Posts: 25
Reply with quote
Post Re: B23 Lua help
What's the binding interface? Sorry if that is a really retarded question, but I am kind of new to Lua. And is it alright to learn a scripting language through a game, then leanr a programming language for general stuff?


Thu May 14, 2009 4:37 pm
Profile WWW

Joined: Thu Jan 18, 2007 9:33 pm
Posts: 15
Reply with quote
Post Re: B23 Lua help
First learn the sintax, then read through the CC specifc documentation so you know what to do with it.


Thu May 14, 2009 8:21 pm
Profile

Joined: Mon Apr 06, 2009 10:40 am
Posts: 25
Reply with quote
Post Re: B23 Lua help
So, does that answer my latest question about the bindings, and all the other crap I asked? And where can I apply the syntax, where can I input basic Lua without having to use a game? Must it be linked with another language like C++?


Thu May 14, 2009 10:02 pm
Profile WWW
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Re: B23 Lua help
Ignore the rest of these suggestions. Besides that luadocs link. That one is good.

Learning lua is best through a game because it's a SCRIPTING LANGUAGE.

Learning Lua isn't best through cortex command at the moment. CC's implementation is varied and pretty disgusting. Try learning it through a game like love or garrysmod or crysis or something(Only until you get the ropes and basic syntax down), then take a look at other people's mods, try things out to learn how they work, and you'll eventually have it down pat.


Thu May 14, 2009 10:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.028s | 17 Queries | GZIP : Off ]