Raised This Month: $ Target: $400

[Any] Gravity Reset

Thread Tools Display Modes
Prev Previous Post   Next Post Next
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
Plugin Version:
Plugin Category:
Server Management
Plugin Game:
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Resets gravity to a backup cvar at the end of the round
    Old 02-22-2010 , 20:04   [Any] Gravity Reset
    Reply With Quote #1

    [Any] Gravity Reset
    Plugin Version 1.0.2

    Resets sv_gravity to the value of "gravreset_gravity" on round start.
    Useful if you have admins who like to change gravity, but forget/don't reset gravity.

    Should also fix the source engine bug where maps will use gravity from the previous map for props and projectiles.


    gravreset_message "1" whether to announce gravity change on round start 1/0.
    gravreset_gravity "800" gravity to reset to (800 is normal).
    sm_gravreset_version Plugin Version.
    Install Instructions:
    1. Upload the .smx file to your /sourcemod/plugins/ folder

    Tested on TF2, should work on any game though.

    Web Version History:
    • V1.0.0
      • Initial Release.
    • V1.0.1
      • Now hooks RoundStart rather then RoundEnd.
    • V1.0.2
      • Code cleanup.
      • Fixed wrong event still being hooked.

    Total downloads as prior to last edit: 193
    Attached Files
    File Type: sp Get Plugin or Get Source (GravReset.sp - 1857 views - 1.3 KB)

    Last edited by DarthNinja; 08-08-2011 at 12:50.
    DarthNinja is offline

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 22:07.

    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode