Set game.lockfps in file or launch option

Making or wanting help making your own asset? Check in here
Post Reply
TBoy205
Posts: 97
Joined: 2012-01-19 14:09

Set game.lockfps in file or launch option

Post by TBoy205 »

I have been manually entering game.lockfps <value> in console every time i start but this is becoming tedious.

Is there a file I can put this in such as a “config.ini” or a launch option I can add when the game starts?

Thanks
Image
Image
Coalz101
Posts: 493
Joined: 2017-07-03 11:11

Re: Set game.lockfps in file or launch option

Post by Coalz101 »

Everytime you start? How come? You should only have to set that once and never again.
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2176
Joined: 2016-10-12 13:25
Location: Poland

Re: Set game.lockfps in file or launch option

Post by Suchar »

He has to do it every time, it's set per game session.
Image
TBoy205
Posts: 97
Joined: 2012-01-19 14:09

Re: Set game.lockfps in file or launch option

Post by TBoy205 »

No other input? I read that it was capable for PR before standalone but I haven’t seen anything talking about doing it after that.
Image
Image
Coalz101
Posts: 493
Joined: 2017-07-03 11:11

Re: Set game.lockfps in file or launch option

Post by Coalz101 »

Suchar wrote:He has to do it every time, it's set per game session.
For real? mine is locked to like 100 from since i set it like years ago. But I never get constant 100 fps so it didn't really matter.
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2176
Joined: 2016-10-12 13:25
Location: Poland

Re: Set game.lockfps in file or launch option

Post by Suchar »

100 is the default setting...
Image
Coalz101
Posts: 493
Joined: 2017-07-03 11:11

Re: Set game.lockfps in file or launch option

Post by Coalz101 »

Suchar wrote:100 is the default setting...
Woopsie then.


Anyways, I'd assume you (TBoy) have a 90hz or 120hz display that would make sense as to why you'd want to go over a 100. Because I'm pretty sure there's no point in going more than 2x your screen's refresh rate.


So I have a suggestion to solve this. Is it possible to have the fps locked by default 60 or 90 frames above the selected monitor's refresh rate.
PBAsydney
Posts: 369
Joined: 2016-10-15 22:14

Re: Set game.lockfps in file or launch option

Post by PBAsydney »

Coalz101 wrote:Woopsie then.


Anyways, I'd assume you (TBoy) have a 90hz or 120hz display that would make sense as to why you'd want to go over a 100. Because I'm pretty sure there's no point in going more than 2x your screen's refresh rate.


So I have a suggestion to solve this. Is it possible to have the fps locked by default 60 or 90 frames above the selected monitor's refresh rate.
Rendering the game at higher framerate lowers input lag even if the monitor cannot show the higher framerate.
Image
Image Image
Image
HITREG CARRY
Post Reply

Return to “PR:BF2 Community Modding”