Raised This Month: $32 Target: $400
 8% 

Solved Items are glow


Post New Thread Reply   
 
Thread Tools Display Modes
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-18-2017 , 13:39   Re: [L4D2]Items are glow
Reply With Quote #61

Quote:
Originally Posted by phoenix0001 View Post
PHP Code:
char itemM60_GL[][] = 

    
"weapon_grenade_launcher",
    
"weapon_grenade_launcher_spawn",
    
"weapon_rifle_m60",
    
"weapon_rifle_m60_spawn",
    
"weapon_rifle_sg552",
    
"weapon_rifle_sg552_spawn",
    
"weapon_smg_mp5",
    
"weapon_smg_mp5_spawn",
    
"weapon_sniper_scout",
    
"weapon_sniper_scout_spawn",
    
"weapon_sniper_awp",
    
"weapon_sniper_awp_spawn",
    
"weapon_chainsaw",
    
"weapon_chainsaw_spawn",
    
"weapon_knife",
    
"weapon_knife_spawn",
    
"weapon_riotshield",
    
"weapon_riotshield_spawn"
}; 
knife,riotshield
Melee weapon,unable to display
That won't work. None of those classnames ("weapon_knife", "weapon_knife_spawn", "weapon_riotshield", "weapon_riotshield_spawn") exists in L4D2.

All melee weapons have the same classname, it's weapon_melee or weapon_melee_spawn
Which means all melee weapons will have the same glow color as per plugin design. I have no plans to make it color based on melee type because it would just complicate the simplicity of the plugin.

Last edited by Visual77; 07-18-2017 at 13:59.
Visual77 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 07-19-2017 , 01:07   Re: [L4D2]Items are glow
Reply With Quote #62

Quote:
Originally Posted by Visual77 View Post
That won't work. None of those classnames ("weapon_knife", "weapon_knife_spawn", "weapon_riotshield", "weapon_riotshield_spawn") exists in L4D2.

All melee weapons have the same classname, it's weapon_melee or weapon_melee_spawn
Which means all melee weapons will have the same glow color as per plugin design. I have no plans to make it color based on melee type because it would just complicate the simplicity of the plugin.
Well, thank you.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
leaffan
Senior Member
Join Date: Jan 2013
Old 07-22-2017 , 17:41   Re: [L4D2]Items are glow
Reply With Quote #63

Quote:
Originally Posted by Visual77 View Post
That won't work. None of those classnames ("weapon_knife", "weapon_knife_spawn", "weapon_riotshield", "weapon_riotshield_spawn") exists in L4D2.

All melee weapons have the same classname, it's weapon_melee or weapon_melee_spawn
Which means all melee weapons will have the same glow color as per plugin design. I have no plans to make it color based on melee type because it would just complicate the simplicity of the plugin.
Hi!

https://i.hizliresim.com/bG9Pon.jpg
https://i.hizliresim.com/AkGjjQ.jpg

A new mistake I see.

Thanks.
leaffan is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-22-2017 , 18:19   Re: [L4D2]Items are glow
Reply With Quote #64

Quote:
Originally Posted by leaffan View Post
Does this happen all the time? Can you use noclip (sm_noclip) and noclip yourself under the floor, just to confirm if there is an actual magnum that can be picked up or not.

Items can sink under ground in this game. Here's some cola I discovered under ground.
https://steamuserimages-a.akamaihd.n...CF211EA41D45B/

What campaign map is this, btw?

Last edited by Visual77; 07-22-2017 at 18:27.
Visual77 is offline
leaffan
Senior Member
Join Date: Jan 2013
Old 07-27-2017 , 06:59   Re: [L4D2]Items are glow
Reply With Quote #65

Quote:
Originally Posted by Visual77 View Post
Does this happen all the time? Can you use noclip (sm_noclip) and noclip yourself under the floor, just to confirm if there is an actual magnum that can be picked up or not.

Items can sink under ground in this game. Here's some cola I discovered under ground.
https://steamuserimages-a.akamaihd.n...CF211EA41D45B/

What campaign map is this, btw?
The Tank Arena Plugin Scenario was like that.
leaffan 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 14:59.


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