Raised This Month: $ Target: $400
 0% 

pev_skin на v_model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IAmReallyCool
Member
Join Date: Nov 2013
Old 03-18-2014 , 18:25   pev_skin на v_model
Reply With Quote #1

I have a v_model with 5 skins and 3 submodels. How can i change v_model with pev_skin?

Last edited by IAmReallyCool; 03-18-2014 at 18:26.
IAmReallyCool is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 03-19-2014 , 06:16   Re: pev_skin на v_model
Reply With Quote #2

It's not possible.
__________________
What are you looking for here?
DavidJr is offline
IAmReallyCool
Member
Join Date: Nov 2013
Old 03-19-2014 , 17:53   Re: pev_skin на v_model
Reply With Quote #3

Quote:
Originally Posted by DavidJr View Post
It's not possible.
So I have to do 8 different models, if I want 8 different colored models? :/
IAmReallyCool is offline
Kiske
Veteran Member
Join Date: May 2009
Old 03-19-2014 , 18:53   Re: pev_skin на v_model
Reply With Quote #4

I think you can use colormap to do that but I don't know how to use it.
__________________


Last edited by Kiske; 03-19-2014 at 18:53.
Kiske is offline
Send a message via Skype™ to Kiske
DavidJr
Senior Member
Join Date: Apr 2012
Old 03-20-2014 , 01:38   Re: pev_skin на v_model
Reply With Quote #5

IAmReallyCool, yes of course. But you may try with submodel but still, the result is very bad.

PHP Code:
set_pev(iEntpev_bodyx); 
__________________
What are you looking for here?
DavidJr is offline
IAmReallyCool
Member
Join Date: Nov 2013
Old 03-20-2014 , 06:49   Re: pev_skin на v_model
Reply With Quote #6

Quote:
Originally Posted by DavidJr View Post
IAmReallyCool, yes of course. But you may try with submodel but still, the result is very bad.

PHP Code:
set_pev(iEntpev_bodyx); 
Wait and how do I find iEnt index?
IAmReallyCool is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 03-20-2014 , 08:10   Re: pev_skin на v_model
Reply With Quote #7

Oh no, I'm wrong.

This is the correct one

PHP Code:
    message_begin(MSG_ONESVC_WEAPONANIM, {000}, id);
    
write_byte(x); //integer for anim
    
write_byte(x); //integer for body
    
message_end(); 
__________________
What are you looking for here?

Last edited by DavidJr; 03-20-2014 at 08:10.
DavidJr is offline
IAmReallyCool
Member
Join Date: Nov 2013
Old 03-20-2014 , 15:13   Re: pev_skin на v_model
Reply With Quote #8

Quote:
Originally Posted by DavidJr View Post
Oh no, I'm wrong.

This is the correct one

PHP Code:
    message_begin(MSG_ONESVC_WEAPONANIM, {000}, id);
    
write_byte(x); //integer for anim
    
write_byte(x); //integer for body
    
message_end(); 
Could you please write a small example how and where it can be used? Since I guess it can't be used on CurWeapon event.
IAmReallyCool 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 05:56.


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