Sign in to follow this  
Λητσιηε™ [FR] [Eria]

PVP Zone Notification

11 posts in this topic

Hello, I'm looking for a script that would display a notification when the player enters a pvp zone (which will be deffini by a marker on the map). Ex: A player enters a pvp zone, a message indicating that he enters the pvp zone will be displayed and ditto when he leaves the zone.

I use the infistar system for pvp zones.

 

Thank you in advance for your answers

Share this post


Link to post
Share on other sites
Advertisement
25 minutes ago, Λητσιηε™ [FR] [Eria] said:

I managed to add the pvp zones on the map but unfortunately, I can not add the notification when it comes back in / out of the zone

Make sure that you added it to the mission.SQM correctly.

Spoiler

class Sensors
    {
    items = 5;
        class Item0
        {
            position[] = {8350.887,10,742.741};
            a = 100;
            b = 100;
            rectangular = 1;
            activationBy = "ANY";
            repeating = 1;
            interruptable = 1;
            age = "UNKNOWN";
            name = "BlackmarketInfo1";
            expCond = "(vehicle player) in thisList";
            expActiv = "Blackmarket = [] execVM ""Custom\Blackmarket.sqf"";";
            expDesactiv = "";
            class Effects{};        
        };

class Item0 needs to be added to class Sensors. If you don't have this class you can create one (I believe, don't know sure if this also works with new mission.sqm layout). Make sure items = 5; is the same as the amount of items you have in the sensor class. If you only use 1 sensor then it would be; items = 1;. Make sure the position[x,z,y] matches the place where you want your PVP zone. a and b (under position) is the radius in which the toast message will be displayed (in this case in a radius of 100). Lastly, make sure the path to the toast message script is correct (in this case Custom\blackmarket.sqf)

If you still can't figure it out, don't hesitate to ask for help. I don't bite ;)

Share this post


Link to post
Share on other sites
Quote

I use the infistar system for pvp zones

Does infistar create the marker? If so, what is the markers name? I have an sqf that will do the notifications 

Share this post


Link to post
Share on other sites
1 hour ago, Λητσιηε™ [FR] [Eria] said:

unfortunately infistar does not create the markers

then what exactly does infistar pvp system do?

so couple of questions,

is your PVP zone going to be static and spawn in the same place each restart? if so, what are the [x,y,z] you are using?

is the zone size static and the same each restart? if so, what radius are you using?

i am happy to modify my current one and share it with you if your interested, creates marker and baguette notification when entering/leaving

 

20180528191342_1.jpg

Share this post


Link to post
Share on other sites

@dekela

Sorry for the wait but I had some trouble with my internet.

Yes the zones are always in the same place and the same size at each restart. The zones are not all the same size.

Here are some areas:

{{X,Y,Z},RADIUS}
-         {{9000,21000,0},1000},
-         {{20000,12500,0},1250},

Edited by Λητσιηε™ [FR] [Eria]

Share this post


Link to post
Share on other sites
23 hours ago, Λητσιηε™ [FR] [Eria] said:

@dekela

Sorry for the wait but I had some trouble with my internet.

Yes the zones are always in the same place and the same size at each restart. The zones are not all the same size.

Here are some areas:

{{X,Y,Z},RADIUS}
-         {{9000,21000,0},1000},
-         {{20000,12500,0},1250},

so you want 2 zones on those cord's with those radius?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.