Need help with packing a script

Avatar
Tmast98
210 Posts
Posted Aug 03, 2013
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

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Aug 03, 2013
Replied 3 hours later
The way you're doing it, with the all files, and having it in scripts/vscripts should totally do the trick :smile:
Avatar
josepezdj
2,386 Posts
Posted Aug 03, 2013
Replied 2 hours later

Lpfreaky90 wrote:
The way you're doing it, with the all files, and having it in scripts/vscripts should totally do the trick :smile:

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 :wink:

Avatar
Tmast98
210 Posts
Posted Aug 03, 2013
Replied 6 hours later
Okay, I'll try this again!
Avatar
FelixGriffin
2,680 Posts
Posted Aug 10, 2013
Replied 7 days later
It doesn't fix up vscript paths correctly. You may need to remove the full Steam path from the front.
Advertisement
Registered users don’t see ads! Register now!
Avatar
Tmast98
210 Posts
Posted Aug 10, 2013
Replied 44 minutes later
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 :smile: