STEAM 组
State of Decay Modding Crew SoDModding
STEAM 组
State of Decay Modding Crew SoDModding
36
游戏中
226
在线
成立于
2013 年 9 月 22 日
语言
英语
所有讨论 > 综合讨论 > 主题详情
KatArus 2014 年 1 月 30 日 上午 2:36
Making guns breakable (possibly chance-based, during unjamming, based on reliability)
Problem is, I can't even make them break at all. Melee weapons have BreakItem="" and RepairItem="" tags in items.xml file, but adding those (or breakitem alone) to a gun makes it ignore it's durability, it can't be unjammed and keeps shooting in jammed state having zero base and critical durability. Entity files in scripts folder don't mention anything about it either.

My guess is those are inherent feats of their parent classes GunDefinition and WeaponDefinition respectively, but I havent yet figured out where those are coded. Maybe someone can point me out there?
所有讨论 > 综合讨论 > 主题详情