Chunk. No Captain Chunk. Posted August 25, 2014 Report Share Posted August 25, 2014 (edited) [ADDON] Central Chernarus Bank Thought I'd make a little addon for the Single currency ATM/Bank. So i guess its not much of an improvement or an addon for the script itself. But if anyone is interested...here it is.Server pbo Firstly, download this: https://www.dropbox.com/s/ifk8qa6h1pdeg5v/bankofcherno.sqf?dl=0 And add it to this directory: Server.pbo > Buildings Then navigate to this file: Server.pbo > init > server_functions.sqf and add this code to the bottom of the file: // Darkside's Bank of Cherno call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\bankofcherno.sqf"; Mission pbo Once you have done that go to your mission pbo and open up your mission.sqm. Find: class Sensors After your latest item within the sensors section so for me my last item is: class Item15 { position[]={3649.0173, 0.73773193,8532.2158}; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonebank25"; expCond="(player distance zonebank25) < 40;"; expActiv="TitleText[""Now entering the Banking area"",""PLAIN DOWN""]; canbuild = false;insafezone = true;"; expDesactiv="TitleText[""Now leaving the Banking area"",""PLAIN DOWN""]; canbuild = true;insafezone = false;"; class Effects { }; }; After the code above, past this above: class Item16 { position[]={6379.8691, 0.4326643,7557.0259}; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="BoC"; expCond="(player distance BoC) < 50;"; expActiv="TitleText[""Now entering the Banking area"",""PLAIN DOWN""]; canbuild = false;insafezone = true;"; expDesactiv="TitleText[""Now leaving the Banking area"",""PLAIN DOWN""]; canbuild = true;insafezone = false;"; class Effects { }; }; Then make sure you change your items indicator from 16 to 17 class Sensors { items=17; Once you have done this make sure in your safezones script (If you have the infiStar safezones) to change this: USE_CANBUILD = false; USE_POSITIONS = false; to USE_CANBUILD = true; USE_POSITIONS = true; After you have done this you are ready to, pack and upload to your server!ConfigurationChanging your ATM Object Just as a note, you'll have to change your: DZE_ATM = ["Laptop_EP1"] to: DZE_ATM = ["SatPhone"] In your variables.sqf. - The SatPhone is a lot more user friendly for the server, my users do not have any problems accessing this object. If you do not want to change your object or change it to something else, navigate to the bankofcherno.sqf file, located in the buildings folder which we used / created. Then once you have opened the file, find and replace for: SatPhone then change it to whatever your ATM object is. But remember this Bank is customized for the laptop and also the satphone. Optional Marker If you want the optional marker (See picture below) Then navigate to your mission.sqm and find: class Markers then right at the bottom of that section add this: class Item## { position[]={6379.8691, 0.4326643,7557.0259}; name="Bank of Chernarus"; text="Bank of Chernarus"; type="hd_dot"; colorName="ColorGreen"; }; Make sure your Item number is correct for how many markers you have and what order they are. So if you have 10 markers make sure that this: (Example) class Markers { items=10; is changed to this: class Markers { items=11; Images: Bank area: ATM / Bank for Satphone: ATM's in the Bank: Location: Thanks to:http://epochmod.com/forum/index.php?/user/3715-coco-nuts/ Edited August 27, 2014 by Chunk. No Captain Chunk. AWulle 1 Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted August 27, 2014 Author Report Share Posted August 27, 2014 Updated Dropbox Link. AWulle 1 Link to comment Share on other sites More sharing options...
AWulle Posted August 29, 2014 Report Share Posted August 29, 2014 Thank you very much for this. :D The original banks/atm didnt work for me but this one does. Awesome. I am only using one bank atm, Though I want to add a couple at different locations. I have the right sensors and markers for a new location but, how I can find the right coordinates for the objects in the bankofcherno.sqf file, so i can place the bank on different parts of the map? Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted August 29, 2014 Author Report Share Posted August 29, 2014 Thank you very much for this. :D The original banks/atm didnt work for me but this one does. Awesome. I am only using one bank atm, Though I want to add a couple at different locations. I have the right sensors and markers for a new location but, how I can find the right coordinates for the objects in the bankofcherno.sqf file, so i can place the bank on different parts of the map? TP / Goto their location and then take it from the RPT logs or from your database. Link to comment Share on other sites More sharing options...
AWulle Posted August 29, 2014 Report Share Posted August 29, 2014 Do i not have to give every different object different coordinates? For example, the wall (Hbarries cubes) on the east side has different coordinates then the wall of the west side. Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted August 29, 2014 Author Report Share Posted August 29, 2014 Do i not have to give every different object different coordinates? For example, the wall (Hbarries cubes) on the east side has different coordinates then the wall of the west side. Oh if you want the Coordinates for that then go into the bankofcherno.sqf file Find the item you want and then the position will be there in the same block of text. Link to comment Share on other sites More sharing options...
AWulle Posted August 30, 2014 Report Share Posted August 30, 2014 Haha sorry if im being unclear. I want to place the bank let say bereZino soccer field. What is the best way of doing that? Because i thaught if i copy paste whats in the bankofcherno.sqf and then edit those objects with corresponding coordinates the bank goes where i want it. However, its alot of objects in the file and lots of coordinates to add. Besides that, i dont know exactly how to find out how to give correct coordinates for the objects. Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted August 30, 2014 Author Report Share Posted August 30, 2014 Haha sorry if im being unclear. I want to place the bank let say bereZino soccer field. What is the best way of doing that? Because i thaught if i copy paste whats in the bankofcherno.sqf and then edit those objects with corresponding coordinates the bank goes where i want it. However, its alot of objects in the file and lots of coordinates to add. Besides that, i dont know exactly how to find out how to give correct coordinates for the objects. Finally woke up, just noticed what you mean. If you wanted to move the bank you gotta create your own. Here: AWulle 1 Link to comment Share on other sites More sharing options...
Cannon Posted September 9, 2014 Report Share Posted September 9, 2014 Can you set multiple objects to be atms? EG: ATM=["laptop_ep1","SatPhone"] Link to comment Share on other sites More sharing options...
Zupa Posted September 9, 2014 Report Share Posted September 9, 2014 Can you set multiple objects to be atms? EG: ATM=["laptop_ep1","SatPhone"] yes Sir. Dont forget ; at the end though! Chunk. No Captain Chunk. 1 Link to comment Share on other sites More sharing options...
j0sty Posted September 11, 2014 Report Share Posted September 11, 2014 Use this on my server, thanks for the work! Chunk. No Captain Chunk. 1 Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted September 11, 2014 Author Report Share Posted September 11, 2014 Use this on my server, thanks for the work! You're welcome bud. Enjoy it. Link to comment Share on other sites More sharing options...
sixgunzx2 Posted June 18, 2015 Report Share Posted June 18, 2015 Question . loaded n created bank is there....How do I activate it ? I mean if I go to laptop no options to bank or deposit is it even possible since I am using Single Currency 3.0 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now