GR8

[CLOSED] Anti Camping Safezones - By Gr8 | BUILT IN EXILE NOW

51 posts in this topic

NOT NEEDED IN THE LATEST EXILE - IT IS BUILT IN EXILE NOW

Anti Camping Safezones

By GR8

v 2.1

Made to prevent campers shooting people going in and out of safezones. There is a timer to protect you from any harm and give you enough time to get to safety. People cannot follow others outside a safezone because they will not be able to shoot. You can also set the script to where if anyone is killed in protection, He will give negative respect to the killer. This is highly configurable script and more suggestions are appreciated.

Installation

  1. Download AntiCampingSafezones,
  2. Move the safezone folder into your Mission PBO.
  3. Open your initPlayerLocal.sqf.
  4. add [] execVM "safezones\config.sqf"; to the very top.
  5. Open your config.cpp.
  6. Look for class CfgExileCustomCode
  7. Replace the whole block with this:
class CfgExileCustomCode 
{
    ExileClient_object_player_event_onEnterSafezone = "safezones\GG_object_player_event_onEnterSafezone.sqf";
    ExileClient_object_player_event_onLeaveSafezone = "safezones\GG_object_player_event_onLeaveSafezone.sqf";
};
  • NOTE : If you have any CfgExileCustomCode Overrides already. Make sure to keep them with this code as well.

 

EXTRA STEPS

  • NOTE : You Don't need to follow these steps if you are using LooseRespect = false;. You must do the follow if you have LooseRespect = true;.

  1. open addons\exile_server_config\CfgSettings.hpp.
  2. Look for bambi = -500;.
  3. Add this below safezone = -800; // Safezone Campers by GR8. This is the respect the camper will loose, change it to your liking.
  4. copy ExileServer_object_player_event_onMpKilled.sqf from the download.
  5. Replace it in addons\exile_server\code.
Edited by GR8
7 people like this

Share this post


Link to post
Share on other sites
Advertisement

@GR8, can you add your welcome message's script to the forums please :) Some people are hunting :)

1 person likes this

Share this post


Link to post
Share on other sites

been through the server files but i am not finding LooseRespect = false anywhere in the files.

my exile_server_config only has a config.cpp no CfgSettings.hpp

did something change?

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.