Eric Posted August 15, 2015 Report Share Posted August 15, 2015 ` So i've been messing around in the editor recently and i've made this Military Camp between Kamenka and Komarovo. So, i figured i'd release it for all you amazing people. Structures this consist of 1. 2 Medical tents2. 1 Normal Tent 3. 3 Army camping tents for a military base feeling (do not spawn loot)4. 2 Road barriers 5. 1 Camo netting6. 1 Cargo container ScreenShots Download Link https://www.dropbox.com/s/dbtvw9wkzo9psmr/KMB.sqf?dl=0 VERY, VERY IMPORTANT: Dropbox changes the sqf to a .txt file heres how to fix it 1.Open the file with notepad++ 2. Go to the file button at the top left 3. Click save as 4. Name it KMB.sqf 5. Change file save type to all 6 Then save it. Don't know why dropbox does this. If anyone has any other site i could use to upload files please let me know. Alright now that we have all that stuff done it's time to install this onto your server. 1. Unpack your server.pbo 2. Create a folder in the root of the server.pbo called: Maps 3. Drag the KMB.sqf into this folder. 4. In the init folder you will find a file called server_functions.sqf, at the bottom of the file add this line: execVM "\z\addons\dayz_server\Maps\KMB.sqf"; 5. Repack your PBO and launch the server. And boom you're done. How to make static AI spawn via WAI I do NOT have a server to test this code on so i am going off my knowledge of code and the instructions of the WAI files. If this does not work/breaks something please make sure you did the steps correctly! if all the steps were done correctly and it still doesnt work then tell me in the comments! Step 1. Unpack your server PBO Step 2. Open your WAI Folder Step 3. Open the static folder Step 4. Open chernarus.sqf and default.sqf in some sort of text editor. I recommend Notepad++ with the Arma 2 plug in. Step 5. Copy and paste this [ [2922.6794, 2042.3362], // Position 1, // Number Of units "Random", // Skill level of unit (easy, medium, hard, extreme, Random) "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher 4, // Number of magazines "Random", // Backpack classname, use "Random" or classname here "Random", // Skin classname, use "Random" or classname here "Random", // Gearset number. "Random" for random gear set "Bandit" // AI Type, "Hero" or "Bandit". ] call spawn_group; UNDER this in the chernarus.sqf diag_log format["WAI: Static mission for %1 loaded", missionName]; Step 6. Edit as you please and then save the file. Step 7. Repack your PBO and launch the server. If you find any bugs or this doesnt work for you please let me know! Credits: Poncho for teaching me how to edit for dayZ and the how to install tutorial. Link to comment Share on other sites More sharing options...
FuzzyCZ Posted September 8, 2015 Report Share Posted September 8, 2015 Hello, base on map is ok, but i have problems with AI.. I put the code into chernarus.sqf, but nothing. What I must eddit in default.sqf? I try it 4 time step by step as you wrote, but nothing :/ Link to comment Share on other sites More sharing options...
nidico100 Posted January 9, 2016 Report Share Posted January 9, 2016 On 9/8/2015 at 1:00 PM, FuzzyCZ said: Hello, base on map is ok, but i have problems with AI.. I put the code into chernarus.sqf, but nothing. What I must eddit in default.sqf? I try it 4 time step by step as you wrote, but nothing :/ did you activate static ai in config? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now