Home   Help Search Login Register  

Author Topic: cpu strain  (Read 558 times)

0 Members and 1 Guest are viewing this topic.

ponq

  • Guest
cpu strain
« on: 07 Jun 2004, 10:57:43 »
I'm working on a MP mission for ofp 1.96.
Now some1 in the group of friends we play ofp with has a low-spec pc (p3 500mhz, gf2mx400, 256ddr).

That makes me wonder :
-What are the best ways to reduce cpu strain and/or gpu strain (he has already the lowest settings afaik)? Make scripts loop less? Or using less units / objects? I don't wanna go for the Desert Island, and I won't use Nogova cos of it's detail. Does using sounds/music hurt the cpu a lot?

-Related to the above, is it possible to reduce the viewdistance locally via scripts? Or do all the pc's need to have the same viewdistance in MP?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:cpu strain
« Reply #1 on: 07 Jun 2004, 11:49:23 »
I wrote this especially for you.    8)

Read the Comments as well, there's some useful advice there.
« Last Edit: 07 Jun 2004, 11:51:59 by macguba »
Plenty of reviewed ArmA missions for you to play

ponq

  • Guest
Re:cpu strain
« Reply #2 on: 07 Jun 2004, 11:56:53 »
thanks for pointing to that tute for me. Strange I overlooked it ;)

I still have a question.

Would it be possible to use the "benchmark" score to determine the use of eg. chopperdustscripts per client?

like

in a dust script:

if benchmark < 5000: exit

and making sure it runs locally and not from the server? or would this still case a lot of lag/cpu strain since the script get's called in the first place?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:cpu strain
« Reply #3 on: 07 Jun 2004, 13:55:16 »
Yes, you can use the benchmark to determine a computers strength and then have scripts exit based on the result and it will save some resources from the client. How much depends on the script that's left unexecuted.

All clients don't need to have the same viewdistance. You can set it individually.

If you want to build a MP mission with tuned performance you need to think hard what needs to be run on server only and what on clients and then sync them together. It can be a lot of work and it's very easy to get mixed up in your own scripts when you're doing it.
Not all is lost.

ponq

  • Guest
Re:cpu strain
« Reply #4 on: 11 Jun 2004, 12:35:38 »
The basic question of my first post has been answered. So topic solved.
Quote
It can be a lot of work and it's very easy to get mixed up in your own scripts when you're doing it.

...and yes....I'm mixed up with my scripts now lol... will find a work around.

thnx