Page 1 of 1
Anyone working on a Better LUA Giude?
Posted: Thu Sep 21, 2006 12:08 am
by jangoisbaddest
I consider myself someone who can learn on my own pretty well, but there are several confusing things about this programming code (in BFII). First off, the guide from the documentation doesn't explain very much about the syntax of functions, conditions, etc, and doesn't give many examples. Then it displays an extremely limited number of functions, which I'm sure is a tiny fraction of the ones available for the game. Also, upon looking at mission LUAs for the campaign scripts, some of Zerted's stuff, etc., there are conflicting syntax structures, and I'm not exactly sure how that affects the flow of programming. So I was just wondering if anyone was working on a better LUA guide....
RE: Anyone working on a Better LUA Giude?
Posted: Thu Sep 21, 2006 5:48 am
by [RDH]Zerted
-I've been slowly adding info to the modding Wiki. It has all the Lua functions (not all documented yet) from the game as well as almost all the ScriptCB functions.
-Lua is a programming language. Its main site is
http://www.lua.org which also has some good tutorials (where I started off) on it.
-Yes, in the source scripts some of the lines end in semi-colons. If you look at my scripts, you'll see I've never used one. Lua doesn't require them. Look at Lua's site to get its syntax.
-I have some of my source code here:
http://129.21.119.74:8088/swbf2/files/in%20development/ All my code is completely commented. Almost every line has a comment.
-I will be adding more Deathmatch scripts stuff over the next few days.