Parental Attachment for unlisted models

Avatar
Fracture
797 Posts
Posted Sep 27, 2012
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?

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Sep 27, 2012
Replied 53 minutes later
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

Avatar
Fracture
797 Posts
Posted Sep 27, 2012
Replied 46 minutes later
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.
Avatar
narsqrd
35 Posts
Posted Sep 27, 2012
Replied 7 hours later
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

Avatar
josepezdj
2,386 Posts
Posted Sep 27, 2012
Replied 1 hour later
Narsqrd, VERY useful information! Thanks! :thumbup:
Advertisement
Registered users don’t see ads! Register now!
Avatar
Fracture
797 Posts
Posted Sep 30, 2012
Replied 3 days later
indeed. thank you