View unanswered posts | View active topics It is currently Fri Apr 19, 2024 5:10 am



Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next
 trying to learn Lua.... cant understand 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
Ok so, when you feel you are confident enough to go to lua, say it.
My tip is experiment as much as you can with ini first, try making some weapons, etc.

And sorry Non if I sounded like an ♥♥♥hole.


Thu Dec 15, 2011 11:47 pm
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
ermm im confused with the path thing

I dont get where you got the .bmp in the example

and is this only for 1 type of file/mod?


Thu Dec 15, 2011 11:58 pm
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
And how do you know what to tab?


Fri Dec 16, 2011 12:09 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
Remember to edit posts instead of double posting.

In which of the many examples? Anyway, bmp files are generally the sprites you are going to use for your mod. In the file I attached before I used the coalition sniper as a placeholder.
The coalition index has a module icon, a .bmp file, but you can delete those lines if you don't want to use a module icon. Anyway, you can create one if you want.

And what do you mean with one type of file/mod?


Fri Dec 16, 2011 12:16 am
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
Sorry didnt know...and I ment, is this how you mod anything; Or is this how you mod .ini's


Fri Dec 16, 2011 12:21 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
Oh yeah, this is the most basic things you need to know to mod basic stuff on ini. Lua is very different.

Note that what I have taught you in here are the very very basics, with this you can create simple weapons. If you want to create actors, for example, look for the tutorials there are out there, since it's too long to explain and I'm not too good at it.


Fri Dec 16, 2011 12:30 am
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
ahhhh okay Ima go bed now but can I ask you some more questions if I encounter problems?


Fri Dec 16, 2011 12:35 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
Feel free to do so.

And quoting Non:
Nonsequitorian wrote:
Just do it.


Experiment, mod, trial and error, that's how you get good at this.
Practice makes perfect.


Fri Dec 16, 2011 12:38 am
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
Can I use this knowledge for other games or just CC, I want to become a game progeammer when I get a 'lil' older; see.


Wed Jan 25, 2012 11:13 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
Well, most programming languages have similar syntax, but not the same functions and things like that.

Learning lua is a great help since it's very easy to understand and it will help you exercise your logic thinking. If you want to program games I'd say you should learn something more powerful like C#.


Wed Jan 25, 2012 11:29 pm
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
is C++ the best and ive tried tutorials for things but they all use words of extreme magnitude that I dont even remotely know and say things that doesnt make sense to me: and worst of all say things like algorithem or factorial and not explain them Im in the higher tier for maths but im only year 9 (14 years of age) and I think if I dont start now ile never be able to fulfil my dream job. :oops:


Wed Jan 25, 2012 11:39 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
Dude.

Calm down. I'm 17, I know a lot of maths and wierd words, and I keep reading things that I don't understand. If I were you, I'd keep learning the basics of logic thinking and syntax, so you should just try to learn lua first since it's very easy, then you can go with something more complex like C#.


Wed Jan 25, 2012 11:50 pm
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
Hmm your right... But do I need to know maths for Lua?


Thu Jan 26, 2012 5:13 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: trying to learn Lua.... cant understand
It depends in what you want to script, I generally use basic maths, nothing too complex, even on complex scripts.

Really, the tough part here is the logic.


Thu Jan 26, 2012 8:07 pm
Profile

Joined: Sat Oct 01, 2011 9:06 pm
Posts: 125
Location: london
Reply with quote
Post Re: trying to learn Lua.... cant understand
Do you know any ways to increase logic and problem solving skills?


Thu Jan 26, 2012 8:59 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 50 posts ]  Go to page Previous  1, 2, 3, 4  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.058s | 15 Queries | GZIP : Off ]