Page 1 of 1

How to get the fps by acs?

Posted: Wed Nov 27, 2013 4:27 pm
by ibm5155
So I'll try to make an automatic config that'll test how good is your computer, so if it'd slow it'll select a low quality effects to be used, if not...

So how can I get the framerates from the computer? (I think it's something related to cvar :S)

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 4:31 pm
by ibm5155
Fused wrote: LMAO

i knew you didnt know xD
I know how to make all the code, I just don't know how can I get that specific number called fps...

Or I'll need to make a costum build for that ? :s

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 4:33 pm
by Lollipop
Fused you are being a really helpful guy right now, making fun of people is really the best way to encourage people to take initiative to learn new things. Thank you for contributing to this comminuty and bond everyone tighter together, we really appreciate the effort.

Why is this in your interest instead of allowing the players to set these settings themselfes?

Have you checked the zdoom wiki for information on this?

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 4:36 pm
by ibm5155
Lollipop wrote: Fused you are being a really helpful guy right now, making fun of people is really the best way to encourage people to take initiative to learn new things. Thank you for contributing to this comminuty and bond everyone tighter together, we really appreciate the effort.

Why is this in your interest instead of allowing the players to set these settings themselfes?

Have you checked the zdoom wiki for information on this?
Because it looks like people are being to lazzy to open a simple menu :s
this would be put to everyone, but people would be able to disable it and select a proper config manually... (So, who would never touch the menu wouldn't lag, and people who changed the config would be able to select the config the way they wanted)...

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 5:12 pm
by Ijon Tichy
can't do it
vid_fps is just a toggle for the fps display, "stat fps" is a command

remember, ACS is meant to deal with the game and the game only, not the client

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 5:23 pm
by ibm5155
then why there's clientside scripts? :p

well it's bad =/ If I could get some client informations (like fps, client position [not the actor but yes the player, the position that he's spectating or f12 someone...])

It would be nice to see more clientside functions ,they 're really good for some specific situations...

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 8:09 pm
by Ænima
ibm5155 wrote: then why there's clientside scripts? :p
To reduce net traffic.


Also, if you're trying to read a user's framerate (which you can't, unless some sort of change is made to the engine), then you need to make an exception for players who use a capped FPS, which might show as "low performance" on your proposed script even if that player has a good rig. (Then again, I don't know ANYBODY who uses a capped framerate ...)

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 8:36 pm
by Klofkac
Ænima wrote: (Then again, I don't know ANYBODY who uses a capped framerate ...)
I'm using it on laptop to reduce the heat.

RE: How to get the fps by acs?

Posted: Wed Nov 27, 2013 9:18 pm
by Konar6
Many of the comers from ZD (including me) use capped FPS actually, for example.

RE: How to get the fps by acs?

Posted: Thu Nov 28, 2013 1:30 am
by Medicris
Doom has always been capped. ZD is still capped. Controls are 1:1 with capped. Uncapped is actually less desirable control-wise, it's only good for smoothness. I'm sure many comp players can vouch for this.

Don't quote me on this, but from what I've been told it's because of to the engine still taking input at the same rate as capped and interpolating your mouse movements along with the rest of the world.

RE: How to get the fps by acs?

Posted: Thu Nov 28, 2013 3:40 am
by Catastrophe
Medicris wrote: Doom has always been capped. ZD is still capped. Controls are 1:1 with capped. Uncapped is actually less desirable control-wise, it's only good for smoothness. I'm sure many comp players can vouch for this.

Don't quote me on this, but from what I've been told it's because of to the engine still taking input at the same rate as capped and interpolating your mouse movements along with the rest of the world.
Personally uncapped framerate has worked the best for me, nice and smooth.

RE: How to get the fps by acs?

Posted: Thu Nov 28, 2013 3:46 am
by Blzut3
Medicris wrote: interpolating your mouse movements
Not really. The mouse is sampled at the frame. The 35fps cap does however remove the movement interpolation so the view matches with the game state at the tic. Uncapped is known to give an ice skating feel to the game.

RE: How to get the fps by acs?

Posted: Thu Nov 28, 2013 7:06 am
by Medicris
Really? Even with vsync off and max pre-rendered frames set to minimum, the mouse feels a lot more "slidey" in fast motion than other games I have if the framerate's not capped. Capped, it's pretty precise and responds just fine to quick movement/snapshots.

I dunno. Guess I'm just bad with uncapped.

RE: How to get the fps by acs?

Posted: Thu Nov 28, 2013 7:24 am
by Ermac
Medicris wrote: Doom has always been capped. ZD is still capped. Controls are 1:1 with capped. Uncapped is actually less desirable control-wise, it's only good for smoothness. I'm sure many comp players can vouch for this.

Don't quote me on this, but from what I've been told it's because of to the engine still taking input at the same rate as capped and interpolating your mouse movements along with the rest of the world.
Meaning that with capped (locked) fps on 35 and ticsperupdate 1, visual representation is exact to the client update transmission toward the server ?

If I enable fps reader, with vid_showfps 1 it says 28.5 ms (along with 35fps) and cl_ticsperupdate 1 is exact 28.5 ms interval; thus it's the most accurate; right ?

RE: How to get the fps by acs?

Posted: Fri Dec 06, 2013 4:19 am
by Watermelon
IMO you should give users a toggle at the start and set it to some global variable with ACS.

Select your mode:
- Slow computer
- Okay computer
- Fast computer
- Awesome computer
- Crysis 3 on max detail computer

RE: How to get the fps by acs?

Posted: Fri Dec 06, 2013 7:06 am
by Mr.Man
Like you... or i had with your rain.
-nintendo ds
-brick pc
-game pc
-nasa pc
-N/A (since you didnt use this anymore, but its still included.)

RE: How to get the fps by acs?

Posted: Fri Dec 06, 2013 1:22 pm
by Catastrophe
The very first option must be made for the poverty stricken.

RE: How to get the fps by acs?

Posted: Fri Dec 06, 2013 1:46 pm
by Stiff
@watermelon: Crysis 3 on max detail computer

Even when ya put all shit on highest at ur map it still lags on a computer wich runs Crysis 3 on highest. (heh)
I just think ya should put everything on lowest by first start, becouse now the stuff is instant on highest aand... I lagged so hard that I couldn't even get into the menu itself.