STEAM 组
State of Decay Modding Crew SoDModding
STEAM 组
State of Decay Modding Crew SoDModding
24
游戏中
215
在线
成立于
2013 年 9 月 22 日
语言
英语
所有讨论 > 综合讨论 > 主题详情
nikev 2013 年 9 月 27 日 下午 10:49
Difficulty Mod
First, follow the guide to unpack the gamedata.pak file (http://pcgamingwiki.com/wiki/State_of_Decay). Move the unpacked folders (entities, fonts, etc..) to the Game folder and rename or move gamedata.pak.

Increase zombie attack damage:
Go to "State of Decay\Game\libs\class3" and open the file actorconstants.win.bmd in a hex editor. Do a search for "DamageScalar" and the numbers that follow define the damage scaling. I've changed mine from "80.1.00.50.0.8.25.0.7.0.0.6" to "80.2.00.50.1.6.25.1.4.0.1.2" to double the zombie attack damage. See the actorconstants.xml file if you can't figure how the values correspond to my changes.

Remove npc minimap icons:
Go to "State of Decay\Game\libs\class3\map" and open the file "mapicons.win.bmd" in a hex editor. Search for "MapIconData" then after it replace instances of ".9." with ".0." and instances of ".10." with ".00." to remove the npc icons. In the mapicons.xml you can see that this changes the icon sizes from 9 or 10 to 0.

So far this is making my experience much better. I hope this helps and I take no responsibility for breaking things.
< >
正在显示第 1 - 7 条,共 7 条留言
_________LuNandor 2013 年 9 月 28 日 下午 10:07 
You can also increase difficulty with things like increasing fall damage or lower the breakpoint for fatal fall distance 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:ProcessFallDamage(actor, fallspeed)--distance)" and find the variables just after that.

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
_________LuNandor 2013 年 9 月 28 日 下午 10:16 
Oh, you can also increase the amount of damage your car takes from hitting zombies which makes them, of course, more likely to be destroyed.

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.
jakey1995abc 2013 年 9 月 29 日 下午 5:40 
Is there a manual way to increase the number of zombies?
_________LuNandor 2013 年 9 月 29 日 下午 6:30 
I tried to find that but it seems like that's part of the engine settings rather than the basic file editing that we seem to be able to do right now. Correct me if I'm wrong, of course - after all, you could easily modify scripts in L4D to make those kinds of things happen.
pikmonwolf 2013 年 10 月 2 日 下午 5:35 
Is it possible to make bites give you black fever 100% so they are fatal, maybe make it a different mod.
_________LuNandor 2013 年 10 月 3 日 下午 5:44 
That sounds interesting but I think that your gameplay would probably end pretty quickly at 100% :)
pikmonwolf 2013 年 10 月 11 日 上午 2:13 
Your right. Although I did a playthrough where I rolled dice after I got bit and if they were the same I got infected. When you know you can't get bitten, you do a lot better avoiding it.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50

所有讨论 > 综合讨论 > 主题详情