View Single Post
Author Message
Rachnus
Senior Member
Join Date: Jun 2016
Location: Funland
Old 03-19-2017 , 20:32   [CS:GO] Hitman Mod (v1.15 1/5/2017)
Reply With Quote #1


Description:
A gamemode where 1 random person is selected as the Hitman and rest are known as 'Targets'
The Hitman will get 1 random target to kill, and after he killed that target, he will get a new one.

Hitman
Objective: Eliminate all his targets
Shooting any nonsilenced weapons will reveal the Hitman to every player through walls (Excluding knife and tripmines)
If the Hitman is seen without a disguise, it will also reveal him to every player through walls
Killing/Hurting targets will backfire depending on the convar hitmancsgo_penalty_type

Hitman features:
  • Hold WALK (Shift) to slow down gametime (Focus)
  • Able to disguise from a assassinated players ragdoll by pressing USE (E)
  • Able to move props/ragdolls by holding SECONDARY ATTACK (Rightclick)
  • The Hitmans decoy grenade repositions his glow
  • The Hitmans C4 acts as tripmines, placed by pressing PRIMARY ATTACK (Leftclick), Shooting them or walking past will trigger them, mine will not get triggered by hitman
  • The Hitman has no spread on all of his weapons that he is spawned with
  • Able to see his target through walls

Targets
Objective: Find and kill the Hitman before he kills you

Targets features:
  • Able to move props by holding SECONDARY ATTACK (Rightclick)
  • The targets decoy grenades removes any disguises wherever its thrown

Basic Preview:

https://www.youtube.com/watch?v=IzyI_ZMv2FM

Commands:

hitmancsgo.smx
  • sm_hmgorefresh - Refreshes the hitmancsgo_weapons config
  • sm_help - Prints useful hitman help commands to client
  • sm_hitmaninfo - Prints hitman info to player
  • sm_targetinfo - Prints target info to player
  • sm_hmgonotify - Enables/Disables help notifications

hitmancsgo-mysql.smx
  • sm_tophitmen - Views the hitmen with best stats (Usage sm_tophitmen <steamid|name|#userid>) or just sm_tophitmen

Hitman Weapons Config:
How the ratio works is that it will give 1 weapon_decoy per 5 players with 1 ammo
Here is a list of all weapon names supported: https://developer.valvesoftware.com/...nsive_Entities

Default example:
PHP Code:
"weapons"
{
    
"hitman"
    
{
        
"weapon_awp"
        
{
            
"clip"        "10"
            "ammo"        "30"
        
}
        
"weapon_usp_silencer"
        
{
            
"clip"        "12"
            "ammo"        "90"
        
}
        
"weapon_decoy"
        
{
            
"ammo"        "3"
        
}
        
"weapon_c4"
        
{
            
"ammo"        "5"
        
}
    }
    
"targets"
    
{
        
"weapon_m4a1"
        
{
            
"clip"        "30"
            "ammo"        "90"
        
}
        
"weapon_p250"
        
{
            
"clip"        "13"
            "ammo"        "65"
        
}
        
"random"
        
{
            
"weapon_decoy"
            
{
                
"ratio"        "5"
                "ammo"        "1"
            
}
        }
    }

MySQL Setup:
hitmancsgo-mysql.smx is required for stats to work, not needed for base plugin to work though
Insert in addons/sourcemod/configs/databases.cfg
PHP Code:
"hitmancsgo"
{
    
"driver"            "mysql"
    "host"                "(iptowebserver)"
    "database"            "sourcemod"
    "user"                "(username)"
    "pass"                "(password)"

ConVars:
Spoiler


Changelog:
Spoiler


Dependencies:
DHooks extension is required for no spread. This extension is included in the download link though

Todo:
Nothing

Bugs:
None for now, if you have any bugs add me and I will try to fix ASAP steam link below

Credits:
Servers running this plugin:
  • 185.158.112.65:27015 (Russian)

DOWNLOAD
__________________
Github: https://github.com/jimppan
Steam: http://steamcommunity.com/id/jimppan
_____________________________________________ _________
Taking private requests

Last edited by Rachnus; 02-21-2024 at 13:56. Reason: Update
Rachnus is offline