Raised This Month: $12 Target: $400
 3% 

Sub-Model...Soo complicated...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 05-25-2010 , 05:08   Sub-Model...Soo complicated...
Reply With Quote #1

Ah...One day , My friend gave me his Ak.mdl from CSO . When I opened it with JHLMV ( Jed's Half Life Model Viewer ) and them I found this :


Looks like the weapon models in CSO ( Counter Strike Online ) has sub-models for hands [ man / woman ] .....
I wonder how to use sub-model in CS . Also sub-model for players ( C4 - Defuse kit..)
I've found a plugin that also using this kind of sub-model : Backweapons ( by Cheap_Suit) . I hope somebody can show me how to do it..Cuz I think this way will make client/server to precache less file / not to reach the 512 limit .
Thanks....
__________________
5c0r-|3i0 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-25-2010 , 05:16   Re: Sub-Model...Soo complicated...
Reply With Quote #2

Nothing to do with Amxx scripting. It's a matter to edit the .qc file of a decompiled plugin. Search on google.
__________________
Arkshine is offline
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 05-25-2010 , 06:19   Re: Sub-Model...Soo complicated...
Reply With Quote #3

@Arkshine :
I already know how to make sub-models. But I don't know how to make client to have the hands of a man/woman .
For example : Check his sex :
1) Man -> v_model will show like the 2nd one
2) Woman -> 1st one..
But only with 1 v_ model ....
I think this is possible with amxx >"<...
5c0r-|3i0 is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 05-25-2010 , 06:40   Re: Sub-Model...Soo complicated...
Reply With Quote #4

Imo not possible. The code for it is only in csonline(tiny guess).
__________________
Voi is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-25-2010 , 06:53   Re: Sub-Model...Soo complicated...
Reply With Quote #5

You have to play with pev_body I guess.
__________________
Arkshine is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 05-25-2010 , 09:52   Re: Sub-Model...Soo complicated...
Reply With Quote #6

Quote:
Originally Posted by Voi View Post
Imo not possible. The code for it is only in csonline(tiny guess).

It surely is possible.

You can request a menu to pop up, asking which sex they are. When they select, you can make another sub-menu as to which weapon they select, and allow that animation to be selected, as the other one becomes ignored.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
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 15:20.


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