Author Topic: Setting a player's vignette?  (Read 873 times)

Pretty stumped on a drug addon i'm making, supposed to make you change fov/vignette over time. I know FOV, but what's the syntax for a client's vignette? %this.vignette or what?

dammit OP i was gonna do this

Im not sure of what it is, but you could figure it out yourself. Try looking though a vignette script, or use console tracing and changing your vignette.

I believe it is a client command that you can call using commandToClient.

Edit, I believe its clientCmdSetVignette, the variables for it I'm not certain.
You could look into the dynamic FoV add-on for it.
« Last Edit: April 25, 2014, 07:49:14 PM by Pah1023 »

I believe it's clientCmdSetVignette( bool multiply, vector4F rgba )

I believe it's clientCmdSetVignette( bool multiply, vector4F rgba )
Yes, but since I believe he's making a server-side add-on, calling it on clients, commandtoclient(client,'setVignette',bool multiply,vector4F color);

dammit OP i was gonna do this
Sorry.

Quote from: Headcrab Zombie
Yes, but since I believe he's making a server-side add-on, calling it on clients, commandtoclient(client,'setVignette',bool multiply,vector4F color);
Woo, thanks. I was hoping there was a command for it.