Returns the shader name you're aiming at.#224
Conversation
| if (tr.fraction < 1.0f && tw.leadside) | ||
| { | ||
| CCMShader *shader = &cmg.shaders[tw.leadside->shaderNum]; | ||
| CL_AddReliableCommand(va("say ^2[ShaderTrace]^7: ^6%s", shader->shader), qfalse); |
There was a problem hiding this comment.
Is there a reason why this is sending the server a chat message instead of a console print?
There was a problem hiding this comment.
Others might be interested in it, I don't mind if u change it.
There was a problem hiding this comment.
I'd much prefer it to be a console output, there could be scenarios where the user doesn't want to announce their shadertrace.
|
Just tested it, it seems to work some times but is very inconsistent. Probably needs to filter out caulk too as that is the response most of the time currently. |
Mhm, it works on the world but it doesnt like entities at the moment. Could be expanded in the future |
No description provided.