View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:37 pm



Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5
 Lua 
Author Message
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 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
Profile
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post 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
Profile
DRL Developer
DRL Developer
User avatar

Joined: Tue Jul 27, 2004 8:02 pm
Posts: 428
Location: AZ
Reply with quote
Post 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
Profile ICQ

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post 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
Profile

Joined: Sun Jun 24, 2007 6:13 am
Posts: 505
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5

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.102s | 14 Queries | GZIP : Off ]