Raised This Month: $32 Target: $400
 8% 

[CSGO] Gloves/Arms beign invisible/glitchy.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zaCade
Junior Member
Join Date: Aug 2013
Old 10-01-2017 , 16:04   [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #1

Well ill just get straight to the point, alot of servers use custom maps, wich probably dont have this file:
https://developer.valvesoftware.com/..._Player_Models
included in the map, other then that it also seems to happen on maps that have this file. So that makes me believe there is more to this then just that file in question.

All of the fixes i've found around on alliedmodders seem to be using the netprop "m_szArmsModel" wich does work, but this also comes with 'unwanted' side effects. Wich is why i'm here looking for a possible 'other' way of fixing this. I've found out that using the native CS_UpdateClientModel() seems to 'fix' the arms, but also changes the model to one of the default models in the game, havent actually looked into wich ones are beign set. Because when i tried to use this native, i tried setting the model that the player had before using the native, wich would in its own turn break the arms again.

PHP Code:
char sModel[PLATFORM_MAX_PATH]
GetClientModel(clientsModelsizeof(sModel));

CS_UpdateClientModel(client);

SetEntityModel(clientsModel); 
Is what i've tried, along with the other fixes that i've found. Now what my question is, is there a way of fixing this problem without using the netprop stated above, because players that have the glove skins that valve implemented a while ago, get overlapping arms/gloves wich looks really bad obviously.
zaCade is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-01-2017 , 18:03   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #2

There is a wearables net prop. Dump netprops and search wear.

If this has a valid index then the player has gloves. Either don't set the arms netprop or kill the wearable via accept input and set the netprop to -1
__________________
Neuro Toxin is offline
zaCade
Junior Member
Join Date: Aug 2013
Old 10-01-2017 , 18:34   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #3

So this netprop "m_hMyWearables" only stores the gloves?

Even beside that using the netprop "m_szArmsModel" to set arm models, wich could in that situation only be done if the player has no wearable gloves, but that still comes with the effect of some maps having overlapping gloves. Try for example setting "m_szArmsModel" to something, and then try loading like de_dust2. if the default model isnt the same as the one you set in "m_szArmsModel" you get overlapping models. Wich is what i want to prevent.
zaCade is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 10-02-2017 , 05:47   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #4

Thank Valve for bringing this issue back , for the moment there is no solution to fix this completly....
__________________
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
zaCade
Junior Member
Join Date: Aug 2013
Old 10-02-2017 , 12:52   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #5

Seems that as long as you use the actual default CSGO models the hands always work, no matter the map. So i'm starting to believe the engine somehow knows wich arm models to use in wich situation, but that this doesnt apply to custom models that arent in CSGO by default. Now if only we could figure out where the engine stores that data.
zaCade is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-02-2017 , 15:59   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #6

scripting/items/ ...
__________________
Neuro Toxin is offline
zaCade
Junior Member
Join Date: Aug 2013
Old 10-02-2017 , 17:23   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #7

Those files only contain the item information from what it seems, and not wich arms model goes with the default CSGO models. So they dont really help sadly, as giving people items they dont own gets your Tokens banned.
zaCade is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 10-03-2017 , 04:19   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #8

I think it was gamemodes.txt.....
__________________
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
zaCade
Junior Member
Join Date: Aug 2013
Old 10-03-2017 , 07:59   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #9

Thats also not really what i was looking for, what i mean is.
How exactly does CSGO know what arms combination to use for wich model, and or in wich situation. Because it seems that this only applies to actual CUSTOM playermodels, the default ones always have gloves/arms. There has to be a way to tell the engine what arms to use with a playermodel. Cause how else does the game give the players the right stuff on default models.
Whats also wierd about this is the fact that on some maps the custom models do have arms but on most they dont.
zaCade is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-03-2017 , 08:19   Re: [CSGO] Gloves/Arms beign invisible/glitchy.
Reply With Quote #10

Quote:
CSGO know what arms combination to use for wich model
it gets the arm model which is set inside the .kv file

https://developer.valvesoftware.com/..._Player_Models
8guawong 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 06:07.


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