player dvar

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

player dvar

Post by pcbouncer » August 20th, 2013, 3:52 am

Not sure if this is a stupid question or not; is there a command or way to get a "player" dvar? I know you can set player dvars easily.

thanks
-pcbouncer

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: player dvar

Post by F |Madness| U » August 20th, 2013, 9:48 am

Unfortunately not. Well not simply anyway, perhaps there is another way though. Since in promod it detects when you have >250fps doesn't it? (Used to then give you blurry screen/noise).
-

pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

Re: player dvar

Post by pcbouncer » August 20th, 2013, 2:50 pm

there must be a way if you can set it so easily? it makes no sense

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: player dvar

Post by F |Madness| U » August 20th, 2013, 3:30 pm

If you're just wanting to force a certain dvar, just put it in a loop on that player so it will constantly set that dvar to a certain value, but yeah it is rather odd that you can't getClientDvar.
-

pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

Re: player dvar

Post by pcbouncer » August 20th, 2013, 3:34 pm

but i have to actually know a dvar... it's quite important

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: player dvar

Post by F |Madness| U » August 20th, 2013, 9:05 pm

I saw your post on Braxi forums, I guess the only way is by using that weird menu file technique, my bet would be to try and look into that if it's absolutely necessary to know a certain dvar. Just wondering, what is the dvar/why is it needed? There may be another way around it as there are a few people with very advanced knowledge in codscript around here.
-

pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

Re: player dvar

Post by pcbouncer » August 22nd, 2013, 3:04 am

well the original purpose is for a script I'm writing in my new map. If i told you what it was you probably wouldn't believe me. Anyways i need it for some other general reasons.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests