Jump to content

Is there an item ID list?


Garbonzo

Recommended Posts

There is no specific list but if you have a look at the script files located in this directory:

 

...\Steam\SteamApps\common\ProjectZomboid\media\scripts\

 

You will see files set up like this:

module Base{/************************Weapon************************/	item Axe	{		MaxRange	=	1.5,		WeaponSprite	=	Fireaxe,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3.0,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.002,		Categories	=	Axe,		ConditionLowerChanceOneIn	=	30,		Weight	=	3,		SplatNumber	=	1,		PushBackMod	=	0.3,		MaxDamage	=	2.5,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	35,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	20,		WeaponWeight	=	3,		DisplayName	=	Axe,		MinRange	=	0.61,		SwingTime	=	3.0,		HitAngleMod	=	-30,		MinDamage	=	1,		SplatSize	=	5,		KnockdownMod	=	2,		SplatBloodOnNoDeath	=	TRUE,		Icon	=	Axe,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}	item BaseballBat	{		MaxRange	=	1.5,		WeaponSprite	=	Baseballbat,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.02,		Categories	=	Blunt,		ConditionLowerChanceOneIn	=	20,		Weight	=	2,		SplatNumber	=	1,		PushBackMod	=	0.5,		MaxDamage	=	1.2,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	7,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	10,		WeaponWeight	=	2,		DisplayName	=	Baseball Bat,		MinRange	=	0.61,		SwingTime	=	3,		HitAngleMod	=	-30,		MinDamage	=	0.8,		KnockdownMod	=	0,		SplatBloodOnNoDeath	=	FALSE,		Icon	=	BaseballBat,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}

now as far as additem is concerned, the only parts you need to pay attention to are.

  1. At the very beginning there will be a module reference, in this case "module Base".... This means that any item in this list will begin with the module reference Base.
  2. At the beginning of each item in the list there will be an item reference, in this case "item Axe" & "item BaseballBat"

These 2 pieces of information come together to form the module\item reference, which in the case of these 2 items are:

 

Base.Axe & Base.BaseballBat

Link to comment
Share on other sites

There is no specific list but if you have a look at the script files located in this directory:

 

...\Steam\SteamApps\common\ProjectZomboid\media\scripts\

 

You will see files set up like this:

module Base{/************************Weapon************************/	item Axe	{		MaxRange	=	1.5,		WeaponSprite	=	Fireaxe,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3.0,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.002,		Categories	=	Axe,		ConditionLowerChanceOneIn	=	30,		Weight	=	3,		SplatNumber	=	1,		PushBackMod	=	0.3,		MaxDamage	=	2.5,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	35,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	20,		WeaponWeight	=	3,		DisplayName	=	Axe,		MinRange	=	0.61,		SwingTime	=	3.0,		HitAngleMod	=	-30,		MinDamage	=	1,		SplatSize	=	5,		KnockdownMod	=	2,		SplatBloodOnNoDeath	=	TRUE,		Icon	=	Axe,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}	item BaseballBat	{		MaxRange	=	1.5,		WeaponSprite	=	Baseballbat,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.02,		Categories	=	Blunt,		ConditionLowerChanceOneIn	=	20,		Weight	=	2,		SplatNumber	=	1,		PushBackMod	=	0.5,		MaxDamage	=	1.2,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	7,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	10,		WeaponWeight	=	2,		DisplayName	=	Baseball Bat,		MinRange	=	0.61,		SwingTime	=	3,		HitAngleMod	=	-30,		MinDamage	=	0.8,		KnockdownMod	=	0,		SplatBloodOnNoDeath	=	FALSE,		Icon	=	BaseballBat,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}

now as far as additem is concerned, the only parts you need to pay attention to are.

  1. At the very beginning there will be a module reference, in this case "module Base".... This means that any item in this list will begin with the module reference Base.
  2. At the beginning of each item in the list there will be an item reference, in this case "item Axe" & "item BaseballBat"

These 2 pieces of information come together to form the module\item reference, which in the case of these 2 items are:

 

Base.Axe & Base.BaseballBat

Interesting. Now I know how what to use with admin commands, I can ever get around to setting up an admin profile on my server.

Link to comment
Share on other sites

Thank you for this. But I'm going to have a long long talk with myself about this. I'm building a huge fort and

have made a lot of progress using only hard work. Perhaps this will feel like cheating. Yeah, I don't know, I'm

torn. But big thanks for letting me know about your fantastic mod. Cheers.

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...