Jump to content
Sign in to follow this  
FriendlyIntentions

a problem related to subfolders, scripts and pbo packing

Recommended Posts

I am trying to export a mission from the editor into single missions but all scripts contained in subfolders (that all work fine in the editor) cannot be found when the mission is run from single missions. The init script seems to be working fine. I have tried an external pbo packer but had the same result. Any ideas what could be causing this? The mission is using addons contained in a mod folder and the mission is being packed from user/missions.

Thanks in advance if anyone can help:)

Share this post


Link to post
Share on other sites

Hello,

just a suggestion, but is it possible that you gave the scripts file path a "\" at the beginning? Such as "\subfolder\myscript.sqs"? This might cause a problem, because in the editor you can preview the mission, but packed and imported as a *.pbo into SP or MP, it won't find the file. So you have to change it into: "subfolder\myscript.sqs" I just had this problem, when I imported some custom flags into Arma.

Share this post


Link to post
Share on other sites

Boom, Mk82 you are my hero.

What you suggested wasn't the problem but I noticed you suggested using "\" in the path name instead of "/". Both work in the editor, but only \ works when the pbo is packed. I have no idea how long it would have taken me to notice that otherwise.

Thank you!!!!!!!!!!!!:D:D:D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×