僵屍毀滅工程(recipes)x1--->物品加工
或是說合成也可以,如球棒加釘變釘頭槌之類東西
具體來說就是修改或添加recipes內容
僵屍毀滅工程開局很辛苦,所以我們修改一些用具幫助自己立定腳步
要修改的檔案有
Zomboidrecipes.png

1.檔案位置
2.items和newitem是物品參數和資料
3.recipes--->物品加工
注意:#修改或添加.recipes需先確認items和newitem是否有這樣東西才可以修改
以下舉幾個例子
1.四度空間大背包(修改後)有甚麼就拿甚麼不用跑好幾趟了
位於newitems中
item BigHikingBag===>物品名
{
WeightReduction = 100,===>減輕重量100%
Weight = -1000,===>背包重量
Type = Container,
Capacity = 30000000,===>放入物品數,太多會失敗,背包會不見
DisplayName = Big Hiking Bag,
Icon = Duffelbag,
CanBeEquipped = Back,
OpenSound = PZ_OpenBag,
CloseSound = PZ_CloseBag,
PutInSound = PZ_PutInBag,
}
物品空格必須一致與下圖否則會失敗,完成圖如下
Zomboidrecipes01.pngZomboidrecipes01.png

大砲級散彈槍(修改後),一開始的'僵屍海很恐怖掃平它吧
#注意:電視是無敵牆
位於items中
item Shotgun===>物品名
{
AmmoType = ShotgunShells,
ImpactSound = null,
MaxRange = 7,
RangeFalloff = TRUE,
WeaponSprite = Shotgun,
SoundVolume = 200,
MinAngle = 0.75,
Type = Weapon,
MinimumSwingTime = 2,
ToHitModifier = 10,
NPCSoundBoost = 1.5,
KnockBackOnNoDeath = TRUE,
Ranged = TRUE,
SwingAmountBeforeImpact = 0,
ProjectileCount = 5,
ConditionLowerChanceOneIn = 60,
Weight = -100,---->重量
SplatNumber = 5,
PushBackMod = 0.8,
MaxDamage = 992.2,--->最大傷害
SubCategory = Firearm,
AimingMod = 2,
ConditionMax = 10,
ShareDamage = FALSE,
MaxHitCount = 20,--->最多傷害數量
IsAimedHandWeapon = TRUE,
IsAimedFirearm = TRUE,
DoorDamage = 20,
IdleAnim = Idle_Weapon2,
UseEndurance = FALSE,
SwingAnim = Rifle,
WeaponWeight = 3,
DisplayName = Shotgun,
MinRange = 0.61,
SwingTime = 2,
AngleFalloff = TRUE,
MultipleHitConditionAffected = FALSE,
SwingSound = Weapons/Firearm/shotgun2,
SoundRadius = 200,
MinDamage = 91.5,
KnockdownMod = 8,
SplatBloodOnNoDeath = TRUE,
Icon = Shotgun2,
RunAnim = Run_Weapon2,
CriticalChance = 10,
AimingPerkCritModifier = 0,
HitChance = 100,
AimingPerkHitChanceModifier = 0,
RecoilDelay = 40,
SoundGain = 2,
ClipSize = 6,
ReloadTime = 15,
AimingTime = 55,
RequiresEquippedBothHands = TRUE,
BreakSound = PZ_MetalSnap,
BulletOutSound = pumpaction,
ShellFallSound = gaugeshell,
MetalValue = 45,
}
Zomboidrecipes02.pngZomboidrecipes02.png

鞋變子彈,缺彈藥嗎?鞋沒甚麼用但僵僵會穿
位於.recipes中
recipe Make ShotgunShells--->加工名稱
{
Shoes,---->每個僵屍都有的鞋子

Result:ShotgunShellsBox,變一盒子彈
Time:1.0,
}
Zomboidrecipes03.pngZomboidrecipes03.png

屍體變釘子,保持環境衛生
先改變CorpseMale屬性,再寫.recipes
位於newitems中
位於.recipes中
item CorpseMale==>男性屍體
{
Weight = 0.1,==>重量
Type = Normal,
DisplayName = Corpse,
Icon = media/ui/Container_DeadPerson_MaleZombie.png,
RequiresEquippedBothHands = false ==> false是否需要雙手持有(本來是True改 false刪掉也行)
}
item CorpseFemale==>女性屍體
{
Weight = 0.1
,==>重量
Type = Normal,
DisplayName = Corpse,
Icon = media/ui/Container_DeadPerson_FemaleZombie.png,
RequiresEquippedBothHands = false ==>是否需要雙手持有(本來是True改 false刪掉也行)
Zomboidrecipes04.pngZomboidrecipes04.png

改變後
Zomboidrecipes05.pngZomboidrecipes05.png

recipe Make Nails
{
CorpseMale,==>只要指定男性屍體即可,女性屍體不設也會變釘

Result:NailsBox,
Time:1.0,
}
Zomboidrecipes06.pngZomboidrecipes06.png

前兩樣都是修改items和newitem,鞋變子彈是添加程式在recipe
最後做釘子是3個檔的應用,最重要的是要注意格式空格空錯或少一個標點符號程式都會直接罷工給你看
上面少了一把散彈槍所以來個燈變槍
recipe Make Shotgun
{
LightBulb,

Result:Shotgun,
Time:1.0,
}


 2017_07_15



10 « 2024_11 » 12

SUN MON TUE WED THU FRI SAT
- - - - - 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

自我介紹

你(妳)不用知道

Author:你(妳)不用知道
沒有介紹!
我什麼都不會說的!

最新文章

最新留言

最新引用

搜尋欄

加為部落格好友




pagetop