Understanding ms ? help Created 19 years ago2005-08-15 09:55:35 UTC by Barber Barber

Created 19 years ago2005-08-15 09:55:35 UTC by Barber Barber

Posted 19 years ago2005-08-15 09:55:35 UTC Post #127728
I?ve read in the tutorials that ms value is about to game cycle.
I got this situation.
In a certain map I got from a point:
  • 61 fps 5ms 1030 wpoly 2364 epoly
in a very similar map (it?s a remake of the map above), I got from a similar view:
  • 19fps 30 ms 1034 wpoly 433 epoly
I?d thought that game ms was related to wpoly. I can?t find what are the variables to reduce ms. Maybe texture amount, or texture stretching?
Posted 19 years ago2005-08-15 10:05:22 UTC Post #127731
ms stands for millisecond, and is the time the current frame took to be built.

wpoly's and epoly's are just the polygons drawn on the screen. But there's more going on than just that. AI routines for example, handling entities, game logic and all that uses the CPU as well.
Also, having several additive layers on the screen can break your fps quickly too, since these cause the scene to be redrawn and such. So, it's not texture stretching. It can be a wide variety of things, though...
Posted 19 years ago2005-08-15 10:47:07 UTC Post #127735
so, for instance,
multi-managers that are eventually triggered might reduce the fps?

i guess the map remake hasn't got more additive layers than the first one.

thanks.
Posted 19 years ago2005-08-15 13:07:51 UTC Post #127761
Simple logic and timing really won't make any difference. It's largely graphics, plus AI and sound.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-08-15 13:22:26 UTC Post #127772
I have thought I was abusing of triggering/toggling entities so I tried to remove every multi-manager and every instance (names) of objects like light, models, etc. to observe.

Now I get
20 fps 21 ms 1033wpoly 423 epoly

ms has reduced a bit, still very higher than the first map.
Fps is still too low..

By the way i've measured that in both maps with deathmatch 1, maxplayers 1, and no bots no players.

the first map includes sounds. in the remake there's no sound.

what are largely graphics? texture size?
sorry to insist, but the map size and proportions of the map remake are much the same as the previous.

thanks.
Posted 19 years ago2005-08-15 14:06:43 UTC Post #127781
maybe this is too high:
"Texture usage is at 6.96 mb (of 7.90 mb MAX)"

also there are textures from 7 different wad files.
is it better include them into a unique wad file?
Posted 19 years ago2005-08-15 15:34:35 UTC Post #127793
oh my,

forgive me for being so stupid.

i didn't realize that hlrad would be an important task for slowing down ms.
i had compiled with hlvis -full and thought it would be enough for measuring speeds.

after rad compiling ms is in a very acceptable number, fps is about 60 with 1034 high wpoly.

sorry again, and thank you.
Posted 19 years ago2005-08-15 16:03:49 UTC Post #127800
Having the fps on 60 is a bit low I think. Type max_fps 502 or something and it would increase! (Use the edit button instead of replying 3 times ;) )
Posted 19 years ago2005-08-15 16:39:45 UTC Post #127805
FPS is proportional to 1/draw time, and they're both computer-dependent. wpoly is absolute ? it's the same on any PC.

800 was the original wpoly limit for HL, but you'll find maps commonly going past 1200 nowadays, and sometimes far higher than that too.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.