Parental Attachment for unlisted models
Quote from Fracture on September 27, 2012, 1:35 amI am working on story based map and i want to use the following model; models/anim_wp/tv_wallpanel.mdl
however I cannot turn up the info on what the parental attachment name is required to stick a func_brush onto it. Anyone got that info?
I am working on story based map and i want to use the following model; models/anim_wp/tv_wallpanel.mdl
however I cannot turn up the info on what the parental attachment name is required to stick a func_brush onto it. Anyone got that info?
Quote from josepezdj on September 27, 2012, 2:29 amHave you tried simply this:
- Introduce that tv_wallpanel.mdl as a prop_dynamic and give it a name.
- Make your func_brush and parent it to the above prop_dynamic's name (by only going into its properties and fill up the "parent" box with the name you gave to the prop_dynamic).I bet that should do. I parent many elements this way all the time successfully forgetting about SetParentAttachmentMaintainOffset thingies into logic_autos
Have you tried simply this:
- Introduce that tv_wallpanel.mdl as a prop_dynamic and give it a name.
- Make your func_brush and parent it to the above prop_dynamic's name (by only going into its properties and fill up the "parent" box with the name you gave to the prop_dynamic).
I bet that should do. I parent many elements this way all the time successfully forgetting about SetParentAttachmentMaintainOffset thingies into logic_autos
Quote from Fracture on September 27, 2012, 3:15 amDoesn't work on all things, i don't think. I learned about that the first time i started using panels and arm. But I found the correct offset after finally finding the coop_lobby.bsp and decompiling it.
Doesn't work on all things, i don't think. I learned about that the first time i started using panels and arm. But I found the correct offset after finally finding the coop_lobby.bsp and decompiling it.
Quote from narsqrd on September 27, 2012, 10:36 amtv_wallpanel.mdl has 3 attachment points: panel_01 panel_02 and screen_attach
You can find these for any model by opening up the model viewer from the authoring tools, loading the model you want, and checking out the attachments tab at the bottom.
Some models are more elusive and don't show up in the Load Model browser, for those I extract them from the paks with GCFScape and throw them in a temp folder under the Portal2 directory. Then they can be opened from the model viewer as well
tv_wallpanel.mdl has 3 attachment points: panel_01 panel_02 and screen_attach
You can find these for any model by opening up the model viewer from the authoring tools, loading the model you want, and checking out the attachments tab at the bottom.
Some models are more elusive and don't show up in the Load Model browser, for those I extract them from the paks with GCFScape and throw them in a temp folder under the Portal2 directory. Then they can be opened from the model viewer as well










