Jump to content

Search the Community

Showing results for tags 'scripts'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 102 results

  1. Guest

    3D Editor Scripts?

    Thank you for checking out my post, A few days ago i posted a thread about roads moving in 3D Editor, Then we came into a discussion about adding scripts to your map, wich place stuff. Now i would like to know, if there are more site's like this: http://killzonekid.com/arma-building-bridges/2/ Only then with more things to add, like citie's or a secret airfield or so.. I hope you guys could help me out. With Kind Regards -EditedSnowHD The Netherlands
  2. Ok so I'm writing my first script to put into my epoch server because no one else seems to have done it (at least how i want to do it). I've written petty much all the way up to where the AI pilot has to target the way point (a map click position). All I want the pilot to do (A10 is the jet btw), is fly towards the location, on approach drop a couple of bombs and then leave! Essentially I just need help figuring how to get the pilot to target the location (there is a red smoke marker made also at the location) and just fire bombs before flying off to a reasonable degree of accuracy. Here is my script: private ["_unit","_cashMoney","_costStrike","_flyHeight","_notEnough","_jetPos","_dir","pPos","_jet","_oid","_jetType","_target","_mark","_group","wp","_x1","_x2","_y1","_y2","_disTarget"]; disableserialization; _unit = _this select 0; _costStrike = 50000; if (unit == player) then { _cashMoney = player getVariable["cashMoney",0]; //Get the amount of money in players wallet if (_cashMoney < _costStrike) then { _notEnough = _costStrike - _cashMoney; //Find how much money short the player is to call the strike [format["<t>You need %1 more coins to call the aistrike!</t>",(_notEnough)],0,0,2,2] spawn BIS_fnc_dynamicText; } else { _cashMoney = _cashMoney - _costStrike; player setVariable["cashMoney", _cashMoney,true]; [format["<t>The airstrike is inbound!</t>"],0,0,2,2] spawn BIS_fnc_dynamicText; //AIRSTRIKE clicked = 0; hint "Click on the map where you require the drop." openmap true; onMapSingleClick { onmapsingelclick{}; _target setPos [_pos select 0,_pos select 1, 0]; clicked = 1; openmap false; }; waitUntil {(clicked == 1)}; _jetType = "A10_US_EP1"; _flyHeight = 1000; //Create the AI Jet on the edge of the map _pPos = getPosASL _target; _jetPos = [(_this select 0)+1000,(_this select 1)+1000,1000]; _oid = str(ceil(random 999999)); _jet = _jetType createVehicleLocal _jetPos; _jet engineOn true; _jet setPosATL _jetPos; _jet setVariable ["ObjectID",_oid,true]; _jet setVariable ["ObjectUID",_oid,true]; _jet setVehicleLock "UNLOCKED"; _jet flyInHeight _flyHeight; _dir = [_pPos,this] call BIS_fnc_dirTo; _jet setDir (90 - _dir); _jet setVelocity [(50*(sin _dir)+100),(50*(cos _dir)+100),0] _group = createGroup west; _unit = _group createAgent ["US_Soldier_Pilot_EP1",_this,[],0,"CAN_COLLIDE"]; _unit assignAsDriver _jet; _unit moveInDriver _jet; _unit setRank "COLONEL"; _jet removeWeapon "MaverickLauncher"; _jet removeWeapon "SidewinderLaucher_AH1Z"; _jet removeWeapon "FFARLauncher_14"; //Mark the location _mark = "SmokeShellRed" createVehicle [(getPos _target select 0),(getPos _target select 1),(getPos _target select 2)+2]; /* Essentially this is what should now happen: + The AI jet has been created. + As the jet approaches the target it will slow down to a reasonable speed to drop + the jet lowers to 70m when it is within 1000m of the target and slows to 150km/hr + 30 seconds after flying away it will be deleted */ _x1 = (getPos _jet) select 0; _y1 = (getPos _jet) select 1; _x2 = (getPos _target) select 0; _y2 = (getPos _target) select 1; _disTarget = (sqrt((_x2-_x1)*(_x2-_x1))+((_y2-_y1)*(_y2-_y1))); if _disTarget > 1000 then { _jet flyInHeight 1000; _jet setVelocity 200; } else { _flyHeight = 70; _jet flyInHeight _flyHeight; _jet setVelocity 150; }; _wp = _group addWaypoint [position _target, 0]; [_group, 1] setWaypointType "SAD"; [_group, 1] setWaypointSpeed "FULL"; [_group, 1] setWaypointBehaviour "RED"; [_group, 1] setWapointStatements ["true","_jet flyInHeight _flyHeight;"]; //From here the code shall be to drop bombs when in 50m range of the map click location, i just dont know how to do so. }; };
  3. Hi there. I hardly need an explanation how to redirect epoch compiler (all or partial) to use modified scripts. Basicly in A2 we've been pulling whole complies.sqf to MPMission pbo and changing the path of scripts to compile (worked thru variable). Since A3 im totally confused. Simply i need to redirect this: /x/epoch_code/compile/traders/EPOCH_NPCTraderMenuFilter.sqf to /mpmissions/mymission.pbo >> "EPOCH_NPCTraderMenuFilter.sqf" Thanks.
  4. I am having problems getting overpoch weapons to spawn anywhere i am only getting epoch weapons i have tried everything from changing loot chance and even adding more spawns for weapons if anyone could please help that would be great. I am not stengy I want a high loot server
  5. Thug

    server_function broke

    why when i put in a lines like execVM "\z\addons\dayz_server\addons\addons_init.sqf";or [] execVM "\z\addons\dayz_server\init\AH.sqf"; in the server_functions.sqf none of them will active. Its like something is blockiing them. the server will run but none of the addons will come in. There are no ERRORs in the RPTs about this and it does not even show that they are trying to load. This is a Napf map. Dont know if anyone has heard of this before.
  6. I keep struggelking with spawn selection and group management , stuck at waiting for host did exactrly what i was told to do but sill no progress
  7. Hey , guys.... Im not very familiar with coding or scripting stuff... Much worse than a noob to those stuff. :S Our server is regularly getting hacked ( Instant Loadout and Mass TPn ) these days and the owner/scripter is offline for couple of weeks due to personal reasons. So i was going through the scripts.log to see if i can find anything. Then i noticed the below mentioned logs for 10 guys only. Only they get this log. Not the others. I havent seen these logs before in this scripts and it started recording only when these players joined the server... I would really appreciate if someone could take a look at these and tell me if these logs indicate anything suspicious or if they are just normal logs. 01 - Are these some kind of suspicious / hack related logs ? 02 - If not , then why only 9 guys are getting the same type of logs. ( None of the other players has these types of log ) 01.10.2015 12:35:37: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 "_dummy = [_this,"vote_kick"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"01.10.2015 13:12:24: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 ""]; _dummy = [_this,"login"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"01.10.2015 12:35:18: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 "dummy = [_this,"vote_admin"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"01.10.2015 12:35:40: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 "my = [_this,"vote_missions"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"01.10.2015 12:35:42: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 "my = [_this,"vote_reassign"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"01.10.2015 12:35:14: VooDoo (37.251.153.248:43754 ffcba49367sddasdasdcdd77d29d8a79 #2 "mmy = [_this,"vote_restart"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"13.10.2015 14:25:33: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 " _dummy = [_this,"shutdown"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";"01.10.2015 12:35:10: VooDoo (37.251.153.248:43754) ffcba49367sddasdasdcdd77d29d8a79 - #2 "; _dummy = [_this,"players"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";" Thanx Tart
  8. I have been learning how to create addons in Editor for Arma 3. I just don't know where to add the sqf file and the pointer line that I know you have to add. Any help would be grateful.
  9. Mod Features: This allows user to purchase skins from a menu. You can change skins with a backpack. Humanity is backed up and restored after change. You can make all skins free. Or some/none skins free, set a global price and define up to four additional special pricing for 4 sets of skins. Persistent on logout and login. Removes radio, gps, map, compass and NVG included in some skins but leaves original equipment if equipped before skin purchase (both at purchase and re-log). Supports both Epoch (351 skins) and Overpoch (175 skins) by setting a variable. Known Issues: Even though all skin class names are all unique some of the skins have identical appearances. You have to change back into an epoch skin to use epoch clothes items again (1st one in male and female list - suggest you leave those free) Testing: All skins have been tested to insure that the inventory, weapon, and backpack slots work. Special thanks to my user community for all their hard work in testing, especially iSaeko and Laura. I could not have done this without them! Installation: 1. Download the addon from my github by clicking on this link. (Contains a vanilla epoch chernarus mission.pbo example file). 2. On the lower left corner click on the button "Download Zip" 3 Create a directory called dayz_code and mission_pbo 4. Take your mission.pbo file and extract it into the mission_pbo directory 5. Unzip the zip file you download from my github and move the custom directory into your mission_pbo directory. 6. Copy C:\Program Files (x86)\Steam\SteamApps\common\ARMA 2 Operation Arrowhead\@DayZ_Epoch\addons\dayz_code.pbo into this new directory (path may vary based on steam installation). 7. Extract the dayz_code.pbo into the dayz_code directory you created. 8. if you do not already have a fixes directory create one. 9. If you do not already have a custom compile then follow these steps otherwise you can skip this step. copy dayz_code/init/compiles.sqf mission_pbo/fixes/compules.sqf 10. Copy dayz_code/compile/player_switchModel.sqf mission_pbo/fixes/player_switchModel.sqf 11. Edit your init.sqf file and make the following modifications: from: //Load in compiled functions call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) to: //Load in compiled functions call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) // ------------------------------------------------------------------------ Chameleon - Skin Changer Start ------------------------------------------------------------------------ call compile preprocessFileLineNumbers "custom\chameleon\chameleon_init.sqf"; // ------------------------------------------------------------------------ Chameleon - Skin Changer End ------------------------------------------------------------------------from: progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions to : progressLoadingScreen 0.4; // ------------------------------------------------------------------------ Chameleon Skin Changer Start ------------------------------------------------------------------------ //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions call compile preprocessFileLineNumbers "fixes\compiles.sqf"; //Compile regular functions // ------------------------------------------------------------------------ Chameleon Skin Changer End ------------------------------------------------------------------------ from: //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; to: ** NOTE - If you are using this entry will already exist with a different comment. //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; // ------------------------------------------------------------------------Chameleon Skin Changer Start ------------------------------------------------------------------------ // Activate Player Menu for Tools [] execVM "custom\playertools\activate_player_menu.sqf"; // ------------------------------------------------------------------------Chameleon Skin Changer Start ------------------------------------------------------------------------ }; 12. Edit your fixes\compiles.sqf file and make the following modifications: from: player_switchModel = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_switchModel.sqf"; to: // ------------------------------------------------------------------------ Chameleon Skin Changer Start ------------------------------------------------------------------------ // player_switchModel = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_switchModel.sqf"; player_switchModel = compile preprocessFileLineNumbers "fixes\player_switchModel.sqf"; // ------------------------------------------------------------------------ Chameleon Skin Changer End ------------------------------------------------------------------------ 13. Edit your fixes\player_switchModel.sqf file and make the following modifications: from //private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee"]; to: // ------------------------------------------------------------------------ Chameleon Skin Changer Start ------------------------------------------------------------------------ //private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee"]; private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee","_hasCompass","_hasRadio","_hasGPS","_hasWatch","_hasMap","_hasNVG"]; // ------------------------------------------------------------------------ Chameleon Skin Changer End ------------------------------------------------------------------------ from: //BackUp Player Object _oldUnit = player; to: //BackUp Player Object _oldUnit = player; // ------------------------------------------------------------------------ Chameleon Duplicate Item Fix Start ------------------------------------------------------------------------ _hasCompass = false; _hasRadio = false; _hasGPS = false; _hasWatch = false; _hasMap = false; _hasNVG = false; if (player hasWeapon "ItemCompass") then {_hasCompass = true;}; if (player hasWeapon "ItemRadio") then {_hasRadio = true;}; if (player hasWeapon "ItemGPS") then {_hasGPS = true;}; if (player hasWeapon "ItemWatch") then {_hasWatch = true;}; if (player hasWeapon "ItemMap") then {_hasMap = true;}; if (player hasWeapon "NVGoggles") then {_hasNVG = true;}; // ------------------------------------------------------------------------ Chameleon Duplicate Item Fix End ------------------------------------------------------------------------ from: if (_ismelee == "true") then { call dayz_meleeMagazineCheck; }; to: if (_ismelee == "true") then { call dayz_meleeMagazineCheck; }; // ------------------------------------------------------------------------ Chameleon Duplicate Item Fix Start ------------------------------------------------------------------------ if (!_hasCompass) then {_newUnit removeWeapon "ItemCompass";}; if (!_hasRadio) then {_newUnit removeWeapon "ItemRadio";}; if (!_hasGPS) then {_newUnit removeWeapon "ItemGPS";}; if (!_hasWatch) then {_newUnit removeWeapon "ItemWatch";}; if (!_hasMap) then {_newUnit removeWeapon "ItemMap";}; if (!_hasNVG) then {_newUnit removeWeapon "NVGoggles";}; // ------------------------------------------------------------------------ Chameleon Duplicate Item Fix End ------------------------------------------------------------------------ 14. Edit description.ext add the following lines to the end of the file. //------------------------------------------------------------------------ Chameleon - Skin Changer Start ---------------------------------------------------------------- #include "custom\chameleon\dialog\common.hpp" #include "custom\chameleon\dialog\SkinGui.hpp" //------------------------------------------------------------------------ Chameleon - Skin Changer End------------------------------------------------------------------- **NOTE if you already have installed you only need one common.hpp , comment out the second one by placing a // in front of it. Optional Additional Configuration: ** Enable Overpoch 1. Edit custom/chameleon/ chameleon_init.sqf and change the following: ** NOTE: This variable can be placed in the init.sqf or variables.sqf if you prefer. from: // ************************************************************************************************************************* // Uncomment the line below to activate Overpoch Skins or add this variable to your init.sqf file. Above your chameleon_init.sql call. // CSC_WORLD = "overpoch"; // ************************************************************************************************************************* to: // ************************************************************************************************************************* // Uncomment the line below to activate Overpoch Skins or add this variable to your init.sqf file. Above your chameleon_init.sql call. CSC_WORLD = "overpoch"; // ************************************************************************************************************************* ** Change Pricing 1. Edit custom/chameleon/ chameleon_init.sqf and change the following: //CSCFreeSkins = true; CSCFreeSkins = false; CSCFreePrice = ["ItemGoldBar",0]; // Regular Skin Price CSCGlobalPrice = ["ItemGoldBar",4]; // Do not set to 0 unless you have CSCFreeSkins = true; //CSCGlobalPrice = ["ItemGoldBar10oz",2]; // Do not set to 0 unless you have CSCFreeSkins = true; //CSCGlobalPrice = ["ItemBriefcase100oz",2]; // Do not set to 0 unless you have CSCFreeSkins = true; // Special Skin Prices CSCSpecialPrice1 = ["ItemGoldBar",2]; // Do not set to 0 CSCSpecialPrice2 = ["ItemGoldBar10oz",1]; // Do not set to 0 CSCSpecialPrice3 = ["ItemGoldBar",6]; // Do not set to 0 CSCSpecialPrice4 = ["ItemGoldBar",7]; // Do not set to 0 Change the CSCFreeSkins to true to make all skins free or adjust individual variables for the prices you want and then add or remove skins from the list array to match. ** DZE Banking System If you are using and have replaced custom/playertools/player_tools_main.sqf you will need to uncomment the following lines. from: playermenustart = [ ["",true], ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"], // ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"], // ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"] ]; to: playermenustart = [ ["",true], ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"], ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"], // ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"] ]; 15. Repack your mission pbo and upload to your sever. Original Framework and Dialog based on from Email: [email protected] Website: Piggd Dayz Gaming Donate to piggd
  10. I require someone who can install several scripts on my server relatively quickly. <Removed by Richie> if you can help me!
  11. hi im wondering if there is anyway to possibly get a script to access other skins such as CTRG and nato fatigues? many thanks Robbo
  12. Ok so I have an idea that I just thought of but I dont have the experience or know-how to even begin thinking how it would work. The idea is implementing a soundscape mod like JSRS or L_ES into a server, but without the need of players to download it. I feel as if Arma 3 is seriously lacking depth of detail in the sounds. An epoch server with something like this on it would be amazing, whether you needed this or not prior to joining the server.
  13. hey sorry for my noobness but im new to this and iv come to a brick wall, i got all my scripts working on my server but just today i made changes to my init.sqf and for some reason some scripts aren't showing up anymore and if one does another one wont, im not sure if theyre ment to be in some sort of order or what but ill attach my init.sqf to the post if anyone can tell me whats wrong with it ill be eternally grateful. init.txt
  14. SUPERFUNMENU by Computermancer possum (play dead) powerstance (stand firm and make gestures) earplugs (reduce volume to 20 percen) suicide (call upon Death) perm remove (remove the menu if you dont want it) I have a video from twitch, and a video on youtube with annotations. http://www.twitch.tv/computermancer/b/618493244 [ youtube] [ /youtube] Sorry, I am horrible at video editing, so it's pretty raw and long... superfunmenu, a compilation of random actions I wish were easier to do :P I have reached a point where I am comfortable enough to share my progress. I have shared the code I use to start up my scripts and have had comment saying people are having ban issues. I have tried it at my house from a vanilla test server and no one seems to have issues when connecting to it. I would like to request some testers to join my server and tell me if the menu works for them or if they get kicked. Once I have enough data, I will post files and instructions. I will share it once I make it a bit easier to customize and I optimize the code. You can always join my server and rip it too, I have seen my menu on some server, *ahem* but they renamed it *ahem*. Haha! If you have any ideas for scripts I can add or make, please let me know and I will see what I can do. I am still working on the BattleEye filters. I am not good with video stuff, so I will have some nice videos available in the future once I get some help. LINK TO MY EARPLUGS SCRIPT: https://github.com/computermancer/cmEarplugs
  15. WARNING ** THIS REPLACES THE HUMANITY SYSTEM Mod Features: Allows the player to have access to their money all the time. Bank is tied to the player via the humanity system and survives character death. Auto Deposit bars/brief cases on every sale or purchase Player can access balance, deposit and withdraw via player tool menu. If a player goes to a negative balance displaying the balance, withdraw or deposit will restore them to zero balance. Known Issues: First time character creation start the player with 2500 humanity which equates to 25gb. Any event that modifies humanity will effect the bank balance (usally in a minor way silve bars in most cases) Thank you too iSaeko for making this video for me. 1. Download the addon from my github by clicking on this link. (Contains a vanilla epoch chernarus mission.pbo example file). 2. On the lower left corner click on the button "Download Zip" 3 Create a directory called dayz_code and mission_pbo 4. Take your mission.pbo file and extract it into the mission_pbo directory 5. Unzip the zip file you download from my github and move the custom directory into your mission_pbo directory. 6. Copy C:\Program Files (x86)\Steam\SteamApps\common\ARMA 2 Operation Arrowhead\@DayZ_Epoch\addons\dayz_code.pbo into this new direttory (path may vary based on steam installation). 7. Extract the dayz_code.pbo into the dayz_code directory you created. 8. if you do not already have a fixes directory create one. 9. If you do not already have a custom compile then follow these steps other wise you can skip this step. copy dayz_code/init/compiles.sqf mission_pbo/fixes/compules.sqf 10. Copy dayz_code/compile/epoch_returnChange.sqf mission_pbo/fixes/epoch_returnChange.sqf 11. Edit your init.sqf file and make the following modifications: from: //Load in compiled functions to: // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ PDZE_PiggdBankSystem = true; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ //Load in compiled functions from: call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions to: // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions call compile preprocessFileLineNumbers "fixes\compiles.sqf"; //Compile regular functions // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From: //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; ** NOTE - If you are using this entry will already exist with a different comment. to: //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // Activate Player Menu for Tools [] execVM "custom\playertools\activate_player_menu.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ }; 12. Edit your fixes\compiles.sqf file and make the following modifications: From: epoch_totalCurrency = { // total currency _total_currency = 0; { _part = (configFile >> "CfgMagazines" >> _x); _worth = (_part >> "worth"); if isNumber (_worth) then { _total_currency = _total_currency + getNumber(_worth); }; } count (magazines player); _total_currency }; epoch_itemCost = { _trade_total = 0; { _part_in_configClass = configFile >> "CfgMagazines" >> (_x select 0); if (isClass (_part_in_configClass)) then { _part_inWorth = (_part_in_configClass >> "worth"); if isNumber (_part_inWorth) then { _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1)); }; }; } count _this; //diag_log format["DEBUG TRADER ITEMCOST: %1", _this]; _trade_total }; epoch_returnChange = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf"; // usage [["partinclassname",4]] call epoch_returnChange; to: epoch_totalCurrency = { // total currency _total_currency = 0; { _part = (configFile >> "CfgMagazines" >> _x); _worth = (_part >> "worth"); if isNumber (_worth) then { _total_currency = _total_currency + getNumber(_worth); }; } count (magazines player); // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ if(PDZE_PiggdBankSystem) then { _humanity = player getVariable["humanity",0]; _total_currency = _total_currency + _humanity; }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ _total_currency }; epoch_itemCost = { _trade_total = 0; { _part_in_configClass = configFile >> "CfgMagazines" >> (_x select 0); if (isClass (_part_in_configClass)) then { _part_inWorth = (_part_in_configClass >> "worth"); if isNumber (_part_inWorth) then { _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1)); }; }; } count _this; //diag_log format["DEBUG TRADER ITEMCOST: %1", _this]; _trade_total }; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // epoch_returnChange = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf"; epoch_returnChange = compile preprocessFileLineNumbers "fixes\epoch_returnChange.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ // usage [["partinclassname",4]] call epoch_returnChange; 13. Edit fixes/epoch_returnChange.sqf From: //diag_log format["DEBUG TRADER CHANGE: %1", _return_change]; if (_return_change >= 0) then { // total currency to: // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ if (_return_change >= 0 and !PDZE_PiggdBankSystem) then { // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From: if (_silver_1oz > 0) then { if (_silver_1oz == 1) then { player addMagazine "ItemSilverBar"; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; } else { player addMagazine format["ItemSilverBar%1oz",_silver_1oz]; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; }; }; _successful = true; }; }; _successful to: if (_silver_1oz > 0) then { if (_silver_1oz == 1) then { player addMagazine "ItemSilverBar"; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; } else { player addMagazine format["ItemSilverBar%1oz",_silver_1oz]; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; }; }; _successful = true; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ } else { if (PDZE_PiggdBankSystem) then { _total_currency_dry = player getVariable["humanity",0]; _total_currency_dry = _total_currency_dry + _return_change; player setVariable["humanity",_total_currency_dry,true]; _successful = true; }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ }; }; _successful 14. Edit server_traders.sqf From: menu_RU_Functionary1 = [ [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]], [], "hero" ]; to: menu_RU_Functionary1 = [ [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]], [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // "hero" "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; from: menu_GUE_Soldier_MG = [ [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]], [], "hostile" ]; to: menu_GUE_Soldier_MG = [ [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]], [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // "hostile" "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; 15. Repack your mission pbo and upload to your sever. Optional Additional Configuration: ** Chameleon Skin Changer If you are using and have replaced custom/playertools/player_tools_main.sqf you will need to uncomment the following lines. from: playermenustart = [ ["",true], // ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], // ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"], ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"], // ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"] ]; to: playermenustart = [ ["",true], ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"], ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"], // ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"] ]; 15. Repack your mission pbo and upload to your sever. Email: [email protected] Website: Piggd Dayz Gaming Donate to piggd
  16. I am working on a Epoch based mod, adding a ton of extra features. I don't know what the final goal is going to be, but as of right now it's just a private server mod. What that means is that ATM we don't plan on releasing it. However who knows where this will end. If you have Teamspeak 3 and have used AddonSync before send me a private message and I'll give you the information required.
  17. I was looking to rent a Epoch server and i wanted to know what the best server host is. I need to be able to spawn in building supplies and vehicles for friends. Is there any server hosts with a good in-game admin menu and scripts like AI or SelfBB that can be easily added? Any help is much thankful.
  18. rossco5378

    Heli Taxi Script

    Hello folks, I was wondering if anyone has seen some sort of heli taxi script for a2 epoch. Around a year ago i use to play on a server and it had a heli taxi script that made a merlin go from Cherno > Klen > Bash > Stary > Cherno and this just repeated all the time with 2 minute stops at each destination. If anyone has seen a script like this or is willing to help a noob out that would be much appreciated.
  19. I need someone to help with the following things: - Godmode trader zones spam you when you look at another player that is tagged as friendly. - DayZ group management does not work (nothing happens when you right click radio and click group management) - I need plot 4 life installed. I will pay someone who can do this. PM me if interested.
  20. hello, people! i have a problem with scrips on my server! when i make a new script my server stop working after -.- who can me help to script ?
  21. I recently bought a server, and now i am trying to add missions to it and such and i need some help, any1 got a couple of mins to help me set it up? :)
  22. I am currently going under the process of creating my towing script for ArmA 3 Epoch and would like someone to host me a test server. Its not the only script I am working of as of now but is the most important :D I am also in the process of creating an AI mission system and loadouts :P PM me if your interested or add me on skype LittleBigBiscuits I will give credits in my post to whoever host me the server.
  23. So im still a little confused on what you can and can not do with editing the files. Has anyone successfully added any type of script or txt to the files and still have there server work. Like are we allowed and does server still work if we just add files and some calls as long as we don't change any existing text? Anyone have anything working on their server right now? Thanks
  24. Guest

    Snow on the ground?

    Hy, Thnks for checking out this post. Is it possible/ or is there a way to get the ground covered in snow, on Chernarus or on any other maps. I discussed about this with a dude on another topic off mine, but he didnt know a way to cover up the ground with snow, or parts from it. I know there is a map called Thirsk, but the post is already two years old and no one is hosting a server with this map.. Link to the post of the map: http://forums.dayzgame.com/index.php?/topic/102557-dayz-thirsk-custom-map-current-version-13-server-files-included-now-on-dayzcommander/ Any help would be great, even help with falling snow, cuz i saw a Tutorial of falling snow and i didn't understand any thing he tried to explain... Link to the tutorial: http://opendayz.net/threads/tutorial-snow-added-to-dynamic-weather.15294/ So i hope i will be able to install Thirsk, and other wise i hope there is a way to cover up the ground with snow, on Chernarus Greets
  25. So i was just wondering how much someone would charge to do a few scripts for me Basically i just want someone to put in a couple scripts then i can do the rest when i have some free time . All i want is Single currency, most updated version Overpoch traders, and custom Trader areas. Thats it really. Possible more, depending on whos interested Thanks for your time Trevdorr
×
×
  • Create New...