ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 624 forks source link

[CS/CZ] Software mode: r_lightstyle can be used to exploit lightmaps #2780

Open Rainnegan opened 5 years ago

Rainnegan commented 5 years ago

If you are playing on a Zombie-Server that everything is dark, if you set:

r_lightstyle "1" on Software Mode.

The map's lights goes back to normal, will be nice that this cvar will be protected to avoid changing it ...

hashnimo commented 5 years ago

These r_ cvars seem like developer related. I don't know if players can use it for unfair advantage. If so they probably do. So having these configurable from client side is something to reconsider.

afwn90cj93201nixr2e1re commented 5 years ago

You should avoid this values by server side, why we should add this? https://wiki.alliedmods.net/Half-Life_1_Engine_Messages#SVC_SENDCVARVALUE https://wiki.alliedmods.net/Half-Life_1_Engine_Messages#SVC_SENDCVARVALUE2

@kisak-valve same as previous, it's not related to cs, it's engine cvar(exists on all engine based games and related to rendering stuff) and also feature request.

Rainnegan commented 5 years ago

You should avoid this values by server side, why we should add this? https://wiki.alliedmods.net/Half-Life_1_Engine_Messages#SVC_SENDCVARVALUE https://wiki.alliedmods.net/Half-Life_1_Engine_Messages#SVC_SENDCVARVALUE2

@kisak-valve same as previous, it's not related to cs, it's engine cvar(exists on all engine based games and related to rendering stuff) and also feature request.

Should be blocked or removed from the client, there is no a valid point to have it.

afwn90cj93201nixr2e1re commented 5 years ago

Why we should remove cvar which is not used only in cs? For what?

Rainnegan commented 5 years ago

Why we should remove cvar which is not used only in cs? For what?

Should be blocked or removed from the client, there is no a valid point to have it.

The default values on others games is 0, you need learn to read before comment.