Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Gameanater  
#1 Posted : Sunday, June 8, 2014 8:03:57 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
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

File Attachment(s):
Generals Domination beta 1.zip (389kb) downloaded 19 time(s).
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Sponsor
Offline Gameanater  
#2 Posted : Monday, June 9, 2014 7:42:46 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
Bump

Still waiting.


And I dunno why this could be a problem.. The Boss General has Tank Hunters with working a Chem Suits upgrade.....

Edited by user Tuesday, June 10, 2014 6:44:22 PM(UTC)  | Reason: Not specified

Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Offline JoshZemlinsky  
#3 Posted : Tuesday, June 10, 2014 2:18:27 AM(UTC)
JoshZemlinsky
Captain
Joined: 4/10/2014(UTC)
Posts: 62

Thanks: 3 times
Was thanked: 25 time(s) in 20 post(s)
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.
thanks 1 user thanked JoshZemlinsky for this useful post.
Gameanater on 6/10/2014(UTC)
Offline Annihilationzh  
#4 Posted : Tuesday, June 10, 2014 7:07:23 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
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.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
thanks 2 users thanked Annihilationzh for this useful post.
Gameanater on 6/10/2014(UTC), CommieDog on 6/11/2014(UTC)
Offline Gameanater  
#5 Posted : Tuesday, June 10, 2014 6:43:52 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
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
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Offline Nedfirst  
#6 Posted : Saturday, January 6, 2024 2:36:31 PM(UTC)
Nedfirst
Private
Joined: 1/6/2024(UTC)
Posts: 1

Was thanked: 1 time(s) in 1 post(s)
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.
thanks 1 user thanked Nedfirst for this useful post.
howram1390 on 1/8/2024(UTC)
Offline Mathias Ivan Maidana  
#7 Posted : Sunday, December 22, 2024 1:47:38 PM(UTC)
Mathias Ivan Maidana
Private
Joined: 12/22/2024(UTC)
Posts: 4
Argentina

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.
----------------------------------------------------------------------------------------------------------------
The Enemy has provided us with their homes!

-Maidana

I like helping people.
Offline Mathias Ivan Maidana  
#8 Posted : Sunday, December 22, 2024 5:40:36 PM(UTC)
Mathias Ivan Maidana
Private
Joined: 12/22/2024(UTC)
Posts: 4
Argentina

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

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

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 “Infa_ChinaPropagandaCenterCommandSet“ and “Infa_ChinaPropagandaCenterCommandSetUpgrade“, 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

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


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


Below this string:
Quote:
Body = ActiveBody ModuleTag_02
MaxHealth = 120.0
InitialHealth = 120.0
End


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

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 Infa_ChinaInfantryTankHunter, then, paste this code:
Quote:
ArmorSet
Conditions = PLAYER_UPGRADE
Armor = HazMatHumanArmor
DamageFX = InfantryDamageFX
End


Below this string:
Quote:
ArmorSet
Conditions = None
Armor = InfGen_HumanArmor
DamageFX = InfantryDamageFX
End


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

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.

Edited by user Sunday, December 22, 2024 5:42:54 PM(UTC)  | Reason: Typos

----------------------------------------------------------------------------------------------------------------
The Enemy has provided us with their homes!

-Maidana

I like helping people.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.