Facepunch / garrysmod-issues

Garry's Mod issue tracker
140 stars 56 forks source link

Vbsp does not process instances properly. #5985

Closed Unusuario2 closed 1 week ago

Unusuario2 commented 2 weeks ago

Details

Vbsp does not support instances inside instances because vbsp when collapsing the main instance does not rename the path of the instance inside. This only happend if the instances are inside a folder and the other instance is in a sub folder

Example: Path of the main instance: instances/instance_1.vmf Path of the instance inside of main instance: sub/instance_1_sub.vmf

Vbsp when collapsing instances/instance_1.vmf does not rename the path of the instance inside (sub/instance_1_sub.vmf) to instance/sub/instance_1_sub.vmf.

See the video bellow:

https://github.com/user-attachments/assets/4698073f-921b-4878-b1a5-c8547b1779a1

test_vbsp.zip

Steps to reproduce

1.Download the .zip

  1. Compile test_instance.vmf and see the error.
Unusuario2 commented 2 weeks ago

@robotboy655 Can you remove the link of @c0ffincolors ? This could be a dangereous link.

robotboy655 commented 1 week ago

Will be fixed.