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

pev_body question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 07-11-2020 , 06:56   pev_body question
Reply With Quote #1

Hello,
I was trying to ge the view model index from a v_ model with one from sub-models, using this way:
Code:
new owner = get_pdata_cbase(weapon_ent, 41, 4); set_pev(owner, pev_viewmodel2, "model path);             set_pev(owner, pev_body, sub_model_index);
Is there any other way to get the sub-model index to show it?
And... yea... client prediction
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 07-11-2020 at 07:30.
Shadows Adi is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-11-2020 , 07:27   Re: pev_body question
Reply With Quote #2

You will have to disable prediction and recode the weapon in a plugin. Too much trouble for questionable results.
__________________

Last edited by HamletEagle; 07-11-2020 at 07:28.
HamletEagle is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 07-11-2020 , 07:31   Re: pev_body question
Reply With Quote #3

Alright, then it will work if I use pev_skin instead of pev_body ?
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 07-11-2020 at 07:31.
Shadows Adi is offline
Old 07-11-2020, 12:07
alferd
This message has been deleted by alferd.
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 07-13-2020 , 09:31   Re: pev_body question
Reply With Quote #4

Up, some answers?
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
thEsp
BANNED
Join Date: Aug 2017
Old 07-13-2020 , 09:53   Re: pev_body question
Reply With Quote #5

Quote:
Originally Posted by Shadows Adi View Post
Up, some answers?
Waiting 2 days for bumping a thread is too much ain't it?
thEsp is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-13-2020 , 09:56   Re: pev_body question
Reply With Quote #6

There are two known ways. The first is basically what everyone else already does; replace the default model of the weapon.

The second is this https://forums.alliedmods.net/showthread.php?t=287754

Good luck.
__________________









Last edited by CrazY.; 07-13-2020 at 09:57.
CrazY. is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 07-13-2020 , 11:34   Re: pev_body question
Reply With Quote #7

Quote:
Originally Posted by CrazY. View Post
Thanks, I will try.

Two days, yea, it's too much...
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi 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 18:31.


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