View unanswered posts | View active topics It is currently Sat Dec 28, 2024 1:59 am



Reply to topic  [ 10 posts ] 
 What is the longest lua script you've ever written for CC? 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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.


Mon May 16, 2011 2:25 pm
Profile
User avatar

Joined: Sat Feb 26, 2011 10:29 am
Posts: 163
Reply with quote
Post 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


Mon May 16, 2011 8:31 pm
Profile
User avatar

Joined: Sat Feb 26, 2011 10:29 am
Posts: 163
Reply with quote
Post 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


Last edited by Xery on Mon May 16, 2011 9:57 pm, edited 1 time in total.



Mon May 16, 2011 8:32 pm
Profile
User avatar

Joined: Sat Feb 26, 2011 10:29 am
Posts: 163
Reply with quote
Post 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.


Mon May 16, 2011 8:33 pm
Profile

Joined: Fri Feb 25, 2011 3:52 pm
Posts: 39
Reply with quote
Post Re: What is the longest lua script you've ever written for CC?
mine is only 133 lines, including tons of "print"


Mon May 16, 2011 9:32 pm
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post 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.


Tue May 17, 2011 12:13 am
Profile
REAL AMERICAN HERO
User avatar

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


Tue May 17, 2011 5:32 am
Profile
User avatar

Joined: Fri May 13, 2011 6:24 pm
Posts: 13
Location: CT
Reply with quote
Post 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.


Tue May 17, 2011 5:28 pm
Profile WWW
User avatar

Joined: Sun Apr 10, 2011 5:25 pm
Posts: 22
Location: Frolicking in the fields of newbinesism
Reply with quote
Post 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


Mon Aug 01, 2011 9:30 pm
Profile
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post 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.


Tue Aug 02, 2011 4:46 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

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.192s | 13 Queries | GZIP : Off ]