Zatsupachi
9 years ago
This is a question, I've been wondering for awhile actually how DOES Chemical Suit work?

I don't mean it gives a special armor to resist against poisons and radiation. I mean how does the Decal appear under the unit, like what section of code that DRAWS the Decal-- And don't give me the whole it's triggered by the ArmorUpgrade module.

I need to know where(or which .ini) the decal is coded.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
Sponsor
klingondragon
9 years ago
I've had a look.
I checked:
Object/AmericaInfantry.ini
AIData.ini
Animation2D.ini
Armour.ini
CommandButton.ini
CommandMap.ini
ControlBarScheme.ini
DamageFX.ini
DrawGroupInfo.ini
FXList.ini
GameData.ini
GameDataDebug.ini
InGameUI.ini
ParticleSystem.ini
Terrain.ini
Upgrade.ini

Plus their counterparts in the 'Default' folder.
And all the files in the 'Textures' folder.
(I also checked a few more but I haven't listed them as they have nothing to do with any part of this (e.g. Crate.ini), I was just curious as to what was in them)


I couldn't find anything.
Annihilationzh
9 years ago

This is a question, I've been wondering for awhile actually how DOES Chemical Suit work?

I don't mean it gives a special armor to resist against poisons and radiation. I mean how does the Decal appear under the unit, like what section of code that DRAWS the Decal-- And don't give me the whole it's triggered by the ArmorUpgrade module.

I need to know where(or which .ini) the decal is coded.

Originally Posted by: Zatsupachi 


Haven't looked into it for a long time, but I think it is hardcoded to the infantry kindof.
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.
klingondragon
9 years ago
After a while I began to think it was hardcoded. I'll now look at the horde decals too.

Update:
Found nothing for them either.
acidbrain
9 years ago
I spent some time on it too in the past and I though it had something to do with the shadowtexture or something

this is for the infantry

Shadow = SHADOW_DECAL
ShadowTexture = ShadowI;

and a fake building uses this:

ShadowTexture = fake_supply

that's why I thought it had something to do with the shadowtexture
I think that it´s hardcoded or something, gave china units the chemical suit upgrade once and made a group, chem decal disappeared when horde was activated.
There is a big chance im full of sjit though..;P
Panem et kirkinses
klingondragon
9 years ago
When I had china units with horde and chemsuits I found that the correct texture would show. Until the chemsuited infantry got into a horde. But if the horde broke then the chemsuit texture wouldn't return. Strange.
Annihilationzh
9 years ago

that's why I thought it had something to do with the shadowtexture
I think that it´s hardcoded or something, gave china units the chemical suit upgrade once and made a group, chem decal disappeared when horde was activated.
There is a big chance im full of sjit though..;P

Originally Posted by: acidbrain 


IIRC if you give infantry any armor upgrade, they will have the chem suits decal.

When I had china units with horde and chemsuits I found that the correct texture would show. Until the chemsuited infantry got into a horde. But if the horde broke then the chemsuit texture wouldn't return. Strange.

Originally Posted by: klingondragon 


Modules need to update to be active. The chemical suit decal only activates once. So when the horde module clears the decal, the chemical suit one doesn't come back.

Just look at China's neutron mines. They won't activate unless you have an armor update module.
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.