Jump to content

Andre Safe Zones for Arma 2 (It's good man!)


Recommended Posts

I figured it out.

When the player disconnect, his player obj became null, so the vehicle in the safezone lose his owner and became avaliable.

When the player dies, the player obj does not became null until the player body dissapear. So, while the player body is on the map, the car is owned by it.

Will fix that.

Edited by Donnovan
Link to comment
Share on other sites

First of all thanks Donnovan for this awesome script :)

My Co-Admin and me tested it intensively and we have only one last persistent problem. If the server restarts and the first player run into the safezone he doesn't have God Mode so it's possible to kill him. If he leaves the Safezone and runs again into it the God Mode works. After that everything worked fine until next restart. Always the first player who run into the safezone after restart has no God Mode until he leaves it and enters the safezone again. Is this problem known? How can I fix this? Thanks in advance.

Edit:

If anyone has the same problem just try this:

Change this line:

if (hasInterface) then {

To:

if (!isDedicated) then {

That solved it for me.

Greetings

 

 

Link to comment
Share on other sites

Hello i have also test this script verry hard. 

Its a really good script, verry verry thanks.

But i have see one Problem, can you help me or change this.

The Problem is the locked Vehicle have Godmode in the Safe Area, but Non Key vehicles have not Godmode.

When i shoot from Outside into the Safezone on a Non Key vehicle , i can destroy it.

 

Grezze

Edited by Tweety060286
Link to comment
Share on other sites

HI

it would be nice to add the ability infistar_safezone

1. USE_AI_REMOVER = true; // use this to remove Missionbots (AI) within 100m of a player if the player is in a safezone
2. LOG_EnterLeave = true; // it will log your .RPT when a player enters or leaves the safezone! (only works with infiSTAR.de admin tools / AntiHack)
/* You can use USE_CANBUILD or/and (collaborating) with custom positions below (USE_POSITIONS) [position or zone,radius] */
3. USE_SIGNS = true; // use this to build signs around the safezone

Link to comment
Share on other sites

  • 4 weeks later...

At first look it seems that AI ignores me after I've been inside a safezone. The 60 sec of godmode passed and I could kill them but they simply wouldn't react.

Need to test this out a bit more though

 

Edit: Only seems to partially happen when you arrive at the mission before the godmode runs out. The first one I tested didn't react at all the 2nd one did react properly.

Gonna test it out a bit more but so far really like it. Thanks for yet another awesome script. Really gotta get some money your way when I can

Link to comment
Share on other sites

Thankyou.

I beleive i need to reveal players to AI when players became hostile again or AI will not notice this change in player status.

{if (!isPlayer _x) then {_x reveal player;};} forEach (player nearEntities ["CAManBase",400]);
 

 

 

Link to comment
Share on other sites

  • 4 weeks later...

use sqf file

            //LEAVED SAFE
            donn_InSafeZone = false;
            systemChat (localize "STR_safezone_2");
            donn_inSafeCounter spawn {
                _inSafeIndex = _this;
                _unGod = true;
                for "_c" from 0 to 3 do {
                    _sleep = 10;
                    if (vehicle player != player) then {_sleep = 3;};
                    systemChat ("in " + str (_sleep*3-_c*_sleep) + "/" + str (_sleep*3) + " seconds.");
                    uiSleep _sleep;
                    if (donn_InSafeZone || _inSafeIndex != donn_inSafeCounter) exitWith {
                        _unGod = false;
                    };

use xml file

<?xml version="1.0" encoding="utf-8"?>
<Project name="dayz">
        <Package name="dayz">

                <Key ID="STR_safezone_2">
                        <Original>Leaving safe zone</Original>
                        <English>Leaving safe zone</English>
            <French>Laissant zone de sécurité</French>
            <German>Verlassen sichere Zone</German>
            <Portuguese>Saindo de zona segura</Portuguese>
                </Key>
        </Package>
</Project>

 

Auto detect languages cliente arma2

Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...

hey man, sorry to necro such an old thread, but i just got into Arma2 dayz mod (well learning how to get a server up and rtunning), after getting bored with the SA edition (please don't hate me), just need to know if there is supposed to be a file/folder to download or do i just create the files from your texts? still new to all this but i'm loving the challenge, Overpoch is still too far over my head right now!

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...
  On 4/3/2017 at 5:00 PM, SKS.Goliath said:

Please ask for an update  thx

Expand  

try for 1.6

  Reveal hidden contents

 

Link to comment
Share on other sites

  Reveal hidden contents

Client side error running this

Link to comment
Share on other sites

@DieTanx  @SKS.Goliath

  Reveal hidden contents

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...