Dust2 Short Gravity PluginA Counter-Strike 1.6 AMX Mod X plugin that provides reduced gravity at a specific location on de_dust2 map, allowing players to jump directly onto "Short" without requiring a boost.FeaturesMap-Specific: Only active on de_dust2Location-Based Gravity: Reduces gravity when players are near coordinates 602, 2370, 76 (Short area)Automatic Detection: Continuously checks player positions every 0.1 secondsVisual Feedback:On-screen message: "Low Gravity Zone - Jump Higher!"Cyan dynamic light effect when entering the zoneSmart Gravity Management:Saves original player gravity before modificationRestores normal gravity when leaving the zoneResets gravity on player respawnConfigurationYou can customize the plugin by modifying these defines in the source code:#define GRAVITY_VALUE 0.3 // Lower = higher jumps (0.1-0.9, normal is 1.0)#define CHECK_RADIUS 80.0 // Detection radius in units around target positionGravity Values Guide:1.0 = Normal gravity0.5 = Half gravity (moderate jump boost)0.3 = Low gravity (high jump boost) - Default0.1 = Very low gravity (extreme jump boost)Radius Values:80.0 = Tight activation zone - Default100.0 = Medium activation zone150.0 = Large activation zoneInstallationCompile the plugin:amxxpc.exe Dust2ShortGravity.sma -iincludeCopy the compiled plugin:Place Dust2ShortGravity.amxx in cstrike/addons/amxmodx/plugins/Enable the plugin:Add to cstrike/addons/amxmodx/configs/plugins.ini:Dust2ShortGravity.amxxRestart server or change map to de_dust2RequirementsAMX Mod X 1.8.2 or higherCounter-Strike 1.6Required Modules:amxmodxamxmiscfakemetafunHow It WorksPlugin checks if the current map is de_dust2If not on de_dust2, the plugin automatically pauses itselfEvery 0.1 seconds, it checks all alive players' positionsWhen a player enters the 80-unit radius around the target coordinates:Their original gravity is savedGravity is reduced to 0.3 (configurable)Visual effects and message are displayedWhen the player leaves the zone, normal gravity is restoredOn respawn, gravity is reset to normalTechnical DetailsTarget Coordinates: 602.0, 2370.0, 76.0 (Short area on de_dust2)Check Frequency: 10 times per second (0.1s interval)Detection Method: 3D distance calculation from player origin to target pointGravity Storage: Per-player original gravity values stored in arrayCustomizationChange Target Location:Modify the coordinates in the source code:new Float:g_fTargetOrigin[3] = {602.0, 2370.0, 76.0}Disable Visual Effects:Comment out or remove the message_begin block (lines 104-115)Change Message:Modify line 101:client_print(id, print_center, "Your Custom Message Here!")TroubleshootingPlugin doesn't work:Ensure you're on de_dust2 mapCheck that all required modules are loadedVerify plugin is listed in plugins.iniGravity zone too large/small:Adjust CHECK_RADIUS value and recompileJump not high enough:Decrease GRAVITY_VALUE (try 0.2 or 0.1)Jump too high:Increase GRAVITY_VALUE (try 0.4 or 0.5)Version Historyv1.0 (2025-01-21)Initial releaseBasic gravity zone functionalityVisual effects and notificationsMap-specific activationAuthorillusionLabs.devLicenseFree to use and modify for personal and commercial servers.SupportFor issues, suggestions, or customization requests, please contact the author.
#amxx
#cs16
#plugin