Go to the source code of this file.
Defines | |
| #define | AGRIP |
| Enables hooks for the main AGRIP code in the standard QC files. | |
Functions | |
| void | KickABotDM (float clientcalled) |
| float | KickABotTeam (float bteam, float clientcalled) |
| void | create_bot (float bottom, float top, string bteam, float clientcalled) |
| entity (string name) testbot | |
| void | soundtoclient (entity client, entity e, float chan, string samp, float vol, float atten) void safe_soundtoclient(entity client |
Variables | |
| entity | agrip_nav |
| link to the player's navigation helper entity (added to global list of fields for each entity) | |
| entity | agrip_d5k |
| link to the player's D5k entity (added to global list of fields for each entity) | |
| entity | agrip_esr |
| link to the player's ESR entity (added to global list of fields for each entity) | |
| entity | agrip_aux |
| link to the player's auxiliary infomation entity (added to global list of fields for each entity) | |
| float | volume |
| void entity | e |
| void entity float | chan |
| void entity float string | samp |
| void entity float string float | vol |
Enable hooks for mods (these allow mod authors to hook into the AGRIP/QC code at certain points thus making the process of modding a lot less invasive and keepign our and their code clean)...
Simply define the following in your <modname>_defs.qc file...
Definition in file agrip_defs.mqc.
| #define AGRIP |
Enables hooks for the main AGRIP code in the standard QC files.
Definition at line 24 of file agrip_defs.mqc.
| void create_bot | ( | float | bottom, | |
| float | top, | |||
| string | bteam, | |||
| float | clientcalled | |||
| ) |
Definition at line 1752 of file tutor.mqc.
References entity().
Referenced by agh_client_padclients_disconnect(), agh_weapons_impulsecommands(), and snap_misc_botspawner().
| entity | ( | string | name | ) |
Referenced by agh_weapons_impulsecommands(), agh_world_padclients(), bot_fire_grenade(), bot_fire_rocket(), bot_look_for_players(), bot_search_for_items(), CountPlayers(), CountPlayersTeam(), create_bot(), KickABotDM(), KickABotTeam(), snap_aux_constructor(), snap_d5k_constructor(), snap_esr_classic(), snap_esr_constructor(), snap_esr_hazard(), snap_marker_constructor(), snap_marker_destructor(), snap_misc_showpoint(), snap_nav_constructor(), and snap_nav_corners_main().
| void KickABotDM | ( | float | clientcalled | ) |
Definition at line 48 of file tutor.mqc.
References entity(), and KickABotClientCheck().
Referenced by agh_client_padclients_connect(), and agh_weapons_impulsecommands().
| float KickABotTeam | ( | float | bteam, | |
| float | clientcalled | |||
| ) |
Definition at line 81 of file tutor.mqc.
References entity(), and KickABotClientCheck().
Referenced by agh_client_padclients_connect(), and agh_weapons_impulsecommands().
| void soundtoclient | ( | entity | client, | |
| entity | e, | |||
| float | chan, | |||
| string | samp, | |||
| float | vol, | |||
| float | atten | |||
| ) |
| entity agrip_aux |
link to the player's auxiliary infomation entity (added to global list of fields for each entity)
Definition at line 46 of file agrip_defs.mqc.
Referenced by agh_player_dietidy(), agh_player_footsteps(), agh_weapons_impulsecommands(), snap_marker_constructor(), snap_marker_destructor(), snap_misc_blockedtest_propchg(), and snap_misc_m2m().
| entity agrip_d5k |
link to the player's D5k entity (added to global list of fields for each entity)
Definition at line 44 of file agrip_defs.mqc.
| entity agrip_esr |
link to the player's ESR entity (added to global list of fields for each entity)
Definition at line 45 of file agrip_defs.mqc.
| entity agrip_nav |
link to the player's navigation helper entity (added to global list of fields for each entity)
Define our helper objects... These really work as fields for each entity in the game
Definition at line 43 of file agrip_defs.mqc.
Referenced by agh_weapons_impulsecommands().
| void entity float chan |
Definition at line 63 of file agrip_defs.mqc.
| void entity e |
Definition at line 63 of file agrip_defs.mqc.
| void entity float string samp |
Definition at line 63 of file agrip_defs.mqc.
| void entity float string float vol |
Definition at line 63 of file agrip_defs.mqc.
| float volume |
Definition at line 49 of file agrip_defs.mqc.
1.5.4