AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   shield model view? (https://forums.alliedmods.net/showthread.php?t=29883)

k007 06-14-2006 19:47

shield model view?
 
guys just wonderin lets say i'm addin an custom deagle
i would do something like this
entity_set_string(id,EV_SZ_viewmodel," dir
entity_set_string(id,EV_SZ_weaponmodel,"dir
i want to know wuts the string for like the shield models

v3x 06-14-2006 19:55

Code:
if(cs_get_user_shield(id))   // set shield model

k007 06-14-2006 19:57

umm i don't want to change the shield i want to apply my v_ and p_ deagle model on the shield
when i buy a shield my deagle goes back to normal one u get it?

k007 06-14-2006 20:06

oh ok lol i got it..

jtp10181 06-14-2006 20:27

the shield models are actually models of the weapon AND the shield together. So you cant use a normal custom model with the shield, you need a special shield + custom weapon model. This is how they are named

Code:

D:\HLServer\cstrike\models\shield>cd..

D:\HLServer\cstrike\models>dir shield
 Volume in drive D is Devel
 Volume Serial Number is 480D-8CB0

 Directory of D:\HLServer\cstrike\models\shield

02/23/2005  07:17 AM    <DIR>          .
02/23/2005  07:17 AM    <DIR>          ..
09/15/2003  03:01 PM          102,312 p_shield_deagle.mdl
09/15/2003  03:01 PM          101,736 p_shield_fiveseven.mdl
09/15/2003  03:01 PM          103,664 p_shield_flashbang.mdl
09/15/2003  03:01 PM            93,720 p_shield_glock18.mdl
09/15/2003  03:01 PM          103,664 p_shield_hegrenade.mdl
09/15/2003  03:01 PM            95,612 p_shield_knife.mdl
09/15/2003  03:01 PM          101,732 p_shield_p228.mdl
09/15/2003  03:01 PM          103,664 p_shield_smokegrenade.mdl
09/15/2003  03:01 PM          118,672 p_shield_usp.mdl
09/15/2003  03:01 PM          311,280 v_shield_deagle.mdl
09/15/2003  03:01 PM          313,236 v_shield_fiveseven.mdl
09/15/2003  03:01 PM          325,256 v_shield_flashbang.mdl
09/15/2003  03:01 PM          303,636 v_shield_glock18.mdl
09/15/2003  03:01 PM          325,256 v_shield_hegrenade.mdl
09/15/2003  03:01 PM          493,444 v_shield_knife.mdl
09/15/2003  03:01 PM          302,296 v_shield_p228.mdl
09/15/2003  03:01 PM          325,256 v_shield_smokegrenade.mdl
09/15/2003  03:01 PM          328,464 v_shield_usp.mdl
              18 File(s)      3,952,900 bytes
              2 Dir(s)  9,409,568,768 bytes free

D:\HLServer\cstrike\models>


k007 06-14-2006 21:29

lol i just thought that they have their own ent set string lol


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

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