So I have a door that was made from several brushes, I converted a bunch of them into a model (couldn't do all of it because it didn't keep the proper UVs when I exported it to Maya) so I have a door which uses 4 script_brushmodels and 1 script_model.
When I open the door in game, the parts move separately; so the brushes move about half a second before the script_model for instance and it looks kinda weird. Is there any way to make them all move simultaneously so they look like one entity?
Simpest way is to probably make the "door" the model. Then seperately get the brushes and linkto the model. Then when the model moves, door opens, the brushes will to. You could set the target of the pieces to the targetname of the model/door. Something like this could be used to link one.
This would work easily in one situation, but if you were going to repeat this type of thing often, I would prob modify the way your blockers_new script works instead, and set the brushes as the target of the door/model, and add an extra script to link those to the model there instead.
Last Edit: July 09, 2016, 09:30:09 pm by MakeCents
Simpest way is to probably make the "door" the model. Then seperately get the brushes and linkto the model. Then when the model moves, door opens, the brushes will to. You could set the target of the pieces to the targetname of the model/door. Something like this could be used to link one.
This would work easily in one situation, but if you were going to repeat this type of thing often, I would prob modify the way your blockers_new script works instead, and set the brushes as the target of the door/model, and add an extra script to link those to the model there instead.
I'll just mark this best answer but I ended up UVing the model myself so it's all one model now and works perfectly (as I wanted it originally) and saves ents too.