Posted by: Gameanater - Sunday, June 8, 2014 9:03:57 PM
The problem is pretty odd... I've added Chem Suits for all of General Fai's infantry, which would definitely be helpful for facing GLA players (especially Dr. Thrax). Well I think I found the reason why they don't have Chem Suits now in the final version of Zero Hour... I added the button to the Propaganda Center to purchase the upgrade, and it works as it should. The little icon shows up underneath my infantry's feet. But I think the Horde Bonus icon causes this to have some problems... For one thing if a single unit is upgraded with Chem Suits, then walks into a group of five, the Chem Suits icon disappears and the Horde Bonus icon replaces it. I don't mind that, but when he leaves the group the Horde Bonus icon disappears but the Chem Suits icon doesn't come back. And after a little bit when I purchased the Chem Suits upgrade, the game just crashes and I get one of those Serious Errors! But it's not completely consistent... The first time is crashed a few seconds after the upgrade finished. But the second time it took much longer until the game crashed... Little help, pretty please? [smile] [ATTACH]1446[/Attach]

Posted by: Gameanater - Monday, June 9, 2014 8:42:46 PM
Bump Still waiting. And I dunno why this could be a problem.. The Boss General has Tank Hunters with working a Chem Suits upgrade.....

Posted by: JoshZemlinsky - Tuesday, June 10, 2014 3:18:27 AM
Did you check the Crashlog which is dumped in the Generals Zero Hour folder inside your documents? If it turns up blank this can be hard to figure out. But the fact that it crashes after abit of time tells me that this is not a coding error, but rather a limitation of the game... I bet it's related to the horde bonus. Although this does sound very weird.

Posted by: Annihilationzh - Tuesday, June 10, 2014 8:07:23 AM
The only notable difference between your code and the boss general's code is where you placed the ArmorUpgrade module. So it makes me wonder if it shouldn't be placed above the ActiveBody or the Kindofs.

Posted by: Gameanater - Tuesday, June 10, 2014 7:43:52 PM
That would make sense... And no, I didn't... I'll do that soon... -- Mr. Zemlinsky Hmm... I'll compare my code to the Boss General's Tank Hunter when I got more time... Thanks. [smile] -- AZH

Posted by: Nedfirst - Saturday, January 6, 2024 2:36:31 PM
Hello everyone, I wanted to know if you have managed to resolve this problem since then? Because it did that to me before too and I never understood why. Thanks in advance.

Posted by: Mathias Ivan Maidana - Sunday, December 22, 2024 1:47:38 PM
I got the same problem before and as far as i've seen, the only difference is the effect granted by the bonus. it might be that the Chemical Suits upgrade does not work paired with the Fanaticism upgrade, but works fine with the rest of HORDE Effects simply because the devs never thinked that the Chemical Upgrade would be active while the Fanaticism Effect is on too, after all, it's a scrapped feature. or it might just be limitations, you know. i will see if i can get around this weird crash after i get finished with Nuke General Unused content.

Posted by: Mathias Ivan Maidana - Sunday, December 22, 2024 5:40:36 PM
Ok, after some time, i found a workaround to stop it from crashing, and is a little simple, perhaps too simple. now, the fix is not perfect since the blue icon of the Chemical Suits upgrade won't appear, but atleast the armor does work paired with the horde bonus. 1.Add a new upgrade to Upgrade.ini, it can be anything but it must work, here's an example: [quote]Upgrade Infa_Upgrade_ChinaChemicalSuits DisplayName = UPGRADE:ChemicalSuits BuildTime = 60.0 BuildCost = 1000 ButtonImage = SAChemsuit ;ResearchSound = RangerVoiceUpgradeChemSuits End[/quote] The research sound is not needed, so i just commented it out, although i will change it later. again, you can edit any value of it to your desires if you want. 2.Add a proper Button in CommandButton.ini, it must match with the Upgrade you're adding, it must look like this: [quote]CommandButton Infa_Command_UpgradeChinaChemicalSuits Command = PLAYER_UPGRADE Upgrade = Infa_Upgrade_ChinaChemicalSuits TextLabel = CONTROLBAR:UpgradeAmericaChemicalSuits ButtonImage = SAChemsuit ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:TooltipUSAUpgradeChemicalSuits End[/quote] The name doesn't have to be this one, but the Upgrade string must match the name of the Upgrade name that you added before. 3.Edit the Propaganda Center ButtonSet in CommandSet.ini You need to search for the next line of code [i][h]“Infa_ChinaPropagandaCenterCommandSet“[/h][/i] and [i][h]“Infa_ChinaPropagandaCenterCommandSetUpgrade“[/h][/i], and then replace the Commented out line of code (which is the Button 2, that has assigned the America Chemical Suits Upgrade Button) with the Button name you added in step 2. it should look something like this: [quote]CommandSet Infa_ChinaPropagandaCenterCommandSet 1 = Command_UpgradeChinaFanaticism 2 = Infa_Command_UpgradeChinaChemicalSuits 3 = Command_UpgradeChinaSubliminalMessaging 12 = Command_UpgradeChinaMines 14 = Command_Sell End[/quote] and for the Upgraded Version: [quote]CommandSet Infa_ChinaPropagandaCenterCommandSetUpgrade 1 = Command_UpgradeChinaFanaticism 2 = Infa_Command_UpgradeChinaChemicalSuits 3 = Command_UpgradeChinaSubliminalMessaging 12 = Command_UpgradeEMPMines 14 = Command_Sell End[/quote] 4.All you need to do now is just to add the ArmorUpgrade module to the Units of the Infantry General. to do this, you need to find and enter the InfantryGeneral.ini located on Data/INI/Object, then find the next Objects: A. Infa_ChinaInfantryBlackLotus B. Infa_ChinaInfantryHacker C. Infa_ChinaInfantryMiniGunner after finding them, now you have to paste this code: [quote] Behavior = ArmorUpgrade ModuleTag_Armor01 TriggeredBy = Infa_Upgrade_ChinaChemicalSuits End[/quote] Below this string: [quote] Body = ActiveBody ModuleTag_02 MaxHealth = 120.0 InitialHealth = 120.0 End[/quote] and it would look something like... [quote]Body = ActiveBody ModuleTag_02 MaxHealth = 120.0 InitialHealth = 120.0 End Behavior = ArmorUpgrade ModuleTag_Armor01 TriggeredBy = Infa_Upgrade_ChinaChemicalSuits End[/quote] this. the numbers on MaxHealth do not matter so don't edit them, they are the life of each unit but is not of our interest now. repeat this step over the three objects mentioned before and it should go fine. now, for the Tank Hunter, is the same but with extra steps. for some reason, the ArmorSet is nowhere to be found on this object so this will help you add that too. find this Object [i][h]Infa_ChinaInfantryTankHunter[/h][/i], then, paste this code: [quote]ArmorSet Conditions = PLAYER_UPGRADE Armor = HazMatHumanArmor DamageFX = InfantryDamageFX End[/quote] Below this string: [quote]ArmorSet Conditions = None Armor = InfGen_HumanArmor DamageFX = InfantryDamageFX End[/quote] and it would look something like... [quote] ArmorSet Conditions = None Armor = InfGen_HumanArmor DamageFX = InfantryDamageFX End ArmorSet Conditions = PLAYER_UPGRADE Armor = HazMatHumanArmor DamageFX = InfantryDamageFX End[/quote] This. now, do the steps mentioned before about adding the ArmorUpgrade Behavior, but in this Object and it should work. and thats... all. honestly kind weird why it doesn't work normally but my best bet is that Fanaticism and Chem Suits Upgrade don't go well together. if you want to also add the Unused Red Guard\Minigunner Voice lines regarding this upgrade i can also explain how to add them, but for now, this is all.