Raised This Month: $ Target: $400
 0% 

Weapons glow (v_weaponname.mdl)


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-18-2009 , 01:25   Re: Weapons glow (v_weaponname.mdl)
Reply With Quote #11

Speed wants to glow the viewmodel, not the model you see in other players hands.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
sgtbane
Member
Join Date: Feb 2006
Old 02-23-2009 , 20:53   Re: Weapons glow (v_weaponname.mdl)
Reply With Quote #12

quick looking through your code, you never actually call your RenderWeapon() function. Your trying to create a viewmodel weapon and i really don't think that will work with this method (though its worth a try? if it has the right bones maybe it will snap to the player view, but im prety sure that anything attached to the player is rendered invisible just like the player itself) If it does, theres a problem in your rendering that could cause too many entities to be created. add in a check to see if it exists already or not, and if it does, just apply the render effects to the existing one, instead of adding&stacking another one on top. But yea.. this will most likely only work for the p_ model.

if you really want the v_ model to be rendered, and maybe it is a specific weapon that will be only glowing one color (zombie knife glowing red? idk?) you could always decompile the model you want to use, copy the faces and scale them up to make a shell around the weapon, and slap a chrome&transparent texture on it that will give it the same effect.
__________________
[Add|Community]

~SgtBane
sgtbane is offline
Send a message via MSN to sgtbane
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:27.


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