That error message means you have a bad weapon classname. You don't need to add the Overwatch weapons. They are already loaded from this file. https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/configs/overwatch.sqf
Heya! I was admin on a server recently and it got shut down. I liked the way that the Dichina compound looked so I decided to remake it. I searched for Dichina Compounds but could not find the one I was looking for.
It's one of my first map edits I've made (except for 2 other compounds on my server). So if you like the look of it, feel free to use it.
I have already done the changes so all the loot will spawn (including in the crashed c130) and it has a fuel station that works! (if your server has a re-arm script)
Compound has 9 barracks, 1 construction site, 1 shop, 1 fire station, 1 hospital, 2 tents (1 not shown), 1 c130 with loot and 4 castle towers.
Screenshots
Instuctions
1. Make a new folder in your dayz_server.pbo and call it buildings.
2.Make a new file in buildings folder and call it dichina.sqf and copy this code into it (or download this file HERE)
3.Navigate to dayz_server/init/server_functions.sqf and add this code at the bottom of your file.
If you already have a custom buildings folder elsewhere, just change the directory to match yours.
4.Repack your PBO and upload to your server.
Optional Marker
If you would like to add a map marker to your server follow below.
Screenshot
1. Go to mpmissions and open up your mission.sqm
2.Find where it says class Markers and add another marker. I already have my marker in here.
3.Edit the marker details to your preference. The text will be the one shown in game. You can find a list of markers here. For the colours, I could not find a post for it but you can use. Black, Green, Red, Blue, Orange, Pink... (you can use the coordinates that I have posted if you wish, they are centered on a helipad at this compound)
4.Go to the top of class Markers and find where it says items=xx; You will need to add 1 number to this or else you will not load in.
5.Upload mission.sqm to your server and give it a shot!
I hope I didn't make any mistakes on this post as I haven't posted my own content on here.
Regards.
juandayz helped me resolve the issue. Since I had to make a new file and put code in, i copied an existing sqf file and named it remote_key.sqf.sqf but was completely unaware. xD
Thanks for the help @juandayz Beautiful script!
@jjsnacks77 ok your steps seems be right. just a question.
Are you adding the call of keyboard.sqf in this compiles.sqf? ( dayz_code\init\compiles.sqf ) right?
Other thing.. You need aim to the vehicle and have the his key in your inventory.
To made a quick test if the remote_key.sqf is loading correct.. open remote_key.sqf
find this line:
if !(_vehicle isKindOf "AllVehicles" && {player distance _vehicle < 50}) exitWith {};
and change by:
if !(_vehicle isKindOf "AllVehicles" && {player distance _vehicle < 50}) exitWith {systemchat "testing";};
then go in game and press "E" key in somewhere.. the systemchat must show a text saying "testing".
this is exactly what you need to do.
Example custom compiles.sqf
if (!isDedicated) then {
diag_log "Loading custom client compiles";
fnc_usec_selfactions = compile preprocessFileLineNumbers "dayz_code\compile\fn_selfActions.sqf";
DZ_KeyDown_EH = compile preprocessFileLineNumbers "dayz_code\compile\keyboard.sqf";
};