CS:S - bookcases missing vphysics models

CS:S - bookcases missing vphysics models

Re: CS:S - bookcases missing vphysics models Posted by RealEschaton on Wed Jan 12th 2005 at 10:33pm
RealEschaton
19 posts
Posted 2005-01-12 10:33pm
19 posts 12 snarkmarks Registered: Dec 30th 2004 Occupation: Student (College) Location: USA
I'm working on a CS:S map based on a local library, so it's probably obvious that bookcases would be necessary. For some strange reason, both bookcase_large and bookcase_small are missing their vphysics models:

SOLID_VPHYSICS static prop with no vphysics model! (models/props/cs_havana/bookcase_small.mdl)
SOLID_VPHYSICS static prop with no vphysics model!
(models/props/cs_havana/bookcase_large.mdl)

Those are the warnings reported when the level loads (though there are actually about a half dozen of each right now).

I have checked the official maps that came with CS:S, and the ones that have bookcases have them functioning perfectly. For example, the bookcases in de_chateau seem to have their vphysics intact. When I shoot them, the bullets hit in the correct spot and the bullet hole is the correct material, indicating that they didn't simply use a prop_dynamic_ornamental and place a clip brush around it.

Anyone else have this problem? Any solution to it?
Re: CS:S - bookcases missing vphysics models Posted by Grash on Wed Jan 12th 2005 at 10:44pm
Grash
32 posts
Posted 2005-01-12 10:44pm
Grash
member
32 posts 43 snarkmarks Registered: Jan 5th 2005 Occupation: Developer Location: USA
if you can find the collision models for the models, your best bet is to create an invisble phy boxs for each item. Give each phys box will need a name so you can then parent them to the prop you are using.

Not the best Solution, but it should work.
(If it doesn't someone please tell me)
Re: CS:S - bookcases missing vphysics models Posted by Leperous on Wed Jan 12th 2005 at 10:56pm
Leperous
3382 posts
Posted 2005-01-12 10:56pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
If you want to find out what prop_ they used, type impulse 106 into the console when looking at it (with cheats enabled), or if that fails try surfaceprop.
Re: CS:S - bookcases missing vphysics models Posted by RealEschaton on Wed Jan 12th 2005 at 11:16pm
RealEschaton
19 posts
Posted 2005-01-12 11:16pm
19 posts 12 snarkmarks Registered: Dec 30th 2004 Occupation: Student (College) Location: USA
Well, I don't really know how to find their collision models, and it seems like an awfully large amount of work to individually name and tie together all the bookcases in a library.

Except for impulse 101, I've never gotten any of the impulse commands to work for me (yes, I did enable sv_cheats). I used Lep's suggestion of the surfaceprop command, and it looks like the models in de_chateau are the same ones I'm using in my map. Since the models are not stored in the map, it really boggles my mind that the engine would be able to find them for one map and unable to find them for another.
Re: CS:S - bookcases missing vphysics models Posted by DjBourgeoisie on Wed Jan 12th 2005 at 11:24pm
DjBourgeoisie
16 posts
Posted 2005-01-12 11:24pm
16 posts 2 snarkmarks Registered: Nov 18th 2004
just go to its props and select not solid for vphysics. Then all you have to do is put a clip brush over the model.
Re: CS:S - bookcases missing vphysics models Posted by RealEschaton on Thu Jan 13th 2005 at 12:08am
RealEschaton
19 posts
Posted 2005-01-13 12:08am
19 posts 12 snarkmarks Registered: Dec 30th 2004 Occupation: Student (College) Location: USA
<DIV class=quote>
<DIV class=quotetitle>? quoting DjBourgeoisie</DIV>
<DIV class=quotetext>just go to its props and select not solid for vphysics. Then all you have to do is put a clip brush over the model.</DIV></DIV>
If I did this, players would be able to shoot through it. In addition to stopping bullets though, I would like the bookcases to get punctured in the right places when shot, and consist of the right materials for when players shoot them or walk on top of them. These properties are displayed by the bookcases in the official maps.
Re: CS:S - bookcases missing vphysics models Posted by Leperous on Thu Jan 13th 2005 at 10:17am
Leperous
3382 posts
Posted 2005-01-13 10:17am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
There's nothing you can do about it except placing some invisible wood brushes in the same place as the prop (using render modes etc. a la HL1)
Re: CS:S - bookcases missing vphysics models Posted by RealEschaton on Thu Jan 13th 2005 at 10:19pm
RealEschaton
19 posts
Posted 2005-01-13 10:19pm
19 posts 12 snarkmarks Registered: Dec 30th 2004 Occupation: Student (College) Location: USA
I'm hoping this is an issue that will be dealt with by Valve at some point. For now, I'm just going to abandon this map until a quick solution surfaces. It would be very annoying to spend a ton of time fine-tuning an invisible brush system or tying invisible physboxes to everything, only to have an update fix the whole problem. It really seems like this is something that should not be broken and while I appreciate your suggestions I'm not interested in using a sub-optimal solution.