AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CS:GO] Replacing Gloves (https://forums.alliedmods.net/showthread.php?t=277674)

TheDS1337 01-13-2016 15:44

[CS:GO] Replacing Gloves
 
Is there any possible way to replace default gloves ?

Mitchell 01-13-2016 16:43

Re: [CS:GO] Replacing Gloves
 
They are just arm models.

TheDS1337 01-13-2016 17:01

Re: [CS:GO] Replacing Gloves
 
Quote:

Originally Posted by Mitchell (Post 2383030)
They are just arm models.

So ? still possible if so can you show me a way ? :)

Godis 01-13-2016 17:34

Re: [CS:GO] Replacing Gloves
 
PHP Code:

SetEntPropString(clientProp_Send"m_szArmsModel""path_to_arms_model_mdl_file"); 

Also, it only seems to work when set on the player_spawn event.

TheDS1337 01-13-2016 17:36

Re: [CS:GO] Replacing Gloves
 
Quote:

Originally Posted by Godis (Post 2383053)
PHP Code:

SetEntPropString(clientProp_Send"m_szArmsModel""path_to_arms_model_mdl_file"); 


Oh thank you! btw I am really confused. How can I find more members (I mean m_*), I know I can find in the sdk but how do you managed to get them and their offsets ?

Godis 01-13-2016 17:37

Re: [CS:GO] Replacing Gloves
 
Short answer: I guess i've just picked many of them up scavenging the forums ;)

Long answer:
Quote:

Originally Posted by berni (Post 1005536)
sure

Code:

01:23:33 find sm_dump
01:23:33 "sm_dumpentites"
        "sm_dump_netprops_xml"
          - Dumps the networkable property table as an XML file
        "sm_dump_netprops"
          - Dumps the networkable property table as a text file
        "sm_dump_classes"
          - Dumps the class list as a text file
        "sm_dump_datamaps"
          - Dumps the data map list as a text file
        "sm_dump_teprops"
          - Dumps tempentity props to a file



TheDS1337 01-13-2016 17:49

Re: [CS:GO] Replacing Gloves
 
That's what I neeeeeeeeeeeeeed, haha :D

TheDS1337 01-15-2016 04:50

Re: [CS:GO] Replacing Gloves
 
Bump, I think the code you gave me will replace the entire hand. is there a way so that I can only replace the VTF files ? (I mean just by changing the $basetexture param)

EDIT:

Tried this code (which should change the entire hand model, but it didnt work as expected)

Spoiler


Posted a youtube video here (sorry for bad quality):

szyma94 01-17-2016 10:04

Re: [CS:GO] Replacing Gloves
 
PrecacheModel("models/weapons/ct_arms_sas.mdl");

TheDS1337 01-17-2016 11:23

Re: [CS:GO] Replacing Gloves
 
Quote:

Originally Posted by szyma94 (Post 2384055)
PrecacheModel("models/weapons/ct_arms_sas.mdl");

Thank you..., not sure how I forgot that lol I'm an idiot


All times are GMT -4. The time now is 08:50.

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