Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-sprite set to glow! Fix #483

Closed
ivani6651 opened this issue Jun 23, 2017 · 8 comments
Closed

Non-sprite set to glow! Fix #483

ivani6651 opened this issue Jun 23, 2017 · 8 comments

Comments

@ivani6651
Copy link

Can fix spam in console with message 'Non-sprite set to glow!' on some maps for reHLDS with w/o plugins.

@theAsmodai
Copy link
Collaborator

Can you give link to one of these maps?

@ivani6651
Copy link
Author

@WaLkZa
Copy link
Contributor

WaLkZa commented Jun 24, 2017

It's seems that valve tried to do something in 2011 about that spam :D
https://forums.alliedmods.net/showpost.php?p=1564016&postcount=20

@krangm
Copy link

krangm commented Jun 25, 2017

thats entity problem. this msg appears when non-sprite entity has glow "rendermode" "5".
you can fix it by editing entities of bugged map. left "rendermode" "5" only on sprites, other glows might be changed to "rendermode" "1".
tho will be cool if this fix will be incremented to ReHLDS.

@ivani6651
Copy link
Author

@theAsmodai Will you be able to fix this problem?

@WPMGPRoSToTeMa
Copy link
Contributor

We can put this into SV_WriteEntitiesToClient, something like:

if (entityState.rendermode == kRenderGlow
	&& g_psv.models[entityState.modelindex]->type != mod_sprite)
	entityState.rendermode = kRenderNormal;

But there is also a message that we can't control - TE_SPRAY.

@ivani6651
Copy link
Author

It will be great if a solution to this problem is found.

@ivani6651
Copy link
Author

https://forums.alliedmods.net/showthread.php?t=115739

Will you do this thing in order not to use a plug-in plugin on the console. This spam is on certain zombie maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants