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



Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
 Lua mod ideas. 
Author Message
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: Lua mod ideas.
Scope0 wrote:
Digging. Think digging.

With the vehicle codes, Hoverboard code, and your own lua magic, I think its about time someone made a digging vehicle. I'd jizz.

viewtopic.php?f=61&t=11791
Image Try not to make a mess.


Sun Jul 19, 2009 4:25 am
Profile
User avatar

Joined: Wed Feb 25, 2009 2:45 am
Posts: 346
Location: Funkytown
Reply with quote
Post Re: Lua mod ideas.
Ah! How could i have forgotten that wonderful mod? Thats not updated to B23 though. correct me if im wrong.


Sun Jul 19, 2009 4:30 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Lua mod ideas.
AddActor = ACRocket
CopyOf = Rocket Mk1
PresetName = Drill Rocket
ScriptPath = Whocares.rte/Terriblemod.lua

--------------------------------------------

function Update(self)
self:EraseFromTerrain();
self:ToSettle = false;
end


Sun Jul 19, 2009 5:11 am
Profile

Joined: Mon Aug 13, 2007 6:36 pm
Posts: 161
Reply with quote
Post Re: Lua mod ideas.
411570N3 wrote:
Roboteching lasers.
As in: lasers that fire at an angle away from the enemy but gently curve and home to hit the target anyway.


I see you visit TVTropes too.

This is what I meant by missile-spam only being feasible with Lua.


Sun Jul 19, 2009 8:33 am
Profile
User avatar

Joined: Sun Jul 20, 2008 5:57 pm
Posts: 18
Location: When was the last time you checked your attic?
Reply with quote
Post Re: Lua mod ideas.
How about a gun/grenade that can convert Team 1s into team 2s, and vice/versa?

I mean, that shouldn't be to hard, should it?


Sun Jul 19, 2009 3:01 pm
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Lua mod ideas.
5 seconds of work.
Code:
function Destroy(self)
 for Man in MovableMan.Actors do

  if Man.Team == 0 them
   Man.Team = 1
  elseif Man.Team == 1
   Man.Team = 0

end
end
end


Sun Jul 19, 2009 3:40 pm
Profile WWW
User avatar

Joined: Sun Apr 12, 2009 8:19 am
Posts: 19
Location: In Alaska, far away from any computer good enough for CC AND with a slow internet connection.
Reply with quote
Post Re: Lua mod ideas.
Code:
  if Man.Team == 0 them

Isn't it supposed to be
Code:
  if Man.Team == 0 then

Yeah, I'm that kind of nitpicker.
Correct me if I'm wrong, because I'm just getting used to Lua.


Sun Jul 19, 2009 8:45 pm
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Lua mod ideas.
Whoops you're right, that's what happens when you half ass code.
Code:
function Destroy(self)
 for Man in MovableMan.Actors do

  if Man.Team == 0 then
   Man.Team = 1
  elseif Man.Team == 1 then
   Man.Team = 0

end
end
end


Sun Jul 19, 2009 9:10 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page Previous  1, 2

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