Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


SuicideScout

Members
  • Posts

    144
  • Joined

  • Last visited

Everything posted by SuicideScout

  1. here is my full init.sqf just so there is no confusion /* For DayZ Epoch Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz */ startLoadingScreen ["","RscDisplayLoadCustom"]; cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 13; //The instance dayzHiveRequest = []; initialized = false; dayz_previousID = 0; //disable greeting menu player setVariable ["BIS_noCoreConversations", true]; //disable radio messages to be heard and shown in the left lower corner of the screen enableRadio false; // May prevent "how are you civillian?" messages from NPC enableSentences false; // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea = 2500; // Default = 1500 dayz_MapArea = 20000; // Default = 10000 dayz_minpos = -26000; dayz_maxpos = 26000; //Epoch Config Variables call compile preprocessFileLineNumbers "config\epochconfig.sqf"; // Dayz Epoch Events EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; //Load in compiled functions call compile preprocessFileLineNumbers "init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "init\publicEH.sqf"; //Initilize the publicVariable event handlers progressLoadingScreen 0.2; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "init\compiles.sqf"; //Compile regular functions progressLoadingScreen 0.5; call compile preprocessFileLineNumbers "traders\server_traders.sqf"; //Compile trader configs progressLoadingScreen 1.0; "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_13.Tavi\dynamic_vehicle.sqf"; //Compile vehicle configs // Add trader citys _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_13.Tavi\mission.sqf"; _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; }; if (!isDedicated) then { //Conduct map operations 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; }; //Start Dynamic Weather execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf" //Mod Config execVM "config\modconfig.sqf"; [] execVM "buildings\3barraktest.sqf";
  2. oh and one last thing, make sure to take the -mod=@map launch perameters out of steam when you go to play normally again, chances are it wont cause you any problems if you dont...but it might lol
  3. oh and one last thing, make sure to take the -mod=@map launch perameters out of steam when you go to play normally again, chances are it wont cause you any problems if you dont...but it might lol
  4. hi, i think the addon you mean is the editor upgrade which can me found here (http://www.armaholic.com/page.php?id=6194). once you have downloade that, extract it using winrar or what ever program you prefer, open the folder and copy the @MAP folder to your C/programs86/steam/steam apps /common/arma2 folder, next in steam right click arma 2, go to propertys then set launch options type "-mod=@MAP" without the quoats and press done. now you will have access to all the buildings etc in the editor. next join your server, then exit out of it untill you get to the player profile/options etc screen, once you are there press alt E this will bring up the editor, select your map and thats it youre in the editor. now to place a building, what you need to do is first click "centre" in the top right hand corner of the screen, double click anywhere on your map and press ok, next you need to place a group, double click anywhere on your map and press ok, next a unit, double click roughly on the area you will be placing your buildings as when you go into preview this is the charachter you will use. one a unit is placed, press vehicle in the top right hand corner you can place buildings in the 2d or 3d editor which ever you prefer. i wont go into how to navigate the editor now as thats quite easy but if you are strugeling i will help as best i can. ok so now you have your buildings placed on the map where you want them, now to get them into your server. save your changes as whatever name you like, dosent matter, exit the editor, now go to documents/arma2/missions this is where the code for your buildings are saved . open the folder and in notpad++ open the yourfilename.sqf now you need to delete everything from there other than your buildings you added, so delete the unit and group etc from the top and the proscess commande etc from the top. i dont have an unedited file at the moment to show you as an example but i have a finished on i can show you where i added 3 barraks onto my map. so heres what your finished code should look like:- if (isServer) then { _vehicle_1 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [17178.137, 8253.5391, 0.23748168], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir 45.501339; _this setPos [17178.137, 8253.5391, 0.23748168]; }; _vehicle_2 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [17171.426, 8246.8711, -0.019499402], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir 43.242939; _this setPos [17171.426, 8246.8711, -0.019499402]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [17165.113, 8240.6035, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 43.038994; _this setPos [17165.113, 8240.6035, 0.00015258789]; }; }; remember to add this line to the top of your script "if (isServer) then {" without the quatation marks. ok we're nearly there lol. no open your mission.pbo im assuming you know how to do this. in there create a new folder and call it buildings (dosent have to be buildings call it what ever you like) take your new .sqf file with your newly added buildings and put it inside your buildings folder. ok last step and were done. right at the very bottom of your init.sqf, which is in your mission pbo at the bottom. open that in notpad++ and scroll to the very bottom where it says //Mod Config execVM "config\modconfig.sqf"; underneath that put this like of code [] execVM "buildings\yourfilename.sqf"; but if youve called the buildings folder somthing else or used a capitol B etc make sure it matches. save your work repack your mission.pbo and upload it to your server. job done...hope this helps you, if youre strugeling with anything let me know and ill help you as best i can ps. if you look at my code i pasted above, when you get your code from the editor, it wont say ["Land_Mil_Barracks_i", [17165.113, 8240.6035, 0.00015258789], [], 0, "CAN_COLLIDE"] most likely instead of Land_ it will say Map_ if you want your placed buildings to spawn with loot in them, change Map to Land if you do not want loot, keep it as map. good luck!
  5. hi, i think the addon you mean is the editor upgrade which can me found here (http://www.armaholic.com/page.php?id=6194). once you have downloade that, extract it using winrar or what ever program you prefer, open the folder and copy the @MAP folder to your C/programs86/steam/steam apps /common/arma2 folder, next in steam right click arma 2, go to propertys then set launch options type "-mod=@MAP" without the quoats and press done. now you will have access to all the buildings etc in the editor. next join your server, then exit out of it untill you get to the player profile/options etc screen, once you are there press alt E this will bring up the editor, select your map and thats it youre in the editor. now to place a building, what you need to do is first click "centre" in the top right hand corner of the screen, double click anywhere on your map and press ok, next you need to place a group, double click anywhere on your map and press ok, next a unit, double click roughly on the area you will be placing your buildings as when you go into preview this is the charachter you will use. one a unit is placed, press vehicle in the top right hand corner you can place buildings in the 2d or 3d editor which ever you prefer. i wont go into how to navigate the editor now as thats quite easy but if you are strugeling i will help as best i can. ok so now you have your buildings placed on the map where you want them, now to get them into your server. save your changes as whatever name you like, dosent matter, exit the editor, now go to documents/arma2/missions this is where the code for your buildings are saved . open the folder and in notpad++ open the yourfilename.sqf now you need to delete everything from there other than your buildings you added, so delete the unit and group etc from the top and the proscess commande etc from the top. i dont have an unedited file at the moment to show you as an example but i have a finished on i can show you where i added 3 barraks onto my map. so heres what your finished code should look like:- if (isServer) then { _vehicle_1 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [17178.137, 8253.5391, 0.23748168], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir 45.501339; _this setPos [17178.137, 8253.5391, 0.23748168]; }; _vehicle_2 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [17171.426, 8246.8711, -0.019499402], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir 43.242939; _this setPos [17171.426, 8246.8711, -0.019499402]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [17165.113, 8240.6035, 0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 43.038994; _this setPos [17165.113, 8240.6035, 0.00015258789]; }; }; remember to add this line to the top of your script "if (isServer) then {" without the quatation marks. ok we're nearly there lol. no open your mission.pbo im assuming you know how to do this. in there create a new folder and call it buildings (dosent have to be buildings call it what ever you like) take your new .sqf file with your newly added buildings and put it inside your buildings folder. ok last step and were done. right at the very bottom of your init.sqf, which is in your mission pbo at the bottom. open that in notpad++ and scroll to the very bottom where it says //Mod Config execVM "config\modconfig.sqf"; underneath that put this like of code [] execVM "buildings\yourfilename.sqf"; but if youve called the buildings folder somthing else or used a capitol B etc make sure it matches. save your work repack your mission.pbo and upload it to your server. job done...hope this helps you, if youre strugeling with anything let me know and ill help you as best i can ps. if you look at my code i pasted above, when you get your code from the editor, it wont say ["Land_Mil_Barracks_i", [17165.113, 8240.6035, 0.00015258789], [], 0, "CAN_COLLIDE"] most likely instead of Land_ it will say Map_ if you want your placed buildings to spawn with loot in them, change Map to Land if you do not want loot, keep it as map. good luck!
  6. nothing you can do other than send a support ticket in bud, and chances are youve done nothing wrong, it just happens sometimes, its happened to me once, and another guy i talk to from here its happened to a couple times
  7. nothing you can do other than send a support ticket in bud, and chances are youve done nothing wrong, it just happens sometimes, its happened to me once, and another guy i talk to from here its happened to a couple times
  8. ok so i added a whole new trader to the map,that went fine, added 4 new menus to hime, also fine, added items, fine, got cockey, decided i was going to add a whole new high end currency, stopped rubys spawning around the world, fine, added ruby to a high end currency menu sells for 2 breifs, that worked fine, added items that sell for rubys, fine....all was going so well, until i closed navitcat and restarted my computor, go into game all my menus are still working perfectly look through the menus to see if i got prices right etc, i notice an LAV iv made a mistake in the price, i reopen navicat and go to traders data, none of my changes are there, i do ctrl f search for every item iv added, its not there any more....NIGHTMARE lol where has it gone? someone save me please lol
  9. ok so i added a whole new trader to the map,that went fine, added 4 new menus to hime, also fine, added items, fine, got cockey, decided i was going to add a whole new high end currency, stopped rubys spawning around the world, fine, added ruby to a high end currency menu sells for 2 breifs, that worked fine, added items that sell for rubys, fine....all was going so well, until i closed navitcat and restarted my computor, go into game all my menus are still working perfectly look through the menus to see if i got prices right etc, i notice an LAV iv made a mistake in the price, i reopen navicat and go to traders data, none of my changes are there, i do ctrl f search for every item iv added, its not there any more....NIGHTMARE lol where has it gone? someone save me please lol
  10. trying to pay my bill, i click pay and it dosent do anything lol anyone else had this?
  11. trying to pay my bill, i click pay and it dosent do anything lol anyone else had this?
  12. hmm maybe its to do with my unit number, cant seem to see another fn self actions, my unit number i set as 146 as after scrolling through the entire file it was the next highest unit number, yours is set to 1500, why is that? thanks for the help mageaz!
  13. hmm maybe its to do with my unit number, cant seem to see another fn self actions, my unit number i set as 146 as after scrolling through the entire file it was the next highest unit number, yours is set to 1500, why is that? thanks for the help mageaz!
  14. hey guys losing the will to live with this one now lol so im trying to add a super hero vendor to the map. i used this tutorial to add him to the map (https://docs.google.com/document/d/17qG ... UiZuQ/edit) and this tutorial to make a humanitys requirement of 20000 (http://epochmod.com/forum/index.php?/to ... y-changes/) what i dont understand in the first tutorial is updating the object number, what do i update it to? i have tried many different ones and whatever i change it to, my trader is still on the map. and for the database, what instance do i set it to? it says 11 in that tuorial. anyway the trader is on the map and displayes the menu and items just fine, however anyone can acess it, heros bandits and neutral. im sure my problem is coming from either the object number or the instance but i am at a loss now, if anyone has the answer ill love you for ever lol. here is what i added to my mission.sqf _unit_146 = objNull; if (true) then { _this = createAgent ["Tanny_PMC", [5898.0303, 10544.666], [], 0, "CAN_COLLIDE"]; _unit_146 = _this; _this setDir -83.040123; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false; }; here is what my server traders looks like, i have added the tanny_pmc at the top also /*--------------------------------------------------------------------------- Super Hero Vendor ---------------------------------------------------------------------------*/ //super hero menu_Tanny_PMC = [ [["Super Hero Trader",693]], [], "super" ]; here is my fn_selfactions // All Traders if (_isMan and !_isPZombie and _traderType in serverTraders) then { if (s_player_parts_crtl < 0) then { // get humanity _humanity = player getVariable ["humanity",0]; _traderMenu = call compile format["menu_%1;",_traderType]; // diag_log ("TRADER = " + str(_traderMenu)); _low_high = "low"; _humanity_logic = false; if((_traderMenu select 2) == "friendly") then { _humanity_logic = (_humanity < -5000); }; if((_traderMenu select 2) == "hostile") then { _low_high = "high"; _humanity_logic = (_humanity > -5000); }; if((_traderMenu select 2) == "hero") then { _humanity_logic = (_humanity < 5000); }; if((_traderMenu select 2) == "super") then { _humanity_logic = (_humanity < 20000); }; if(_humanity_logic) then { _cancel = player addAction [format[localize "STR_EPOCH_ACTIONS_HUMANITY",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""]; s_player_parts set [count s_player_parts,_cancel]; } else { he is also set to super in my database written exctly the same and everything and is instance 17 at the moment however i have tried others i will take a screen shot of my database if that helps. Thanks in advance for any help, my mind is boggled lol, Brett.
  15. hey guys losing the will to live with this one now lol so im trying to add a super hero vendor to the map. i used this tutorial to add him to the map (https://docs.google.com/document/d/17qG ... UiZuQ/edit) and this tutorial to make a humanitys requirement of 20000 (http://epochmod.com/forum/index.php?/to ... y-changes/) what i dont understand in the first tutorial is updating the object number, what do i update it to? i have tried many different ones and whatever i change it to, my trader is still on the map. and for the database, what instance do i set it to? it says 11 in that tuorial. anyway the trader is on the map and displayes the menu and items just fine, however anyone can acess it, heros bandits and neutral. im sure my problem is coming from either the object number or the instance but i am at a loss now, if anyone has the answer ill love you for ever lol. here is what i added to my mission.sqf _unit_146 = objNull; if (true) then { _this = createAgent ["Tanny_PMC", [5898.0303, 10544.666], [], 0, "CAN_COLLIDE"]; _unit_146 = _this; _this setDir -83.040123; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false; }; here is what my server traders looks like, i have added the tanny_pmc at the top also /*--------------------------------------------------------------------------- Super Hero Vendor ---------------------------------------------------------------------------*/ //super hero menu_Tanny_PMC = [ [["Super Hero Trader",693]], [], "super" ]; here is my fn_selfactions // All Traders if (_isMan and !_isPZombie and _traderType in serverTraders) then { if (s_player_parts_crtl < 0) then { // get humanity _humanity = player getVariable ["humanity",0]; _traderMenu = call compile format["menu_%1;",_traderType]; // diag_log ("TRADER = " + str(_traderMenu)); _low_high = "low"; _humanity_logic = false; if((_traderMenu select 2) == "friendly") then { _humanity_logic = (_humanity < -5000); }; if((_traderMenu select 2) == "hostile") then { _low_high = "high"; _humanity_logic = (_humanity > -5000); }; if((_traderMenu select 2) == "hero") then { _humanity_logic = (_humanity < 5000); }; if((_traderMenu select 2) == "super") then { _humanity_logic = (_humanity < 20000); }; if(_humanity_logic) then { _cancel = player addAction [format[localize "STR_EPOCH_ACTIONS_HUMANITY",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""]; s_player_parts set [count s_player_parts,_cancel]; } else { he is also set to super in my database written exctly the same and everything and is instance 17 at the moment however i have tried others i will take a screen shot of my database if that helps. Thanks in advance for any help, my mind is boggled lol, Brett.
  16. curious too megaz, i think all the issues with my mods are coming from tavi not being a standard map, i want to change to a standard map to try it but scared it will cock everything up lol you know how the control panel can be
  17. curious too megaz, i think all the issues with my mods are coming from tavi not being a standard map, i want to change to a standard map to try it but scared it will cock everything up lol you know how the control panel can be
  18. hey guys, so at my hero and bandit vendor, whenever anyone buys the armed vodnik it takes their money, but the vodnik dosent spawn anyone else had this problem? also it is not a safe zone anyone know how i make it one?....... 18 days iv had this server now.... getting a bit fed up lol
  19. hey guys, so at my hero and bandit vendor, whenever anyone buys the armed vodnik it takes their money, but the vodnik dosent spawn anyone else had this problem? also it is not a safe zone anyone know how i make it one?....... 18 days iv had this server now.... getting a bit fed up lol
  20. untick antihack restart server retick antihack restart server that might work
  21. untick antihack restart server retick antihack restart server that might work