Previously it only allows to disguise with matching target's class due to default disguise look not having zombie effects, giving an obvious look.
This change makes it so that if disguising as a class that no zombies is playing as, it then changes the look to have zombie skin, zombie cosmetic, and SZF's default melee weapon. This should make it as identical as any other zombies.
Disguising as Spy is disallowed because clientside does not allow to be able to show zombie skin, instead showing as a normal spy with a random mask class.
Disguising as Engineer however does not show it's Gunslinger hand correctly, which I'm not sure if it's possible to fix.
Previously it only allows to disguise with matching target's class due to default disguise look not having zombie effects, giving an obvious look.
This change makes it so that if disguising as a class that no zombies is playing as, it then changes the look to have zombie skin, zombie cosmetic, and SZF's default melee weapon. This should make it as identical as any other zombies.
Disguising as Spy is disallowed because clientside does not allow to be able to show zombie skin, instead showing as a normal spy with a random mask class.
Disguising as Engineer however does not show it's Gunslinger hand correctly, which I'm not sure if it's possible to fix.