Raised This Month: $ Target: $400
 0% 

Weapon Sub-Skin Possible?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 10-13-2014 , 17:19   Weapon Sub-Skin Possible?
Reply With Quote #1

Well it is possible to make sub-models in only 1 model and use pev_body/pev_skin to change them and save a lot of resources. I know this is possible with players models but is it possible with weapon models?

I thought about change weapon pev since it is an entity like players. Something like this:
PHP Code:
public plugin_init() 
{
    
RegisterHam(Ham_Item_Deploy"weapon_knife""ham_ItemDeploy_Knife"1)
}

public 
ham_ItemDeploy_Knife(weapon_ent)
{
    
set_pev(weapon_entpev_skinskinnum)

I think this could be something very useful for a lot of people, specially zp/sh servers that requires many models and with valve limit after last year updates, there are a lot of crashes.

I can't test it myself cuz i dont have and i dont know how to make sub-models in weapon models

But does someone knows if it would work? Or some other way to make this possible?
__________________
Jhob94 is online now
Old 10-13-2014, 17:30
Natsheh
This message has been deleted by Natsheh. Reason: Miss understanding
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-13-2014 , 17:33   Re: Weapon Sub-Skin Possible?
Reply With Quote #3

Well it is possible but no different
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 10-13-2014 , 19:20   Re: Weapon Sub-Skin Possible?
Reply With Quote #4

What model do you want exactly, the v_ or p_?
If p_, completely possible.
If v_, possible but extremly buggy due to cs handles animations both server and client side->not recommend
RateX is offline
Reply


Thread Tools
Display Modes

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 17:32.


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