AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [REQ] Set rendering for viewmodel (https://forums.alliedmods.net/showthread.php?t=164041)

zhulo 08-06-2011 13:49

[REQ] Set rendering for viewmodel
 
How the hell can do this???

http://www.youtube.com/watch?v=JeXIC4gdYg0

Any ideas ???

hleV 08-06-2011 14:13

Re: [REQ] Set rendering for viewmodel
 
Looks like a custom model to me.

bibu 08-06-2011 14:34

Re: [REQ] Set rendering for viewmodel
 
Post the model here and I will do it for you, you would just need a plugin to check when the player should have hands like that.

zhulo 08-06-2011 14:41

Re: [REQ] Set rendering for viewmodel
 
1 Attachment(s)
Ok thanx

bibu 08-06-2011 15:44

Re: [REQ] Set rendering for viewmodel
 
1 Attachment(s)
Here you go, it would look like this later:

PHP Code:

/* in plugin_init */

RegisterHamHam_Item_Deploy"weapon_knife""FwdDeployKnifePost");

/* function */

public FwdDeployKnifePostiEntity )
{
    new 
iPlayer get_pdata_cbaseiEntity41);
    
    
//check if hands should become abit invisible
    
entity_set_stringiPlayerEV_SZ_viewmodelHAND_MODEL );


Don't forget to precache it.

zhulo 08-06-2011 15:55

Re: [REQ] Set rendering for viewmodel
 
thnx a lot


All times are GMT -4. The time now is 03:18.

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