red_ned

[Update] Hotel Invasion v2.1 DMS Static Mission (Tanoa)

26 posts in this topic

Updated: 27 March 2017, cleaned code and added cash to crate

2nd mission for Tanoa, again it is very light on buildings and just uses a few road blocks so should run easily on servers (its based on the island with the hotel complex on it).

Please leave feedback that is constructive.

cheers

*******************************************************
 "Hotel Invasion" static mission for Tanoa.
 Thanks to jmayr2000 for helping debug and test.
 Created by [CiC]red_ned using templates by eraser1
 17 years of CiC http://cic-gaming.co.uk
*******************************************************
 For Tanoa only.
 Running on DMS System
 v1.0 is hardcore only.
 v2.1 is multi difficulties with lots of editable functions.
*******************************************************

Thanks to @jmayr2000 for helping with testing again.

Download from: https://github.com/redned70/DMSStaticMissions

Screenshots to follow.

*******************************************************

Installing.
1.  Copy hotel_invasion.sqf into a3_dms.pbo missions/static
2.  Copy hotel_invasion_buildings.sqf into a3_dms.pbo objects/static

>>>>>>>>Either<<<<<<<<<<<
3.  Extract  map_configs/tanoa_config.sqf
4. Add to end

// Add the "hotel_invasion" mission to the existing mission types.
DMS_StaticMissionTypes append
[["hotel_invasion",5]];

// Add the "hotel_invasion_buildings" to spawn on server startup. NOTE: "append" and "pushback" are NOT the same.
DMS_BasesToImportOnServerStart append ["hotel_invasion_buildings"];

5. Repack tanoa_config.sqf into PBO

>>>>>>>>OR<<<<<<<<<<<<<<
Edit main DMS config.sqf
6. Find
 DMS_StaticMissionTypes =   [       // List of STATIC missions with spawn chances.
           //["saltflats",1],  //<--Example (already imported by default on Altis)
           //["slums",1]   //<--Example (already imported by default on Altis)
          ];

 DMS_BasesToImportOnServerStart =  [       // List of static bases to import on server startup (spawned post-init). This will reduce the amount of work the server has to do when it actually spawns static missions, and players won't be surprised when a base suddenly pops up. You can also include any other M3E-exported bases to spawn here.
           //"saltflatsbase",  //<--Example (already imported by default on Altis)
           //"slums_objects"  //<--Example (already imported by default on Altis)
          ];
replace with

 DMS_StaticMissionTypes =   [
           ["hotel_invasion",1]
          ];

 DMS_BasesToImportOnServerStart =  [
           "hotel_invasion_buildings"
          ];
          
7. Save and repack config into PBO

8.  Put a3_dms.pbo into /@ExileServer/addons/ on server and start.

Edited by red_ned
  • Like 5

Share this post


Link to post
Share on other sites
Advertisement

find

Spoiler

//Reduce Static guns if mission is easy
if (_difficultyM isEqualTo "easy") then {
_staticGuns =
[
 [
  [12343.4,14212.7,0.0848351],
  [12279.9,14227,0],
  [12448.1,14229.6,0.129326],
  [12438.8,14224.2,0.232151],
  [12518,14229.3,0.13847],
  [12496,14241.8,0],
  [12491.6,14214.1,0],
  [12526.2,14191.5,0],
  [12436.1,14174.8,0],
  [12410.8,14192.6,0],
  [12364.5,14207.5,0],
  [12415.3,14243,0]
 ],
 _group,
 "assault",
 _difficulty,
 "bandit",
 "random"
] call DMS_fnc_SpawnAIStaticMG;
          } else
          {
_staticGuns =
[
 [
  _pos vectorAdd [0,0,0],  // center pos
  [12343.4,14212.7,0.0848351],
  [12279.9,14227,0],
  [12448.1,14229.6,0.129326],
  [12438.8,14224.2,0.232151],
  [12518,14229.3,0.13847],
  [12496,14241.8,0],
  [12491.6,14214.1,0],
  [12526.2,14191.5,0],
  [12465.6,14191.5,0],
  [12436.1,14174.8,0],
  [12410.8,14192.6,0],
  [12395.5,14194.5,0],
  [12364.5,14207.5,0],
  [12415.3,14243,0]
 ],
 _group,
 "assault",
 _difficulty,
 "bandit",
 "random"
] call DMS_fnc_SpawnAIStaticMG;
          };

just comment out lines like // [12364.5,14207.5,0],

it does reduce the amount of guns on easy mode any way but you can reduce more like this.

Just remember the last line has no comma

Edited by red_ned

Share this post


Link to post
Share on other sites

So today I was playing a yellow Hotel mission and I was like wow these ai are missing a lot. So about half way thru I run out right in front a static MG and he is just staring at me not firing. Sure enough my stealth and god mod was on I was wondering y I was like 55 kills and 0 deaths LOL

Share this post


Link to post
Share on other sites
43 minutes ago, jmayr2000 said:

So today I was playing a yellow Hotel mission and I was like wow these ai are missing a lot. So about half way thru I run out right in front a static MG and he is just staring at me not firing. Sure enough my stealth and god mod was on I was wondering y I was like 55 kills and 0 deaths LOL

LoL

Share this post


Link to post
Share on other sites

This mission is great !

I would love to learn how to create my own mission file, to add to the DMS static missions. Anyone know of any tutorials that address this? Or even how to export a mission and building sqm?

Have just setup my own server and spent some time configuring it. Next stage is creating my own missions to spawn via DMS, but unsure where to start.

Share this post


Link to post
Share on other sites
6 hours ago, serveratze said:

dms version July 26, 2016 

without their mission I have no errors inmy rpt.log

can you upload just this file "dms\scripts\fn_SpawnStaticMission.sqf" to a google drive or dropbox and put the download link in this post. I'd like to compare it to mine. which contains no errors.

A piece from my RPT FIle: 0 Errors it show the spawning of the missions "Comms_Alpha and Hotel_Invation"

14:59:28 Attempt to override final function - dms_staticmission_comms_alpha
14:59:30 "<infiSTAR.de>CONNECTLOG| #1 Connected: Punisher(xxxxxxxxxxxxxxxxx) ID: 3 SteamName: jmayr2000   [UpTime: 0h 0min 41s |  - ServerFPS: 25.1177]   [24-Jul-2016 13-40-01 - v0056]"
14:59:33 "DMS_SpawnAIGroup_MultiPos :: Spawned 24 AI using positions parameter: [[10023.8,11830.5,0],[10022.5,11806.9,0],[10043.2,11809.6,0],[9947.78,11805.3,0],[9949.77,11790.5,0.0664],[9943.55,11776.7,0],[9976.6,11779.4,0],[9993.78,11779.1,0],[10009.2,11781.3,0],[10057.1,11759.3,0.0236],[10062.2,11767.4,0],[10064.7,11796.8,0],[10063.5,11784,0],[10070.1,11756.7,0],[10064.9,11756,0],[10070.8,11768.8,0],[10094.3,11744.7,0],[10083.8,11749.5,0],[10098.8,11755.1,0],[10101.7,11787.7,0],[10096.2,11795.7,0.1512],[10035.4,11760.8,0],[10018.3,11759.8,0],[10024.2,11783.8,0],[10040.8,11791.7,0],[9978.8,11817,0],[10013.9,11827.5,0],[10053.3,11828.3,0],[10075,11809.2,0],[10104.3,11745.3,0],[10000.7,11802.7,0],[10044.1,11795.7,0.5526],[10017.9,11802.8,0.6483],[10033.3,11792.4,0],[10033.3,11792.4,0],[10033.3,11792.4,0]]."
14:59:35 Attempt to override final function - dms_staticmission_hotel_invasion
14:59:43 "DMS_SpawnAIGroup_MultiPos :: Spawned 26 AI using positions parameter: [[12284.2,14233.4,0],[12285.6,14239.6,0],[12345.2,14207.3,0],[12373.2,14197.8,0],[12395.4,14184.6,0],[12410.2,14184.1,0],[12425.2,14183.8,0],[12447.8,14184.8,0],[12467.2,14188.4,0],[12489.2,14189.3,0],[12482.3,14205.3,0],[12488.5,14213.7,0],[12472.1,14232,0],[12496.1,14236.3,0],[12517.4,14223.1,0],[12531.7,14265.6,0],[12585,14266.2,0],[12617.2,14166.9,0],[12516.1,14193.7,0],[12455.1,14228.5,0],[12436.7,14237.7,0],[12385.2,14225.1,0],[12444.7,14208.9,0],[12430.7,14206.2,0],[12417.6,14223.6,0],[12434.5,14223.8,0.232742],[12434.8,14213.3,0.250225],[12465.3,14149.3,0],[12459.4,14120.4,0],[12407.9,14265.3,0],[12452,14275.9,0],[12440.4,14228.9,0.0927734],[12514.8,14229.8,0.211414],[12422.1,14174.8,0],[12439,14172.9,0],[12464.6,14176.4,0],[12437.3,14207.5,0],[12437.3,14207.5,0],[12437.3,14207.5,0]]."
 

 

Edited by jmayr2000

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.