// EventScripts v1.0+ // BIG BLAST originally by Ajax // Upgraded to ES 1.0 by Don Lafferty // // Description: Increases the power of your hand grenades. // // Requirements: ES 1.0+ // Mani Admin Plugin // Optional: ES Tools // // Installation: Put this file into cstrike/addons/eventscripts/big_blast/es_big_blast.txt // Put this into yourautoexec.cfg es_load big_blast // Change the settings in the block below to your liking. block user_settings_bb { // scale controllers // for bigger blasts and more fun, blast_scale 3, bslap_scale 0 // for more realistic (more) damage, blast_scale 1, bslap_scale 3 // 0-3 blast impact multiplier es_xsetinfo blast_scale 4 // 0-3 blast damage multiplier es_xsetinfo bslap_scale 5 // Set to 1 if you have and want Mani's Quake Ultra-Kill sound // Set to 0 if you don't want the Ultra-Kill sound es_xsetinfo mani_quake_sound 1 // Set to 1 if you have ES Tools installed and you want the attacker credited with the kill // Set to 0 if you don't have ES Tools or you don't want the attacker credited with the kill es_xsetinfo killer_credit 1 } //------------------------- Do not edit below this line unless you understand EventScripts block load { es_xsetinfo attackerid 0 es_xsetinfo attackername 0 es_doblock big_blast/user_settings_bb } event player_hurt { if (event_var(weapon) equalto hegrenade) do { es_doblock big_blast/blast es_setinfo attackerid event_var(attacker) es_setinfo attackername event_var(es_attackername) } } event player_death { if (server_var(killer_credit) = 1) do { if (event_var(weapon) equalto world) do { if (event_var(userid) notequalto server_var(attackerid)) do { es est_killadd server_var(attackerid) 1 es_centermsg server_var(attackername) " had an Ultra-Kill!" es_msg #green server_var(attackername) " had an Ultra-Kill!" if (server_var(mani_quake_sound) = 1) then ma_play ultrakill } } } } event round_start { // scales are re-calculated every round // for on-the-fly changes es_setinfo blast server_var(blast_scale) es_math blast * -5 es_math blast + 25 es_setinfo bslap server_var(bslap_scale) es_math bslap * 5 } block blast_loop { es_delayed .1 ma_slap event_var(userid) server_var(bslap) es_math blast_loops - 1 if (server_var(blast_loops) notequalto 0) then es_doblock big_blast/blast_loop } block blast { es_setinfo blast_loops event_var(dmg_health) es_math blast_loops / server_var(blast) es_token blast_loops server_var(blast_loops) 1 "." if (server_var(blast_loops) notequalto 0) then es_doblock big_blast/blast_loop }