Friday Facts #265 - Nomenclature & Steam networking
Author: Klonan,
published 6 years ago,
[h1]Factorio Nomenclature[/h1]
Today I want to discuss some common problems that we see in video games.
[b]Inconsistent Terminology[/b]
When I asked out loud "So what is an Intermediate Product anyway?", I got a similar reaction as when someone mentions The [url=http://www.roguebasin.com/index.php?title=Berlin_Interpretation]Berlin Interpretation[/url] at a rougelike convention. So what is an Intermediate Product? Well it is a product that is used only as an ingredient for something else. No, that's not right because Science Packs are not used in any recipe. So what then, Intermediate products are just things that you can use Productivity Modules on? Perhaps they are simply items that can be found in the Intermediate Crafting menu. Then are they not Intermediate Recipes?
To give another example, answer these questions:[list][*]Name the action a player performs when they add an entity to the world?[*]Name the action a player performs when they remove an entity from the world?[*]Name the action a player performs when they add a ghost entity to the world?[*]Name the action a robot performs when they add an entity to the world?[*]Name the action a robot performs when they remove an entity from the world?[/list]
Here are a few situations where the game displays your possible answers:
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/4019feb38111b60f1d0e634658e10e0368e7c235.png[/img]
A player [i]builds[/i].
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/29c61171a5a51bed7bfa2dda82d1f320fc7f192a.png[/img]
A player [i]mines[/i] entities.
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/252e47006b6c2b43f858a47b34cfba824e0bec17.png[/img]
Robots [i]repair[/i] and [i]build[/i] entities, but wait… the player [i]places[/i] buildings and [i]builds[/i] ghosts?
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/7f2128a71c5cf6e1a0fd167d0197946a12839101.png[/img]
But here Robots are [i]constructing[/i] machines.
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/da86d8cfd35fd4800b406d2adde35a221984d2fd.png[/img]
Here the robots are [i]deconstructing[/i] items!
This leads into a discussion about what is an item and what are entities, and that discussion leads us into the next point...
[b]Internal nomenclature leaking out[/b]
During game development it is very common to use internal names to refer to mechanics, items, or characters. It does not feel like such a big deal, and many early access games simply ignore the problem completely. I'm not going to point any fingers, but if you look you will find some examples. Oh wait, here is some from your favourite early access game!
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/833d3d353a36d08bbe3b35d96fe95b92ad1d8ef2.png[/img]
Internally, things that exist on a surface in the game are called [i]entities[/i].
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/12002589/e298c47f03c56a08a57a86b8c555b9c3ba169443.png[/img]
All these items are capsules internally, but only 5 of them are actually labelled as capsules.
Really, these should be categorised by how players use them, and indeed there is an attempt to do so. Remotes are items used to trigger an effect, Grenades are things you throw... but why is the Poison Capsule not called a gas grenade?
There are more inconsistencies but to keep this article reasonably not-short, I will let you find the others yourself (and to save something for a future FFF about Tooltips).
[b]Why change?[/b]
You might be thinking that this is not a big problem. Some others might be thinking that the problem is too pervasive to bother changing. There are a few reasons why it is important, the first, and most important of which is our quality mindset; everyone on the team here wants the game to be as great as possible.
Next we should see this increase the quality of the translations. A translation is only as good as its source, and having a consistent usage of words can go a long way to helping the translators do better work. The effect of this can be increased by providing a dictionary of important words to the translators so they can be sure to always use the same term in all places.
Since we are also working on a guided experience (Campaign), this would also help us give much clearer instructions to the player. An example of confusion here would be if one quest said "Place a chest" and another said "Place the item in the chest". The player needs to read the entire quest caption (probably twice), and can never build up a mental map of our language. This leads to the player spending more mental energy (cognitive load) while playing the game. Changing this to "Build a chest" and being consistent, allows the player to create mental shortcuts, meaning the quest tasks require less effort to understand.
Finally, consistency in terminology will help new players, and I don't just mean sub-1 hour playtime players. Factorio is a 'Big Game' and players are encountering new items, entities, concepts, and text for a long time. How many hours did you play before you discovered [url=https://www.reddit.com/r/factorio/comments/90y0o3/til_right_clicking_an_assembler_and_left_clicking/]this helpful trick[/url], or [url=https://www.reddit.com/r/factorio/comments/9ht0op/til_you_can_use_num_and_num_to_place_more_or_less/]this one[/url]?
[b]How to change?[/b]
We could make the vocabulary consistent with what the current player base uses. This option sounds pretty good until I started asking people questions similar to those I asked you at the beginning of the article. Here are another two as a refresher:
[list][*]Where do biters come from?[*]I come in 7 colors, what am I?[/list]
The only wrong answer is if you said there was only a single right answer.
Prepare your rotten tomatoes, Ben is about to say something unpopular. The influx of players that are to be expected from 1.0 give us an interesting option. We could theoretically change the vocabulary of the game to be more consistent, reasonable, and generally more helpful to players. Then, as new players join the community, this new language will slowly replace the old.
This would help ease communication between all players; veterans and new addicts alike. Consistency will also help polish the experience to the level that players expect from the game.
[b]Who should change it?[/b]
Before Rseding jumps in with some awesome news, I would ask you to have your say in this [url=https://docs.google.com/forms/d/e/1FAIpQLSd__YRCGPEBH5lKUt5MBpue21gtVfA4LDxuWGjUUA3MEYvHZg/viewform]Google form[/url]. It will be fun to see what you come up with, and I will publish the results in a few weeks.
[h1]Steam Networking[/h1]
As many of you might know if you've tried hosting a stand-alone multiplayer game (Factorio or otherwise) from a home internet connection, it's not a very reliable experience. This can be due to multiple different things (bad home routers, company/school firewalls and so on).
I arrived in Prague earlier this week and was given the task of improving that experience through Steam Networking support. The way Steam Networking works is: when you start a multiplayer game, the game can tell Steam that you want to accept connections from other Steam users. The benefit of doing this is if someone can connect to Steam, they can connect to you. Even if your local connection isn't setup to let the multiplayer game work, Steam can route the network data through it's existing connection and get the packets where they need to go.
After a few days of working on it and testing it seems to be working and working reliably. You can just click "start multiplayer game", and anyone on your friends list can click join. You can mix non-steam and steam players on the same server and it "just works". As a bonus while working on this I discovered some issues with the non-steam networking logic that should improve the "Could not establish network communication with server" error that keeps coming up.
As always, let us know what you think on our [url=https://forums.factorio.com/63028]forum[/url].