MyCampaign/Scripts/ directory
Moderators: Lone Wolf, Snake Man
-
- Commander-In-Chief
- Posts: 9833
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
MyCampaign/Scripts/ directory
It amazes me why is it only now that I discover this feature. When you're making campaign, you can place music and sound into the main campaign root dir, thats nothing new, but now I discovered from Killswitch (thanks!) that if you place a directory called Scripts/ into the campaign root dir, OFP checks all scripts first from this directory.
Think about all those scripts that are duplicated on the many mission dirs, these are for example ai.sqs Bremmers improved AI, CoC Command Engine various script directories, all effects scripts, helicopter operations scripts, etc etc.
It saves space and is much more easier to edit when the script is only in the main root directory.
All PMC made campaigns just got tons of smaller and more efficient because of this feature. Big thanks goes to Killswitch for letting me know!
Think about all those scripts that are duplicated on the many mission dirs, these are for example ai.sqs Bremmers improved AI, CoC Command Engine various script directories, all effects scripts, helicopter operations scripts, etc etc.
It saves space and is much more easier to edit when the script is only in the main root directory.
All PMC made campaigns just got tons of smaller and more efficient because of this feature. Big thanks goes to Killswitch for letting me know!
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
-
- Recruit
- Posts: 18
- Joined: 2006-09-19 12:10:20
-
- Commander-In-Chief
- Posts: 9833
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
I have now moved all the generic scripts in all of my campaigns except in PMC Fury (which I think has very few scripts). Of course I didn't test others than the most fierce CoC CE campaigns, they ran just fine. As the scripts are identical on all mission dirs, they work perfect on the MyCampaign/Scripts/ directory.
Few campaigns dropped like 10mb in size, that is just sweet!
Few campaigns dropped like 10mb in size, that is just sweet!
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".