X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fbase.qh;h=95d85d793963181309ad6e63f182106c055717cb;hp=0d2d7c96a64d48e1e53daa4dfb6b3c8b14a0d88d;hb=dc891780036706390bcaa27975dcb71e499deeae;hpb=79af1d0a6a91cc42a4359ecdae84a9fa72593731 diff --git a/qcsrc/server/mutators/base.qh b/qcsrc/server/mutators/base.qh index 0d2d7c96a..95d85d793 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,8 +103,13 @@ 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}} + // adjusts {warmup_}start_{items,weapons,ammo_{cells,plasma,rockets,nails,shells,fuel}} MUTATOR_HOOKABLE(BuildMutatorsString); // appends ":mutatorname" to ret_string for logging @@ -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);