Poll

Which would you use?

Vignette Dmg
Vignette HP
Both
Neither

Author Topic: Vignette damage and health but clientsided?  (Read 2231 times)

Remember those two server addons?It would be cool to see those made client-sided.

For those who don't know what I'm talking about, Vignette damage is when you get hurt it flashes the sides of your screen red instead of blinding you. Vignette health is the sides of your screen become more red the lower your health.

/discuss

theres a server sided vignette health mod that works for all clients you know

theres a server sided vignette health mod that works for all clients you know
I know what it is, I was just wondering if it was possible to make it client sided, as in work in most servers

theres a server sided vignette health mod that works for all clients you know

clientsided addon


vignette usage is controlled by host, clients have no control over it

vignette usage is controlled by host, clients have no control over it
Not true, clients have full control over their vignette. It's just clientCmdsetVignette(), you can set your own if you typed that in your console. You could even block the server from setting one for you.

The issue with making this is there's no way to detect your health purely client sided, so you wouldn't know when to set your vignette.

So what about what Shift Kitty said?
« Last Edit: March 06, 2017, 11:30:33 PM by Planr »

What I said doesn't contradict what Crown said.
When I say "You can't.", I mean to the idea itself, not specific parts of it.
You can set a vignette on your client. You cannot detect how much health you have nor when you take damage.

You cannot detect how much health you have nor when you take damage.
Can't you detect damage by checking for the pain sound when a sound plays?

I understand the concept, but I still want to know if one of these is possible.


Can't you detect damage by checking for the pain sound when a sound plays?
Sounds can play in many different ways. They can play from a couple of different commands, by creating an audio emitter, projectile, or explosion, or played through certain datablock values, like image states and player related sounds.
I believe the pain sound is one of the ones you can't detect.


Health is never sent to the client so that will be impossible.
Not easy to detect a sound either. Pretty sure you cannot package the alx engine methods (play sound functions), could be wrong. This is inefficient too as many things could go wrong.

Vignette damage is possible but yet again health is never sent. You will be stuck with damage flash unless the server does not send it.

Both are not possible unless the server sends the correct information, which does not.
« Last Edit: April 02, 2017, 11:37:20 PM by Kyuande »