Jump to content

Home

FPS / Frame time / ... And in code ??


AJL

Recommended Posts

Does someone remember what is the console command for framerate ???

 

---------------------------------------------------------------------------

 

And does someone know where that stuff is in the code ??

 

And if someone does and/or understands this stuff then:

 

Would it be good idea to "try" to scale sabers trail stuff

based on framerate ???

 

Because framerate clearly affects to that saber trail effect

 

Usually when i test my saber (alone in the game) that

trail is small, clean, all ways pretty nice but then when

there is more going on and frame rate drops that trail

will grow (and with normal JK2 code its shape will

also change to pentagonal...)

Link to comment
Share on other sites

if i recall, the console command for fps is

 

cg_drawfps 1

 

it is set to 0 by default.

 

As far as changing it through code, I haven't heard of the problem you are describing. I have even played with "cl_avidemo 1" to record saber battles (takes a screenshot every second) and haven't seen such a problem ...

Link to comment
Share on other sites

trailb.jpg

 

(when framerate drops the shape of the trail will stretch

to those arrows directions... and the overall size (lenght)

of the trail will get biger...)

 

You haven't seen anything like that ??

 

 

trailbn.jpg

 

I don't have that shape problem anymore with my new

saber code but obviously the size of the entire trail still

gets biger when framerate drops because that is how

it is rendered...

 

(game stores the position of the saber after every frame

and then at next frame it uses that info to draw the trail

so when framerate drops the saber moves longer

distance during one frame... so it get biger...)

Link to comment
Share on other sites

Ok i think i got it working now... (looks fine when

framerate is somewhere between 15 and 40)

 

-------------------------------------------------------------

 

 

HOW high/low the framerate usually is when

you play ??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...