X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fbase.qh;h=f4021eb4c0a45b33a2f2741363ea50d36cc68848;hp=0d2d7c96a64d48e1e53daa4dfb6b3c8b14a0d88d;hb=20256058c4de97b81ee5aaedaa383a99010752f0;hpb=5d84c659e4c2c51c996b5330fa19c8a24887e42d diff --git a/qcsrc/server/mutators/base.qh b/qcsrc/server/mutators/base.qh index 0d2d7c96a6..f4021eb4c0 100644 --- a/qcsrc/server/mutators/base.qh +++ b/qcsrc/server/mutators/base.qh @@ -77,6 +77,7 @@ MUTATOR_HOOKABLE(PlayerJump); // called when a player presses the jump key // INPUT, OUTPUT: float player_multijump; + float player_jumpheight; MUTATOR_HOOKABLE(GiveFragsForKill); // called when someone was fragged by "self", and is expected to change frag_score to adjust scoring for the kill @@ -102,6 +103,11 @@ MUTATOR_HOOKABLE(SpectateCopy); MUTATOR_HOOKABLE(ForbidThrowCurrentWeapon); // returns 1 if throwing the current weapon shall not be allowed +MUTATOR_HOOKABLE(WeaponRateFactor); + // allows changing attack rate + // INPUT, OUTPUT: + float weapon_rate; + MUTATOR_HOOKABLE(SetStartItems); // adjusts {warmup_}start_{items,weapons,ammo_{cells,rockets,nails,shells,fuel}} @@ -222,6 +228,11 @@ MUTATOR_HOOKABLE(PlayerPowerups); MUTATOR_HOOKABLE(PlayerRegen); // called every player think frame // return 1 to disable regen + // INPUT, OUTPUT: + float regen_mod_max; + float regen_mod_regen; + float regen_mod_rot; + float regen_mod_limit; MUTATOR_HOOKABLE(PlayerUseKey); // called when the use key is pressed @@ -353,7 +364,7 @@ MUTATOR_HOOKABLE(ClientConnect); // called at when a player connect entity self; // player -MUTATOR_HOOKABLE(HavocBot_ChooseRule); +MUTATOR_HOOKABLE(HavocBot_ChooseRole); entity self; MUTATOR_HOOKABLE(AccuracyTargetValid);