Author Topic: Can I force clients to have shaders on?  (Read 4975 times)

I'm trying to make a shadow based death match, and during testing I realized people would just turn shaders to OFF and basically get map hacks Lol.

Is there a way to force clients to have a medium or higher shader setting?

Not without a client mod, and that could be disabled.

forgetkk my dreams.. Crushed.

EDIT: Is there a way to see if a client has shaders at a certain setting? Like at all?

If so, I could make a script to kick players with it off.
I know its harsh, but the whole point of the idea is to give everyone the same advantage. In lets say.. Uh, a shadow based death match.
« Last Edit: August 31, 2013, 05:01:58 PM by Pandan »

Well you could force players to download the client add-on, and if they spawn without it they are put into spectate mode and givin alerts that they need it

If so, I could make a script to kick players with it off.
I know its harsh, but the whole point of the idea is to give everyone the same advantage. In lets say.. Uh, a shadow based death match.
But... I can't run shaders past low. Or it messes things up.

But... I can't run shaders past low. Or it messes things up.
Yeah I was wondering about that, a lot of people cant run shaders which would drastically limit the people who could play on your server

Well you could force players to download the client add-on, and if they spawn without it they are put into spectate mode and givin alerts that they need it
Then they can edit client.cs and remove the shader code.

Then they can edit client.cs and remove the shader code.
It still drastically decreases the number of people who could cheat.

no not really. i was thinking of this problem since shaders were announced. they have no use besides looking pretty, a true shame.

you could add sorta "secrets" that are only visible with shaders off and permanently ban everyone using / knowing about them.

EDIT: Is there a way to see if a client has shaders at a certain setting? Like at all?
You could make a client mod and manipulate $Shader::Enabled to see if the client has shaders enabled.
Although it can be easily bypassed by the player using basic coding knowledge and that the Add-On can be disabled, it's the best option I see.  As you said, kick all players who don't have the Add-On enabled.
« Last Edit: September 01, 2013, 09:58:55 PM by Vaux »

Here's an option- have them spawn in a room that you can't get out of unless you have a client sided mod with a button that teleports you into the arena

This client sided mod required to play would also force the user to use shaders
If they can't teleport into the arena then they're forced to push a button or something that puts them into a spectator room

Here's an option- have them spawn in a room that you can't get out of unless you have a client sided mod with a button that teleports you into the arena

This client sided mod required to play would also force the user to use shaders
If they can't teleport into the arena then they're forced to push a button or something that puts them into a spectator room
protip: the end user can modify client-side mods unless you distribute them as comiled dso files which gets you banned real quick

There's really no way to do this

protip: the end user can modify client-side mods unless you distribute them as comiled dso files which gets you banned real quick

There's really no way to do this
Hex, but that would also get you taken out real quick.

would it be impossible to just check every 30 seconds to see what shader setting they have it on, and if it's on OFF, kick them?