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


Zombiegirl

Members
  • Posts

    100
  • Joined

  • Last visited

Everything posted by Zombiegirl

  1. Ah.sqf file is in your server PBO
  2. I have never had a problem wit it taking so long. Does your control panel say its has started? If so did you enter it on dayz commander? I have two servers here and they were up in minutes.
  3. I have never had a problem wit it taking so long. Does your control panel say its has started? If so did you enter it on dayz commander? I have two servers here and they were up in minutes.
  4. I put in a support ticket for that and was told they are still working in it.
  5. I put in a support ticket for that and was told they are still working in it.
  6. Spawning in units in custom spawns or from another script. Use the format in customSpawns.sqf [[0,0,0], //position 4, //Number Of units 1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array. "Random", //Primary gun set number. "Random" for random weapon set. 4, //Number of magazines "", //Backpack "" for random or classname here. "Bandit2_DZ", //Skin "" for random or classname here. "Random" //Gearset number. "Random" for random gear set. ] call spawn_group; This will spawn a group of 4 AI at position [0,0,0] with a skill level of 1 (If custom skills if turned on in the config then it would use custom skill array 1). If you need help with setting skills to your liking then look here. "Random" chooses a random weapon array then chooses a gun out of that. If this was set to 1 then it would pick a gun out of weapon set 1. Number of magazines is self-explanatory. Backpack and skin can be the name of the backpack or skin in "quotes" or just "" for a random skin definable in the config. Gear set is customizable in the config and can be 0-4 or "Random" for a random gear set. All of this can be found in customSpawns.sqf. [[911.21545,4532.7612,2.6292224], //Position that units will be dropped by [0,0,0], //Starting position of the heli 400, //Radius from drop position a player has to be to spawn chopper "UH1H_DZ", //Classname of chopper (Make sure it has 2 gunner seats!) 5, //Number of units to be para dropped 1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array. "Random", //Primary gun set number. "Random" for random weapon set. 4, //Number of magazines "", //Backpack "" for random or classname here. "Bandit2_DZ", //Skin "" for random or classname here. "Random", //Gearset number. "Random" for random gear set. True //True: Heli will stay at position and fight. False: Heli will leave if not under fire. ] spawn heli_para; Spawning a paradrop goes along the same lines as spawning a group execpt they will paradrop in when a player gets within the specified distance. Here the position the units will be paradropped at is [911.21545,4532.7612,2.6292224]. The starting position is the position that the heli will spawn at when a player enters the area and then fly to the drop. The radius from drop is the distance a player has to be in from the position for the heli to spawn in. The rest is the same as spawning in a group. If ai_mission_system is set to true in the aiconfig then it will load mission system. The config for missions is located at "WAI \ missions \ missionCfg.sqf". In there you can set what vehicles you want to spawn in the mission system. There is also a customizable ammo box that spawns on some missions that you can set near the bottom. The ammo box will spawn with random weapons from ammo_box_guns and random tools from ammo_box_tools. Missions are located in the missions folder in missions. If you want to change what missions can spawn in look inside missionscfg.sqf.
  7. Spawning in units in custom spawns or from another script. Use the format in customSpawns.sqf [[0,0,0], //position 4, //Number Of units 1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array. "Random", //Primary gun set number. "Random" for random weapon set. 4, //Number of magazines "", //Backpack "" for random or classname here. "Bandit2_DZ", //Skin "" for random or classname here. "Random" //Gearset number. "Random" for random gear set. ] call spawn_group; This will spawn a group of 4 AI at position [0,0,0] with a skill level of 1 (If custom skills if turned on in the config then it would use custom skill array 1). If you need help with setting skills to your liking then look here. "Random" chooses a random weapon array then chooses a gun out of that. If this was set to 1 then it would pick a gun out of weapon set 1. Number of magazines is self-explanatory. Backpack and skin can be the name of the backpack or skin in "quotes" or just "" for a random skin definable in the config. Gear set is customizable in the config and can be 0-4 or "Random" for a random gear set. All of this can be found in customSpawns.sqf. [[911.21545,4532.7612,2.6292224], //Position that units will be dropped by [0,0,0], //Starting position of the heli 400, //Radius from drop position a player has to be to spawn chopper "UH1H_DZ", //Classname of chopper (Make sure it has 2 gunner seats!) 5, //Number of units to be para dropped 1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array. "Random", //Primary gun set number. "Random" for random weapon set. 4, //Number of magazines "", //Backpack "" for random or classname here. "Bandit2_DZ", //Skin "" for random or classname here. "Random", //Gearset number. "Random" for random gear set. True //True: Heli will stay at position and fight. False: Heli will leave if not under fire. ] spawn heli_para; Spawning a paradrop goes along the same lines as spawning a group execpt they will paradrop in when a player gets within the specified distance. Here the position the units will be paradropped at is [911.21545,4532.7612,2.6292224]. The starting position is the position that the heli will spawn at when a player enters the area and then fly to the drop. The radius from drop is the distance a player has to be in from the position for the heli to spawn in. The rest is the same as spawning in a group. If ai_mission_system is set to true in the aiconfig then it will load mission system. The config for missions is located at "WAI \ missions \ missionCfg.sqf". In there you can set what vehicles you want to spawn in the mission system. There is also a customizable ammo box that spawns on some missions that you can set near the bottom. The ammo box will spawn with random weapons from ammo_box_guns and random tools from ammo_box_tools. Missions are located in the missions folder in missions. If you want to change what missions can spawn in look inside missionscfg.sqf.
  8. Current Version 0.16 Adds more options to ammo boxes tweaks to missions Added timeouts to missions Fix ammobox despawn in 1.0.3 Wicked AI feature list Customizable loadouts for groups. Customizable Static weapon units Customizable Heli patrols Customizable vehicle patrols Customizable helicopter group paradrop Ability to setup custom skill settings Can spawn units in any script in the dayz_server.pbo AI share your info making them more difficult Wicked Mission System Features (WIP) Customizable random vehicles for missions Vehicles save to database only when player gets close Loads easily from AI system. No need for extra install Map markers refresh so JIP players will have them on map Uses wasteland like missions Customizable ammo boxes Missions can timeout if no player is in the area Setup ONLY WORKS FOR DAYZ EPOCH CURRENTLY Download http://thewickedclowns.net/downloads/WAI-0.16.rar (version 0.16) Setup is easy Put the WAI folder in your main dayz_server directory Add above allowConnection = true; in server_monitor.sqf [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; allowConnection = true; No need for the killing a hacker fix. Config files are located in the main WAI folder and main Missions folder. Setup your custom spawns in Customspawns.sqf This is still a WIP. So try it out and give some feedback on it to help improve the system. The mission system is lacking numbers, but the randomness of vehicles chosen makes up for it. I have had this on my server for a few weeks and everything seems to be running fine even with over 50 AI spawned in with the mission system running. I will post a more detailed setup later as I have no time now. This is running on my clans Epoch server if you want to get a taste before you try it. 198.154.117.2:6302 Known issues. Vehicle drivers are idiots Not a lot of debugging What is being worked on... More config options for missions. Changing format for AI weapon sets to not require mags in array.
  9. Current Version 0.16 Adds more options to ammo boxes tweaks to missions Added timeouts to missions Fix ammobox despawn in 1.0.3 Wicked AI feature list Customizable loadouts for groups. Customizable Static weapon units Customizable Heli patrols Customizable vehicle patrols Customizable helicopter group paradrop Ability to setup custom skill settings Can spawn units in any script in the dayz_server.pbo AI share your info making them more difficult Wicked Mission System Features (WIP) Customizable random vehicles for missions Vehicles save to database only when player gets close Loads easily from AI system. No need for extra install Map markers refresh so JIP players will have them on map Uses wasteland like missions Customizable ammo boxes Missions can timeout if no player is in the area Setup ONLY WORKS FOR DAYZ EPOCH CURRENTLY Download http://thewickedclowns.net/downloads/WAI-0.16.rar (version 0.16) Setup is easy Put the WAI folder in your main dayz_server directory Add above allowConnection = true; in server_monitor.sqf [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; allowConnection = true; No need for the killing a hacker fix. Config files are located in the main WAI folder and main Missions folder. Setup your custom spawns in Customspawns.sqf This is still a WIP. So try it out and give some feedback on it to help improve the system. The mission system is lacking numbers, but the randomness of vehicles chosen makes up for it. I have had this on my server for a few weeks and everything seems to be running fine even with over 50 AI spawned in with the mission system running. I will post a more detailed setup later as I have no time now. This is running on my clans Epoch server if you want to get a taste before you try it. 198.154.117.2:6302 Known issues. Vehicle drivers are idiots Not a lot of debugging What is being worked on... More config options for missions. Changing format for AI weapon sets to not require mags in array.
  10. This is how I added my custom and donator loadouts. Its very easy as long as you follow the directions. As follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs. This is not completely my work, some came from Axeman and AsianKid. Original Post Setting Up the Default Load-out (no custom loadouts) To start, this is tested on 1.0.2.4-5, and uses variables that Epoch Devs added to the Server Code. DefaultMagazines = []; DefaultWeapons = []; DefaultBackpack = ""; DefaultMagazines is for any item you place in your primary(food, ammo, parts, money) or secondary(bandages, clips, m203 rounds) inventory. DefaultWeapons is for any guns/rifles or kit(hatchet, map, Bbnoculars, NVGs) items. DefaultBackpack is as it would sound, the pack you start out with. You will also see DefaultBackpackWeapon = ""; in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. Inserting it into your code is easy. Open the init.sqf in your mission folder or mission.pbo. At about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 MaxVehicleLimit = 300; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 Below this, add the following: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out. Custom Load-Outs (includes default load-out) But, you want even more controls, like load-outs for donators or admins. Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo. First, create a new folder in the Mission folder or PBO named Scripts. Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok. Copy this code into your new lodout.sqf: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout if ((getPlayerUID player) in ["12345678","98765432"]) then { //Admins: Nobody, Somebody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = ""; }; //Moderator Loadout if ((getPlayerUID player) in ["14725836"]) then { //Moderators: ThatOtherGuy DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","Saiga12K","Binocular_Vector","NVGoggles","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_Backpack_EP1"; DefaultBackpackWeapon = ""; }; //Pro-Donator Loadout if ((getPlayerUID player) in ["96385274"]) then { //Pro-Donators: MoneyBags DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; //Donator Loadout if ((getPlayerUID player) in ["456789123"]) then { //Donators: Nobody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemGoldBar","15Rnd_W1866_Slug","15Rnd_W1866_Slug"]; DefaultWeapons = ["glock17_EP1","Winchester1866","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; }; Hit save then start looking it over. Here we set the default loadout, then we check to see if the player is anyone we know from admins to donators, and set their loadout outs accordingly. You will need the Players UID you can ask them for it, or if they have been on your server and you have database access then you can find it under "player_data". In the code put their UID in the same place you see the seven or eight number groupings surrounded by parenthesis " and seperated by commas , if you are setting more than one user for that group. I also write their names at the end of the line in the order that they are placed so I can go back and remember them later. You can edit the different load-outs for each User Group and add more by copying one group and changing the UIDs. Safe the file and Open your init.sqf in your mission folder or mission.pbo. Fine the following lines: 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"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; Above "//Run the player monitor" add the following: //Custom Loadouts [] ExecVM "Scripts\loadout.sqf"; Now we have called the load-out script, and the world is a better place. Save your work, upload your files, and start your server to test out the scripts. Remember, you have to re-spawn for it to work.
  11. This is how I added my custom and donator loadouts. Its very easy as long as you follow the directions. As follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs. This is not completely my work, some came from Axeman and AsianKid. Original Post Setting Up the Default Load-out (no custom loadouts) To start, this is tested on 1.0.2.4-5, and uses variables that Epoch Devs added to the Server Code. DefaultMagazines = []; DefaultWeapons = []; DefaultBackpack = ""; DefaultMagazines is for any item you place in your primary(food, ammo, parts, money) or secondary(bandages, clips, m203 rounds) inventory. DefaultWeapons is for any guns/rifles or kit(hatchet, map, Bbnoculars, NVGs) items. DefaultBackpack is as it would sound, the pack you start out with. You will also see DefaultBackpackWeapon = ""; in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. Inserting it into your code is easy. Open the init.sqf in your mission folder or mission.pbo. At about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 MaxVehicleLimit = 300; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 Below this, add the following: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out. Custom Load-Outs (includes default load-out) But, you want even more controls, like load-outs for donators or admins. Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo. First, create a new folder in the Mission folder or PBO named Scripts. Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok. Copy this code into your new lodout.sqf: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout if ((getPlayerUID player) in ["12345678","98765432"]) then { //Admins: Nobody, Somebody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = ""; }; //Moderator Loadout if ((getPlayerUID player) in ["14725836"]) then { //Moderators: ThatOtherGuy DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","Saiga12K","Binocular_Vector","NVGoggles","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_Backpack_EP1"; DefaultBackpackWeapon = ""; }; //Pro-Donator Loadout if ((getPlayerUID player) in ["96385274"]) then { //Pro-Donators: MoneyBags DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; //Donator Loadout if ((getPlayerUID player) in ["456789123"]) then { //Donators: Nobody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemGoldBar","15Rnd_W1866_Slug","15Rnd_W1866_Slug"]; DefaultWeapons = ["glock17_EP1","Winchester1866","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; }; Hit save then start looking it over. Here we set the default loadout, then we check to see if the player is anyone we know from admins to donators, and set their loadout outs accordingly. You will need the Players UID you can ask them for it, or if they have been on your server and you have database access then you can find it under "player_data". In the code put their UID in the same place you see the seven or eight number groupings surrounded by parenthesis " and seperated by commas , if you are setting more than one user for that group. I also write their names at the end of the line in the order that they are placed so I can go back and remember them later. You can edit the different load-outs for each User Group and add more by copying one group and changing the UIDs. Safe the file and Open your init.sqf in your mission folder or mission.pbo. Fine the following lines: 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"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; Above "//Run the player monitor" add the following: //Custom Loadouts [] ExecVM "Scripts\loadout.sqf"; Now we have called the load-out script, and the world is a better place. Save your work, upload your files, and start your server to test out the scripts. Remember, you have to re-spawn for it to work.
  12. Hello, Please let me know what you need, I will try to help anyway I can.
  13. Hello, Please let me know what you need, I will try to help anyway I can.
  14. So I have been getting a lot of help from here with setting up my server, so I figured I would start making Tutorials on what I have learned. As follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs. This is not completely my work, some came from Axeman and AsianKid. Original Post Setting Up the Default Load-out (no custom loadouts) To start, this is tested on 1.0.2.4-5, and uses variables that Epoch Devs added to the Server Code. DefaultMagazines = []; DefaultWeapons = []; DefaultBackpack = ""; DefaultMagazines is for any item you place in your primary(food, ammo, parts, money) or secondary(bandages, clips, m203 rounds) inventory. DefaultWeapons is for any guns/rifles or kit(hatchet, map, Bbnoculars, NVGs) items. DefaultBackpack is as it would sound, the pack you start out with. You will also see DefaultBackpackWeapon = ""; in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. Inserting it into your code is easy. Open the init.sqf in your mission folder or mission.pbo. At about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 MaxVehicleLimit = 300; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 Below this, add the following: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out. Custom Load-Outs (includes default load-out) But, you want even more controls, like load-outs for donators or admins. Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo. First, create a new folder in the Mission folder or PBO named Scripts. Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok. Copy this code into your new lodout.sqf: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout if ((getPlayerUID player) in ["12345678","98765432"]) then { //Admins: Nobody, Somebody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = ""; }; //Moderator Loadout if ((getPlayerUID player) in ["14725836"]) then { //Moderators: ThatOtherGuy DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","Saiga12K","Binocular_Vector","NVGoggles","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_Backpack_EP1"; DefaultBackpackWeapon = ""; }; //Pro-Donator Loadout if ((getPlayerUID player) in ["96385274"]) then { //Pro-Donators: MoneyBags DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; //Donator Loadout if ((getPlayerUID player) in ["456789123"]) then { //Donators: Nobody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemGoldBar","15Rnd_W1866_Slug","15Rnd_W1866_Slug"]; DefaultWeapons = ["glock17_EP1","Winchester1866","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; }; Hit save then start looking it over. Here we set the default loadout, then we check to see if the player is anyone we know from admins to donators, and set their loadout outs accordingly. You will need the Players UID you can ask them for it, or if they have been on your server and you have database access then you can find it under "player_data". In the code put their UID in the same place you see the seven or eight number groupings surrounded by parenthesis " and seperated by commas , if you are setting more than one user for that group. I also write their names at the end of the line in the order that they are placed so I can go back and remember them later. You can edit the different load-outs for each User Group and add more by copying one group and changing the UIDs. Safe the file and Open your init.sqf in your mission folder or mission.pbo. Fine the following lines: 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"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; Above "//Run the player monitor" add the following: //Custom Loadouts [] ExecVM "Scripts\loadout.sqf"; Now we have called the load-out script, and the world is a better place. Save your work, upload your files, and start your server to test out the scripts. Remember, you have to re-spawn for it to work.
  15. So I have been getting a lot of help from here with setting up my server, so I figured I would start making Tutorials on what I have learned. As follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs. This is not completely my work, some came from Axeman and AsianKid. Original Post Setting Up the Default Load-out (no custom loadouts) To start, this is tested on 1.0.2.4-5, and uses variables that Epoch Devs added to the Server Code. DefaultMagazines = []; DefaultWeapons = []; DefaultBackpack = ""; DefaultMagazines is for any item you place in your primary(food, ammo, parts, money) or secondary(bandages, clips, m203 rounds) inventory. DefaultWeapons is for any guns/rifles or kit(hatchet, map, Bbnoculars, NVGs) items. DefaultBackpack is as it would sound, the pack you start out with. You will also see DefaultBackpackWeapon = ""; in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. Inserting it into your code is easy. Open the init.sqf in your mission folder or mission.pbo. At about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 MaxVehicleLimit = 300; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 Below this, add the following: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out. Custom Load-Outs (includes default load-out) But, you want even more controls, like load-outs for donators or admins. Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo. First, create a new folder in the Mission folder or PBO named Scripts. Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok. Copy this code into your new lodout.sqf: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout if ((getPlayerUID player) in ["12345678","98765432"]) then { //Admins: Nobody, Somebody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = ""; }; //Moderator Loadout if ((getPlayerUID player) in ["14725836"]) then { //Moderators: ThatOtherGuy DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","Saiga12K","Binocular_Vector","NVGoggles","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_Backpack_EP1"; DefaultBackpackWeapon = ""; }; //Pro-Donator Loadout if ((getPlayerUID player) in ["96385274"]) then { //Pro-Donators: MoneyBags DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; //Donator Loadout if ((getPlayerUID player) in ["456789123"]) then { //Donators: Nobody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemGoldBar","15Rnd_W1866_Slug","15Rnd_W1866_Slug"]; DefaultWeapons = ["glock17_EP1","Winchester1866","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; }; Hit save then start looking it over. Here we set the default loadout, then we check to see if the player is anyone we know from admins to donators, and set their loadout outs accordingly. You will need the Players UID you can ask them for it, or if they have been on your server and you have database access then you can find it under "player_data". In the code put their UID in the same place you see the seven or eight number groupings surrounded by parenthesis " and seperated by commas , if you are setting more than one user for that group. I also write their names at the end of the line in the order that they are placed so I can go back and remember them later. You can edit the different load-outs for each User Group and add more by copying one group and changing the UIDs. Safe the file and Open your init.sqf in your mission folder or mission.pbo. Fine the following lines: 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"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; Above "//Run the player monitor" add the following: //Custom Loadouts [] ExecVM "Scripts\loadout.sqf"; Now we have called the load-out script, and the world is a better place. Save your work, upload your files, and start your server to test out the scripts. Remember, you have to re-spawn for it to work.
  16. Thanks for the tip. I have however got it installed, all the functions work except the teleport. I can not teleport to anyone or bring anyone to me. Any ideas?
  17. Thanks for the tip. I have however got it installed, all the functions work except the teleport. I can not teleport to anyone or bring anyone to me. Any ideas?
  18. Well I managed to get Infistar working, however I can not teleport in game.. All of the other functions seem to work right, but the teleport sends me to where I want and then immediately back. Anyone have any ideas?
  19. Well I managed to get Infistar working, however I can not teleport in game.. All of the other functions seem to work right, but the teleport sends me to where I want and then immediately back. Anyone have any ideas?
  20. Well I am assuming various things. I bought the full Antihack, and it didn't work from the control panel. So in a news feed, I saw that we had to download the anti-hack which I did. In the download there is a self install guide. The following is that guide: How to Install infiSTAR's AntiHack LITE or FULL Guide ===================================================== Step 1: [important] Backup your server PBO / mission PBO / BattlEye / any other customizations you've made (using FTP) Step 2: Make sure you have UIDs and the Anti-Hack checked in the panel and saved Uninstall the AntiHack by unchecking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Reinstall the AntiHack by checking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Step 3: Copy the BattlEye files to your Admin/BattlEye directory (using FTP) Step 4: Navigate to either FULL AntiHack Config or LITE AntiHack Config folder depending on which AntiHack you have. If you didn't pay the $20, you have the LITE version. If you want to upgrade, go to the "Addons" page while logged into the Survival Servers panel to upgrade for $20 and instantly get access to the AntiHack. Copy the AH folder to your dayz_server folder, create PBO, and upload to your server folder (using FTP) Step 5: Make sure you have the following line at the bottom of dayz_server/init/server_functions.sqf #include "\Antihack\SurvivalAntihack.sqf" Step 6: Configure the AntiHack from the dayz_server\AH\AHconfig.sqf Set Mod EPOCH to true if using Epoch [advanced only] Set actions if on if you know what you are doing and want to whitelist actions for custom mods ===================================================== Enjoy! You can view a demonstration server PBO for both LITE & FULL in the base directory of this upload. Anti-Hack by infiSTAR & collaboration with Xerxes & Survival Servers Visit www.SurvivalServers.com and contact us for help My question is When I navigate to Full Antihack config, there is nothing in the folder. However there is an AH folder at the top of main directory. Do I need the Full antihack config? that's empty? Thank you for your time.
  21. Well I am assuming various things. I bought the full Antihack, and it didn't work from the control panel. So in a news feed, I saw that we had to download the anti-hack which I did. In the download there is a self install guide. The following is that guide: How to Install infiSTAR's AntiHack LITE or FULL Guide ===================================================== Step 1: [important] Backup your server PBO / mission PBO / BattlEye / any other customizations you've made (using FTP) Step 2: Make sure you have UIDs and the Anti-Hack checked in the panel and saved Uninstall the AntiHack by unchecking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Reinstall the AntiHack by checking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Step 3: Copy the BattlEye files to your Admin/BattlEye directory (using FTP) Step 4: Navigate to either FULL AntiHack Config or LITE AntiHack Config folder depending on which AntiHack you have. If you didn't pay the $20, you have the LITE version. If you want to upgrade, go to the "Addons" page while logged into the Survival Servers panel to upgrade for $20 and instantly get access to the AntiHack. Copy the AH folder to your dayz_server folder, create PBO, and upload to your server folder (using FTP) Step 5: Make sure you have the following line at the bottom of dayz_server/init/server_functions.sqf #include "\Antihack\SurvivalAntihack.sqf" Step 6: Configure the AntiHack from the dayz_server\AH\AHconfig.sqf Set Mod EPOCH to true if using Epoch [advanced only] Set actions if on if you know what you are doing and want to whitelist actions for custom mods ===================================================== Enjoy! You can view a demonstration server PBO for both LITE & FULL in the base directory of this upload. Anti-Hack by infiSTAR & collaboration with Xerxes & Survival Servers Visit www.SurvivalServers.com and contact us for help My question is When I navigate to Full Antihack config, there is nothing in the folder. However there is an AH folder at the top of main directory. Do I need the Full antihack config? that's empty? Thank you for your time.
  22. Well I am assuming various things. I bought the full Antihack, and it didn't work from the control panel. So in a news feed, I saw that we had to download the anti-hack which I did. In the download there is a self install guide. The following is that guide: How to Install infiSTAR's AntiHack LITE or FULL Guide ===================================================== Step 1: [important] Backup your server PBO / mission PBO / BattlEye / any other customizations you've made (using FTP) Step 2: Make sure you have UIDs and the Anti-Hack checked in the panel and saved Uninstall the AntiHack by unchecking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Reinstall the AntiHack by checking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Step 3: Copy the BattlEye files to your Admin/BattlEye directory (using FTP) Step 4: Navigate to either FULL AntiHack Config or LITE AntiHack Config folder depending on which AntiHack you have. If you didn't pay the $20, you have the LITE version. If you want to upgrade, go to the "Addons" page while logged into the Survival Servers panel to upgrade for $20 and instantly get access to the AntiHack. Copy the AH folder to your dayz_server folder, create PBO, and upload to your server folder (using FTP) Step 5: Make sure you have the following line at the bottom of dayz_server/init/server_functions.sqf #include "\Antihack\SurvivalAntihack.sqf" Step 6: Configure the AntiHack from the dayz_server\AH\AHconfig.sqf Set Mod EPOCH to true if using Epoch [advanced only] Set actions if on if you know what you are doing and want to whitelist actions for custom mods ===================================================== Enjoy! You can view a demonstration server PBO for both LITE & FULL in the base directory of this upload. Anti-Hack by infiSTAR & collaboration with Xerxes & Survival Servers Visit www.SurvivalServers.com and contact us for help My question is When I navigate to Full Antihack config, there is nothing in the folder. However there is an AH folder at the top of main directory. Do I need the Full antihack config? that's empty? Thank you for your time.
  23. Well I am assuming various things. I bought the full Antihack, and it didn't work from the control panel. So in a news feed, I saw that we had to download the anti-hack which I did. In the download there is a self install guide. The following is that guide: How to Install infiSTAR's AntiHack LITE or FULL Guide ===================================================== Step 1: [important] Backup your server PBO / mission PBO / BattlEye / any other customizations you've made (using FTP) Step 2: Make sure you have UIDs and the Anti-Hack checked in the panel and saved Uninstall the AntiHack by unchecking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Reinstall the AntiHack by checking the AntiHack check box (on the panel), clicking the big green "Save & Restart" button Step 3: Copy the BattlEye files to your Admin/BattlEye directory (using FTP) Step 4: Navigate to either FULL AntiHack Config or LITE AntiHack Config folder depending on which AntiHack you have. If you didn't pay the $20, you have the LITE version. If you want to upgrade, go to the "Addons" page while logged into the Survival Servers panel to upgrade for $20 and instantly get access to the AntiHack. Copy the AH folder to your dayz_server folder, create PBO, and upload to your server folder (using FTP) Step 5: Make sure you have the following line at the bottom of dayz_server/init/server_functions.sqf #include "\Antihack\SurvivalAntihack.sqf" Step 6: Configure the AntiHack from the dayz_server\AH\AHconfig.sqf Set Mod EPOCH to true if using Epoch [advanced only] Set actions if on if you know what you are doing and want to whitelist actions for custom mods ===================================================== Enjoy! You can view a demonstration server PBO for both LITE & FULL in the base directory of this upload. Anti-Hack by infiSTAR & collaboration with Xerxes & Survival Servers Visit www.SurvivalServers.com and contact us for help My question is When I navigate to Full Antihack config, there is nothing in the folder. However there is an AH folder at the top of main directory. Do I need the Full antihack config? that's empty? Thank you for your time.