Home   Help Search Login Register  

Author Topic: Shared Sounds/Scripts in Campaign  (Read 2505 times)

0 Members and 1 Guest are viewing this topic.

Offline SaOk

  • Missions Depot Staff
  • *****
    • My youtube profile
Shared Sounds/Scripts in Campaign
« on: 15 Jun 2011, 20:42:14 »
Is it possible to create a shared folder in campaign from where all the campaign-missions could pick resources for use? I found an "separate addon for sounds"-example, but I wouldnt want to have separate files.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Shared Sounds/Scripts in Campaign
« Reply #1 on: 16 Jun 2011, 08:07:05 »
It seems that at least the official campaign(s) are addons so you could have a shared script and sound folder in the root of that pbo.

Just de-pbo BIS missions.pbo from the game's addon folder and you'll see how they did it; inside the missions.pbo they have a folder campaign so at least in theory (and I don't see it wouldn't work) you could store that shared sound and scipt folders in the root of the pbo.

As in your campaign pbo would include:
- campaign folder
- sounds folder
- scripts folder

You could even make a config in the sounds folder defining the sounds so you wouldn't have to add them in each mission's description.ext..

:dunno:
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline SaOk

  • Missions Depot Staff
  • *****
    • My youtube profile
Re: Shared Sounds/Scripts in Campaign
« Reply #2 on: 16 Jun 2011, 17:04:22 »