model swap

model swap

Re: model swap Posted by KoopaTroopa on Thu Aug 2nd 2007 at 12:49am
KoopaTroopa
18 posts
Posted 2007-08-02 12:49am
18 posts 2 snarkmarks Registered: Jul 18th 2007
I have a scene in my map where the player will be inside when an explosion happens. I would like to be able to trigger a change in the outside area that would switch undamaged models/brushes for their damaged counterparts. The player would not see it, so it doesn't have to be nicely animated. Any ideas?
Re: model swap Posted by Stadric on Thu Aug 2nd 2007 at 1:22am
Stadric
848 posts
Posted 2007-08-02 1:22am
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
prop_dynamic, it has a disable/enable command.
You can disable the original prop, and enable the damaged model.
Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying
Re: model swap Posted by Cash Car Star on Thu Aug 2nd 2007 at 1:54am
Cash Car Star
1260 posts
Posted 2007-08-02 1:54am
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
Does HL2 still use the env_render entity? That tends to work pretty well.
Re: model swap Posted by KoopaTroopa on Thu Aug 2nd 2007 at 3:50pm
KoopaTroopa
18 posts
Posted 2007-08-02 3:50pm
18 posts 2 snarkmarks Registered: Jul 18th 2007
Nice! Prop dynamic will work perfectly for the props. I also discovered that func_brush will work for the brush parts. Once again The Snarkpit comes through in the clutch. Thanks.