Remove 'brass shell' from Weapon

Сообщения
219
Реакции
42
You probably don't know about what I'm talking.
So, simple like you must see the attached screenshots.

Well, I want to remove them.
Looking around ReGameDLL code I found the function is EjectBrass https://github.com/s1lentq/ReGameDL...0da7a6d04a022/regamedll/dlls/weapons.cpp#L134

That is called on CBasePlayerWeapon::EjectBrassLate

I tried on Elites to set member m_flEjectBrass to 0 on PrimaryAttack, but it isn't working.
How to do that?

The best way is to create a hook for CBasePlayerWeapon::EjectBrassLate() and block there.
I created a request on github: https://github.com/s1lentq/ReGameDLL_CS/issues/828
 

Download all Attachments

Последнее редактирование:
Сообщения
1,668
Реакции
1,495
Помог
24 раз(а)
I think these shell from client by PlaybackEvent.
 
Сообщения
130
Реакции
7
I remove them all with half life model viewer because they annoy me. Then I also mute the sound using one of the many ways to mute the sound.
 
Сообщения
580
Реакции
338
Предупреждения
1
Помог
9 раз(а)
Try to use unprecacher
 
Сообщения
2
Реакции
1
Have you tried to set member m_flEjectBrass to 0 on ItemPostFrame or blocking gmsgBrass.
 
Сообщения
219
Реакции
42
It seems that all weapons except M3, Scout and AWP are clientside.

That's the only way working.
But is this way calling the message TE_MODEL or is blocking him?

The purpose is to don't send that message like one way to avoid overflow client channel.

Have you tried to set member m_flEjectBrass to 0 on ItemPostFrame or blocking gmsgBrass.
Both methods only working for M3, Scout and AWP.
 

Вложения

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу