Jump to content

Is it possible to change pistol's graphic without mods?


Body Builder

Recommended Posts

Hi Pz Community!

I don't know if it's possible, but i'd like to change the graphic (icon) of the standard pistol "WITHOUT MODS"....

Yep, there are a lot of excpetional weapon's mod and i know how do they work, but i'd like to replace the drawing of the pistol without the use of mods.

Thanks in advance guys!

 

34tb9k6.png

Link to comment
Share on other sites

You can modify the game files if you want to.

 

Go to your C:\Steam\steamapps\common\ProjectZomboid\media\scripts

 

open up Items.txt and find this

 

 

item Pistol

{
AmmoType = BerettaClip,
ImpactSound = null,
MaxRange = 10,
WeaponSprite = Handgun,
SoundVolume = 75,
MinAngle = 0.95,
Type = Weapon,
MinimumSwingTime = 0.5,
ToHitModifier = 1.5,
NPCSoundBoost = 1.5,
KnockBackOnNoDeath = TRUE,
Ranged = TRUE,
SwingAmountBeforeImpact = 0,
ProjectileCount = 1,
ConditionLowerChanceOneIn = 60,
Weight = 2,
SplatNumber = 3,
PushBackMod = 0.3,
MaxDamage = 1.6,
SubCategory = Firearm,
ConditionMax = 10,
ShareDamage = FALSE,
MaxHitCount = 1,
IsAimedFirearm = TRUE,
DoorDamage = 5,
UseEndurance = FALSE,
SwingAnim = Handgun,
WeaponWeight = 2,
DisplayName = Pistol,
MinRange = 0.61,
SwingTime = 0.5,
MultipleHitConditionAffected = FALSE,
SwingSound = 9mmShot,
SoundRadius = 150,
MinDamage = 1,
SplatSize = 3,
KnockdownMod = 2,
SplatBloodOnNoDeath = TRUE,
Icon = HandGun,
RunAnim = Run_Weapon2,
CriticalChance = 20,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 45,
        AimingPerkHitChanceModifier = 15,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 20,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 10,
        AimingTime = 40,
        BreakSound  =   PZ_MetalSnap,
}

 

Change this line

 

Icon = HandGun,

 

to this

 

Icon = Handgun,

 

It should work. Or apply this mod I made for you that changes the Icon. And it's all it does.

PistolIcon.zip

Link to comment
Share on other sites

You can modify the game files if you want to.

 

Go to your C:\Steam\steamapps\common\ProjectZomboid\media\scripts

 

open up Items.txt and find this

 

 

item Pistol

{
AmmoType = BerettaClip,
ImpactSound = null,
MaxRange = 10,
WeaponSprite = Handgun,
SoundVolume = 75,
MinAngle = 0.95,
Type = Weapon,
MinimumSwingTime = 0.5,
ToHitModifier = 1.5,
NPCSoundBoost = 1.5,
KnockBackOnNoDeath = TRUE,
Ranged = TRUE,
SwingAmountBeforeImpact = 0,
ProjectileCount = 1,
ConditionLowerChanceOneIn = 60,
Weight = 2,
SplatNumber = 3,
PushBackMod = 0.3,
MaxDamage = 1.6,
SubCategory = Firearm,
ConditionMax = 10,
ShareDamage = FALSE,
MaxHitCount = 1,
IsAimedFirearm = TRUE,
DoorDamage = 5,
UseEndurance = FALSE,
SwingAnim = Handgun,
WeaponWeight = 2,
DisplayName = Pistol,
MinRange = 0.61,
SwingTime = 0.5,
MultipleHitConditionAffected = FALSE,
SwingSound = 9mmShot,
SoundRadius = 150,
MinDamage = 1,
SplatSize = 3,
KnockdownMod = 2,
SplatBloodOnNoDeath = TRUE,
Icon = HandGun,
RunAnim = Run_Weapon2,
CriticalChance = 20,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 45,
        AimingPerkHitChanceModifier = 15,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 20,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 10,
        AimingTime = 40,
        BreakSound  =   PZ_MetalSnap,
}

 

Change this line

 

Icon = HandGun,

 

to this

 

Icon = Handgun,

 

It should work. Or apply this mod I made for you that changes the Icon. And it's all it does.

Mmh, i have wrong.... excuse me Svarog, but i'm not good with English. I want to tell that i'd like to change the old graphic (icon) with another one, whichever one that i prefer.... Is it possible?

Sorry man, i am stupid with english language.

Link to comment
Share on other sites

34tb9k6.png

Change Pistol Icon to this Icon (above)?That icon is in the game files.  You literally only need to change one letter in the script to lowercase for it to work.

Icon = HandGun, to Icon = Handgun,

If you want to switch between them at will, in-game or something, there is no way to do so that I would know about.

or just PM me what you want it to do in Italian, I'll try to figure it out from there.

Link to comment
Share on other sites

 

34tb9k6.png

Change Pistol Icon to this Icon (above)?That icon is in the game files.  You literally only need to change one letter in the script to lowercase for it to work.

 

 

No no :D

I don't want that icon. That icon was an example of the old icon that i want to change.

 

Example: i'd like to change that old icon with this icon ---> r7iyvb.png

There are a lot of choices with the graphics... and my question is:  "Is there a specific Mod that i can use for to change the graphics of the standard pistol with other that i prefer?"

Link to comment
Share on other sites

You can make one, I never saw, nor would I know how to make, a mod that just allows you to change the icon without going into scripts and changing it like I described above. Look at the mod I uploaded below, really look at what file goes where and what is changed in the script (One line, one file) It's very simple to make a mod like that.
 

 

PistolIcon v2.zip

Link to comment
Share on other sites

You can make one, I never saw, nor would I know how to make, a mod that just allows you to change the icon without going into scripts and changing it like I described above. Look at the mod I uploaded below, really look at what file goes where and what is changed in the script (One line, one file) It's very simple to make a mod like that.

 

Mmh... i have a problem, i can only see a question mark, but not the graphic of the new pistol l

 

 

2m3k09f.jpg

Link to comment
Share on other sites

Sorry about that... My bad, I misnamed the .png file

AAHHHHHH!!! The name of the file "Item_" :)

It was simple, i am very clod, sorry >_<

Anyway, it works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thank you my dear friend, you are very patient and kind, thanks a lot again!

P.S. I have installed your mod with the new colors of the bags, "SvarogBags" great job! (the orange-red is fantastic)

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