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

[NMRiH] Skins 1.0.1 [2021/01/30]


Post New Thread Reply   
 
Thread Tools Display Modes
KozaZS
Junior Member
Join Date: Dec 2020
Old 02-02-2021 , 18:26   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #81

Quote:
Originally Posted by phoenix0001 View Post
After I tested it, I found it was not compatible with workshop
How to be compatible with workshop
Please give me a demo

Both server and client have subscribed 【National guard & national_guard_mask】
https://steamcommunity.com/sharedfil...?id=2380971500

skins_menu
PHP Code:
//Configure your menu here
"Models"
{
    
"Public Models"
    
{
        
"Admin" "a"
        "List"
        
{
            
"National guard"
            
{
                
"path" "models/player/national_guard/national_guard.mdl"
            
}
            
"National guard in the mask"
            
{
                
"path" "models/player/national_guard/national_guard_mask.mdl"
            
}
        }
    }

    
"Default Models"
    
{
        
"Admin" ""
        "List"
        
{
            
"national guard"
            
{
                
"path" "models/player/national_guard/national_guard.mdl"
            
}
            
"national guard mask"
            
{
                
"path" "models/player/national_guard/national_guard_mask.mdl"
            
}
        }
    }

Still shows ERROR
That's skin you use is not exist like the models dont use on default skin so that's right its got ERROR, you have to use skins from workshop:
https://steamcommunity.com/sharedfil...rchtext=nation
then in forced_skins.ini add:

models/player/p_roje.mdl

Cause the models is just like remake on default skin, that's right you got big error. That's my theory but maybe i could be wrong. Now i go test it out on my server
KozaZS is offline
KozaZS
Junior Member
Join Date: Dec 2020
Old 02-02-2021 , 19:00   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #82

So i tested it out, i was right that models is remake on default skin and it's work lol. But there's one problem:
https://steamcommunity.com/sharedfil...?id=2382576426
The skin become missing texture for some reason, everything on skin is purple lol, can you fix this?
KozaZS is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 02-03-2021 , 05:16   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #83

KozaZS, are the textures of this skin added to the config file downloads_list.ini?
__________________
Grey83 is offline
KozaZS
Junior Member
Join Date: Dec 2020
Old 02-03-2021 , 10:17   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #84

Quote:
Originally Posted by Grey83 View Post
KozaZS, are the textures of this skin added to the config file downloads_list.ini?
Yeah, i think so, i added all of it and still get missing texture lol, does vgui count as a textures? Cause vgui just select characters in menu so i dont add it. Is there any way to fix this missing textures problem?
KozaZS is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 02-03-2021 , 11:09   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #85

Maybe the ultimate cause of the problem is how to subscribe to the model from the workshop and then use it in the server

Now I add another model to the original 2 models
https://steamcommunity.com/sharedfil...?id=2380971500

This is the model method of subscription workshop

Models subscribed by the client workshop will now have purple skins
ERROR will appear if there is no subscription in the workshop


skins_menu
PHP Code:
"Models" 

    
"MOD" 
    

        
"Admin" "a" 
        "List" 
        

            
"guard" 
            

                
"path" "models/player/national_guard/national_guard.mdl" 
            

            
"guard mask" 
            

                
"path" "models/player/national_guard/national_guard_mask.mdl" 
            

            
"pbear" 
            

                
"path" "models/player/pbear/pbear.mdl" 
            

        } 
    } 

FastDL server
FastDL server model everything is normal
skins_menu

PHP Code:
"Models" 

    
"MOD" 
    

        
"Admin" "a" 
        "List" 
        

            
"guard" 
            

                
"path" "models/player/national_guard/national_guard.mdl" 
            

            
"guard mask" 
            

                
"path" "models/player/national_guard/national_guard_mask.mdl" 
            

            
"pbear" 
            

                
"path" "models/player/pbear/pbear.mdl" 
            

        } 
    } 
downloads_list
PHP Code:
//National guard

models/player/national_guard/national_guard.dx80.vtx
models
/player/national_guard/national_guard.dx90.vtx
models
/player/national_guard/national_guard.mdl
models
/player/national_guard/national_guard.sw.vtx
models
/player/national_guard/national_guard.vvd
models
/player/national_guard/national_guard.xbox.vtx

//National guard mask

models/player/national_guard/national_guard_mask.dx80.vtx
models
/player/national_guard/national_guard_mask.dx90.vtx
models
/player/national_guard/national_guard_mask.mdl
models
/player/national_guard/national_guard_mask.sw.vtx
models
/player/national_guard/national_guard_mask.vvd
models
/player/national_guard/national_guard_mask.xbox.vtx

//pbear

models/player/pbear/pbear.dx80.vtx
models
/player/pbear/pbear.dx90.vtx
models
/player/pbear/pbear.mdl
models
/player/pbear/pbear.phy
models
/player/pbear/pbear.sw.vtx
models
/player/pbear/pbear.vvd

materials
/models/player/kuristaja/pbear/bear.vtf
materials
/models/player/kuristaja/pbear/lightwarp2.vtf
materials
/models/player/kuristaja/pbear/pbear.vmt 

Then the problem is coming
How do we stop FastDL server
What about using the workshop subscription model?

The advantage of this is that players can use the workshop subscription model
And the download speed in the workshop is faster
The server can reduce the pressure without using FastDL server
__________________
I like this BBS sharing of spirit

I come from China, my English is poor

Last edited by phoenix0001; 02-03-2021 at 11:15.
phoenix0001 is offline
Shazam
Junior Member
Join Date: Feb 2021
Old 02-04-2021 , 10:06   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #86

Hi, how can I make the skins return by default when they change to another map? forcing them to re-select a skin?
Shazam is offline
Shazam
Junior Member
Join Date: Feb 2021
Old 02-15-2021 , 09:13   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #87

this plugin how many skins does it support?
Shazam is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 02-15-2021 , 13:54   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #88

Shazam, 24 forced skins (#define MAX_MODELS 24 at the beginning of the source text) and undefined number skins in menu.
__________________
Grey83 is offline
Shazam
Junior Member
Join Date: Feb 2021
Old 02-15-2021 , 16:57   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #89

Quote:
Originally Posted by Grey83 View Post
Shazam, 24 forced skins (#define MAX_MODELS 24 at the beginning of the source text) and undefined number skins in menu.
Tks!!



Where is the cache of skins stored?
Because when I change the map I want the default skins.
Shazam is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 02-16-2021 , 10:37   Re: [NMRiH] Skins 1.0.1 [2021/01/30]
Reply With Quote #90

Shazam, user choice stores to data/nmrih_skins_playermodels.ini
__________________
Grey83 is offline
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 03:50.


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