Jump to content

IT07

Recommended Posts

  • 1 month later...

Hello Hardened,

 

sorry for my bad english, i'm a old french! 

 

I use for a month your great mod (!) ANTI PVP but today I would like to install a PVP zone on the map Altis on Epoch mod.
 
I read this forum and I put in my mission.sqm file:
 

version = 12;
class Mission
{
        addOns[] = {A3_Soft_F_Car,A3_Soft_F_Quadbike,a3_soft_f_beta_quadbike,A3_Boat_F_Civilian_Boat,A3_Boat_F_Boat_Transport_01,A3_Air_F_Heli_Light_01,A3_Air_F_Heli_Heli_Transport_04,A3_Air_F_Heli_Heli_Transport_03,a3_map_altis,a3_characters_f_gamma,A3_Characters_F_OPFOR,A3_Characters_F_INDEP,A3_Characters_F_Civil,A3_epoch_config,a3_characters_f,A3_Data_F_Curator_Virtual};
        addOnsAuto[] = {A3_epoch_config,a3_map_altis};
        randomSeed = 12032465;
class Intel
{
                briefingName = Epoch Mod;
                resistanceWest = 0;
                timeOfChanges = 28800;
                startWeather = 0;
                startWind = 0;
                forecastWeather = 0;
                forecastWind = 0;
                forecastWaves = 0;
                wavesForced = 1;
                windForced = 1;
                year = 2035;
                month = 6;
                day = 24;
                hour = 12;
                minute = 55;
                startFogDecay = 0.013;
                forecastFogDecay = 0.013;
};
class Groups
{
[my others class...]
};
class Vehicles 
{
[my others class...]
};

class Markers {
items = 7; [my others class...]

class Item5

{

position[]={3003.0852,0,10376.011};

name="PvP_Zone_txt";

text="ENFER - ZONE PVP";

markerType="ELLIPSE";

type="Empty";

colorName="ColorKhaki";

a=3000;

b=3000;

};

class Item6

{

position[] = {3003.0852,0,10376.011};

name = "PvP_Zone_1";

text = "ENFER - ZONE PVP";

type = "mil_dot";

colorName = "ColorBlack";

};

};
};

class Sensors
 {
items = 1;
  
class Item0
{
position[]={3003.0852,0,10376.011};
a=3000;
b=3000;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
text="ENFER - ZONE PVP";
name="PvP_Zone";
class Effects
{
};
expActiv = "hint ""Vous entrez dans la zone PVP - Bonne chance..."", ""PLAIN DOWN"", 3;";
expDesactiv = "hint ""Vous quittez la zone PVP - On se calme..."", ""PLAIN DOWN"", 3;";
};
  
 };
[and blablabla...]

 

And I edited the file \scarCODE\PVE\fn_initPVE.sqf like this :
 
/////// Config ///////
_PvPZone = true; // Requires a trigger on the map with name PvP_Zone
_PvEbyDefault = true; // Sets default mode to PvE if true
_debug = true; // If true, will display data in hintSilent
/////// End of config ///////
The name of my trigger is coorect (i think) but when I am ingame, there is no message when I return or when I go out of the zone PVP and the zone PVP does not work.
I have the marker which displays.
 
So, with the mod debug (if it can help you), I have that :
 
365173debug.jpg
 
If you can help me Hardened? Thank you very much for your great job!  ;)
 
Best regards.
Link to comment
Share on other sites

@ateporamos: Thanks for including the debug picture :-)

It reveales some errors that are interesting to see. Could you by any chance show me RPT logs? Or enable "Show script errors" in the ArmA 3 launcher and then take screenshots if an error related to the pve script shows up.

Link to comment
Share on other sites

and the line 56 is :

hintSilent parseText format["<t size='2'>DEBUG</t><br /><br />isPlayer? %1<br />in PvP zone? %2<br />PvE mode? %3<br />cursorTarget in PvP zone? %4<br />PvP zone active? %5<br />", isPlayer cursorTarget, player in (list PvP_Zone), SC_PvE, cursorTarget in (list PvP_Zone), triggerActivated PvP_Zone];
Link to comment
Share on other sites

No... it doesn't work with this modification...  :(

 

in fn_initPVE.sqf, i don't see variables, for example isPlayer? %1 ... where is this variable %1 in the file? The same problem with the others variables like %2 (fo in PvP zone) or %5 ( for PvP zone active)?

 

So, i see at the line 20  _debug = _this select 2;  and after at the line 33 :   _debug = _this select 0;   Is this correct?

 

I think thet the problem is not in the mission.sqm (with trigger) but just in file fn_initPVE.sqf with the undifined variables.

 

 

Link to comment
Share on other sites

Well...  :huh:

 

On my Editor, the trigger is activated ans i have the messages hints when i go and go out of the PVP zone... but on my server (there is only 1 tigger), it doesnt work.... i dont understand...

 

You can see my file mission.sqm :

class Sensors
 {
  items = 1;
  
		class Item0
		{
			position[]={4210.5278,34.859791,11389.157};
			a=3000;
			b=3000;
			activationBy="ANY";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			text="ENFER - ZONE PVP";
			name="PvP_Zone";
			expActiv="hint ""Vous entrez dans la zone PVP - Bonne chance..."";";
			expDesactiv="hint ""Vous quittez la zone PVP - On se calme..."";";
			class Effects
			{
			};
		};
  
 };

and my marker, the number 5 for me :

class Item5
		{
		   position[]={4210.5278,34.859791,11389.157};
			name="PvP_Zone";
			text="ENFER - ZONE PVP";
			markerType="ELLIPSE";
			type="Empty";
			colorName="ColorKhaki";
			a=3000;
			b=3000;
		};

and my config in PVE\fn_initPVE.sqf :

/////// Config ///////
_PvPZone = true; // Requires a trigger on the map with name PvP_Zone
_PvEbyDefault = true; // Sets default mode to PvE if true
_debug = true; // If true, will display data in hintSilent
/////// End of config ///////

Thanks!  -_-

Link to comment
Share on other sites

  • 1 month later...

Hi. This dont work on my server. The script does not function as a infistar without it. The script is installed according to instructions, the load is as it should (Anti-PvP loaded), but the players are no problem killing each other. PvP zones on a server are missing. What could be wrong? upd. server arma3 epoch 0.3.3.1

And sorry for my bad english

Edited by KILLka
Link to comment
Share on other sites

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
×
×
  • Create New...