1. Some patches ago I was able to modify Rocket's damage and radius this way:
    Code:
    void OnRocketLaunched(BasePlayer player, BaseEntity entity) {
                var expl = entity as TimedExplosive;
                if (!expl) return;            //Modify radius
                expl.explosionRadius *= X;
               
                //Modify damage
                foreach (var damage in expl.damageTypes)
                    damage.amount *= X    
    }
    Unfortunatly this no longers works because my variable expl is now NULL. Guess something in the game's code changed. Also couldn't find anything else that lets me modify the damage/radius in that hook.

    Does anyone know a workaround for that? I want to modify especially Rocket damage, not explosive damage overall (c4 etc).
     
  2. Wulf

    Wulf Community Admin

    The hook actually needs a change, as it is currently using the wrong 2nd parameter. It should work after we push a fix for it.
     
  3. Oh well, thought I couldn't expect a fix for that according to the Github issue I made.
    Thanks a lot :)
     
  4. Wulf

    Wulf Community Admin

    Well, a couple team members found the issue. :p