Skip to content

raymix/SnapProCMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

alt text


Installation ver 1.2.1

Create and add new compiles.sqf file (you can reuse an old one if you already have it) and add this to init.sqf file:

Find:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";	

Add this line right after, like so:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";				//Compile regular functions
call compile preprocessFileLineNumbers "custom\compiles.sqf";							 //Compile custom compiles

compiles.sqf can be either found in project folder here on github or you can just create new file and add these lines:

if (!isDedicated) then {
	DZE_SNAP_BUILD_NUMKEYS = [0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B];

	player_build = compile preprocessFileLineNumbers "custom\snap_pro\player_build.sqf";
	snap_build = compile preprocessFileLineNumbers "custom\snap_pro\snap_build.sqf";
	dayz_spaceInterrupt = compile preprocessFileLineNumbers "custom\snap_pro\dayz_spaceInterrupt.sqf";
};

Open your description.ext (root of your MPMissions folder), add this to the very bottom:

#include "custom\snap_pro\snappoints.hpp"

Copy snap_pro folder inside your custom folder and you are done. Simple as that!

Infistar Antihack

Open your AHconfig.sqf, Find and set BCM to false:

/*  BLOCK ALL CMDMenus    */ _BCM = false;

Now scroll back down again and find:

/*  ALLOWED CMDMenus      */ _cMenu =
[

Add this right after "BTC_Hud" add comma and whitelist cmd menu like so:

"BTC_Hud","#USER:DZE_SNAP_PRO_COMMAND_MENU"

That's it , Congratulations, you are done!

(Optional)

To disable tutorial text on bottom-right corner, add this to your init.sqf:

snapTutorial = false;

To only show tutorial text once (per log-in), add this right before closing bracket in line #266 in snap_build.sqf:

				] spawn bis_fnc_dynamicText;
			};
		};
	snapTutorial = false;	
};

Changelog

Notes Date Version
Action menus removed 23/07/2014 1.2.1
SBPC release 22/07/2014 1.2.0

About

CMD menus for Snap pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages