Author |
Message |
StapledPuppet
Joined: Mon Apr 06, 2009 10:40 am Posts: 25
|
Nooby LUA scripter.
Hey, I am brand new to LUA, and I was hoping this game would help me learn the basic, etc. But I can't even do stuff like make my own gun, as an example.
Anyway, are there any beginner LUA tutorials that will help with this game, and possibly some gun making tutorials? Thanks in advance...
|
Mon Apr 06, 2009 10:42 am |
|
|
Morbo!!!
Joined: Sun Dec 09, 2007 3:08 pm Posts: 481 Location: Islamic Republic of Bradistan, Yorkshire, England
|
Re: Nooby LUA scripter.
StapledPuppet wrote: Hey, I am brand new to LUA, and I was hoping this game would help me learn the basic, etc. But I can't even do stuff like make my own gun, as an example.
Anyway, are there any beginner LUA tutorials that will help with this game, and possibly some gun making tutorials? Thanks in advance... Lua hasn't been implemented for weapon making yet.
|
Mon Apr 06, 2009 11:14 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: Nooby LUA scripter.
Guns don't use Lua at the moment, its just a few variables in an .ini file. (Is there a name for that?) If you need examples, find a gun in coalition.rte, modify its variables, and see what has changed. ... Morbo beat me to it, Oh well... Edit: Also, this is very useful.
|
Mon Apr 06, 2009 11:17 am |
|
|
StapledPuppet
Joined: Mon Apr 06, 2009 10:40 am Posts: 25
|
Re: Nooby LUA scripter.
So, should I create a new thingy in the weapons.ini or whatever?
|
Mon Apr 06, 2009 11:20 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: Nooby LUA scripter.
No, just back up Coalition.rte and edit variables. If you want make your own .rte.
|
Mon Apr 06, 2009 12:02 pm |
|
|
StapledPuppet
Joined: Mon Apr 06, 2009 10:40 am Posts: 25
|
Re: Nooby LUA scripter.
Ahh, ok thanks a lot. But what does the .rte extension mean?
|
Mon Apr 06, 2009 12:21 pm |
|
|
Morbo!!!
Joined: Sun Dec 09, 2007 3:08 pm Posts: 481 Location: Islamic Republic of Bradistan, Yorkshire, England
|
Re: Nooby LUA scripter.
It just tells the game that it's a module to be loaded AFAIK. If you don't want a mod to be loaded you can just remove .rte from the name.
|
Mon Apr 06, 2009 1:01 pm |
|
|
StapledPuppet
Joined: Mon Apr 06, 2009 10:40 am Posts: 25
|
Re: Nooby LUA scripter.
Ok, thanks
|
Mon Apr 06, 2009 1:10 pm |
|
|
StapledPuppet
Joined: Mon Apr 06, 2009 10:40 am Posts: 25
|
Re: Nooby LUA scripter.
Yay, I made my first weapon, the Rocket Pistol
|
Mon Apr 06, 2009 2:05 pm |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: Nooby LUA scripter.
Heh, nice. Also you will notice that once you get the hang of it, modding is very easy. (Offsets too!)
|
Mon Apr 06, 2009 4:48 pm |
|
|
StapledPuppet
Joined: Mon Apr 06, 2009 10:40 am Posts: 25
|
Re: Nooby LUA scripter.
Yeah, offsetting is quite dodgey, but I am getting the hang of it. But then what's next, do I then create custom sprites to go witht eh weapons? Etc...? And furthermore, how do I get more missions for campaign?
|
Mon Apr 06, 2009 5:03 pm |
|
|
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
Re: Nooby LUA scripter.
It's lua, not LUA. It's a file tag, not an acronym.
|
Mon Apr 06, 2009 5:19 pm |
|
|
Disst
Joined: Thu Feb 12, 2009 1:47 am Posts: 1182
|
Re: Nooby LUA scripter.
Actually, its Lua. its capitalized. Its a noun.
|
Mon Apr 06, 2009 5:31 pm |
|
|
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
Re: Nooby LUA scripter.
Lol. Bladecat4 - 1 3POK_PHALE - 1 StapledPuppet - 0
|
Mon Apr 06, 2009 5:33 pm |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: Nooby LUA scripter.
StapledPuppet wrote: Yeah, offsetting is quite dodgey, but I am getting the hang of it. But then what's next, do I then create custom sprites to go witht eh weapons? Etc...? And furthermore, how do I get more missions for campaign? Try working with more complicated things like actors. Then learn Lua and maybe some spriting.
|
Mon Apr 06, 2009 5:58 pm |
|
|
|