Raised This Month: $12 Target: $400
 3% 

[DoDS] Realism Mod - v1.0.202 Updated July 2010


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
428
Plugin Version:
1.0.202
Plugin Category:
Gameplay
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    The SourceMod port of the DoDS Realism Mod with more features added
    Old 06-16-2008 , 02:12   [DoDS] Realism Mod - v1.0.202 Updated July 2010
    Reply With Quote #1

    The Realism Mod for DoDS adds many features that many Realism communities look for in the game.
    This version incorporates some of the original features of the ES version:
    • Bleeding - if your health drops below a certain level, the player bleeds until they either get healed or they die
    • Machine Gunners and Rocket players are heavier and slower
    • The time to win the round is displayed
    • When a player gets hit in the arm, the weapon may be dropped depending on the damage
    • Displays headshots
    • Fade to black on death
    • Medic feature - call medic and you get healed
    • Knock back on injury
    The SourceMod version adds many more features:
    • Medic arrival can be set so that when the player calls medic, there will be a delay.
    • Now if you get hit in either arm, you may drop your gun (the ES version only had it working for one arm)
    • Get hit in either leg and you move slower and cannot jump as high, until you get healed.
    • Medic healing is random and not set to a certain value (as in the ES version)
    • When healing takes place, the player's screen fades out slightly and they are immobilized (unable to move), but they can still fire.
    • Constant yelling for medic will prevent access to healing
    • On injury, the players screen will fade to red briefly. If they are bleeding, as their health lowers, the screen becomes more opaque.
    • A cvar to set all players' health at spawn
    The plugin is also set up for my new Medic Class plugin (coming soon) so that the medic function is disabled if the Medic Class plugin is installed.

    What this plugin doesn't have:
    • Blood streams - the blood squirts from the ES version were strange looking and currently, env_blood sprays are not supported properly in DoDS. There are many better plugins out there for gore, so server ops may wish to install those instead.
      Try this one: http://forums.alliedmods.net/showthread.php?t=67863 and disable the red screen overlays.
    • "Player X has joined the game" - left out because it already says it in OB.
    • Overlays - with r_screenoverlay being tagged as a cheat in OB, overlays cannot be set. Instead, a red fade happens.
    • Pistols - use this plugin: http://forums.alliedmods.net/showthread.php?t=73101
    Servers running this plugin


    Installation
    • Copy sm_dod_realism.smx to addons/sourcemod/plugins
    • Unzip the folder from sound.zip and copy into sound folder - this is the bandage sound file. If you have a fast download server, you will need to add this folder in the sound folder there as well. In addition, sv_pure will need to be something other than 2. If you need a sample whitelist, PM me.
    Commands
    !medic or medic in chat - calls for a medic

    Configuration
    • sv_realism_health 25
      default: 25
      This is minimum health before the !medic command can be used
    • sv_realism_bleeding 20
      default 20 (0 to disable)
      If health drops below this level, bleeding begins until the players either dies or can call the medic in time. sv_realism_bleeding should always be less than sv_realism_health.
    • sv_realism_medic_delay 2.0
      default: 2.0 (minimum value: 0.1)
      Medics need time to get to their patient. Set this time to delay the arrival of the medic.
    • sv_realism_overlay 1
      default: 1 (0 to disable)
      Enables or disables the red overlay fade screen
    • sv_realism_drop 1
      default: 1 (0 to disable)
      Enables or disables the weapon drop feature
    • sv_realism_rocket_speed 0.7
      default: 0.7 (1.0 to disable)
      Set the speed of the rocket player
    • sv_realism_rocket_gravity 1.9
      default: 1.9 (1.0 to disable)
      Set the gravity of the rocket player
    • sv_realism_mg_speed 0.8
      default: 0.8 (1.0 to disable)
      Set the speed of the mg player
    • sv_realism_mg_gravity 1.7
      default: 1.7 (1.0 to disable)
      Set the gravity of the mg player
    • sv_realism_medic_max 5
      default: 5 (100 to disable)
      Set the number of heals that can happen between player deaths
    • sv_realism_headshots 2
      default: 2 (0 to disable)
      1 is to display headshot message to the client, 2 to display headshot message to all and 0 to disable
    • sv_realism_slow 1
      default: 1 (0 to disable)
      Enables or disables slowing the player if an injury to leg occurs
    • sv_realism_ftb 1
      default: 1 (0 to disable)
      Enables or disables Fade to Black
    • sv_realism_freeze 1
      default: 1 (0 to disable)
      Enables or disables freezing a player when being healed
    • sv_realism_freezetime 5.0
      default: 5.0
      Time a player is frozen during healing
    • sv_realism_knockback 1
      default: 1 (0 to disable)
      Enables or disables Knock Back on injury
    • sv_realism_hp 80
      default: 100 (100 to disable)
      Sets a player's health when they spawn
    • sv_realism_healftb 1
      default: 1 (0 to disable)
      Enables or disables Fade to Black when being Healed
    Changelog
    Version 1.0.100
    SourceMod release.

    Version 1.0.101
    Removed pistols and carbines until a fix for the Bad Edict crash can be found
    Removed IsClientInGame error - thanks 9mmMAG
    Reduced the effect of knock back when too close

    Version 1.0.102
    Fixed Timer bug, where multiple timers were being created
    Fixed a strange bug where players killed by nades would crash the server
    Added cvars for Fade to Black, Headshot messages and Slower speeds with injured legs to enable server ops to switch them on and off.

    Version 1.0.103
    Fixed timers where their handles were not being closed properly
    Added cvars for Freezing and KnockBack
    Cleaned up code when dealing with health
    Fixed MG/Rocket gravity and speed bug

    Version 1.0.104
    Added freeze time cvar
    Fixed heal timer bug

    Version 1.0.105

    Fixed the recurring Heal timer bug

    Version 1.0.106
    Fixed a couple of bugs where clients were the console

    Version 1.0.107
    Fixed a bug where clients were not in game

    Version 1.0.108
    Added the option to set a player's health at spawn

    Version 1.0.109
    Add a cvar to control ftb during healing

    Version 1.0.110
    Fixed occasional bug where screen would not fade back out from a FTB

    Version 1.0.200-2
    Bug fix


    Notes
    Has been tested in DoDS.


    Credits
    LJFPS and Colster for putting the original Eventscripts one together
    AlliedModders for part of their sm_msay code
    Fredd for his Knock Back code
    Lebson506th for helping to test, debug and edit some of the code to make it better
    Attached Files
    File Type: zip sound.zip (5.9 KB, 3931 views)
    File Type: sp Get Plugin or Get Source (sm_dod_realism.sp - 5459 views - 17.1 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org

    Last edited by strontiumdog; 07-17-2010 at 22:18.
    strontiumdog is offline
    INsane_dod
    Member
    Join Date: Mar 2008
    Old 06-16-2008 , 15:43   Re: [DoDS] Realism Mod
    Reply With Quote #2

    Cool, will give it a go, the bonus round I could not test yet, I have a small problem with my server.cfg.

    What's next for the dog... hide and seek??? Great stuff mate

    Last edited by INsane_dod; 06-17-2008 at 02:14.
    INsane_dod is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-17-2008 , 00:00   Re: [DoDS] Realism Mod
    Reply With Quote #3

    GJ, approved.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    Mosalar
    Senior Member
    Join Date: Jul 2004
    Location: Tampa Fl
    Old 06-18-2008 , 17:57   Re: [DoDS] Realism Mod
    Reply With Quote #4

    I found one issue. If you are rocket class it replaces the carbine/c96 with the pistol. This obviously upsets many players :-)
    Mosalar is offline
    electriccowboy
    New Member
    Join Date: Jun 2008
    Old 06-18-2008 , 19:40   Re: [DoDS] Realism Mod
    Reply With Quote #5

    could you not change the sv_realism_secondary 1 to sv_realism_secondary 2 or does that give every one a carbine?

    looks nice and am going to try it out. Have a newly rented dods server up and running it will fit right in on.
    electriccowboy is offline
    9mmMAG
    Junior Member
    Join Date: Jun 2008
    Location: Aggieland Texas
    Old 06-19-2008 , 00:46   Re: [DoDS] Realism Mod
    Reply With Quote #6

    I have currently had 2 bugs wafter installing it on my server today. I andthe other player were kicked when I killed him with a grenade. Also I had this show up in console.

    L 06/18/2008 - 23:26:50: [SM] Native "IsPlayerAlive" reported: Invalid client index 0
    L 06/18/2008 - 23:26:50: [SM] Debug mode is not enabled for "sm_dod_realism.smx"
    L 06/18/2008 - 23:26:50: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 17 on

    After that, the server crashed or it crashed for another reason. I was unable to debug it because of the crash. Thank you for your mod. I do have one thing to add, if you could change how the body rises up when being hit. I lifted this player straight up off the ground when shooting him/her with the thompson. Also they hop up when hit once. Thanks again and I wish you luck with this mod.
    9mmMAG is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 06-19-2008 , 01:58   Re: [DoDS] Realism Mod
    Reply With Quote #7

    Thanks 9mmMAG - fixed that bug.

    Tonight's DoDSBeta has produced a new major error, similar to what happens sometimes in TF2 - the GivePlayerItem brings up a Bad Entity error and the game crashes. So for now, pistols and carbines are removed until a fix is found.

    I also reduced the size of the knock back when players are hit at close range.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    9mmMAG
    Junior Member
    Join Date: Jun 2008
    Location: Aggieland Texas
    Old 06-19-2008 , 03:32   Re: [DoDS] Realism Mod
    Reply With Quote #8

    Not a problem. This mod has gotten a lot of good feedback. I will update you with any feedback that can help with this mod. Thanks.

    Todd (9mmMAG)
    9mmMAG is offline
    coach
    SourceMod Donor
    Join Date: Jun 2008
    Old 06-20-2008 , 02:02   Re: [DoDS] Realism Mod
    Reply With Quote #9

    Excellent plugin. When you get the weapon add sorted is there any chance you could do a version for competitive play that just added the pistols & fadetoblack options.
    coach is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 06-20-2008 , 08:43   Re: [DoDS] Realism Mod
    Reply With Quote #10

    Yep!
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    Reply


    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 07:26.


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