Need help with packing a script
Quote from Tmast98 on August 3, 2013, 12:35 amHi,
Chickenmobile had created a script for me last month to replace cubes with a separate model, the script works fine, but I am having trouble paking it to work on the workshop. In pakrat, I don't see the file when searching for all valid pak files, but when I change it to search for all files it shows up, and I pak it into the bsp. The script is saved currently in scripts/vscripts.
Does anyone know how I could pak this file correctly into the bsp so it will work for those who download the map off the workshop?
Thanks in advance,
Tmast98
Hi,
Chickenmobile had created a script for me last month to replace cubes with a separate model, the script works fine, but I am having trouble paking it to work on the workshop. In pakrat, I don't see the file when searching for all valid pak files, but when I change it to search for all files it shows up, and I pak it into the bsp. The script is saved currently in scripts/vscripts.
Does anyone know how I could pak this file correctly into the bsp so it will work for those who download the map off the workshop?
Thanks in advance,
Tmast98
Quote from Lpfreaky90 on August 3, 2013, 4:15 amThe way you're doing it, with the all files, and having it in scripts/vscripts should totally do the trick
The way you're doing it, with the all files, and having it in scripts/vscripts should totally do the trick

Quote from josepezdj on August 3, 2013, 6:22 amLpfreaky90 wrote:The way you're doing it, with the all files, and having it in scripts/vscripts should totally do the trickYes... Maybe you didn't fix up the path. Into your Pakrat Preferences (File > Preferences) you should have several options about path fix-up in the drop down menu, I have it set to "Ask" so when I'm to pack anything it asks me about fixing up the path. So when that happens I say Yes (or "Yes to all" in the case you are packing several files at once) and that's all: the path to your script is now the one inside your .BSP

Yes... Maybe you didn't fix up the path. Into your Pakrat Preferences (File > Preferences) you should have several options about path fix-up in the drop down menu, I have it set to "Ask" so when I'm to pack anything it asks me about fixing up the path. So when that happens I say Yes (or "Yes to all" in the case you are packing several files at once) and that's all: the path to your script is now the one inside your .BSP
Quote from FelixGriffin on August 10, 2013, 8:05 pmIt doesn't fix up vscript paths correctly. You may need to remove the full Steam path from the front.
It doesn't fix up vscript paths correctly. You may need to remove the full Steam path from the front.
Quote from Tmast98 on August 10, 2013, 8:50 pmWhoops! I never responded, yeah for other people you need to remove it manually for scripts to get the script working for workshop.
Got the issue fixed now though
Whoops! I never responded, yeah for other people you need to remove it manually for scripts to get the script working for workshop.
Got the issue fixed now though