- Joined
- Dec 17, 2009
- Messages
- 733
- Reaction score
- 26
I just found this functions and those are from Grenade (like Canox FG1) and ExplosionMagic (like Canox EX1)
How to fix the Rocket damageType receiving damage?
I want to fix the damageType of it since I found out that when I receive a damage from Rocket Missile, it turn to damageType of Grenade which is "MWT_FRAGMENTATION". Damage Type of ExplosionMagic is already fixed from source which turn to MWT_TRAP after damage received. The only problem is the Rocket damageType MWT_ROCKET. Please help.
I knew that this might be because of anti-lead, but I just want to fix.
Code:
void OnExplosionGrenade(MUID uidOwner,rvector pos,float fDamage,float fRange,float fMinDamage,float fKnockBack,MMatchTeam nTeamID);
void OnExplosionMagic(ZWeaponMagic *pWeapon, MUID uidOwner,rvector pos,float fMinDamage,float fKnockBack,MMatchTeam nTeamID,bool bSkipNpc);
How to fix the Rocket damageType receiving damage?
I want to fix the damageType of it since I found out that when I receive a damage from Rocket Missile, it turn to damageType of Grenade which is "MWT_FRAGMENTATION". Damage Type of ExplosionMagic is already fixed from source which turn to MWT_TRAP after damage received. The only problem is the Rocket damageType MWT_ROCKET. Please help.
I knew that this might be because of anti-lead, but I just want to fix.
Last edited: