Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    841
    Reputation
    18
    Thanks
    1,085
    My Mood
    Twisted

    Cool DayZ Standalone SQF Tutorials and Resources: ClassNames - Objects and Bases

    I'm going to start releasing some DayZ Standalone related resources that I've gathered and used for Scripting as well as a few tutorials. There really are not enough tutorials and resources online for this game related to SQF Scripting so I figured I might as well put some stuff together to help out DayZ Scripters.

    Credits:
    Reverse, Research, and Composition - Mizzle420420
    Source - Bohemia Interactive Studios

    What we have here is a list of 'ClassNames' (a name defined by the developers for a game item, object, or array).
    These particular ClassNames are used in DayZ Standalone to identify objects, players, and items.
    There are ClassNames called a 'Base' which are arrays that contain multiple other ClassNames of a given type.

    I'm going to give you an example of how Bases work using the given Bases in the Resource Code below:

    If I did a Search for 'FoodCanned' i would get only food cans.
    If I searched for 'FoodItemBase' I would not only get 'FoodCanned' but every other Food inside 'FoodItemBase'.

    To do a Search for ClassNames in SQF you do something like this generally:

    _MiZ_obj = (allMissionObjects "FoodItemBase");

    Here we are calling 'AllMissionObjects' (Which is an Engine Function that returns all objects in the mission) and then specifying only 'FoodItemBase'.

    you can then go up the chain from there in this order:

    allMissionObjects > InventoryBase > FoodItemBase > FoodCanned

    Such as:

    _MiZ_obj = (allMissionObjects "InventoryBase");

    If you just wanted 'allMissionObjects' you would do:

    _MiZ_obj = (allMissionObjects "");

    You can also do this with indiviual item classnames for items like:

    _MiZ_obj = (allMissionObjects "food_canpeaches");

    I did not list every single Item ClassName (I focused on prominent Bases and frequently used ClassNames) because it would be a very large list, but they can easily be found Individually at DayZDB.com by going to DataBase and searching an item name.

    Code:
    //------Mizzle420420 DayZ Resources-----//
    
    //------Start Objects and Bases-----//	
    
    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 Objects and Bases-----//
    Last edited by Mizzle420420; 10-28-2015 at 03:24 AM.

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

    andrew269 (10-28-2015),denis200191 (10-28-2015),Kosmo (10-28-2015),[MPGH]Smoke (10-28-2015)

  3. #2
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    8,709
    Reputation
    2143
    Thanks
    3,829
    My Mood
    Amazed
    Quote Originally Posted by Mizzle420420 View Post
    I'm going to start releasing some DayZ Standalone related resources that I've gathered and used for Scripting as well as a few tutorials. There really are not enough tutorials and resources online for this game related to SQF Scripting so I figured I might as well put some stuff together to help out DayZ Scripters.

    Credits:
    Reverse, Research, and Composition - Mizzle420420
    Source - Bohemia Interactive Studios

    What we have here is a list of 'ClassNames' (a name defined by the developers for a game item, object, or array).
    These particular ClassNames are used in DayZ Standalone to identify objects, players, and items.
    There are ClassNames called a 'Base' which are arrays that contain multiple other ClassNames of a given type.

    I'm going to give you an example of how Bases work using the given Bases in the Resource Code below:

    If I did a Search for 'FoodCanned' i would get only food cans.
    If I searched for 'FoodItemBase' I would not only get 'FoodCanned' but every other Food inside 'FoodItemBase'.

    To do a Search for ClassNames in SQF you do something like this generally:

    _MiZ_obj = (allMissionObjects "FoodItemBase");

    Here we are calling 'AllMissionObjects' (Which is an Engine Function that returns all objects in the mission) and then specifying only 'FoodItemBase'.

    you can then go up the chain from there in this order:

    allMissionObjects > InventoryBase > FoodItemBase > FoodCanned

    Such as:

    _MiZ_obj = (allMissionObjects "InventoryBase");

    If you just wanted 'allMissionObjects' you would do:

    _MiZ_obj = (allMissionObjects "");

    You can also do this with indiviual item classnames for items like:

    _MiZ_obj = (allMissionObjects "food_canpeaches");

    I did not list every single Item ClassName (I focused on prominent Bases and frequently used ClassNames) because it would be a very large list, but they can easily be found Individually at DayZDB.com by going to DataBase and searching an item name.

    Code:
    //------Mizzle420420 DayZ Resources-----//
    
    //------Start Objects and Bases-----//	
    
    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 Objects and Bases-----//
    Thanks for guide buddy.


    CLICK TO BUY NOW!!


    MY ONLY SKYPE IS "SMOKE.MPGH" PRIVATE MESSAGE ME BEFORE TRADING BUYING/SELLING ANYTHING INVOLVING ME
    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

  4. #3
    -Panda-'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Australia
    Posts
    1,741
    Reputation
    42
    Thanks
    203
    My Mood
    Bored
    Is DayZ Stand alone still populated?

  5. #4
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    841
    Reputation
    18
    Thanks
    1,085
    My Mood
    Twisted
    Quote Originally Posted by PandaThePro View Post
    Is DayZ Stand alone still populated?
    Yeah, there are a lot of full 50 player servers, supposedly they are going to launch 75 player servers in 1 of the next 2 patches.

  6. #5
    -Panda-'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Australia
    Posts
    1,741
    Reputation
    42
    Thanks
    203
    My Mood
    Bored
    Quote Originally Posted by Mizzle420420 View Post


    Yeah, there are a lot of full 50 player servers, supposedly they are going to launch 75 player servers in 1 of the next 2 patches.
    They work on 75 player slots. Vehicles aren't even added yet i don't think?

  7. #6
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    8,709
    Reputation
    2143
    Thanks
    3,829
    My Mood
    Amazed
    Quote Originally Posted by Mizzle420420 View Post


    Yeah, there are a lot of full 50 player servers, supposedly they are going to launch 75 player servers in 1 of the next 2 patches.
    I believe it's in the patch after the next one as they wouldn't release it so soon unless it's a beta test.


    CLICK TO BUY NOW!!


    MY ONLY SKYPE IS "SMOKE.MPGH" PRIVATE MESSAGE ME BEFORE TRADING BUYING/SELLING ANYTHING INVOLVING ME
    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
    841
    Reputation
    18
    Thanks
    1,085
    My Mood
    Twisted
    Quote Originally Posted by PandaThePro View Post
    They work on 75 player slots. Vehicles aren't even added yet i don't think?
    There are 2 Types of V3S Truck, Sedan Car coming next patch, First Helicopter coming by Christmas.

  9. The Following User Says Thank You to Mizzle420420 For This Useful Post:

    -Panda- (10-29-2015)

  10. #8
    andrew269's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    117
    Reputation
    11
    Thanks
    3
    My Mood
    Buzzed
    Thanks for this
    Last edited by andrew269; 10-28-2015 at 07:15 PM.

  11. #9
    conansgrandpa's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    22
    My Mood
    Doubtful
    Great guide for the masses!
    ]

  12. #10
    Kosmo's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Location
    C:/WhatIsThis.exe
    Posts
    537
    Reputation
    10
    Thanks
    2,313
    My Mood
    Psychedelic
    Nice tutorial. @denis200191 will love this

  13. #11
    -Panda-'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Australia
    Posts
    1,741
    Reputation
    42
    Thanks
    203
    My Mood
    Bored
    Quote Originally Posted by Mizzle420420 View Post


    There are 2 Types of V3S Truck, Sedan Car coming next patch, First Helicopter coming by Christmas.
    Oh Really? That's awesome. Now they just need to optimize the game!




  14. #12
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    841
    Reputation
    18
    Thanks
    1,085
    My Mood
    Twisted
    Quote Originally Posted by PandaThePro View Post
    Oh Really? That's awesome. Now they just need to optimize the game!
    True dat, Hicks claims they are working on a new renderer and optimization internally, but we shall see.

  15. The Following User Says Thank You to Mizzle420420 For This Useful Post:

    -Panda- (10-29-2015)

  16. #13
    -Panda-'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Australia
    Posts
    1,741
    Reputation
    42
    Thanks
    203
    My Mood
    Bored
    Quote Originally Posted by Mizzle420420 View Post


    True dat, Hicks claims they are working on a new renderer and optimization internally, but we shall see.
    Sounds great. Maybe my $30 wont be a waste after all! Cheers for this info! ^_^




  17. #14
    Mizzle420420's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    Korriban
    Posts
    841
    Reputation
    18
    Thanks
    1,085
    My Mood
    Twisted

    I Added some Enfusion Script and Other stuff Here if you could add @normanjaydatNigha



    Code:
    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
    			};
    		};
    	}; 
    };
    
     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
    		};
    	};
     };
    
     Strategic
     {
    	 GrenadeExplosion
    	 ImproGrenadeExplosion
    	 FlashGrenadeExplosion
     };
     
     DefaultAmmo
     {
    	LaserBombCore
    	FuelExplosion
    	MineCore	 
    	TimeBombCore 
    	BulletCore
    	{
    		BulletBase
    	};
     };
    
    //Enfusion Script Base:
    
     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
    	};
    
     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
    		};
    	};
     };
    Last edited by Mizzle420420; 11-01-2015 at 06:02 AM.

  18. #15
    Chaffy's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    they Said that they optimized the game already

Page 1 of 2 12 LastLast

Similar Threads

  1. [WTB] Buying a DayZ Standalone SQF Executor.
    By LeaDeR20 in forum Buying Accounts/Keys/Items
    Replies: 4
    Last Post: 07-11-2015, 08:49 AM
  2. [WTB] Buying a DayZ Standalone SQF Executor.
    By LeaDeR20 in forum Selling Accounts/Keys/Items
    Replies: 0
    Last Post: 07-11-2015, 06:49 AM
  3. [Release] DayZ Standalone: SQF Crosshair
    By Mizzle420420 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 6
    Last Post: 07-06-2015, 09:19 PM
  4. [Info] DayZ Standalone: New .57 Guns, Ammo, and Optics Classnames
    By Mizzle420420 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 18
    Last Post: 06-16-2015, 11:35 PM
  5. DayZ Standalone Release and Info!
    By ImYoshi in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 6
    Last Post: 01-10-2013, 06:30 PM

Tags for this Thread