lag because of bookcase

lag because of bookcase

Re: lag because of bookcase Posted by halexmorph on Mon Feb 21st 2005 at 1:17am
halexmorph
44 posts
Posted 2005-02-21 1:17am
44 posts 4 snarkmarks Registered: Jan 27th 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.
Re: lag because of bookcase Posted by French Toast on Mon Feb 21st 2005 at 1:23am
French Toast
3043 posts
Posted 2005-02-21 1:23am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
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.
Re: lag because of bookcase Posted by willow on Mon Feb 21st 2005 at 2:00am
willow
34 posts
Posted 2005-02-21 2:00am
willow
member
34 posts 13 snarkmarks Registered: Nov 24th 2004 Location: Central California
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.
Re: lag because of bookcase Posted by halexmorph on Mon Feb 21st 2005 at 2:28am
halexmorph
44 posts
Posted 2005-02-21 2:28am
44 posts 4 snarkmarks Registered: Jan 27th 2005
thanks for the help. i think i can use a combination of the
breakable idea and deleting some to make it work. thanks
Re: lag because of bookcase Posted by Gwil on Mon Feb 21st 2005 at 2:28am
Gwil
2864 posts
Posted 2005-02-21 2:28am
Gwil
super admin
2864 posts 315 snarkmarks Registered: Oct 13th 2001 Occupation: Student Location: Derbyshire, UK
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.
Re: lag because of bookcase Posted by halexmorph on Mon Feb 21st 2005 at 3:27am
halexmorph
44 posts
Posted 2005-02-21 3:27am
44 posts 4 snarkmarks Registered: Jan 27th 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?
Re: lag because of bookcase Posted by French Toast on Mon Feb 21st 2005 at 4:36am
French Toast
3043 posts
Posted 2005-02-21 4:36am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
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.
Re: lag because of bookcase Posted by halexmorph on Mon Feb 21st 2005 at 4:15pm
halexmorph
44 posts
Posted 2005-02-21 4:15pm
44 posts 4 snarkmarks Registered: Jan 27th 2005
oh ok. thanks for the help. I appreciate it.