if anyone have factory addon problem...

Started by Yuna_Q, March 03, 2010, 11:01:16 PM

Previous topic - Next topic

Yuna_Q

if ai doesnt make factory tech addon ,
check the number of barracks's tech addon
on sc2 buildings can share their addons.
so, if the number of barracks addon is 2 then,
number of factory addon must more than barracks.

wrong coding

AISetStock( player, 2, c_TB_Barracks );
AISetStock( player, 2, c_TB_BarracksTechLab );
AISetStock( player, 2, c_TB_Factory);
AISetStock( player, 2, c_TB_FactoryTechLab);


right coding

AISetStock( player, 2, c_TB_Barracks );
AISetStock( player, 2, c_TB_BarracksTechLab );
AISetStock( player, 2, c_TB_Factory);
AISetStock( player, 4, c_TB_FactoryTechLab);

Kernel64


siman

Thank you. This is really tricky.


Is it a bug at all? since the starport tech lab could built properly. I expect either they all share the same tech lab or all count individually.

Yuna_Q

Quote from: siman on March 04, 2010, 03:21:17 AM
Thank you. This is really tricky.


Is it a bug at all? since the starport tech lab could built properly. I expect either they all share the same tech lab or all count individually.

only barraks and factory, not starport

siman

yes, but if tech-lab is an addon shared by all terran buildings, shouldn't all the tech-lab count together?
now it is confusing that the tech lab of barrack and factory count together, while the starport does not.

chetjan

I have not had that problem, seems wierd. sorry i can't be more helpful