View unanswered posts | View active topics It is currently Thu Apr 25, 2024 5:50 pm



Reply to topic  [ 46 posts ]  Go to page 1, 2, 3, 4  Next
 Just some Power - Now with a Template! 
Author Message
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post Just some Power - Now with a Template!
Power Systems

Image

Yes, it's here! The mod that none have you been waiting for!
Ok, maybe a few of you have, but still...
Anyways, on to the description.
This mod allows a power-type system into Cortex Command by use of Lua. In reality, it has very little effects to actual gameplay, other than adding a slightly different objective when playing against another human player. You can use the Generator to power the systems, which currently only include a MedBay. The systems are durable in comparison to the generator because the generator is the real target. Once you destroy it, any medbays powered by it will go offline as indicated by the little empty battery symbol. As a nice little bonus, with a little editing, any module or actor that uses Lua mainly (such as the jump pads in BW and the elevators in MP3) can become a system that requires power.

WARNING: THIS WILL NOT ADD POWER TO ANYTHING BUT THE MEDBAY AT THIS TIME.

v1.01
Image

v1.0
Image

THINGS TO DO:
* Make it possible to power down turrets and other actors. --COMPLETE
* Add more systems.
* Create a template for making a mod into a system. --COMPLETE
* Refine this mod more so it works perfectly.

CREDITS:
Gotcha! for helping me keep my head during my first mod creation, as well as supplying the generator sprite and some inis for me to work off of.
Daman for his brilliant idea that made this mod possible.
TheLastBanana for helping me correct that evil spelling error that plagued me for a day.
Anyone else who I forgot to mention for helping me out.

CHANGES:
v1.01 - 05/29/09
* Added template (Let me know if it doesn't work. I need someone other than me to test it.)
* Added compatibility for turrets (no turrets included though)
* New Generator sprite (thanks again, Gotcha!)

KNOWN BUGS
* At random points, if you damage either the MedBay or the Generator (I don't know which) by making the little bullet marks in it too much, it will shut off and flash the no power symbol. Any wisdom on why this happens is appreciated.

If I wasn't clear enough with this presentation, let me know. It's my first time and I don't expect it to be perfect.

Also, gifs are appreciated in order to show people who are confused about what this exactly is.

P.S. If you don't like the text at the top of the screen displaying the power for the system you have selected, disable it by putting -- before these lines in MedBay.lua:
Code:
   if self:IsPlayerControlled() == true then
      FrameMan:ClearScreenText(self.player);
      FrameMan:SetScreenText("Energy: " .. self.energy .. "/" .. self.energyRequired, tonumber(self.player), 0, 5000, false);
   end


Last edited by Ultric on Fri May 29, 2009 3:15 pm, edited 4 times in total.



Thu May 28, 2009 1:26 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Just some Power
Aw, that's a placeholder sprite. Give me a nudge later to have me make another one. :)


Thu May 28, 2009 1:42 pm
Profile
User avatar

Joined: Mon Apr 06, 2009 9:41 am
Posts: 712
Location: New York
Reply with quote
Post Re: Just some Power
Oh! Oh! Oh! This is super-neat.

Also good for single player-mode. Could make campaign scenes much more interesting!


Thu May 28, 2009 2:19 pm
Profile YIM
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Just some Power
I am Duh102, and I approve of this mod.


Thu May 28, 2009 2:19 pm
Profile

Joined: Fri May 22, 2009 4:22 pm
Posts: 64
Reply with quote
Post Re: Just some Power
In Lua I dont think you can put // in, I think it has to be --.


Thu May 28, 2009 2:31 pm
Profile
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post Re: Just some Power
HappyBirthday wrote:
In Lua I dont think you can put // in, I think it has to be --.

Ah, correct you are. Thank you. Fixed it.


Thu May 28, 2009 2:41 pm
Profile
User avatar

Joined: Wed Jan 14, 2009 7:12 pm
Posts: 1525
Location: In between your sister's legs, showing her how to use a... PS3 controller!
Reply with quote
Post Re: Just some Power
SWEET! Now Numgun can make the AAL reactor actually power anything, and focus on making a brain that doesn't suck!


Thu May 28, 2009 6:33 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Just some Power
Offical contest anyone?

Someone should atleast make a mission where one would have to protect the generator with the generator making the doors invulnerable and other things.


Thu May 28, 2009 7:02 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1359
Location: USA
Reply with quote
Post Re: Just some Power
Lizard wrote:
Offical contest anyone?

Someone should atleast make a mission where one would have to protect the generator with the generator making the doors invulnerable and other things.


Official. And nice job, ultric! :)


Thu May 28, 2009 7:06 pm
Profile
A HUMAN BRAIN, SAFELY INSULATED FROM THE TERRORS OF HYPERSPACE
User avatar

Joined: Sun Jan 28, 2007 8:54 pm
Posts: 1070
Location: Somewhere beyond the endless sea of hyperspace, fighting for your right to call a planet home.
Reply with quote
Post Re: Just some Power
Something tells me Grif will be very interested in this.


Thu May 28, 2009 8:17 pm
Profile
User avatar

Joined: Wed Dec 27, 2006 10:05 pm
Posts: 100
Reply with quote
Post Re: Just some Power
what would be cool is if there was a space mission, and the generator keeps life support systems running that keeps units from slowly loosing health, and you can also deliver an improvised generator if the first one breaks


Thu May 28, 2009 10:22 pm
Profile
User avatar

Joined: Wed Jan 14, 2009 7:12 pm
Posts: 1525
Location: In between your sister's legs, showing her how to use a... PS3 controller!
Reply with quote
Post Re: Just some Power
Please let this be used for vanilla content. We can have a lua tool that slowly builds a new one on the spot the old one was destroyed.


Thu May 28, 2009 10:24 pm
Profile
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post Re: Just some Power
Dauss wrote:
Something tells me Grif will be very interested in this.

I think so too.
Flammablezombie wrote:
Please let this be used for vanilla content. We can have a lua tool that slowly builds a new one on the spot the old one was destroyed.

Actually, one of the future versions should have a walking drone with less range and less power output.


Thu May 28, 2009 10:56 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: Just some Power
I am hoping for turrets the are powered by the power station. The more power, the faster the reload, no power, no reload?


Thu May 28, 2009 11:42 pm
Profile
User avatar

Joined: Thu Aug 30, 2007 4:36 am
Posts: 65
Reply with quote
Post Re: Just some Power
Cool idea, this could make for REALLY ♥♥♥♥ AWESOME BASES, now the ALL reactor will be able to power the thermal grids (we need moar grid stuff and/or router stuff!)

Maybe it would have to be connected by a power cable? so that to kill the enemy brain (if there is one) you could dig through the sheething around the cables, cut them, and then watch the brain die in the case :evil: and this would also make it so that reactors (NUCLEAR REACTOR, ♥♥♥♥ YEA) could have a "power limit", really just a limit of how many plugs you have, and maybe have RECHARGEABLE ROBOTS, that would have to find a wall outlet or they shut down if they run out of charge :lol:


Thu May 28, 2009 11:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 46 posts ]  Go to page 1, 2, 3, 4  Next

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.095s | 15 Queries | GZIP : Off ]