ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.65k stars 617 forks source link

[GoldSrc] Restrict the values of net_graph (Crosshair bug) #2770

Open Rainnegan opened 4 years ago

Rainnegan commented 4 years ago

There are some weapons on GoldSrc games that doesn't have a crosshair, so, by using some values of net_graph, you can get a crosshair for that weapon, for example for Counter-Strike:

net_graph "1" net_graphpos "2" net_graphwidth "10" graphheight "3010" Resolution 800x600 Win.

image

metita commented 4 years ago

net_graph should not be out of the screen resolution so probably a check is needed.

afwn90cj93201nixr2e1re commented 4 years ago

graphheight "3010"

this shouldnt be more than half of screen height

But it's also breaking change, sometimes most of developers use it for perf monitoring.

hashnimo commented 4 years ago

From net_graph to crosshair. OMG! 😔🔫

RauliTop commented 4 years ago

But it's also breaking change, sometimes most of developers use it for perf monitoring.

OK. Let's able it on singleplayer. Not on multiplayer.

You are disturbing at any issue. I don't know why is the reason, but I can assume it. Let's stop.