Jump to content

Need Help!


aerocurt234

Recommended Posts

Hello, thanks for checking this out. I have just made my first mod that adds a few new items to the game and will be massively updated in the future but right now the game doesn't seem to be loading my itemsandrecipies.txt script, although it is ticked and in the loaded.txt inside "C:\Users\name\Zomboid\mods"

 

My folders are structures properly with: modname\media\scripts\itemsandrecipies.txt

 

Also there is a mod.info file and a poster all configured correctly inside modname\mod.info

 

I will post the script here, could you tell me if there is anything wrong with it?

 

This has obviously cut out all the tab spaces but they are there.

 

module Base

{

item MakeshiftBaseballBat
{
DisplayName = Makeshift Baseball Bat,
Type = Weapon,
WeaponSprite = Baseballbat,
IdleAnim = Idle_Weapon2,
Categories = Blunt,
SubCategory = Swinging,
ConditionLowerChanceOneIn = 18,
MinimumSwingTime = 3,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.02,
Weight = 2.4,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = BaseballBat,
RunAnim = Run_Weapon2,
PushBackMod = 0.5,
SplatNumber = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 7,
SwingAnim = Bat,
WeaponWeight = 2,
SwingTime = 3,
ConditionMax = 13,
CriticalChance = 10,
MinAngle = 0.2,
MaxHitCount = 2,
MaxRange = 1.5,
MinRange = 0.61,
MaxDamage = 1.2,
MinDamage = 0.6,
TwoHandWeapon = TRUE,
}

item MakeshiftBaseballBatNails
{
DisplayName = Nailed Makeshift Baseball Bat,
Type = Weapon,
WeaponSprite = BaseballbatSpiked,
IdleAnim = Idle_Weapon2,
Categories = Blunt,
SubCategory = Swinging,
ConditionLowerChanceOneIn = 10,
MinimumSwingTime = 3,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.02,
Weight = 2.4,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = BaseballBat,
RunAnim = Run_Weapon2,
PushBackMod = 0.5,
SplatNumber = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 7,
SwingAnim = Bat,
WeaponWeight = 2,
SwingTime = 3,
ConditionMax = 13,
CriticalChance = 15,
MinAngle = 0.2,
MaxHitCount = 2,
MaxRange = 1.5,
MinRange = 0.61,
MaxDamage = 1.5,
MinDamage = 0.9,
TwoHandWeapon = TRUE,
}

recipie Craft a Makeshift Baseball Bat
{
Plank=2,
Nails=2,
keep Saw,

Result:MakeshiftBaseballBat,
Time:110,
}

recipie Add Nails to Bat
{
MakeshiftBaseballBat,
Nails=5,
keep Hammer,

Result:MakeshiftBaseballBatNails,
Time:40,
}

}

Link to comment
Share on other sites

  • 2 weeks later...

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