red_ned

[Update] Storage Invasion v2.1 DMS Static Mission (Altis)

20 posts in this topic

Updated 27 March 2017, cleaned code and added cash to vehicle

Updated v2.1 30/07/16 - my newer template with better code structure.

Also moved mission to GiThub for ease.

Has a nice cargo box maze in the centre and not too many new objects.

It was requested to add some extra functionality to the static missions like I did to my Bandit package, well here is the 2nd of the 2 reworks (so far):

1. You can now get 4 difficulties of the mission.
2. You get to choose Ai levels independantly for each mission difficulty.
3. Vary reinforcement times and amounts, static gun amounts and also loot and vehicle settings.
4. Configurable for endless combinations with full instructions on how to change it up.


V2.1 Install instructions and how to configure in download from https://github.com/redned70/DMSStaticMissions

 V1.0 & V2.0 Install instruction (set Ai and difficulty) and images in download from above link as zips inside v2.1.

*******************************************************
 "Storage Invasion" v2.1 static mission for Altis.
 Exile_Car_Ural_Open_Military increases persistent chance with difficulty
 Created by [CiC]red_ned using templates by eraser1
 Credits to Pradatoru for mapping
 18 years of CiC
 easy/mod/difficult/hardcore - reworked by [CiC]red_ned http://cic-gaming.co.uk
*******************************************************
 For Altis only.
 Running on DMS System
*******************************************************

Installing.
1.  Copy storage_invasion.sqf into a3_dms.pbo missions/static
2.  Copy storage_invasion_buildings.sqf into a3_dms.pbo objects/static
3.  Extract  map_configs/altis_config.sqf
4. Find
 DMS_StaticMissionTypes append [["saltflats",1],["slums",1]];
 Change to (or add extra)
 DMS_StaticMissionTypes append [["saltflats",1],["slums",1],["storage_invasion",1]];
5. Find
 DMS_BasesToImportOnServerStart append ["saltflatsbase","slums_objects"];
 Change to (or add extra)
 DMS_StaticMissionTypes append ["saltflatsbase","slums_objects","storage_invasion_buildings"];
6. Repack altis_config.sqf into PBO
7.  Put a3_dms.pbo into /@ExileServer/addons/ on server and start.

To update from V1.0 or V2.0 just replace the storage_invasion.sqf  in the DMS PBO

No BE or InfiSTAR additions apart from what you installed to run DMS. this will not run without DMS.

 

 

2016-02-12_00001.jpg

2016-02-12_00002.jpg

2016-02-12_00003.jpg

2016-02-12_00005.jpg

2016-02-12_00007.jpg

Edited by red_ned
logic update v2.1
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

After following instructions, DMS does not start.

I double checked install and cant see a problem with install.

 

rpt file 

Spoiler

18:56:40 "DMS DETECTED A3XAI. Enabling "DMS_ai_offload_Only_DMS_AI"!"
18:56:40 "DMS :: Initializing Static Mission Variables"
18:56:40 Error in expression <pesArray = [];
{
for "_i" from 1 to (_x select 1) do
{
DMS_StaticMissionTypesArr>
18:56:40   Error position: <select 1) do
{
DMS_StaticMissionTypesArr>
18:56:40   Error Generic error in expression
18:56:40 File x\addons\dms\missions\static_init.sqf, line 25

 

Share this post


Link to post
Share on other sites

@Pistashio check the altis_config file to make sure you don't have a comma missing or extra in there.

errors calling the main files tend to be from that file or if someone has decided to add things into the main config.sqf to balance static missions in there (I never got it working in there but works fine in the map config) and lastly if you changed the mission text make sure the lines finish correctly and aren't missing the semi-colon

Share this post


Link to post
Share on other sites

@red_ned Going to give it another go today. I never changed anything on the install. DMS would not even start but I think I could be at fault here, FTP issues. Ill try again today and let you know.

Share this post


Link to post
Share on other sites
2 hours ago, Pistashio said:

@red_ned Going to give it another go today. I never changed anything on the install. DMS would not even start but I think I could be at fault here, FTP issues. Ill try again today and let you know.

every now and again I get corrupted PBOs and it took hours to get mods uploaded correctly

Share this post


Link to post
Share on other sites
1 hour ago, red_ned said:

every now and again I get corrupted PBOs and it took hours to get mods uploaded correctly

Ha i was just noticing this last night. I was sure i uploaded a pbo after i stopped the server then tested it out yet it was like the server did not even red the pbo and just read a old version of the pbo. i restarted the server again and this time it read the pbo correctly. Sadly I do not think ill get to this tonight but will keep you updated.

Share this post


Link to post
Share on other sites
On ‎12‎/‎02‎/‎2016 at 3:36 PM, red_ned said:

Installing.
1.  Copy storage_invasion.sqf into a3_dms.pbo missions/static
2.  Copy storage_invasion_buildings.sqf into a3_dms.pbo objects/static
3.  Extract  map_configs/altis_config.sqf
4. Find
 DMS_StaticMissionTypes append [["saltflats",1],["slums",1]];
 Change to (or add extra)
 DMS_StaticMissionTypes append [["saltflats",1],["slums",1],["storage_invasion",1]];
5. Find
 DMS_BasesToImportOnServerStart append ["saltflatsbase","slums_objects"];
 Change to (or add extra)
 DMS_StaticMissionTypes append ["saltflatsbase","slums_objects","storage_invasion_buildings"];
6. Repack altis_config.sqf into PBO
7.  Put a3_dms.pbo into /@ExileServer/addons/ on server and start.

In 6. this is not the altis_config.sqf file need to be repack into PBO but the a3_dms folder and then                  in 7. you don't need to put the a3_dms.pbo into  ...\@exileServer\addons because it's in there.

I wait and Nothing append !

 

 

Edited by M-RYS

Share this post


Link to post
Share on other sites

 @M-RYS when you edit the file you then need to put it back in and replace your old PBO with the new one, personally I take one file out at a time and repack then overwrite the existing pbo on the server.

Do it however you want with the PBO file manager but you must upload to server replacing old one or nothing will ever happen

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.