Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to fix the damageType of Rocket after receiving it?

Be a kicker than cheater.
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)

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:
Back
Top