Jump to content

City_AI Chernarus (AI not included)

Recommended Posts

Hi all, I know it's not a great creation but I wanted to share with the community, I hope you like it.

put the buildings folder in your server.pbo and add the following line to the very bottom of your server_functions.sqf in the init folder of your server.pbo.


execVM "\z\addons\dayz_server\buildings\City_AI.sqf"; 


Download: City_AI.sqf








Share this post

Link to post
Share on other sites

Hi S4M,
thx for sharing... OMG, everyone who worked with Arma editor knows how much time it takes... well done!

I was recently experimenting with some map optimization and because I used your map for tests, I can share my outputs with you:

Here is your map, but reworked (link to gist): 14.380 lines of code reduced to 1.693 lines (same content of course).

Here is reworked function (link to gist) for map loading based on original Epoch core function 'fnc_spawnObjects' -
 (I just added some stuff that I used - for example setVectorUp [0,0,1];, BUT - you can add whatever
  you need... is there problem with building or rock which you want to stay straight on? Find the class,
  and change first 'false' to 'true' - this will add setVectorUp into code...)

To make this work see in spoiler if you want to...

Cheers... keep doing such a good stuff!


  • create in 'dayz_server' custom folder for map addons: let's say 'map_addons',
  • inside this folder create file 'init.sqf' - place content:
  call compile preprocessFileLineNumbers ("\z\addons\dayz_server\map_addons\" + _x + ".sqf");
} forEach [
  "City_S4M" // + add all your extra addons here to array
  • grab function that I linked above and place it to custom compiles folder,
  • insert bellow (!isDedicated):
fnc_spawnCustomMap = compile preprocessFileLineNumbers "DAYZ_CODE\compile\fnc_spawnCustomMap.sqf";
  • go to init, find section 'if (isServer)' and place as a first line:
call compile preprocessFileLineNumbers "\z\addons\dayz_server\map_addons\init.sqf";
  • Done

Try it... it worked very well for me :)

Share this post

Link to post
Share on other sites

Very nice!!! I know myself doing roads is a real pain. I dont like to download other map edits as i feel most are just thrown together. This one I can tell you put heart into it. I now have this running in my sever. Thanks for great ArmA 2 editor work. GREAT JOB 

Share this post

Link to post
Share on other sites
6 minutes ago, Hooty said:

Very nice!!! I know myself doing roads is a real pain. I dont like to download other map edits as i feel most are just thrown together. This one I can tell you put heart into it. I now have this running in my sever. Thanks for great ArmA 2 editor work. GREAT JOB 

Hi Hooty,

OMG, that's all S4M's work, all credits goes to him. He did all that hard work!

I just optimized code and gave opportunity to change the way, how to load map (step by step is in spoiler in my post)...



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By don2k7
      Hello thought I would share some of the cherno additions i have made, some of these when they were made, were designed to give the map a bit more of the standalone feel
      1.) Checkpoints. see screen shots for locations.
      checkpoint north of factory east coast, centre of electro town, main road between elector and cherno, main road between cherno and balota airfield.
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104403_1_zpsmbnhw8dl.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104354_1_zpsy4wffhvd.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104617_1_zpst76fsi6m.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104454_1_zpsmaojsdnt.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104624_1_zpsjoiqnuwx.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104617_1_zpst76fsi6m.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104709_1_zpsmw4unygi.jpg
      2.) North Klamenka military base, on main road between Klamenka and Pavolo
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104814_1_zpskfimheva.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104807_1_zpshkmtliih.jpg
      3.) FOB west. 
      class Item21
                  name="FOB West";
                  text="FOB West";
      postion incase you want to add a marker for this.
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719110347_1_zpsbsc98afn.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719110402_1_zpsdkqtqhjl.jpg
      4.) Klen Castle, on Klen hilltop
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719110151_1_zpsbrxrvgdz.jpg
      5.) JunkYard.
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719105916_1_zpsedkmmk1a.jpg
      https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719105909_1_zps84egwkib.jpg
      Download: https://github.com/Don2k7/epoch-map-additions
      for a guide on how to add these check this forum post.
    • By WinterLuka
      Winter Gaming is a gaming community, that was created in early 2018. We're currently running DayZ Epoch server.
      Winter Gaming is a project created with passion – for players from players.
      On our server, the rules are equal for all players – no Pay2Win, no benefits for donating.
      Server IP:
      Discord: https://discordapp.com/invite/ECBVKGA
      Website: http://www.wintergaming.eu
      Forum: http://www.wintergaming.eu/forums
      Server Configuration:
      Building Maintain - 10 Days Abandoned Vehicle Unlock - 7 Days Abandoned Safes/Lockboxes Unlock - 10 Days Building Limit – 250 Objects Max Base Height - 30m  
      High FPS XP System (with awesome Perks and Trader) JSRS Compatible Wear Zombie Skin Plot Management Door Management Snap and Vector Building 20k Starting Money Coin System Running Zombies Ai Missions Ai Convoys Custom Loot Custom Locations Custom Traders Hidden Trader Selling Rare Items Toggle Grass/Environmental Sounds Deploy Bike/Motorcycle/Mozzie Walk Amongst The Dead Harvestable Hemp Tow/Lift Repair/Rearm – Service Points Bury Bodies Take Clothes Locate Vehicle Paychecks every 30 minutes Spawn Selection Abandoned Safe Mission Indestructible Metal/Cinder Bases Blow up door and more!  
      I hope to see You on the server!
    • By heiko33
    • By Yoda
      Hello, I am apart of the Global Chaos Gaming community. We currently are hosting a modified Arma 3 Epoch server, we have very active staff aswell as active community members, I urge you to stop by and check us out! TeamSpeak: ts.globalchaos.net Website : http://www.GlobalChaos.net
    • By Tricks
      Hello community,
      I am working on a custom mission that takes place over the waters of Chernarus. Its actually an Aircraft Carrier mission I had on my server in 2014. However I can't seem to get loot to spawn on the ship.
      Has anyone had any success in spawning custom loot boxes over water or on the carrier?
  • Advertisement
  • Supporters
  • Discord

  • Create New...