Data Realms Fan Forums
http://45.55.195.193/

What is the longest lua script you've ever written for CC?
http://45.55.195.193/viewtopic.php?f=4&t=23759
Page 1 of 1

Author:  Mehman [ Mon May 16, 2011 2:25 pm ]
Post subject:  What is the longest lua script you've ever written for CC?

Hi, as the title suggests I was wondering what is the longest script written for CC.

Here is mine:

489 lines

It is the code of a hovering tank equipped with a cannon with multiple types of ammo(the major part of this system is in another script), a coaxial flamethrower, a defensive grenade launcher, an MG turret and an energy shield.

Please use the spoiler tag for obvious reasons and briefly explain what the code does.

Author:  Xery [ Mon May 16, 2011 8:31 pm ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

The main script of "The FBM CB 4200"(LastBanana)
viewtopic.php?f=61&t=17138

1036 lines

One of the scripts of "GMod Tools"(CaveCricket48)
viewtopic.php?f=61&t=17648

631lines

Author:  Xery [ Mon May 16, 2011 8:32 pm ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

The AI script of "Independent"(Abdul Alhazred)
viewtopic.php?f=61&t=20482

856 lines

Author:  Xery [ Mon May 16, 2011 8:33 pm ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

And, scripts of mission mods are usually over 900lines. The main script of "Prison Escape Episode 2"(LastBanana)
viewtopic.php?f=24&t=17619

Well, 1651 lines.

Sorry for these 3 continuous replies, but the code's too long that it reach the limit of one post.

Author:  zoidberg [ Mon May 16, 2011 9:32 pm ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

mine is only 133 lines, including tons of "print"

Author:  Coops [ Tue May 17, 2011 12:13 am ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

I was working on my first lua mod with help from CC48 Which turned out to be somewhere along 1700 lines of script. I wish I still had the script though (Probably still do but I don't want to fish it out of my mod dump), It's still unfinished as well.

Author:  Grif [ Tue May 17, 2011 5:32 am ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

I was working on a lua powered total conversion of the game into a vertically scrolling shooter.

All told in each of the myriad files I probably ran up to around four or five thousand lines.

Author:  Jourdy288 [ Tue May 17, 2011 5:28 pm ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

Xery wrote:
And, scripts of mission mods are usually over 900lines. The main script of "Prison Escape Episode 2"(LastBanana)
viewtopic.php?f=24&t=17619

Well, 1651 lines.


*SNIFFLE* Thank you, thank you sooo much! Downloaded, will play later. So. Much. Win.
I wish I could learn Lua. Unfortunately, my head would most likely explode. I'm struggling with the .ini enough as it is.

Author:  Spider101 [ Mon Aug 01, 2011 9:30 pm ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

Well nothing like 1036 lines of text to put a wannabemodder off modding

Author:  Contrary [ Tue Aug 02, 2011 4:46 am ]
Post subject:  Re: What is the longest lua script you've ever written for CC?

And you don't need Lua for good stuff, my favourite mods are Lua-less.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/