|
FAQ
• Search • Login
|
Author |
Message |
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Lua
Xera wrote: I'm not saying I can't understand the current system but it's messy as hell. (No delimiters or parenthesis) The current CC code is the cleanest I've ever seen. One line defines one variable. Easy, simple, effective, and you can learn it, and master it, fast.
|
Tue Jul 31, 2007 8:11 pm |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: Lua
What the helll would it need parenthesis for, and I don't know what a delimiter is(not so good at terms, I just write code).
|
Tue Jul 31, 2007 8:23 pm |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
Re: Lua
Code: player = CurrentPlayer() -- why does there need to be an empty bracket here?
I have written in quite a few codes and I must say this script is very similar to ActionScript (used in Flash) so I picked this up very easily, however I think it would be hard to MASTER so Also I think the point about 'our' .ini files is that anyone (above say 10 and without brain conditions) could make a simple mod. show that Lau code to anyone who isn't interested in computing and they'll run away... quite literally... maybe
|
Wed Aug 01, 2007 1:33 am |
|
|
Data
DRL Developer
Joined: Tue Jul 27, 2004 8:02 pm Posts: 428 Location: AZ
|
Re: Lua
if cc would use em, lua scripts would be something that would be pointed to from the ini files... like: Code: AddGameMode = GABrainFight InstanceName = My New Game Mode GameRulesScript = MyMod.rte/MyScript.lua ... So, If you didn't want to mess with the lua stuff, you wouldn't have to. As far as I can think about it now, the lua scripts would only govern game rules and AI behavior.
|
Wed Aug 08, 2007 11:37 am |
|
|
numgun
Joined: Sat Jan 13, 2007 11:04 pm Posts: 2932
|
Re: Lua
Well if you put it like that, Data, then its fine by me. But keep the normal variable system as it is now for Bob Dylan's sake. Quote: And just because YOU don't understand it makes it hard to everyone else? Word.
|
Wed Aug 08, 2007 11:46 am |
|
|
Pyrorex
Joined: Sun Jun 24, 2007 6:13 am Posts: 505
|
Re: Lua
OH hay, why not implement both, like have two different folders. .rtes will be loaded with CC coded, .whatever could be loaded as lua, thereby giving us best of both worlds, no?
|
Wed Aug 08, 2007 12:05 pm |
|
|
|
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
|
|