BetterDeadThanZed Posted February 9, 2015 Report Share Posted February 9, 2015 Since I'm not running an Altis server anymore, I thought I'd share my addons for it. The code just gets inserted in your config.cpp file in the a3_epoch_server_settings.pbo file under "class Altis", under the last entry in that section. Look for these lines in the config.cpp and make sure you add that last , at the end of the last line, then insert the below pastebin code underneath it.: { "Land_CncBarrierMedium4_F", { 18464.2, 14281.7, 0.00330925 }, 62.7671 }, { "Land_LampShabby_F", { 18451.7, 14285.3, 0 }, 221.564 }, { "Land_HBarrier_1_F", { 18458.1, 14290.3, 0.0128841 }, 317.438 }, Code: http://pastebin.com/nUrrh4ga The first one is a small triage area at the hospital on Altis. The second one is a small military base at the AAC airfield. Darth_Rogue, mgm and SideShowFreak 3 Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2015 Report Share Posted February 12, 2015 right on! Applying it to our server now! Thanks! Link to comment Share on other sites More sharing options...
Talib Posted February 12, 2015 Report Share Posted February 12, 2015 Salut, merci pour votre partage. Je ai dû faire une erreur mon chemin ou je ne le fais pas. Ici vous pouvez vérifier mes .ccp vous remercient à l'avance https://dl.dropboxusercontent.com/u/134406110/config.ccp.zip https://dl.dropboxusercontent.com/u/134406110/config.cpp :huh: BetterDeadThanZed 1 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 12, 2015 Author Report Share Posted February 12, 2015 Your config.cpp doesn't seem to contain the code for the add on. I can't look at the zip you linked to because I'm on a tablet at work. Link to comment Share on other sites More sharing options...
Talib Posted February 12, 2015 Report Share Posted February 12, 2015 Your config.cpp doesn't seem to contain the code for the add on. I can't look at the zip you linked to because I'm on a tablet at work. Sorry, my mistake, I put the line in the 1 which collone and statis. I tested and I inform you :o :o :o Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 13, 2015 Report Share Posted February 13, 2015 Here's the same thing in SQF format if you would rather use instead of putting all these in the config.cpp. Link to comment Share on other sites More sharing options...
raymix Posted February 13, 2015 Report Share Posted February 13, 2015 Here's the same thing in SQF format if you would rather use instead of putting all these in the config.cpp. Since you are only selecting and not looping each array further inside forEach, you might as well go with count instead, should give you some performance boost, especially taking in account the size of your script. (simply rename forEach to count at the end). Here's more info on the subject: https://community.bistudio.com/wiki/Code_Optimisation#forEach_vs_count Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 13, 2015 Report Share Posted February 13, 2015 Thanks for the pro tip! :) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 13, 2015 Author Report Share Posted February 13, 2015 Here's the same thing in SQF format if you would rather use instead of putting all these in the config.cpp. I don't think the post linked to in the "this thread" link is right. It doesn't explain how to use the sqf method. I've saved all my addons in sqf format, so that would be nice to use. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 13, 2015 Report Share Posted February 13, 2015 There are additional posts in the same thread that flesh it out a little more. My rationale for suggesting to do it that way is to help prevent admins from having to do extra steps when upgrading their servers. The config.cpp in epoch server settings pbo will change frequently as new Epoch builds are released as the devs add support for new maps or do tweaks to trader city areas. That being the case, the more you add to config.cpp the more you will have to copy and paste out of the old one and into the new one each time, adding to the chances that you can make a mistake and have trouble getting your server running again. Using a standalone PBO for map addons allows you to "set it and forget it", since you won't have to change or maintenance anything related to map addons due to a server version update. My mantra: Work smarter, not harder. :) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 13, 2015 Author Report Share Posted February 13, 2015 Yeah, after I posted, I went back to the first post in that thread and found the other way to do. I'll be doing that myself and updating the first post in this thread. Link to comment Share on other sites More sharing options...
Lost_Noob Posted February 14, 2015 Report Share Posted February 14, 2015 Zed this is awesome thanks! Can you post whatever guides you used to start you out editing the map stuff...as all the YouTube vids I've watched are terrible and done by squeakers! I want to add extra areas for my players for them to explore etc. Thanks. Link to comment Share on other sites More sharing options...
umfufu Posted February 14, 2015 Report Share Posted February 14, 2015 Yeah, after I posted, I went back to the first post in that thread and found the other way to do. I'll be doing that myself and updating the first post in this thread. Darth_Roque couldend say it better , as a fact i used that approach with A3-editor from Maca and the a3_epoch_server_building.pbo (a3_epoch_custom.zip) Hopefully its also 'approved' by the Epoch devs , to make life a little easier Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 14, 2015 Author Report Share Posted February 14, 2015 Zed this is awesome thanks! Can you post whatever guides you used to start you out editing the map stuff...as all the YouTube vids I've watched are terrible and done by squeakers! I want to add extra areas for my players for them to explore etc. Thanks. I used this to create these areas: Darth_Roque couldend say it better , as a fact i used that approach with A3-editor from Maca and the a3_epoch_server_building.pbo (a3_epoch_custom.zip) Hopefully its also 'approved' by the Epoch devs , to make life a little easier I tried the other method of making a pbo and it didn't work for me. It kept saying it couldn't find the fn_init.sqf, so I'm sticking with the other method. Link to comment Share on other sites More sharing options...
Mr Madness Posted February 27, 2015 Report Share Posted February 27, 2015 how do i install this as im not sure on both meathods , the cpp file i cannot find , where is that located? Link to comment Share on other sites More sharing options...
prone Posted February 27, 2015 Report Share Posted February 27, 2015 how do i install this as im not sure on both meathods , the cpp file i cannot find , where is that located? @epochhive/addons/a3_epoch_server_settings.pbo. Config.cpp inside there. Link to comment Share on other sites More sharing options...
Mr Madness Posted February 27, 2015 Report Share Posted February 27, 2015 @epochhive/addons/a3_epoch_server_settings.pbo. Config.cpp inside there. i realized after reading lol sorry about that , been up all night making a epoch server from scratch , i think its time for bed. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 27, 2015 Author Report Share Posted February 27, 2015 If you look at this post, it will help you put your addons in a pbo, which is more organized, but the cpp method does work fine too: If I have time, I may update the first post to have detailed instructions for that method as well. Link to comment Share on other sites More sharing options...
Mr Madness Posted February 27, 2015 Report Share Posted February 27, 2015 If you look at this post, it will help you put your addons in a pbo, which is more organized, but the cpp method does work fine too: If I have time, I may update the first post to have detailed instructions for that method as well. i have tried the first way through cpp but my server is stuck on waiting for host Link to comment Share on other sites More sharing options...
prone Posted February 27, 2015 Report Share Posted February 27, 2015 paste your .cpp here, or attach it Please use the spoiler tag ... Link to comment Share on other sites More sharing options...
DEADPOOL_ZA Posted May 24, 2015 Report Share Posted May 24, 2015 hi where can i get more of these type off addons for altis Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now