Raised This Month: $ Target: $400
 0% 

Sm_Skinchooser


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Plugin ID:
840
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 12-12-2015 , 12:11   Re: Sm_Skinchooser
    Reply With Quote #1

    if a model comes with arm models, such as this one: http://csgo.gamebanana.com/skins/142003

    do the arms show up by default or is there a way to configure them?
    __________________
    PresidentEvil is offline
    Maind
    Member
    Join Date: Dec 2009
    Old 12-14-2015 , 09:58   Re: Sm_Skinchooser
    Reply With Quote #2

    Idea to help server owners:

    Lets say that we change our skinchooserdownloads.ini to kv style
    Code:
    "Models"
    {
    	"bobafett"
    	{
    		"mainpath" "models/player/b4p/b4p_bobafett/b4p_bobafett.mdl"
    		"armspath" "models/player/b4p/b4p_bobafett/b4p_bobafett_arms.mdl"
    		"path"	"materials/models/player/b4p/bobafett/boba_body.vmt"
    		"path"	"materials/models/player/b4p/bobafett/boba_hands.vmt"
    	}
    	"c3po"
    	{
    		"mainpath" "models\player\b4p\b4p_c3po\b4p_c3po.mdl"
    		"armspath" "models\player\b4p\b4p_c3po\b4p_c3po_arms.mdl"
    		"path"	"materials\models\player\b4p\c3po\c3po_arm_torso.vmt"
    		"path"	"materials\models\player\b4p\c3po\c3po_hand.vtf"
    	}
    }
    then our skins.ini could look like this
    Code:
    "Models"
    {
    	"Boba Fett"
    	{
    		"enabled"	"1"		//Choose if skin is enabled or not
    		"skin"		"bobafett"	//Skin name in mapchooserdownloads.ini
    		"card"		"Admin Models"	//The card of menu, where skin appears
    		"team"		"Both"		//Team1,Team2 or Both
    		"admin" 	"t"		//Admin Flag required for skin
    	}
    	"C3PO"
    	{
    		"enabled"	"1"
    		"skin"		"c3po"
    		"card"		"Admin Models"		
    		"card"		"VIP Models"	//Skin can occur in multiple cards
    		"team"		"B"
    		"admin" 	"a"
    	}
    }
    Why is it better in my opinion. Becouse when u want to add a skin for example for some event like Christmas etc. u can simply change value of the "enabled" next to skin. Admin could make ONCE a whole configuration of skinchooser, make a pack of for example 100 skins, put them on server with plugin, and just change value of 'enabled' when needed. Of course client would download only enabled skins. Much more effective for ppl running multiple servers Shame becouse its probably tons of recoding Kv's ;/
    Maind is offline
    NatalyaAF
    Senior Member
    Join Date: Dec 2008
    Old 12-16-2015 , 02:47   Re: Sm_Skinchooser
    Reply With Quote #3

    Quote:
    Originally Posted by Maind View Post
    Idea to help server owners:

    Lets say that we change our skinchooserdownloads.ini to kv style
    Code:
    "Models"
    {
        "bobafett"
        {
            "mainpath" "models/player/b4p/b4p_bobafett/b4p_bobafett.mdl"
            "armspath" "models/player/b4p/b4p_bobafett/b4p_bobafett_arms.mdl"
            "path"    "materials/models/player/b4p/bobafett/boba_body.vmt"
            "path"    "materials/models/player/b4p/bobafett/boba_hands.vmt"
        }
        "c3po"
        {
            "mainpath" "models\player\b4p\b4p_c3po\b4p_c3po.mdl"
            "armspath" "models\player\b4p\b4p_c3po\b4p_c3po_arms.mdl"
            "path"    "materials\models\player\b4p\c3po\c3po_arm_torso.vmt"
            "path"    "materials\models\player\b4p\c3po\c3po_hand.vtf"
        }
    }
    then our skins.ini could look like this
    Code:
    "Models"
    {
        "Boba Fett"
        {
            "enabled"    "1"        //Choose if skin is enabled or not
            "skin"        "bobafett"    //Skin name in mapchooserdownloads.ini
            "card"        "Admin Models"    //The card of menu, where skin appears
            "team"        "Both"        //Team1,Team2 or Both
            "admin"     "t"        //Admin Flag required for skin
        }
        "C3PO"
        {
            "enabled"    "1"
            "skin"        "c3po"
            "card"        "Admin Models"        
            "card"        "VIP Models"    //Skin can occur in multiple cards
            "team"        "B"
            "admin"     "a"
        }
    }
    Why is it better in my opinion. Becouse when u want to add a skin for example for some event like Christmas etc. u can simply change value of the "enabled" next to skin. Admin could make ONCE a whole configuration of skinchooser, make a pack of for example 100 skins, put them on server with plugin, and just change value of 'enabled' when needed. Of course client would download only enabled skins. Much more effective for ppl running multiple servers Shame becouse its probably tons of recoding Kv's ;/
    That shouldn't be hard to setup.
    __________________
    Talk to me on Steam: natalyaaf
    See my website for downloads: www.lady-natalya.info

    Natalya: killing someone while they make a plugin
    Natalya: perfect analogy
    Natalya: for the mayan apocalypse
    NatalyaAF is offline
    andi67
    Veteran Member
    Join Date: Mar 2007
    Location: Somewhere near you!!!
    Old 12-17-2015 , 02:39   Re: Sm_Skinchooser
    Reply With Quote #4

    Nice Idea , for the moment I´m not really sure which way I go with next version but I think I go with map based configs/inis and precache/download , maybe it will be a standalone CSGO-Version...........
    __________________
    Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
    >>You need Models for DODS/CSS/CSGO , than click here!!!<<
    andi67 is offline
    madchild
    Junior Member
    Join Date: Dec 2015
    Old 12-19-2015 , 19:53   Re: Sm_Skinchooser
    Reply With Quote #5

    I just installed the plugin, but if it's enabled, the server can't start. If it's disabled, everything works again. Anyone ideas?
    madchild is offline
    MMZ_Kask
    Member
    Join Date: Jul 2015
    Location: Atlanta, GA, USA
    Old 12-19-2015 , 21:20   Re: Sm_Skinchooser
    Reply With Quote #6

    Quote:
    Originally Posted by madchild View Post
    I just installed the plugin, but if it's enabled, the server can't start. If it's disabled, everything works again. Anyone ideas?
    That's amazingly vague. Off the top of my head, probably too many models and it's overflowing the modelprecache table.

    Do you notice any errors when it's attempting to start, or in the sourcemod error logs?
    MMZ_Kask is offline
    madchild
    Junior Member
    Join Date: Dec 2015
    Old 12-20-2015 , 06:27   Re: Sm_Skinchooser
    Reply With Quote #7

    The console said it just crashed the server. And I have like 6 or 7 skins uploaded.
    madchild is offline
    Trans_Am_00
    Senior Member
    Join Date: Jul 2013
    Location: 127.0.0.1
    Old 12-21-2015 , 08:22   Re: Sm_Skinchooser
    Reply With Quote #8

    Solved
    Spoiler



    Solutiuon
    Spoiler
    __________________
    -= Trans-Am =-
    Quote:
    Where pink owns everything

    Last edited by Trans_Am_00; 12-21-2015 at 08:45.
    Trans_Am_00 is offline
    Trans_Am_00
    Senior Member
    Join Date: Jul 2013
    Location: 127.0.0.1
    Old 12-21-2015 , 08:53   Re: Sm_Skinchooser
    Reply With Quote #9

    Where do i place the Cvar?

    When Sm_skinchooser first start, Sm_skinchooser didn'tcreates a config-file on first start in "cfg/sourcemod"

    ********************************************* *********************]

    I have this error as soon as i enable the plugin

    Code:
    Host_Error: Bad string:
    
    PreMinidumpCallback: updating dump comment
    crash_20151221215842_1.dmp[18056]: Uploading dump (out-of-process)
    /tmp/dumps/crash_20151221215842_1.dmp
    Segmentation fault (core dumped)
    cat: hlds.17987.pid: No such file or directory
    email debug.log to [email protected]
    Mon Dec 21 21:58:44 SGT 2015: Server restart in 10 seconds
    crash_20151221215842_1.dmp[18056]: Finished uploading minidump (out-of-process): success = yes
    crash_20151221215842_1.dmp[18056]: response: Discarded=1
    crash_20151221215842_1.dmp[18056]: file ''/tmp/dumps/crash_20151221215842_1.dmp'', upload yes: ''Discarded=1''
    After i remove the plugin, i doesn't have this error

    *************************
    I have 0 Knowledge on linux
    Os: Ubuntu 14.04.3
    __________________
    -= Trans-Am =-
    Quote:
    Where pink owns everything

    Last edited by Trans_Am_00; 12-21-2015 at 09:04.
    Trans_Am_00 is offline
    Chaya_
    BANNED
    Join Date: Jul 2014
    Location: Germany
    Old 12-21-2015 , 16:46   Re: Sm_Skinchooser
    Reply With Quote #10

    This works with Custom Weapon Skins ?
    Chaya_ is offline
    Send a message via ICQ to Chaya_ Send a message via Skype™ to Chaya_
    Reply



    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 11:46.


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