Home   Help Search Login Register  

Author Topic: Do deleted units still lag the game?  (Read 972 times)

0 Members and 1 Guest are viewing this topic.

Black Operative

  • Guest
Do deleted units still lag the game?
« on: 25 Jun 2003, 19:49:05 »
Wouldn't this be just logical as the units that have been deleted during the missions had to be loaded into the memory before?


Thanks for any replies! :)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Do deleted units still lag the game?
« Reply #1 on: 25 Jun 2003, 20:21:54 »
dunno about that but I do know that deleting masses of bodies does help.
Not all is lost.

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re:Do deleted units still lag the game?
« Reply #2 on: 25 Jun 2003, 21:48:55 »
Well I know when I look at an object for the first time, my computer stutters as it is loaded into memory.  So I would imagine any vehicle that someone has not "seen" that was deleted....will not "take up memory" for that user since it was never loaded in the first place.

Doolittle

Black Operative

  • Guest
Re:Do deleted units still lag the game?
« Reply #3 on: 25 Jun 2003, 22:46:31 »
Well I know when I look at an object for the first time, my computer stutters as it is loaded into memory.  So I would imagine any vehicle that someone has not "seen" that was deleted....will not "take up memory" for that user since it was never loaded in the first place.

Doolittle

Makes sense, and I got the same effect when i first see an object. Thanks buddies! :)

TrackenHit

  • Guest
Re:Do deleted units still lag the game?
« Reply #4 on: 26 Jun 2003, 04:32:47 »
It shouldn't, and if it does....BAD BIS, BAD EVIL BIS FOR BAD PROGRAMMING...but I think they where smart enough to avoid that ;).

That stutering is just from textures loading from the harddrive, so thats all it is.  If you delete the object then it doesn't require textures to be loaded. Textures are what slow a game down the most (not to mention horrible programming).  

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Do deleted units still lag the game?
« Reply #5 on: 26 Jun 2003, 17:58:22 »
I tested this with my spawn script, but only at mapstart i'm afraid.

A soldier type that isn't on the map already (living or dead) will lag in a spawn script because he has to be loaded into memory.

A soldier that is placed on the map in the editor but is deleted at mapstart (put "deleteVehicle this" into his init line) ALSO lags. OpF is smart enought to see that the resources doesn't need to be loaded for this soldier. weird.

Dunno about units in midgame tho. Somebody should test this.

TrackenHit

  • Guest
Re:Do deleted units still lag the game?
« Reply #6 on: 27 Jun 2003, 01:12:46 »
You have to remember that when the units are created at mapstart, all the textures are loaded before the extra code.  So I guess it deletes afterwards.  Does it still lag after all the units are deleted?

IlikeOFP

  • Guest
Re:Do deleted units still lag the game?
« Reply #7 on: 27 Jun 2003, 20:20:28 »
I think that if a unit is deleted during some point in the mission it will take away so little lag you won't notice that its gone.

For example on my first mission I went kinda overboard with units and had about maybe a little over 200 and I was using a 1.8Ghz processor.  One thing I have noticed lately is yes it will lag if about 100 units including wire fences and stuff it will have noticeable lag.

But yes I do think that only if there are a considerable amount of guys around that it will lag that much and think about does it lagg when you play the map with no other units on it except you.  If you really look closely enough adding maybe 100 guys will not do anything because look at the size and detail of the map.  If anything I think it would make the game lag.

So I say that :noo: it won't make a difference.

Die Russian :gunman:  :beat: hoorah hes dead  ;D

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re:Do deleted units still lag the game?
« Reply #8 on: 08 Jul 2003, 00:22:53 »
I think with units it might also have to do with that unit's AI routines.  'cause if you think about it the only graphics difference between a MG guy and a soldier is the weapon.

Doolittle

_hammy_

  • Guest
Re:Do deleted units still lag the game?
« Reply #9 on: 08 Jul 2003, 16:48:06 »
yesw it does reduce lag, i can really notice it since my comp sucks bad.