Stonehearth/ZH

From Stonehearth Wiki
Jump to: navigation, search

石炉中文首页

注意:该页文本起初取材自stonehearth.net/stonehearth/,而读者需谨记现版本已经由社区其他成员编辑,而非游戏开发者本人

Stonehearth.jpg

石炉是一个画面精良,设定丰富的关于建筑与战斗的游戏,集合部分沙盒游戏,即时战略游戏和角色扮演游戏多种要素于一身。

石炉由Radiant Entertainment发行。

游戏中,玩家要带领一队移民靠自己的劳动生存下去,在入侵者的威胁下收集资源并建造防御工事。在市民成长的过程中,玩家需建立起坚固的军队,准备面临更大的挑战。

石炉中模拟与城市建筑要素的灵感来自于矮人要塞和我的世界。其他灵感来源还有我们从小就喜欢的:即时战略游戏魔兽、最终幻想战略版和那些用纸和笔就能玩起来的角色扮演游戏。

把这些东西糅合到一起,就有了:

  • 由三维像素随机生成,可破坏的世界
  • 可建造或大或小的建筑物,从城市到一个小茶杯
  • 可探索和体验富有角色扮演风格的游戏内容
  • 无论战士还是平民都有丰富的职业选择
  • 即时战略风格的战斗系统,强调宏观策略的选择,不过分着重于个体的战斗

我们对于该游戏体裁的看法[edit | edit source]

那么,我们为何要制作这款游戏呢?

通过石炉,我们想重现小时候玩龙与地下城和其他超市里买来的游戏时的那种魔幻般的感觉,我们还要自己写游戏,然后在坐标纸上把它呈现出来。我们想要让玩家不仅能在玩游戏的时候发挥想象力,还能运用自己的想象力反过来来决定游戏的类型与内容。我们想传递这样一种感觉:

  • 一个与玩家的玩法息息相关的活生生的世界
  • 一个回报提供意见的玩家以丰富体验的综合性游戏系统
  • 一款对模组有极好兼容性的游戏

一个与玩家的玩法息息相关的活生生的世界[edit | edit source]

我们知道这类的游戏会有很多种玩法。有些玩家喜欢建造不可思议的城市,里面的市民衣食无忧、安居乐业。也有玩家专注于训练强大的部队来探索和征服大片土地,还有许多玩家会摆弄游戏世界里的一些模拟物件。无论如何,请务必按照自己的方式来玩这个游戏,因为它本来就是玩家选择的产物。

每个初始游戏世界都是随机生成的,不过AI“副本大师(dungeon master)”会根据观察玩家的行为动向对游戏内容作出小幅调整。这种调整十分自然而且从故事发展角度来看很合乎情理。例如,如果一个玩家与地方上的小规模哥布林入侵者接触时表现地很有攻击性,那么该玩家可能会发现自己似乎与哥布林国家打起了持久战。这就是所谓的暴力招致暴力。

所以即使两个玩家以同样的游戏地图开局,只要玩法不同,就会在玩的过程中得到不同的游戏体验。以下是我们喜欢这种方式的几点原因。

  • 一切行动都会产生相应的后果!你确定要抢劫那仅仅是来友好访问你村庄的旅行队吗?这或许会对你今后的发展道路产生间接的恶劣影响
  • 想怎么玩就怎么玩!让游戏尽量去适应玩家的玩法。不过当然也是有限度的,玩家不能因为不喜欢战斗就无视防御;同样好战的玩家也不能忘记市民们最基本的经济与住所的需求

一个回报提供意见的玩家以丰富体验的综合性游戏系统[edit | edit source]

We’re engineers at heart, so we geek out at complex systems. We design our major gameplay systems like farming, building, and combat according to the “easy to learn, difficult to master” principle.

Take farming as an example. The yield of a particular farm is determined by factors including the quality of the soil, the amount of water nearby, the crop planted, and exposure to varmints looking to devour the crops. If you are really into this kind of stuff, congratulations! There is ample opportunity to greatly optimize the output of your farms through irrigation, fertilization, and varmint-countermeasures like traps and fences.

But if you’re not into this stuff, you can just drag out a farm and accept the base, minimal yield that all farms produce, regardless of how they are managed. Of course this will constrain your food supply and you will have to make up the difference somehow, either by producing food through another means (trapping, trading, or plundering), or just settling for a smaller number of citizens in your town.

技术方面[edit | edit source]

Stonehearth is written in C++ and Lua. C++ is used to make the game run better. Lua is used for scripts to edit game properties.

高模组亲和性 分享即关注[edit | edit source]

We think mods are awesome, especially for sandbox-type games. So we’re building everything: UI, unit AI, scripted scenarios (everything!) with modding in mind. Here are just some of the things you should be able to do in a mod:

  • Reskin the UI or add new UI screens
  • Add new units, monsters, weapons, armor, and other objects
  • Add new scripted adventures, big and small
  • Tweak or totally rewrite the AI for monsters or units
  • Add new textures and graphics to the game
  • Make the sun rise in the west and set in the east (seriously!)

Of course most of the fun in mods is sharing them. Our goal is to have a vibrant community of modders who are continually expanding the things to do and experience in the game.

Mod APIs[edit | edit source]

As a modder, you will have access to the same APIs we’re using to write the game. We are literally writing the game as a collection of first-party mods. So, with very few exceptions, if the game does it, you can mod it!



Game Play[edit | edit source]

Controls[edit | edit source]

The main user interface as of Alpha 21. Also pictured: Debug Tools, top right-hand corner

These keyboard shortcuts are for Stonehearth Alpha 21 and may change in future updates.

With the Latest Update to Alpha 21, users can now rebind their hotkeys! Instructions and example on how to rebind keys from a text editor are located at the bottom of this page.

Menu Controls[edit | edit source]

Command Function Description
C Shortcut Menu > Manage Citizen
I Shortcut Menu > Town Info
H Shortcut Menu > Harvest > Gather
M Shortcut Menu > Harvest > Mine Tunnel
N Shortcut Menu > Harvest > Mine Block
Z Shortcut Menu > Designate Zones
O Shortcut Menu > Designate Zones > Stockpile
F Shortcut Menu > Designate Zones > Farm
T Shortcut Menu > Designate Zones > Trapping Ground
shift+P Shortcut Menu > Designate Zones > Animal Pasture
B Shortcut Menu > Build & Design > Place Building
shift+B Shortcut Menu > Build & Design > Design Custom Building
P Shortcut Menu > Build & Design > Place Item
L Shortcut Menu > Build & Design > Construct Ladder
R Shortcut Menu > Fight & Defend > Town Defense Mode
7 Shortcut Menu > Fight & Defend > Combat Party 1
8 Shortcut Menu > Fight & Defend > Combat Party 2
9 Shortcut Menu > Fight & Defend > Combat Party 3
0 Shortcut Menu > Fight & Defend > Combat Party 4
shift+L Shortcut Menu > Harvest > Loot
\ Shortcut Toggle Slice Mode
[ Shortcut Move Slice Mode down
] Shortcut Move Slice Mode up
V Shortcut Toggle Building Vision Mode
X Shortcut Toggle X-Ray Mode
ESC Shortcut Game Menu
Shift+1 Shortcut Bulletin Manager
Alt+z Shortcut Toggles UI on/off

Info Dock Controls[edit | edit source]

These are contextual hotkeys. They activate a button on the Info Dock only if that button exists at the time. The number pressed is the same as the ordering of the buttons from left to right.

Command Function Description
shift+1 Shortcut First Button
shift+2 Shortcut Second Button
shift+3 Shortcut Third Button

Speed Controls[edit | edit source]

Command Function Description
1 Shortcut Speed: Pause
2 Shortcut Speed: Play
3 Shortcut Speed: Fast Forward
4 Shortcut Speed: Super Fast Forward

WARNING: Before you can use Super Speed, you must enable it in your settings, under the gameplay tab. This may or may not majorly impact your game's performance.

Camera Controls[edit | edit source]

Command Function Description
W/A/S/D or Arrow Keys Shortcut Camera Move UP/LEFT/DOWN/RIGHT
Space + Mouse Drag Shortcut Camera Drag
- or Mouse Scroll DOWN Shortcut Camera Zoom OUT
= or Mouse Scroll UP Shortcut Camera Zoom IN
Mouse Right-Click + Mouse Drag Shortcut Camera Rotate
Q or Shift+Left Shortcut Camera Rotate LEFT
E or Shift+Right Shortcut Camera Rotate RIGHT
Shift+S Shortcut Camera Rotate Down
Shift+W Shortcut Camera Rotate Up
J Shortcut Follow Hearthling

Item Controls[edit | edit source]

Command Function Description
, Shortcut Item Rotate LEFT
. Shortcut Item Rotate RIGHT

Debug Controls[edit | edit source]

Command Function Description
Left CTRL Debug Overlays Graphics Statistics
Right CTRL Debug Show Wireframe View
F1 Debug Shows Terrain Chunks
F5 Debug Reload the UI
shift + F5 Debug Quick Save followed by Quick Load (resets the AI)
F6 Debug Quick Save
F7 Debug Quick Load
F9 Debug Shows Path Finding Engine
F10 Debug Rendering memory usage
F11 Debug Shows Interference/Collision

To enable Debug controls, edit the file user_settings.json in the main stonehearth program folder to include the following:

  • "enable_debug_keys" : true
  • ensure you put a comma after each entry except for last one

Rebinding Keys in a Text Editor[edit | edit source]

Step 1: Navigate to C:\Program Files (x86)\Steam\steamapps\common\Stonehearth, (Or wherever StoneHearth is located on your computer) and open up "User_settings.json", and "stonehearth.json". Using what is in stonehearth.json as a reference, add a section to user-settings called "user_bindings", and add what shortcuts you wish to change. Then, simply change "combo1". Viola! You've re-binded your keys.

Example code in stonehearth.json

"bindings": {
      "citizen:manager": {
         "combo1": "c", 
         "combo2": ""
      }, 
      "vision:xray:toggle": {
         "combo1": "x", 
         "combo2": ""
      }, 
      "vision:slice:toggle": {
         "combo1": "\\", 
         "combo2": ""
      }, 
      "town:overview": {
         "combo1": "i", 
         "combo2": ""
      },
(more keybindings)
...

Example code in User_settings.json

{
	"user_id" : "cfb2e056-0a85-11e7-a3a9-f8cab8643ca9",
	"user_bindings" : {
      		"citizen:manager": {
        		 "combo1": "c", 
        		 "combo2": ""
      		}, 
      		"vision:xray:toggle": {
        		 "combo1": "x", 
        		 "combo2": ""
      		}, 
      		"vision:slice:toggle": {
         		"combo1": "\\", 
         		"combo2": ""
      		}, 
      		"town:overview": {
         		"combo1": "i", 
         		"combo2": ""
      		}
	},
	"enable_auto_save" : false,
(more user settings)
...