Data Realms Fan Forums http://45.55.195.193/ |
|
Nooby LUA scripter. http://45.55.195.193/viewtopic.php?f=1&t=14172 |
Page 1 of 1 |
Author: | StapledPuppet [ Mon Apr 06, 2009 10:42 am ] |
Post subject: | 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... |
Author: | Morbo!!! [ Mon Apr 06, 2009 11:14 am ] |
Post subject: | 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. |
Author: | Roon3 [ Mon Apr 06, 2009 11:17 am ] |
Post subject: | 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. |
Author: | StapledPuppet [ Mon Apr 06, 2009 11:20 am ] |
Post subject: | Re: Nooby LUA scripter. |
So, should I create a new thingy in the weapons.ini or whatever? |
Author: | Roon3 [ Mon Apr 06, 2009 12:02 pm ] |
Post subject: | Re: Nooby LUA scripter. |
No, just back up Coalition.rte and edit variables. If you want make your own .rte. |
Author: | StapledPuppet [ Mon Apr 06, 2009 12:21 pm ] |
Post subject: | Re: Nooby LUA scripter. |
Ahh, ok thanks a lot. But what does the .rte extension mean? |
Author: | Morbo!!! [ Mon Apr 06, 2009 1:01 pm ] |
Post subject: | 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. |
Author: | StapledPuppet [ Mon Apr 06, 2009 1:10 pm ] |
Post subject: | Re: Nooby LUA scripter. |
Ok, thanks |
Author: | StapledPuppet [ Mon Apr 06, 2009 2:05 pm ] |
Post subject: | Re: Nooby LUA scripter. |
Yay, I made my first weapon, the Rocket Pistol |
Author: | Roon3 [ Mon Apr 06, 2009 4:48 pm ] |
Post subject: | Re: Nooby LUA scripter. |
Heh, nice. Also you will notice that once you get the hang of it, modding is very easy. (Offsets too!) |
Author: | StapledPuppet [ Mon Apr 06, 2009 5:03 pm ] |
Post subject: | 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? |
Author: | Bladecat4 [ Mon Apr 06, 2009 5:19 pm ] |
Post subject: | Re: Nooby LUA scripter. |
It's lua, not LUA. It's a file tag, not an acronym. |
Author: | Disst [ Mon Apr 06, 2009 5:31 pm ] |
Post subject: | Re: Nooby LUA scripter. |
Actually, its Lua. its capitalized. Its a noun. |
Author: | Bladecat4 [ Mon Apr 06, 2009 5:33 pm ] |
Post subject: | Re: Nooby LUA scripter. |
Lol. Bladecat4 - 1 3POK_PHALE - 1 StapledPuppet - 0 |
Author: | Roon3 [ Mon Apr 06, 2009 5:58 pm ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |