Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 22 of 22
Search took
0.01
seconds.
Search:
Posts Made By:
CareFully
Forum:
Snippets and Tutorials
11-18-2015, 00:20
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Try it like i showed it in the first page:
public OnEntityCreated(entid){
decl String:szWpn[32];
GetEntityClassname(entid, szWpn, sizeof(szWpn));
if(StrEqual(szWpn, "weapon_mac10"){...
Forum:
Snippets and Tutorials
11-17-2015, 15:15
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
It should work. How did you use it?
For me it's working.
Forum:
Snippets and Tutorials
11-15-2015, 06:41
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
I've already tried that.
SetEntPropString(entid, Prop_Data, "m_ModelName", "models/weapons/paintball/w_pbgun_dropped.mdl");
This works when you spawn the weapon (ex "give weapon_mac10") but when...
Forum:
Snippets and Tutorials
11-15-2015, 06:38
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Well, don't respawn the player then. :)
No. Actually just set the model on switchpost, if you need to respawn the player in the middle of a round.
In switchpost:
decl String:szWpn[64];
...
Forum:
Snippets and Tutorials
11-13-2015, 11:47
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Here's my code for changing the world model:
new g_iWorldSMGModel; //precached model index
public OnEntityCreated(entid){
decl String:szWpn[64];
GetEntityClassname(entid, szWpn,...
Forum:
Snippets and Tutorials
11-12-2015, 00:03
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Then i'm out of ideas. Maybe you have something that blocks the change or conflicts with it.
It seems like you're changing hand models on other weapons, maybe that has something to do with it
Forum:
Snippets and Tutorials
11-11-2015, 11:34
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Yes it does. Just make sure you don't set the custom model if you don't want it. It actually resets each time player switches the weapon. That's why we reassign the custom model on each weapon...
Forum:
Snippets and Tutorials
11-11-2015, 01:10
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
You don't have to reset vm manually on spawn. Game does it automatically.
Forum:
Snippets and Tutorials
11-10-2015, 10:53
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Something like this:
new g_iOldModelIndex[MAXPLAYERS];
Public ResetViewModel(client){
SetEntProp(g_PVMid[client], Prop_Send, "m_nModelIndex", g_iOldModelIndex[client]);
}
public...
Forum:
Snippets and Tutorials
11-10-2015, 00:16
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Great! I'm glad we figured it out :)
Forum:
Snippets and Tutorials
11-09-2015, 12:26
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
I'm out of ideas. For me it's working well with all of these claw models:
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>
new g_PVMid[MAXPLAYERS]; // Predicted ViewModel ID's...
Forum:
Snippets and Tutorials
11-08-2015, 12:50
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Well It's a long story :). You have to decompile goldsrc models, convert the textures, update the .qc file, so it'll work with source and so that the sequences are in the right order.
But there are...
Forum:
Snippets and Tutorials
11-07-2015, 13:54
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
It is working for me.
You don't actually even have to add a model to the weapon entity. Just change it to 0:
SetEntProp(wpnid, Prop_Send, "m_nModelIndex", 0);
public...
Forum:
Snippets and Tutorials
11-07-2015, 06:57
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Try what gubka said:
Forum:
Snippets and Tutorials
11-07-2015, 03:18
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Did you try the full code thats in the op?
Forum:
Scripting
11-06-2015, 14:29
Replies:
5
[CSGO] Playing multiple sounds at once
Views:
1,436
Posted By
CareFully
Re: [CSGO] Playing multiple sounds at once
For me SNDCHAN_STATIC worked.
Forum:
Snippets and Tutorials
11-06-2015, 11:36
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
SetEntPropString(wpnid, Prop_Data, "m_ModelName", "modelname.mdl");
Setting this on weapon spawn (and when the weapon is dropped) will work. But it doesn't work on equipped weapons. I haven't...
Forum:
Snippets and Tutorials
11-06-2015, 09:37
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Ok. I updated the code. It now changes the weapon model (not the viewmodel), to a model that has no animations. It seems to work now with all custom and offical models. Please test it now.
What i...
Forum:
Snippets and Tutorials
11-03-2015, 11:03
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Does the zombie claws model have animations or is it using offical csgo animations?
Forum:
Snippets and Tutorials
11-01-2015, 10:28
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
For me, my way only flickers once and thats when you switch to the weapon.
Your way it flickers each shot for me.
Forum:
Snippets and Tutorials
10-30-2015, 11:22
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
Re: [CS:GO] Custom Viewmodel
Yea thats a little problem indeed. Well all source viewmodels should work, but you'll have to probably decompile it and change the animations order. Other way is to convert goldsrc models but thats...
Forum:
Snippets and Tutorials
10-28-2015, 15:08
Replies:
68
[CS:GO] Custom Viewmodel
Views:
46,474
Posted By
CareFully
[CS:GO] Custom Viewmodel
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>
new g_PVMid[MAXPLAYERS]; // Predicted ViewModel ID's
new g_iSMGModel; // Custom ViewModel index
public OnPluginStart()
{...
Showing results 1 to 22 of 22
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
02:32
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode