Skip to content

Commit

Permalink
feat: adjust AMX Mod X 'deatheffectenhancer' plugin effects
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlinat committed Apr 22, 2024
1 parent 8429151 commit 5cedf25
Show file tree
Hide file tree
Showing 27 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ statssounds.amxx ; precache plugin for stats plugins
statslogging.amxx ; weapons stats logging (DoD Module required!)

; Custom - Add 3rd party plugins here
jl_advancedmachinegundeployer.amxx ; enhances the deployment mechanism for machine guns in-game
jl_awayfromkeyboardkicker.amxx ; monitors player activity to identify and manage players who are Away From Keyboard (AFK) for an extended period, ensuring active participation and fairness in gameplay
jl_deatheffectenhancer.amxx ; significantly enriches the visual and gameplay experience upon a player's death in-game
jl_instantspawner.amxx ; completely removes the spawn delay when players die
jl_machinegundeploymentenhancer.amxx ; enhances the deployment mechanism for machine guns in-game
jl_parachuteprovider.amxx ; provides a parachute to players when they are falling from a height, allowing for a slow and safe descent
jl_playerhealer.amxx ; enables players to gradually recover health points over time
jl_scoreboardhotnameslider.amxx ; updates the server's hostname on the scoreboard to create a sliding text effect
Expand Down
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/adminchat.amxx
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/adminhelp.amxx
Binary file not shown.
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/antiflood.amxx
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/dodstats.amxx
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/imessage.amxx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/mapchooser.amxx
Binary file not shown.
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/nextmap.amxx
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/pausecfg.amxx
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/scrollmsg.amxx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dodserver/serverfiles/dod/addons/amxmodx/plugins/timeleft.amxx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,18 @@ public client_death(killer, victim, wpnindex, hitplace, TK) {
if (!is_user_bot(victim)) {
timeDied[victim] = get_gametime() + 1.0;
}

set_task(0.01, "fade_to_red", victim);
}

public fade_to_red(victim) {
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), { 0, 0, 0 }, victim);
write_short(1500);
write_short(1000);
write_short(0x000F);
write_byte(255);
write_byte(0);
write_byte(0);
write_byte(192)
message_end();
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define PLUGIN "Advanced Machine Gun Deployer"
#define PLUGIN "Machine Gun Deployment Enhancer"
#define VERSION "1.0.0"
#define AUTHOR "Jonathan Linat"
#define URL "https://github.com/jonathanlinat"
Expand Down

0 comments on commit 5cedf25

Please sign in to comment.