Jump to content
  • 0

Changing No Build Zones


Slacker101

Question

4 answers to this question

Recommended Posts

  • 0

mpmissions/yourmap.pbo

 

unpbo

 

grab mission.sqm , and read through it, it will give you the clues needed.

 

Edit to your taste, repack PBO, have fun!

See that's what I thought but when I open mission.sqm from there it is all numbers

0072 6150 0000 0000 0800 0000 305f 0000
0005 0102 7665 7273 696f 6e00 0c00 0000
004d 6973 7369 6f6e 005a 0000 0000 496e
7472 6f00 1c5b 0000 004f 7574 726f 5769
6e00 785c 0000 004f 7574 726f 4c6f 6f73
6500 d45d 0000 305f 0000 0006 0261 6464
4f6e 7300 1000 4133 5f53 6f66 745f 465f
4361 7200 0041 335f 536f 6674 5f46 5f51
7561 6462 696b 6500 0061 335f 736f 6674
5f66 5f62 6574 615f 7175 6164 6269 6b65
0000 4133 5f42 6f61 745f 465f 4369 7669
6c69 616e 5f42 6f61 7400 0041 335f 426f
6174 5f46 5f42 6f61 745f 5472 616e 7370
6f72 745f 3031 0000 4133 5f41 6972 5f46
5f48 656c 695f 4c69 6768 745f 3031 0000

I tried unpboing it with PBO manager and unpbo and got the same result both times :/ any ideas?

Link to comment
Share on other sites

  • 0

I tried overriding it in the mission files with
 
This in my init.sqf

if !(isNil "Epoch_CStart") exitWith { false };
Epoch_CStart = true;

if (!isDedicated) then {
    call compile preprocessFileLineNumbers "client_compile.sqf";
};
true 

Then This in client_compile.sqf

EPOCH_isBuildAllowed = compileFinal preprocessFileLineNumbers "EPOCH_isBuildAllowed.sqf"; 

Then this in EPOCH_isBuildAllowed.sqf

private ["_jammed","_jammer"];
_jammed = false;

_jammer = nearestObjects [player, ["PlotPole_EPOCH"], 300];
if !(_jammer isEqualTo []) then {
	if (_this == "PlotPole_EPOCH") then {
		{
			if (alive _x) exitWith {
				_jammed = true;
			};
		} forEach _jammer;
	}
	else {
		{
			if (alive _x) then {
				_jammed = !((_x getVariable ["BUILD_OWNER", "-1"]) in [getPlayerUID player, Epoch_my_GroupUID]);
			};
			if (_jammed) exitWith {};
		} forEach _jammer;
	};
};

!_jammed
 

Notice I removed the checks back to the config for altis locations as well as player position and protectionzone. The removals of protection zone and nearest location were honestly a last ditch effort to try and get it to work :/ anyone have any ideas?

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
  • Advertisement
  • Discord

×
×
  • Create New...