ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
220 stars 25 forks source link

vscript files loaded without .nut are not packed #196

Closed rsedxcftvgyhbujnkiqwe closed 1 year ago

rsedxcftvgyhbujnkiqwe commented 1 year ago

Compile Pal Version V28-RC

Describe the bug If scripts are loaded into an entity just by name instead of with their .nut extension, the pack fails to pick them up.

Steps to reproduce 1: Add a script into an entity by name (for example if you have a script named scripts/vscripts/test.nut, just input "test" into the entity) 2: Attempt to pack and get the error

Expected behavior These files should be packed. Despite not having .nut in hammer, TF2 actually does read the files properly, since the extension is not necessary in hammer to have the map read the script files.

Exactol commented 1 year ago

This build should fix your issue https://www.dropbox.com/s/6vujs97u5taziey/Compile%20Pal%20027.34.zip?dl=0

Thespikedballofdoom commented 9 months ago

This still happens for me, is an output on an entity with RunScriptFile not enough?