Raised This Month: $180 Target: $400
 45% 

[CS:GO] Murder


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LenHard
Junior Member
Join Date: Jan 2016
Plugin ID:
6126
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Murder Mod via Gmod
    Old 05-13-2018 , 02:15   [CS:GO] Murder
    Reply With Quote #1

    Description

    A gamemode of deception and murder, based off of Murder in the Dark.
    One person is a murderer with a knife, who is trying to secretly kill off the other players.
    The other players must use their wits to find out who it is and kill them first.
    Unfortunately they only have the one gun between them. (Source)


    Instructions

    After adding all the files in the correct places, you need to add a MySQL database to make the plugin work. Go to configs/databases.cfg and add "Murder" with your own database information.

    Example:
    Code:
    "Murder"
    {
    	"driver"		        "default"
    	"host"				"YourHost"
    	"database"			"YourDatabase"
    	"user"				"YourUser"
    	"pass"				"YourPassword"
    	//"timeout"			"0"
    	"port"				"3306"
    }
    To add or modify the prop models or voice commands; go to configs/Murder/Props.cfg or Radio.cfg and follow the format.

    Example:
    Code:
    "Props"
    {
    	"Model name"
    	{
    		"model"		"model's path"
    	}
    }
    Code:
    "Radio"
    {
    	"Sound name"
    	{
    		"sound"		"sound's path"
    	}
    }
    All the models you could use are here. Some of them don't work.

    ConVars
    Spoiler


    Natives
    Spoiler


    Credits

    Bara - Grabber Mod
    paegus - Double Jump
    I forgot who else.. If I used your code, let me know, so I could credit you.
    Attached Files
    File Type: zip Murder.zip (296.3 KB, 39 views)
    __________________
    Currently accepting private work
    Contact
    LenHard is offline
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Somewhere near you
    Old 05-13-2018 , 11:18   Re: [CS:GO] Murder
    Reply With Quote #2

    what kind of maps for this? same as ttt?
    __________________
    hey there
    iGANGNAM is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 05-13-2018 , 19:45   Re: [CS:GO] Murder
    Reply With Quote #3

    Seems a bit of a waste of a needing a database for something that can be stored in a text file. Nice work though.
    __________________

    Last edited by Mitchell; 05-13-2018 at 19:49.
    Mitchell is offline
    LenHard
    Junior Member
    Join Date: Jan 2016
    Old 05-14-2018 , 03:12   Re: [CS:GO] Murder
    Reply With Quote #4

    Quote:
    Originally Posted by iGANGNAM View Post
    what kind of maps for this? same as ttt?
    It could be any map but yes, mainly TTT maps.

    Quote:
    Originally Posted by Mitchell View Post
    Seems a bit of a waste of a needing a database for something that can be stored in a text file. Nice work though.
    True, but I assumed it would be more reliable and quicker than regular Key Values when it came to this.
    __________________
    Currently accepting private work
    Contact
    LenHard is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 05-14-2018 , 10:35   Re: [CS:GO] Murder
    Reply With Quote #5

    Quote:
    Originally Posted by LenHard View Post
    True, but I assumed it would be more reliable and quicker than regular Key Values when it came to this.
    The way I see it is that a database to hold less than 100 inputs per setup map is a waste of a connection to a MySQL db. Especially when having them as a keyvalue that only loads when the map start, even if it was considered slow, i'm sure it would be faster than a player connecting to the new map. Having them as keyvalues also helps when sharing a map config, instead of posting a sql query for a map.
    __________________
    Mitchell is offline
    LenHard
    Junior Member
    Join Date: Jan 2016
    Old 05-14-2018 , 15:05   Re: [CS:GO] Murder
    Reply With Quote #6

    Quote:
    Originally Posted by Mitchell View Post
    The way I see it is that a database to hold less than 100 inputs per setup map is a waste of a connection to a MySQL db. Especially when having them as a keyvalue that only loads when the map start, even if it was considered slow, i'm sure it would be faster than a player connecting to the new map. Having them as keyvalues also helps when sharing a map config, instead of posting a sql query for a map.
    Well in the Murder case, the props will respawn every x seconds with different sets. There would be at least a hundred props per map (6 sets). I'll probably push key values for the next version.
    __________________
    Currently accepting private work
    Contact
    LenHard is offline
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Somewhere near you
    Old 05-21-2018 , 12:50   Re: [CS:GO] Murder
    Reply With Quote #7

    Ah sorry, didn't read post you made in #6
    hoping that you can release your sets soon
    as Mitchell said, KeyValues thing would be alot easier to share with people.
    __________________
    hey there

    Last edited by iGANGNAM; 05-21-2018 at 13:32.
    iGANGNAM 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 15:35.


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