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

[CS:GO] First Person View Models Interface (with World Models) [Updated 26-Jan-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-06-2016 , 16:46   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #141

Quote:
Originally Posted by hadesownage View Post
Support for w_ and p_ models ?
PHP Code:
/** 
 * Add a custom world model to a weapon 
 * 
 * @param client     Player for check 
 * @String weapon     Weapon to replace 
 * @param weaponwold_index    The weapon precached index with the view model. -1 = default model 
 * @return no return 
 */ 
native FPVMI_AddWorldModelToClient(int clientchar[] weaponint weaponworld_index=-1); 

/** 
 * Add a custom drop model to a weapon 
 * 
 * @param client     Player for check 
 * @String weapon     Weapon to replace 
 * @String dropmodel    The weapon model 
 * @return no return 
 */ 
native FPVMI_AddDropModelToClient(int clientchar[] weaponchar[] dropmodel="none"); 
It was working well the last time that I tested it.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 12-06-2016 at 16:46.
Franc1sco is offline
Send a message via MSN to Franc1sco
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 12-07-2016 , 22:48   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #142

I can use CS:S models for CS:GO?
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-07-2016 , 23:10   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #143

Quote:
Originally Posted by _GamerX View Post
I can use CS:S models for CS:GO?
You'd need to convert them to work properly with CS:GO.

https://forums.alliedmods.net/showthread.php?t=288815
__________________

Last edited by sneaK; 12-07-2016 at 23:11.
sneaK is offline
hitmany
Senior Member
Join Date: Jul 2010
Old 12-08-2016 , 04:20   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #144

Someone has issue: when sometimes hands models disappear.
Its happend with standart Valve models on player without FPVMI

And after gloves update hand models invisisble for FPVMI weapons

And also @Franc1sco did you saw? https://github.com/Franc1sco/First-P...rface/issues/2

Last edited by hitmany; 12-08-2016 at 04:22.
hitmany is offline
Lord Nightmare
Junior Member
Join Date: Feb 2014
Location: Poland
Old 01-14-2017 , 04:32   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #145

Hello i just try to use you plugin with natives and work good but i found a issue.
Console just try to spam like crazy with "Failed to set custom material for 'm9a1', no matching material name found on model models/" with duals .
Any idea how to fix @Franc1sco
Lord Nightmare is offline
Ninti
New Member
Join Date: Nov 2016
Old 02-10-2017 , 19:20   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #146

new error

Exception reported: Invalid Handle 0 (error 4)
Blaming: fpvm_interface.smx
Call stack trace:
[0] SetTrieValue
[1] Line 484, C:\Program Files (x86)\Steam\SteamApps\common\csgo plug\sourcemod-1.7.3-git5280-windows\addons\sourcemod\scripting\fpvm_inter face.sp::Native_SetWeapon
[3] FPVMI_SetClientModel
[4] Line 567, C:\Users\---\Desktop\---\scripting\franug_cwm.sp::tbasico6
Ninti is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 02-20-2017 , 15:58   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #147

hi can you add function for replacing sounds as well?
__________________
iGANGNAM is offline
343N
Member
Join Date: Jul 2015
Old 02-22-2017 , 22:15   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #148

so there's no way to flip viewmodels? I posted about this months ago but using milkshape 3d to flip viewmodels I just get an error and flipping them any other way will take weeks to go through every frame of every animation

in this thread: https://forums.alliedmods.net/showthread.php?t=273885
there's a mention of a entity property that seems like it can flip viewmodels. can we utilise this somehow?

Code:
SetEntProp(iWeapon, Prop_Send, "m_bFlipViewModel", 0);

Last edited by 343N; 02-22-2017 at 22:49.
343N is offline
lemeshovich
Member
Join Date: Jun 2011
Old 07-06-2017 , 19:47   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #149

up
help us please @Franc1sco
lemeshovich is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 07-06-2017 , 20:32   Re: [CS:GO] First Person View Models Interface (with World Models support)
Reply With Quote #150

Quote:
Originally Posted by lemeshovich View Post
up
help us please @Franc1sco
Tell me your steam url and we will see, or someone that have problems loading this plugin.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 07-06-2017 at 20:33.
Franc1sco is offline
Send a message via MSN to Franc1sco
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 12:30.


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