View unanswered posts | View active topics It is currently Mon Jan 20, 2025 1:25 pm



Reply to topic  [ 3 posts ] 
 I killed an army.. 
Author Message

Joined: Fri Feb 04, 2011 11:02 pm
Posts: 1
Reply with quote
Post I killed an army..
Attachment:
cc_medium_digger.png
cc_medium_digger.png [ 280.77 KiB | Viewed 1983 times ]


...and all I got are these lousy medium diggers.

T-shirt material?

On a serious note, how do I disable diggers for one man army?


Fri Feb 04, 2011 11:08 pm
Profile

Joined: Fri Dec 17, 2010 4:30 pm
Posts: 15
Reply with quote
Post Re: I killed an army..
open "Cortex Command\Base.rte\Scenes\Scripts/One Man Army.lua"
seek
Code:
         for x = 0, math.ceil(math.random(3)) do
            local y = math.random();
            if y > 0.05 then
               actor[x] = CreateAHuman(self.AList[math.random(#self.AList)]);
               actor[x].Team = 1;
               actor[x].AIMode = Actor.AIMODE_BRAINHUNT;
               actor[x]:AddInventoryItem(CreateHDFirearm(self.WList[math.random(#self.WList)]));
               actor[x]:AddInventoryItem(CreateHDFirearm("Medium Digger"));
            else
               actor[x] = CreateACrab("Dreadnought");
               actor[x].Team = 1;
               actor[x].AIMode = Actor.AIMODE_BRAINHUNT;
            end
         end

delete the line containing
Code:
actor[x]:AddInventoryItem(CreateHDFirearm("Medium Digger"));


Sat Feb 05, 2011 5:20 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: I killed an army..
Or, if you want to make this change reversible, comment it out by putting two dashes before it.
Code:
--       actor[x]:AddInventoryItem(CreateHDFirearm("Medium Digger"));


Sat Feb 05, 2011 6:49 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.076s | 15 Queries | GZIP : Off ]