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

[EXTENSION] Weapon Model


Post New Thread Reply   
 
Thread Tools Display Modes
psychonic

BAFFLED
Join Date: May 2008
Old 03-22-2011 , 12:47   Re: [EXTENSION] Weapon Model
Reply With Quote #61

Quote:
Originally Posted by klausenbusk View Post
Can i get sourcecode for version 1.0.1.1?
It's attached to the first post, weaponmodel_source.rar
psychonic is offline
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 05-02-2011 , 10:18   Re: [EXTENSION] Weapon Model
Reply With Quote #62

This plugin don't have alternative?

Last edited by tejeskifly; 05-16-2011 at 18:02.
tejeskifly is offline
Send a message via MSN to tejeskifly
Benjamin1995
SourceMod Donor
Join Date: May 2009
Location: Germany
Old 05-23-2011 , 15:01   Re: [EXTENSION] Weapon Model
Reply With Quote #63

It's not working on my server:
[10] <FAILED> file "weaponmodel.ext.so": /home/servers/fightserver/orangebox/hl2mp/addons/sourcemod/extensions/weaponmodel.ext.so: cannot open shared object file: No such file or directory

It is maybe possible to fix it?

Regards Benni
__________________
Benjamin1995 is offline
Send a message via Skype™ to Benjamin1995
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-24-2011 , 06:09   Re: [EXTENSION] Weapon Model
Reply With Quote #64

This at all don't work..
__________________
xbatista is offline
Send a message via Skype™ to xbatista
Benjamin1995
SourceMod Donor
Join Date: May 2009
Location: Germany
Old 05-24-2011 , 16:39   Re: [EXTENSION] Weapon Model
Reply With Quote #65

Now I compiled it and it works but I can't hook the weapon model/change it.
I am testing it in Half Life 2 DM
Is that normal oO or it is a bug?

Regards Benni
__________________
Benjamin1995 is offline
Send a message via Skype™ to Benjamin1995
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-25-2011 , 06:15   Re: [EXTENSION] Weapon Model
Reply With Quote #66

Is not working
__________________
xbatista is offline
Send a message via Skype™ to xbatista
Benjamin1995
SourceMod Donor
Join Date: May 2009
Location: Germany
Old 05-25-2011 , 09:34   Re: [EXTENSION] Weapon Model
Reply With Quote #67

I mean, I got it compiled and the extension is loading successfully but the the HOOK: (hookweaponmodel) or so is not changing the model of the weapon. but this function is getting execute.
__________________
Benjamin1995 is offline
Send a message via Skype™ to Benjamin1995
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-25-2011 , 12:42   Re: [EXTENSION] Weapon Model
Reply With Quote #68

Yes they have no effect , there is no way to change weapon model
__________________

Last edited by xbatista; 05-25-2011 at 12:44.
xbatista is offline
Send a message via Skype™ to xbatista
Benjamin1995
SourceMod Donor
Join Date: May 2009
Location: Germany
Old 05-25-2011 , 16:07   Re: [EXTENSION] Weapon Model
Reply With Quote #69

Isn't there any other waY?
__________________
Benjamin1995 is offline
Send a message via Skype™ to Benjamin1995
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 05-25-2011 , 23:43   Re: [EXTENSION] Weapon Model
Reply With Quote #70

This is from Andersso:
Quote:
#include <sourcemod>
#pragma semicolon 1
new g_iWorldModel;

public OnMapStart()
{
g_iWorldModel = PrecacheModel("models/weapons/w_crowbar.mdl", true);
}

public Action:OnPlayerRunCmd(iClient, &iButtons, &Impulse, Float:fVelocity[3], Float:fAngles[3], &iWeapon)
{
new iActiveWeapon = GetEntPropEnt(iClient, Prop_Data, "m_hActiveWeapon");

if (iActiveWeapon != -1)
{
decl String:sWeapon[64];
GetEdictClassname(iActiveWeapon, sWeapon, sizeof(sWeapon));

if (StrEqual(sWeapon, "weapon_knife"))
{
SetEntProp(iActiveWeapon, Prop_Send, "m_iWorldModelIndex", g_iWorldModel);
}
}
}

This only replaces the Worldmodel!!!
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 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 08:32.


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