lag because of bookcase
Post Reply
Quote
Re: lag because of bookcase
Posted by halexmorph on Mon Feb 21st at 1:17am 2005


http://www.snarkpit.com/maps.php?map=1756

That's the map i'm working on. If you look at the fourth screenshot you'll see the book case i'm talking about. its the three put together full of books. As a test I got rid of these and my lag problems were fixed, so I know its them. Is there anything I can do to stop them from lagging so much without getting rid of them? I'm trying to recreate my school and i'd rather not just get rid of them...they make it so much more realistic to me.




Quote
Re: lag because of bookcase
Posted by French Toast on Mon Feb 21st at 1:23am 2005


Is each one of those binders an individual prop? That's a big problem. The only thing I can suggest is removing some of them, or, if they are all prop_physics, make some or all prop_statics to try and reduce the strain on your machine. [addsig]



Quote
Re: lag because of bookcase
Posted by willow on Mon Feb 21st at 2:00am 2005


Agreed, each of those binder's being their own physics bound objects, REALLY strains your CPU, if it was one or two, it'd be fine, but 20+ is a MAJOR hit on CPU when the physics has to render. If you want them to all be there still, why not make some of the books func_breakable, when you destroy the shelf and fling the books all over the place, people aren't going to notice some of them disappearing. Seeming how it's a Deathmatch map, people really aren't going to notice all the books in great detail when they play the map either... sooo up to you.




Quote
Re: lag because of bookcase
Posted by halexmorph on Mon Feb 21st at 2:28am 2005


thanks for the help. i think i can use a combination of the breakable idea and deleting some to make it work. thanks




Quote
Re: lag because of bookcase
Posted by Gwil on Mon Feb 21st at 2:28am 2005


lots and lots of prop_physics (eg the books) is a bad idea for multiplayer, all physics calculations are done server side as far as I know, and a map loaded up with props will lag to hell.

Change them to prop_statics or find out how the bookcases were done in cs_office in source, in the conference room with the hostages. [addsig]




Quote
Re: lag because of bookcase
Posted by halexmorph on Mon Feb 21st at 3:27am 2005


ok, here's another bookcase related question...

i deleted a lot of the books but then when the game starts everything falls to the floor...before the books held the shelves up. When i make the shelves static props they don't show up and the books fall anyway. How can I make the shelves stay up?




Quote
Re: lag because of bookcase
Posted by French Toast on Mon Feb 21st at 4:36am 2005


? quote:
ok, here's another bookcase related question...

i deleted a lot of the books but then when the game starts everything
falls to the floor...before the books held the shelves up. When i
make the shelves static props they don't show up and the books fall
anyway. How can I make the shelves stay up?


The books held the shelves up? And were those shelves models? I thought they were custom made thus meaning they wouldn't be an entity. If they were a model and they don't show up when made prop_static then they aren't configured to be used as a prop_static and must be used as prop_physics. Unfortunately there isn't anything you can do about that without making custom models. [addsig]




Quote
Re: lag because of bookcase
Posted by halexmorph on Mon Feb 21st at 4:15pm 2005


oh ok. thanks for the help. I appreciate it.





Post Reply