[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
Battlezone Forums • [ODF] Power generator
Page 1 of 1

[ODF] Power generator

Posted: Wed Mar 28, 2012 9:37 pm
by BlackHawk
Where can i find the value for the power output ?
I look'd through the whole odf.. looks like iam missing something

Black Hawk

Re: [ODF] Power generator

Posted: Wed Mar 28, 2012 9:58 pm
by Ded10c
Power generators have a default power output of +3, no coding needed. If you want to change it, use PowerCost = # to change it relative to the default. PowerCost = 3 on a power generator makes it generate (and use) no power.

Re: [ODF] Power generator

Posted: Wed Mar 28, 2012 10:17 pm
by BlackHawk
That was fast, thanks ! :)

Re: [ODF] Power generator

Posted: Wed Mar 28, 2012 10:30 pm
by Ded10c
I'm in GMT/BST; I stalk the forums at ridiculous hours.

Re: [ODF] Power generator

Posted: Thu Mar 29, 2012 12:27 am
by General BlackDragon
AHadley wrote:Power generators have a default power output of +3, no coding needed. If you want to change it, use PowerCost = # to change it relative to the default. PowerCost = 3 on a power generator makes it generate (and use) no power.
That makes a power generator take 3 power.

Use powerCost = -# to make it generate power.

Re: [ODF] Power generator

Posted: Thu Mar 29, 2012 12:46 am
by S.cavA.rmyG.en
for that matter Use powerCost = -# to make any building generate power.

Re: [ODF] Power generator

Posted: Thu Mar 29, 2012 2:50 pm
by Ded10c
General BlackDragon wrote:
AHadley wrote:Power generators have a default power output of +3, no coding needed. If you want to change it, use PowerCost = # to change it relative to the default. PowerCost = 3 on a power generator makes it generate (and use) no power.
That makes a power generator take 3 power.

Use powerCost = -# to make it generate power.
It's an override? I always thought it was a modifier.

Re: [ODF] Power generator

Posted: Fri Mar 30, 2012 9:31 pm
by Nielk1
The power generator class has a default powercost of -3, thus setting it to -2 will make the generator produce only 2 power.

Re: [ODF] Power generator

Posted: Fri Mar 30, 2012 10:51 pm
by Ded10c
My mistake. Do what GBD and N1 said.