安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题



Default fatal damage taken for a long enough fall is 105, and here's what you'd change for that:
local safeZVel = 5; <--- Make this a lower number to decrease the distance you can fall without being hurt
if (fallspeed < 8) then
return;
end
local fatalZVel = 17; <---- If you like where it's at on fall distance before you actually get hurt - in reality ~15ft is a fatal fall - then you can change this one to simply make it a shorter upper limit on how far you can fall and survive
That's in the singleplayer.lua file found in - "State of Decay\Game\scripts\gamerules" once you unpack the gamedata.pak as mentioned - search for function "SinglePlayer:OnCollision(entity, hit)" without the quotes and see the large list of variables after it. Notepad++ is useful for finding where the start and endtags are for the LUA sections.
It's all physics so you have the mass of the object and the mass of the thing you're colliding with, you can even change what classifies something as a "Big Object" by modifying the range in this set " if(contactMass > 200.0 and contactMass < 10000 and contactVelocitySq > 2.25)"
So that would be anything that has a mass greater than 200 and less than 10000, for example.
Particularly the section below "
-- damage
if(entity.vehicle) then"
Seems to be the most effective at annihilating your vehicle and making you enormously careful :)
Taxi is recommended as the best vehicle for transit at that point since you have a good mix of speed and turning capacity to avoid obstacles. This modification makes hordes extremely interesting, haha.