Results 1 to 13 of 13
  1. #1
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    838
    Reputation
    18
    Thanks
    1,096
    My Mood
    Twisted

    Cool Simple Tutorial - Item ESP in SQF and how to Customize it

    Heres a quick tutorial on item ESP in SQF and how to customize it.

    Code:
    n13 =
    	{
    		n132 = 
    		{
    			if (isNil 'n131') then 
                            {
                                    n131 = 0;
                            };
    			if (n131 == 0) then
    			{
    				hint "All Items ESP ON";
    				n131 = 1;
    				arr2 = [];
    				while {n131 == 1} do
    				{
    					_entities = (allMissionObjects "inventorybase");
    					{
    						if !(_x in arr2) then 
                                                    {
    							arr2 = arr2 + [_x];
    							[_x] spawn n133;
    							sleep 0.25;
    						};
    					} forEach _entities;
    					sleep 5;
    				};
    			} 
                            else 
                            {
    				hint "All Items ESP OFF";
    				n131 = 0;
    			};
    		};
    		n133 = 
    		{
    			disableSerialization;
    			if (isNil 'ESP_Count') then 
                            {
                                   ESP_Count = 2733;
                            };
    			ESP_Count cutRsc ['rscDynamicText', 'PLAIN'];
    			ESP_Count = ESP_Count + 1;
    			_ctrl = ((uiNamespace getvariable 'BIS_dynamicText') displayctrl 9999);
    			_ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
    			_unit = _this select 0;
    			while {(!isNull _unit) && ((player distance _unit) < 1000)} do
    			{
    				if (n131 == 0) exitWith 
                                    {
                                             arr2 = arr2 - [_unit];_ctrl ctrlShow false;_ctrl ctrlEnable false;
                                    };
    				_pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2)];
    				_pos2D = WorldToScreen _pos;
    				if (count _pos2D > 0) then
    				{
    					_ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
    					_text = parseText format ["<t size='0.22' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
    					_ctrl ctrlSetStructuredText _text;
    					_ctrl ctrlCommit 0;
    				};
    				sleep 0.01;
    			};
    			arr2 = arr2 - [_unit];
    			_ctrl ctrlShow false;
    			_ctrl ctrlEnable false;
    		};
    		[] spawn n132;
    	};
    Objects

    Find this line
    Code:
     _entities = (allMissionObjects "inventorybase");
    The part in quote wraps ("") can be changed to any item classname. for example "riflecore" would be all rifles in the game or "repeater" which would just be that one rifle.

    They can also be combined to add multiple objects such as
    Code:
    (allMissionObjects "riflecore") + (allMissionObjects "ShotgunBase") + (allMissionObjects "pistolcore");
    If you want vehicles instead do
    Code:
    (allMissionObjects "V3S_Cargo") or (allMissionObjects "LandVehicle");

    Changing Color and Size

    Find this line
    Code:
    _text = parseText format ["<t size='0.22' color='#00FC97'>%1 (%2m)</t>", typeOf _unit, round (player distance _unit)];
    Change the quotes to what ever size you want
    Code:
    size='0.22'
    Color is changed here, it uses Html color code
    Code:
    color='#00FC97'
    Hints

    The Text displayed upon activation is
    Code:
    hint "All Items ESP ON";
    and deactivation here
    Code:
    hint "All Items ESP OFF";
    you can change this to what ever you want to be dispayed
    Code:
    hint "Edit my text";
    hint makes a noise when it activates, if you want to silence this change hint to hintSilent
    Code:
    hintSilent "I am a Silent Hint";
    Last edited by Mizzle420420; 01-30-2015 at 10:11 AM.

  2. The Following 3 Users Say Thank You to Mizzle420420 For This Useful Post:

    denis200191 (02-21-2015),pinkieseb74 (01-30-2015),Yemiez (02-02-2015)

  3. #2
    Yemiez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Sweden
    Posts
    2,566
    Reputation
    731
    Thanks
    16,279
    My Mood
    Devilish
    Nice tutorial mizzle.

  4. #3
    Cfifcfif's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    1
    My Mood
    Buzzed
    What injector i shall use?

    - - - Updated - - -

    Help men pleese!!!!!!

  5. #4
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    838
    Reputation
    18
    Thanks
    1,096
    My Mood
    Twisted
    Quote Originally Posted by Cfifcfif View Post
    What injector i shall use?

    - - - Updated - - -

    Help men pleese!!!!!!
    Unfortunately no one gives them out for free as they will be leaked everywhere and quickly patched. We are not permitted to sell hacks on this forum so you probably wont find one here.

  6. #5
    Doron123d's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    how to open the ESP ?

  7. #6
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Quote Originally Posted by Doron123d View Post
    how to open the ESP ?
    This is mostly customization but, There's a possibility this is outdated/patched already man. I suggest you don't do it/use it(ask Mizzle if it still works before you attempt too) as there's a chance once you input the code you might get banned. :P
    Last edited by Smoke; 10-26-2015 at 02:26 PM.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

  8. #7
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    838
    Reputation
    18
    Thanks
    1,096
    My Mood
    Twisted
    Quote Originally Posted by Smoke View Post
    This is mostly customization but, There's a possibility this is outdated/patched already man. I suggest you don't do it/use it(ask Mizzle if it still works before you attempt too) as there's a chance once you input the code you might get banned. :P
    This is all 100% still working and up to date. Generaly SQF Scripting doesn't really get you banned unless your calling something from the server that has a log or you use a script to kill a bunch of people which would show a kill log with your name on it. At the moment most people get banned from injection methods as far as I'm aware.

  9. #8
    Kosmo's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Location
    C:/WhatIsThis.exe
    Posts
    537
    Reputation
    10
    Thanks
    2,500
    My Mood
    Psychedelic
    that's a really nice release there, Mizzle. It will help a lot of newbies!

  10. #9
    Yemiez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Sweden
    Posts
    2,566
    Reputation
    731
    Thanks
    16,279
    My Mood
    Devilish
    Quote Originally Posted by Kosmo View Post
    that's a really nice release there, Mizzle. It will help a lot of newbies!
    This is 9 months old, why are people just now posting?

  11. #10
    Kosmo's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Location
    C:/WhatIsThis.exe
    Posts
    537
    Reputation
    10
    Thanks
    2,500
    My Mood
    Psychedelic
    Quote Originally Posted by Yamiez View Post
    This is 9 months old, why are people just now posting?
    Oh I thought this was new, hehe.
    Never seen this before.

  12. #11
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    838
    Reputation
    18
    Thanks
    1,096
    My Mood
    Twisted
    Quote Originally Posted by Yamiez View Post
    This is 9 months old, why are people just now posting?
    Quote Originally Posted by Kosmo View Post


    Oh I thought this was new, hehe.
    Never seen this before.
    New or 9 months old, it is still 100% relevant.

  13. #12
    convictsdead's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    Syria
    Posts
    7
    Reputation
    10
    Thanks
    2
    im guessing inventorybase is all items? what if i just want shit like food, ammo, and weapons?

  14. #13
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    838
    Reputation
    18
    Thanks
    1,096
    My Mood
    Twisted
    Quote Originally Posted by convictsdead View Post
    im guessing inventorybase is all items? what if i just want shit like food, ammo, and weapons?
    Yeah InventoryBase is all items. Here I'll give you some useful bases for the other stuff. Food would be FoodBase, Ammo would be AmmunitionItemBase, AmmunitionBoxItemBase, and MagazineBase. Weapons would be Riflecore, Pistolcore, and MeleeItemBase. I hope this answers all questions.

    Code:
    //------Mizzle420420 DayZ Resources-----//
    
    //------Start Objects and Bases-----//	
    
    AttachmentBase
    {
    	Att_Optic_M4CarryHandle
    	Att_Optic_BUIS
    	OpticBase
    	{
    		Att_Optic_PUScope
    		Att_Optic_ACOG
    		Att_Optic_Kashtan
    		PoweredOpticBase
    		{
    			Att_Optic_M68
    			Att_Optic_M4T3NRDS
    			Att_Optic_FNP45_MRD
    			Att_Optic_Redpoint		
    		}
    		Optic2dBase
    		{
    			Att_Optic_Longrange
    			Att_Optic_Hunting
    			Att_Optic_Pistol
    			Att_Optic_PSO1
    			{
    				Att_Optic_PSO11
    			};
    		};
    	}; 
    };
     EN5C_Inventory_Base
     {	
    	EN5C_Att_Optic_PSO11
    	EN5C_Att_Optic_PSO1
    	EN5C_Att_Optic_Pistol
    	EN5C_Att_Optic_Hunting
    	EN5C_Att_Optic_Longrange
    	EN5C_Att_Optic_Kashtan
    	EN5C_Att_Optic_PUScope
    	EN5C_Att_Optic_ACOG
    	EN5C_Att_Optic_M4CarryHandle
     	EN5C_Att_Optic_BUIS
    	EN5C_Powered_Base
    	{
    		EN5C_Att_Optic_M4T3NRDS
    		EN5C_Att_Optic_M68
    		EN5C_Att_Optic_FNP45MRD
    		EN5C_Att_Optic_Redpoint
    	};
    
     }:
     InventoryBase
     {
    	GrenadeBase
    	{
    		FlashGrenade
    		GrenadeRGD5
    		Grenade
    		SmokeGrenadeBase
    		{
    			SmokeGrenadeBase
    			SmokeGrenade_Red
    			SmokeGrenade_Green
    			SmokeGrenade_Yellow
    			SmokeGrenade_White
    			SmokeGrenade_RDG2Base
    		};
    		SmokeGrenade_RDG2Base
    		{
    		SmokeGrenade_RDG2_Black
    		SmokeGrenade_RDG2_White
    		};
    	};
     };
     
     EN5C_Inventory_Base
     {
    	EN5C_Grenade_Base
    	{
    		EN5C_FlashGrenade
    		EN5C_GrenadeRGD5
    		EN5C_Grenade
    		EN5C_SmokeGrenade_ColorBase
    		{
    			EN5C_SmokeGrenade_Red
    			EN5C_SmokeGrenade_Yellow
    			EN5C_SmokeGrenade_Green
    			EN5C_SmokeGrenade_Purple
    			EN5C_SmokeGrenade_White
    		};
    		EN5C_SmokeGrenadeRDG2_ColorBase
    		{
    			EN5C_SmokeGrenadeRDG2_Black
    			EN5C_SmokeGrenadeRDG2_White
    		};
    	};
     };
     
     Strategic
     {
    	 GrenadeExplosion
    	 ImproGrenadeExplosion
    	 FlashGrenadeExplosion
     };
     
     DefaultAmmo
     {
    	LaserBombCore
    	FuelExplosion
    	MineCore	 
    	TimeBombCore 
    	BulletCore
    	{
    		BulletBase
    	};
     };
     
          
    
    Projectiles = 
    {
    	A_composite
    	A_crude
    	A_primitive
    	A_Boned
    	A_bolt
    	B_Flare
    	B_22_Ball
    	B_380_Ball
    	B_9mm_Ball
    	B_9x39_AP
    	B_357
    	B_45ACP_Ball
    	B_545X39_Ball
    	B_556X45_Ball
    	B_762X39_Ball
    	B_762x54_Ball
    	B_308Win_Ball
    	B_12Gauge_Pellets
    	B_12Gauge_Slug
    };
    Melee = 
    {
    	MeleeFist
    	MeleeDamage
    	MeleeProd
    	MeleeLightBlunt
    	MeleeSoft
    	MeleeFist
    	MeleeZombie
    	MeleeZombieMale
    	MeleeZombieMaleSoldier
    	MeleeZombieFemale
    	MeleeZombieMaleLong
    	MeleeZombieMaleSoldierLong
    	MeleeZombieFemaleLong
    	MeleeSlash
    	MeleeStab
    	MeleeBlunt
    	MeleeMachete
    	MeleeBat
    	MeleeHeavybat
    	MeleeAxe
    	MeleeFireaxe
    	MeleeChainsaw
    };	
    Explosions = 
    {
    	LaserBombCore
    	FuelExplosion
    	G_GrenadeHand
    	G_FlashGrenadeHand
    	G_SmokeGrenadeHand
    };		
    
    allMissionObjects = 
    {
    	entities =
    	{
    		survivorbase
    		ZombieBase
    		TentMedium_Pitched
    		TentLarge_Pitched
    		TentCar_Pitched
    	};
    	LandVehicle =
    	{
    		V3S_Cargo
    		V3S_Chassis
    		land_mh_60wreck
    		Land_Mi8_Crashed
    		Land_UH1Y_Wreck
    		Land_Volha_police_DayZ
    	};
    	InventoryBase =
    	{
    		TentMedium_packed
    		TentLarge_backpack
    		TentCar_packed
    		ContainerBase
    		FixedContainer
    		AttachmentBase
    		BottleBase
    		EyeWearBase
    		BayonetBase
    		AxeBase
    		KnifeBase
    		BayonetBase
    		SeedItemBase
    		riflecore
    		pistolcore
    		MeleeItemBase
    		MagazineBase
    		AmmunitionItemBase
    		AmmunitionBoxItemBase
    		CraftingItemBase
    		ItemBook
    		MedicalItemBase
    		DrinksItemBase
    		FoodItemBase =
    		{
    			FoodCanned
    			FoodCanned_Closed
    			FruitBase
    			MeatBase
    			berrybase	
    		};
    		ClothingBase =
    		{
    			BagBase
    			HeadgearBase
    			MaskBase
    			TopWearBase
    			BottomWearBase
    			FootwearBase
    			VestBase
    			GlovesBase
    		};
    	};
    };
    
    //------End Bases-----//
    Last edited by Mizzle420420; 02-03-2016 at 12:08 PM.

Similar Threads

  1. [Tutorial] ESP Tutorial [How to use and How to fix the problems on it]
    By CRIOO in forum Counter-Strike 2 Tutorials
    Replies: 29
    Last Post: 02-07-2015, 06:31 AM
  2. [Tutorial] [CF-Tutorial] How To Attack B-Site on BW and How to Guard B-Site
    By FMDSatan in forum CrossFire Tutorials
    Replies: 8
    Last Post: 11-18-2012, 01:57 PM
  3. can anyone make a simple Tutorial how to get Anaconda?
    By iijeka in forum Alliance of Valiant Arms (AVA) Help
    Replies: 6
    Last Post: 08-05-2012, 11:51 PM
  4. [Request] ~~VERY SIMPLE TUTORIAL: UNDERSTAND HOW TO MAKE A D3D MENU in POINT BLANK~~
    By secretHolder69 in forum Point Blank Hacks
    Replies: 2
    Last Post: 06-13-2012, 01:07 PM
  5. [TUTORIAL] How to customize lobby images and splash screen!
    By twamp22 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 30
    Last Post: 08-09-2010, 06:35 PM