HDA: use cops result in uvQuickShade (relative path?) {[SOLVED]}

   244   1   0
User Avatar
Member
1007 posts
Joined: April 2017
Offline
Hi

Inside my HDA, I have Cop2 Network and a uvQuickShade at the same level:

/obj/TriPlanar_to_Texture/My_Baker_HDA/uvquickshade_triplanar
/obj/TriPlanar_to_Texture/My_Baker_HDA/CopTriplanar/OUT_Texture


I can display my cops texture in the uvQuickShade with:
op:/obj/TriPlanar_to_Texture/My_Baker_HDA/CopTriplanar/OUT_Texture

...but How can I use a relative path? I tried this but it doesn't work:
op:/CopTriplanar/OUT_Texture
Edited by olivierth - Feb. 26, 2024 15:18:53
User Avatar
Member
7771 posts
Joined: Sept. 2011
Offline
olivierth
...but How can I use a relative path? I tried this but it doesn't work:
op:/CopTriplanar/OUT_Texture

that's an absolute path. A relative path begins without a '/', usually '../' They might not work with op: references though. In that case use op:`opfullpath("relativepath")`You can check if it works by middle mouse clicking to see the expanded path.
  • Quick Links