Arma 3
83 ratings
Kunduz Open Door Scripts v0.2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Scenario
Scenario Gameplay: Singleplayer, Multiplayer, Coop, Persistent
Scenario Type: Air, Infantry, Vehicles, Water
Scenario Map: OtherMap
Meta: Dependency
Tags: Tag Review
File Size
Posted
Updated
8.494 KB
3 Apr, 2017 @ 7:50am
3 Apr, 2017 @ 8:00am
2 Change Notes ( view )

Subscribe to download
Kunduz Open Door Scripts v0.2

Description
So I really like the Kunduz map, unfortunately the door user action to open/close doors was broken quite long.

Thanks to a friend (Mister Ferrari) I heard that you can use ACE3 to open doors again. After checking it out I also tried the Enhanced Movement Mod from badbenson and it worked too.

I checked the sourcecode and it was quite easy to extract the needed code and adjust it a little bit to create 2 independent scripts out of it. Now you can interact with doors on Kunduz again without any other mod needed.

ACE3 - Mod Users:

- don't need any of these scripts
- by default CTRL + Spacebar should open the door for you. If not check your keybindings under Settings -> Controls -> Configure Addons -> ACE Keybindings

Enhanced Movement - Mod Users:

- don't need any of these scripts
- when ingame, push ESC to go to Menu, then click on Enhanced Interaction on the right side and setup a custom key for Interaction
- go to Settings -> Controls -> select Custom Controls and bind a key to the custom key you just set in Enhanced Movement.

Without any Mod:

How to use the scripts:

1. Open your explorer and go to C:\Program Files (x86)\Steam\userdata\ and search for kunduz or kunduz door

2. You should find a file called Kunduz%20Door%20Scripts%20v0%2e2.Kunduz.pbo or very similar.

3. Use a PBO-extract tool like "PBO Manager 1.4 Beta" to extract the .pbo to your


C:\Users\*USERNAME*\Documents\Arma 3\missions

or ( depends if you use Main profile in arma or second, third,... profile)

C:\Users\*USERNAME*\Documents\Arma 3 - Other Profiles\*PROFILENAME*\missions


4. You should now be able to open the mission in EDEN and see the .sqf files inside the folder you extracted from the .pbo




This mission includes 2 independent scripts:


1. OpenAllDoors.sqf called by initServer.sqf

- opens all doors on kunduz on init.
- with a little bit of script knowledge you can modify this to work on any map

How to use:
- create a marker in center of Kunduz with variable name "Mapcenter"
- move the initServer.sqf into your mission folder (or merge it with init.sqf / initServer.sqf)
- move the OpenAllDoors.sqf into your mission folder




2. OpenDoor.sqf called by initPlayerLocal.sqf (all credits go to badbenson from Enhanced Movement mod!)

- use ALT (Freelook) key to open/close doors (just like CTRL + Space for ACE 3 mod)
- with a little bit of script knowledge you can change the ALT key to any other default arma 3 key
- if you remove the while loop you can call the script via addAction ( -> see initPlayerLocal.sqf)

How to use:
- move the initPlayerLocal.sqf into your mission folder (or merge it with the one you already have)
- move the OpenDoor.sqf into your mission folder


Both scripts have been tested with SP/LAN/Dedicated/Join in Progress.

Known Issues:
(- user placed Kunduz buildings might not work)

If anyone has issues with the script, finds a bug or has any kind of suggestion feel free to post it in the comments.

If you have another mod map where you cannot get the doors to work let me know, ill try to adjust the scripts.


One of my favorite Hardcore Kunduz missions (just updated!):
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=807914409
23 Comments
Gunter Severloh 26 Nov, 2018 @ 2:39am 
Mouldy Sandwich 25 Mar, 2018 @ 12:51am 
is there anyway i could open this senario on the eden editor?
Gunter Severloh 25 Dec, 2017 @ 1:31am 
@Johnny Drama & Ryan there is no paywall, idk what you guys are talking about but Armaholic is and has always had their files free to download, i can logout of the site and still download whatever i want.
DarkArrow901 炸鸡 11 Apr, 2017 @ 2:14pm 
Awesome, have been looking for something like this quite a while. Thanks mate!
Ry Guy 10 Apr, 2017 @ 3:47pm 
yea, cant believe they actually did that. really sucks, hope more creators move their content over to steam
Johnny Drama  [author] 10 Apr, 2017 @ 12:20pm 
i dislike armaholic, specially after they introduced the paywall. direct link: http://s000.tinyupload.com/index.php?file_id=32686534694336170458
Guesty 9 Apr, 2017 @ 8:46pm 
do us a favour mate and pop it up on armaholic for servers that use the map
Hammer 9 Apr, 2017 @ 12:10pm 
Great upload, A great map now usable again. thank you
treendy 9 Apr, 2017 @ 4:00am 
working on it : ) will update the current one for now, TRGM 2.0 is on its way : )
Johnny Drama  [author] 9 Apr, 2017 @ 3:47am 
just waiting for your updated TRGM mission :). Make Kunduz Great again...i guess ;)