Items are glow
Items are green glow
This will help the player find more items I found a lot of items players can not find a waste I want the player to find all the items |
Re: [L4D2]Items are glow
1 Attachment(s)
I coded something very quickly, you can test it. You will need the latest sourcemod 1.8 build.
|
Re: [L4D2]Items are glow
Quote:
Https://i.hizliresim.com/nRv2v1.jpg - There is a trace. Https://i.hizliresim.com/O0W9n0.jpg - After. Https://i.hizliresim.com/ALo6ZX.jpg - Before. Https://i.hizliresim.com/YD1W5z.jpg - The chest does not work. Https://i.hizliresim.com/ldor0k.jpg - The chest does not work. Https://i.hizliresim.com/DPL6E6.jpg - Before. Https://i.hizliresim.com/qbg83D.jpg - After. Thanks! - Thanks for the effort. |
Re: [L4D2]Items are glow
Quote:
PHP Code:
|
Re: [L4D2]Items are glow
Some more testing. m_iGlowType 3 is not ideal because it causes items to glow through walls and ceilings, giving the survivor some kind of wall hack for spotting items. (m_iGlowType 1 dosen't appear to have that effect).
I'm still not sure what causes the glow bug after picking up pipes and molotoves. Tried hooking the grab event (spawner_give_item) to remove the glow on the entity but it didn't work, sadly. If I get more time, I will investigate further. |
Re: [L4D2]Items are glow
PHP Code:
Edit: here is kinda what i mean :D PHP Code:
|
Re: [L4D2]Items are glow
Quote:
|
Re: [L4D2]Items are glow
Quote:
and weapon_molotov_spawn according to valve developer page. I'm trying to look at AcceptEntityInput options. |
Re: [L4D2]Items are glow
Quote:
Use hammer instead to view entity inputs. outputs and keyvalues also makesure you disable smart edit(Dev page is wrong for working with sourcemod) Use this event to detect pickups use classnames to check entity https://wiki.alliedmods.net/Left_4_D...nts#player_use |
Re: [L4D2]Items are glow
This is really weird but AcceptEntityInput(entity, "kill"); will work, killing the weapon_pipe_bomb_spawn entity and its glow while still giving the weapon_pipe_bomb to the client.
Code:
HookEvent("spawner_give_item", Event_GrabbedItem); |
All times are GMT -4. The time now is 02:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.