crpl's producign energy

Started by milkev, February 08, 2016, 07:23:20 PM

Previous topic - Next topic

milkev

Hello, im looking for a code in a crpl that will increase the amount of energy you produce(like a reactor) when connected to your network. I want it outside the map so just using CreateUnit"REACOTR" wont work. :(

GameGibu

Great question, but the energy production is so hard-coded that you can't do that. The only way to simulate that effect is to make a core that, when sent a packet or two, raises the tech level for energy efficiency. However that could result in some frustrating limits on gameplay, so I'll test a theory I have and post back here if it works.

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

TLFP

Quote from: GameGibu on February 08, 2016, 07:43:08 PM
Great question, but the energy production is so hard-coded that you can't do that. The only way to simulate that effect is to make a core that, when sent a packet or two, raises the tech level for energy efficiency. However that could result in some frustrating limits on gameplay, so I'll test a theory I have and post back here if it works.

-GameGibu
You can't raise the tech level for forge upgrades with CRPL. Sorry  :P
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

GameGibu

You're absolutely right TheLongFellowPLAYER. I was thinking of settechlimit.

Bah, this one's difficult.

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

TLFP

Quote from: GameGibu on February 08, 2016, 07:52:32 PM
You're absolutely right TheLongFellowPLAYER. I was thinking of settechlimit.

Bah, this one's difficult.

-GameGibu
There were some people in the past that wanted to do this but it's not accessible through CRPL.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

GameGibu

Well, the answer to milkev's question depends on what effect this core is supposed to have.

Why not just a resource crystal?

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

TLFP

Quote from: GameGibu on February 08, 2016, 08:20:55 PM
Well, the answer to milkev's question depends on what effect this core is supposed to have.

Why not just a resource crystal?

-GameGibu
He wants it connected to your network. The ONLY way you could conceivably do this is if you check EVERY reactor and collector on the map then see if they are connected to a CN. This is riddled with bugs though because it will only work with 1 CN and collectors will still mess it up... You could try a resource crystal as that MIGHT work but note it won't increase your energy. It depends on what Milkev is trying to do.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

Builder17

#7
Why outside the map? More information , please. Energy crystals give energy only when you are in deficit so it doesn't work. CreateUnit "REACTOR" is only way to do so. Limit reactors into 0 from tech limits? Have CRPLcore check when it's connected into network create reactor and when not remove reactor?

milkev

#8
Quote from: Builder17 on February 09, 2016, 08:23:13 AM
Why outside the map? More information , please. Energy crystals give energy only when you are in deficit so it doesn't work. CreateUnit "REACTOR" is only way to do so. Limit reactors into 0 from tech limits? Have CRPLcore check when it's connected into network create reactor and when not remove reactor?
I'm having the player starting in the corner of the map with little space to build. BUT the spore attacks cant be handled without extra energy and there isn't the room to add it in the map :( Reactors is what i'm using now, but id like it to be an invisible source as though the base produces more energy naturally. I hope that's some better information :)
Edit: Added Picture File: I would like the crpl core to be were the reactors currently are.

GameGibu

How about making the only place to land a CN have a power zone in the middle? I think that produces a little more energy.

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

Builder17

#10
Have CRPLcore to hide reactors somehow? Void texture image into core and core over reactors?
PZ CN only has 2x range , but not extra energy production.

GameGibu

Quote from: Builder17 on February 10, 2016, 06:51:40 AM
PZ CN only has 2x range , but not extra energy production.

Wow, I cannot get this one right...

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

GoodMorning

Could you potentially PZ the Reactor/s?

Failing that, when editing the map, units can be moved on top of each other, so you could provide stacked reactors.

Finally, a resource crystal is a source of finite energy at an infinite rate, whereas standard collection is infinite power at a finite rate.
Thus a resource crystal that is topped up to 0.1 energy regularly can provide extra power, though it won't show up on the CN panel.

I can't remember how long a resource pack/siphon combination persists after emptying, however, you have a few frames to top it up before you require a new one.

It's not 'true' power production, but it's giving constant power at a finite rate. Also, it can be made to only work for a limited time. Just cover the siphon graphic and it might work.
Tech won't affect it.
A narrative is a lightly-marked path to another reality.

TLFP

The only way you could PZ reactors is you have to destroy them, then place the PZ, then all the reactors because if you just plop a PZ on it doesn't take effect.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

GoodMorning

True, but it depends upon how much power you need.

I also don't recall if it is possible to add additional units on top of an existing one directly. Anyone?
A narrative is a lightly-marked path to another reality.