|
#define | EV_AnnouncerOption(i, o) |
|
#define | EV_CSQC_ConsoleCommand(i, o) |
| Called when a client command is parsed NOTE: hooks MUST start with if (MUTATOR_RETURNVALUE) return false; NOTE: return true if you handled the command, return false to continue handling NOTE: THESE HOOKS MUST NEVER EVER CALL tokenize() // example: MUTATOR_HOOKFUNCTION(foo, CSQC_ConsoleCommand) { if (MUTATOR_RETURNVALUE) return false; // command was already handled string cmd_name = M_ARGV(0, string); int cmd_argc = M_ARGV(1, int); if (cmd_name == "echocvar" && cmd_argc >= 2) { print(cvar_string(argv(1)), "\n"); return true; } if (cmd_name == "echostring" && cmd_argc >= 2) { print(substring(cmd_string, argv_start_index(1), argv_end_index(-1) - argv_start_index(1)), "\n"); return true; } return false; }. More...
|
|
#define | EV_CustomizeEventchase(i, o) |
| allow customizing 3rd person mode effect More...
|
|
#define | EV_DamageInfo(i, o) |
| Called when damage info is received on the client, useful for playing explosion effects. More...
|
|
#define | EV_DrawGrapplingHook(i, o) |
| Draw the grapple hook, allows changing hook texture and colour. More...
|
|
#define | EV_DrawInfoMessages(i, o) |
| Called when drawing info messages, allows adding new info messages. More...
|
|
#define | EV_DrawViewModel(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when the view model is being animated (setorigin is called after the hook, so you only need to modify origin here if desired) More...
|
|
#define | EV_EditProjectile(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when a projectile's properties are being modified. More...
|
|
#define | EV_Ent_Projectile(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when a projectile is linked with CSQC. More...
|
|
#define | EV_Ent_Update(i, o) |
| Called when an entity is updated (either by SVQC networking or PVS) More...
|
|
#define | EV_ForcePlayercolors_Skip(i, o) |
| Return true to disable player color forcing. More...
|
|
#define | EV_ForcePlayermodels_Skip(i, o) |
| Return true to disable player model forcing. More...
|
|
#define | EV_GetModelParams(i, o) |
| Called when getting the global parameters for a model. More...
|
|
#define | EV_HUD_Command(i, o) /** argc (also, argv() can be used) */ i(int, MUTATOR_ARGV_0_int) \ |
|
#define | EV_HUD_Draw_overlay(i, o) |
|
#define | EV_Particles_VortexBeam(i, o) |
| Return true to not draw any vortex beam. More...
|
|
#define | EV_ShowNames_Draw(i, o) |
| Called when drawing a player's nameplate, return true to hide it. More...
|
|
#define | EV_ShowRankings(i, o) /** rankings title */ o(string, MUTATOR_ARGV_0_string) \ |
| Return true to show leaderboard rankings, needs title argument set. More...
|
|
#define | EV_Skeleton_CheckBones(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when setting up skeleton bones. More...
|
|
#define | EV_Skeleton_CheckModel(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when setting up bones from the loaded model. More...
|
|
#define | EV_TagIndex_Apply(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when setting the attached tags. More...
|
|
#define | EV_TagIndex_Update(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called when updating the attached tags index. More...
|
|
#define | EV_WantEventchase(i, o) /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \ |
| Called checking if 3rd person mode should be forced on. More...
|
|
#define | EV_Weapon_ImpactEffect(i, o) |
| Return true to not draw any impact effect. More...
|
|
|
| MUTATOR_HOOKABLE (CSQC_ConsoleCommand, EV_CSQC_ConsoleCommand) |
|
| MUTATOR_HOOKABLE (UpdateCrosshair, EV_NO_ARGS) |
|
| MUTATOR_HOOKABLE (Ent_Projectile, EV_Ent_Projectile) |
|
| MUTATOR_HOOKABLE (EditProjectile, EV_EditProjectile) |
|
| MUTATOR_HOOKABLE (PrecacheProjectiles, EV_NO_ARGS) |
|
| MUTATOR_HOOKABLE (TagIndex_Update, EV_TagIndex_Update) |
|
| MUTATOR_HOOKABLE (TagIndex_Apply, EV_TagIndex_Apply) |
|
| MUTATOR_HOOKABLE (Skeleton_CheckBones, EV_Skeleton_CheckBones) |
|
| MUTATOR_HOOKABLE (Skeleton_CheckModel, EV_Skeleton_CheckModel) |
|
| MUTATOR_HOOKABLE (ClearModelParams, EV_NO_ARGS) |
| Called when clearing the global parameters for a model. More...
|
|
| MUTATOR_HOOKABLE (GetModelParams, EV_GetModelParams) |
|
| MUTATOR_HOOKABLE (WantEventchase, EV_WantEventchase) |
|
| MUTATOR_HOOKABLE (CustomizeEventchase, EV_CustomizeEventchase) |
|
| MUTATOR_HOOKABLE (AnnouncerOption, EV_AnnouncerOption) |
|
| MUTATOR_HOOKABLE (Ent_Init, EV_NO_ARGS) |
|
| MUTATOR_HOOKABLE (HUD_Draw_overlay, EV_HUD_Draw_overlay) |
|
| MUTATOR_HOOKABLE (HUD_Powerups_add, EV_NO_ARGS) |
|
| MUTATOR_HOOKABLE (HUD_Physics_showoptional, EV_NO_ARGS) |
| return true to show the physics HUD panel when optional mode is enabled More...
|
|
| MUTATOR_HOOKABLE (HUD_StrafeHUD_showoptional, EV_NO_ARGS) |
| return true to show the strafehud when optional mode is enabled More...
|
|
| MUTATOR_HOOKABLE (HUD_Score_show, EV_NO_ARGS) |
| return true to hide the score HUD panel More...
|
|
| MUTATOR_HOOKABLE (Particles_VortexBeam, EV_Particles_VortexBeam) |
|
| MUTATOR_HOOKABLE (Weapon_ImpactEffect, EV_Weapon_ImpactEffect) |
|
| MUTATOR_HOOKABLE (HUD_Command, EV_HUD_Command) |
|
| MUTATOR_HOOKABLE (DrawGrapplingHook, EV_DrawGrapplingHook) |
|
| MUTATOR_HOOKABLE (Ent_Update, EV_Ent_Update) |
|
| MUTATOR_HOOKABLE (DrawCrosshair, EV_NO_ARGS) |
| Return true to not draw crosshair. More...
|
|
| MUTATOR_HOOKABLE (DrawScoreboard, EV_NO_ARGS) |
| Return true to not draw scoreboard. More...
|
|
| MUTATOR_HOOKABLE (DrawScoreboard_Force, EV_NO_ARGS) |
| Return true to force showing of the scoreboard. More...
|
|
| MUTATOR_HOOKABLE (DrawDeathScoreboard, EV_NO_ARGS) |
| Return true to not draw scoreboard while dead. More...
|
|
| MUTATOR_HOOKABLE (DrawScoreboardAccuracy, EV_NO_ARGS) |
| Return true to not show accuracy stats in the scoreboard. More...
|
|
| MUTATOR_HOOKABLE (DrawScoreboardItemStats, EV_NO_ARGS) |
| Return true to not show item pickup stats in the scoreboard. More...
|
|
| MUTATOR_HOOKABLE (DrawInfoMessages, EV_DrawInfoMessages) |
|
| MUTATOR_HOOKABLE (DrawViewModel, EV_DrawViewModel) |
|
| MUTATOR_HOOKABLE (HUD_Contents, EV_NO_ARGS) |
| Called when updating the view's liquid contents, return true to disable the standard checks and apply your own. More...
|
|
| MUTATOR_HOOKABLE (ForcePlayermodels_Skip, EV_ForcePlayermodels_Skip) |
|
| MUTATOR_HOOKABLE (ForcePlayercolors_Skip, EV_ForcePlayercolors_Skip) |
|
| MUTATOR_HOOKABLE (DamageInfo, EV_DamageInfo) |
|
| MUTATOR_HOOKABLE (DrawReticle, EV_NO_ARGS) |
| Return true to not draw zoom reticle. More...
|
|
| MUTATOR_HOOKABLE (ShowRankings, EV_ShowRankings) |
|
| MUTATOR_HOOKABLE (ShowNames_Draw, EV_ShowNames_Draw) |
|
| MUTATOR_HOOKABLE (ShowRaceTimer, EV_NO_ARGS) |
| Return true to display the race timer HUD panel. More...
|
|
| MUTATOR_HOOKABLE (TeamRadar_Draw, EV_NO_ARGS) |
| Return true to force team radar to display entities regardless of their team. More...
|
|