Open Margen67 opened 4 years ago
https://wiki.teamfortress.com/wiki/Self-Aware_Beauty_Mark#Bugs https://wiki.teamfortress.com/wiki/Mutated_Milk#Bugs Projectiles from the Self-Aware Beauty Mark, Festive Jarate, Mutated Milk, etc use the wrong model if you throw the projectile, and quickly switch to another weapon.
Potentially responsible code: https://github.com/mastercomfig/team-comtress-2/blob/master/game/shared/tf/tf_weapon_jar.cpp#L266-#L289
void CTFProjectile_Jar::SetCustomPipebombModel() { // Check for Model Override int iProjectile = 0; CTFPlayer *pThrower = ToTFPlayer( GetThrower() ); if ( pThrower && pThrower->GetActiveWeapon() ) { CALL_ATTRIB_HOOK_INT_ON_OTHER( pThrower->GetActiveWeapon(), iProjectile, override_projectile_type ); switch ( iProjectile ) { case TF_PROJECTILE_FESTIVE_JAR : m_iProjectileType = iProjectile; SetModel( TF_WEAPON_FESTIVE_PEEJAR_MODEL ); return; case TF_PROJECTILE_BREADMONSTER_JARATE: case TF_PROJECTILE_BREADMONSTER_MADMILK: m_iProjectileType = iProjectile; SetModel( "models/weapons/c_models/c_breadmonster/c_breadmonster.mdl" ); return; } } SetModel( TF_WEAPON_PEEJAR_MODEL ); }
master
start_tf2.bat
start_server.bat
map
Another note: If you throw a projectile close enough to an enemy, it can cause it to behave like stock (no breadmonster on head)
Description
https://wiki.teamfortress.com/wiki/Self-Aware_Beauty_Mark#Bugs https://wiki.teamfortress.com/wiki/Mutated_Milk#Bugs Projectiles from the Self-Aware Beauty Mark, Festive Jarate, Mutated Milk, etc use the wrong model if you throw the projectile, and quickly switch to another weapon.
Potentially responsible code: https://github.com/mastercomfig/team-comtress-2/blob/master/game/shared/tf/tf_weapon_jar.cpp#L266-#L289
Checklist
master
branch.start_tf2.bat
(orstart_server.bat
) with no custom launch options.map
command ingame).Reproduction
Screenshots
Setup Details
Performance Details