维多利亚3开发日志#28 | 12/16 旗帜

牧游社 牧有汉化翻译
Victoria 3 - Dev Diary #28 – Flags
Ofaloaf, Content designer
Hi folks, welcome to another dev diary, and get hyped for what I know you're longing for: flags. I'm Ofaloaf, one of the designers on the game, and somehow they let me write a dev diary. Let's go!
大家吼啊,欢迎来到另一篇开发日志,高兴吧,这次是你们一直想要的:旗帜Flags。我是 Ofaloaf,一名游戏设计师。不知为何他们让我写这期开发日志。走起!
Let's start at the beginning. What is a flag?
让我们从头开始。什么是旗帜?

A flag is a thing of beauty.
旗帜是一种美。(图示为密歇根州州旗)
A flag is a decorative design on a bit of fabric, often used to communicate something, such as a message or identity, to the viewer. In Victoria 3, all flags are flags associated with countries. They're neat designs that serve as visual shorthand for a state, and they just look pretty too, most of the time.
旗帜是一块纺织物上的装饰性设计,通常用于向观者表示某些东西,比如传递消息或表明身份。在维多利亚3中,所有的旗帜都和国家联系在一起。它们作为国家的视觉标志有着简洁的设计,而且看起来很漂亮,至少大多数时候是这样。

In the Victorian era, what counts as the flag of a country was a bit… vague, depending on who you were asking. Some countries, like the United States and France, very clearly had a single flag that served as the national flag that everybody knew them by, but others weren't so clear.
在维多利亚时代,哪面旗帜能代表国家是有点……模糊的,这取决于你问谁。一些国家,比如美国和法国,非常清楚地有一面国旗,大家都认识。但其他国家的旗帜并不这么清楚。
Look - here's some period examples of what people considered Russia's flag to be:
看,这是当时人们认为的俄罗斯旗帜的一些例子:

Selection from 'The maritime flags of all nations', 1832, as seen on Wikimedia Commons
节选自“所有国家的航海旗”,1832年,来自维基共享资源。

Selection from 'Pavillons et cocardes des principales puissances du globe d'apres des documens officials', 1850, as seen in the David Rumsey Map Collection.
节选自“世界主要大国的旗帜和徽章,依据官方文件”,1850年,来自大卫拉姆齐地图集。
First thing that's noticeable is that it's not just one flag. The tricolor that is used as the Russian Federation's flag now was just one of several in use in the 19th century up through to the 1850s, as a merchant flag or civil ensign used to identify civilian ships in foreign ports. The Romanov dynasty's emblem is also used as a Russian flag, and then there's two naval jacks - the flags with the blue saltires or diagonal crosses stretching across them- which are also widely recognized. Eventually, the Russian government started trying to consolidate everything and issued a decree on June 23rd, 1858, proclaiming a single "state flag", a black-gold-white tricolor. In 1883, the white-blue-red "merchant" flag was officially accepted as a national flag to be used on special occasions, and in 1896 it wholly replaced the black-gold-white tricolor as Russia's state flag.
值得注意的第一件事就是,并非只有一面旗。现代俄罗斯联邦国旗的三色旗只是19世纪初到50年代使用的几种旗帜之一,用作商船旗或民用旗,以便在外国港口识别本国船只。罗曼诺夫王朝的纹章也被用作俄罗斯国旗。舰艏旗则有两种——蓝色圣安德鲁旗或斜十字正十字交叉。最终俄国政府想统合这一切,并于1858年6月23日颁布法令,宣布了独一的国旗,一面黑金白的三色旗。1883年,白蓝红的商船旗也在特殊场合被正式接受为国旗,并在1896年作为国旗完全取代了黑金白的三色旗。
Man, ain't that a doozy of flags to pick from! How are we supposed to pick which one to use in Victoria 3? Well, good news there - we can use more than one flag! We got dynamic flags triggered by script!
老兄,候选的旗帜有一大堆!我们要怎么决定在维多利亚3里选哪一个?好消息,我们可以用不止一面旗帜!我们有脚本触发的动态旗帜!

Any trigger which is valid for a country, like checking if a specific state is owned by the player or if a war is happening, can be used to trigger a different flag in the game. We've used that to spice up flag varieties in different situations - for example, a united Scandinavian monarchy has a different flag depending on whether the Danes are in charge or not:
任何对国家有效的触发器,比如检查某个地区是否被玩家控制,或者战争是否正在发生,都能在游戏中触发不同的旗帜。我们用这个机制来为不同情况下的旗帜增添趣味:比如,一个统一的斯堪的纳维亚君主国会依据是否由丹麦人掌权而有所不同。

Spicy! And that's on top of just using the usual checks like governments, the number of states in a country, and so forth - right, yes, you probably want to see the stars in the American flag, don't you? I know I do. They do change based on the number of states in the Union.
真香!而且除此之外还有通常的检查,比如政体、国家里地区的数目等等。对,是的,你想看美国国旗上的星星吧?我知道我想。它们确实会根据联邦里州的数目变化。

I can taste the freedom.
我可以尝到自由的味道。
There's even some unique flags for when one country becomes the puppet of another. In some cases, a generic "oh no I am a puppet now" design is used for the puppeted country's flag with the "master" country's flag inserted as a canton in the upper-left corner of the puppeted country's flag, while in other cases a wholly unique flag is made for a particular combination of puppeteer and puppet.
当一个国家成为另一个国家的傀儡时,甚至还有一些独特的旗帜。某些情况下,傀儡国会有一个“哦不,我现在是傀儡”的通用国旗设计,即在傀儡国国旗的左上角插入宗主国国旗。而另外一些情况下,我们为一些特定的宗主国-傀儡国的组合制作了独有的旗帜。

There's also a sort of fallback system, to provide flags for every polity even if we can't really settle on one particular design, or if they're feisty dynamic rebels, or what-have-you. Flags can be randomly generated, with particular triggers set so some flag elements only appear if a tag is of a particular culture, religion, or ideology, among other things.
即使我们不能真正确定某个特定的设计,又或者他们是活跃的动态叛军,或者随便什么,游戏中也有一些兜底系统来为每一种政体提供旗帜。旗帜可以随机生成,并且有特定触发器确保某些旗帜元素只在有特定的文化、宗教、意识形态等的国家出现。

And, for the modders out there, it shouldn't be difficult for you folks to put together more flags if you want (and of course you want to make more flags, right?) - we use a system similar to the one Crusader King 3 uses for its coats of arms. France's default flag is a simple example of how the system works:
对于模组制作组来说,如果愿意的话,你们把更多的旗帜放进来应该不难(并且你们当然会做更多的旗帜对吧?)。我们用的系统类似十字军之王3的纹章。这是一个法国默认旗帜的简单例子,用于展示这个系统如何工作:
Code:
FRA = {
pattern = "pattern_solid.tga"
color1 = "blue"
colored_emblem = {
texture = "ce_tricolor_vertical.dds"
color1 = "white"
color2 = "red"
}
}
All that's going on there is that a plain blue field is set as the background, and then a single graphical element with the central third and right third of the tricolor as colorable sections is slapped on top, with white and red respectively added in there to make a nice and tidy blue-white-red tricolore. Magnifique!
这里只是把蓝色当作背景,然后把一个三等分、中间和右边可着色的部件拍上,之后把白色和红色相应涂好,漂亮整洁的蓝白红三色就做好了!真棒!
And to plug that bad boy into the game, all you need is a little scripting in another file that goes a little something like this:
要把这坏东西放到游戏里面,你需要做的只是像这样在另外一个文件里多写点东西:
Code:
FRA = { # France
flag_definition = {
coa = FRA
subject_canton = FRA
allow_overlord_canton = yes
coa_with_overlord_canton = FRA_subject
priority = 1
}
flag_definition = {
coa = FRA
subject_canton = FRA
allow_overlord_canton = yes
overlord_canton_scale = { 0.337 0.337 }
priority = 10
trigger = {
coa_def_republic_flag_trigger = yes
}
}
[And so forth. Find more flags by playing the game!]
}
You can create as many flag definitions as you like, and you can plug the same flag design into multiple definitions or make a unique one for every definition if you want to go insane scripting it all up. Triggers are straightforward to plug in (and you can script generic triggers if you don't want to write the same combination of checks over and over again). If you want to mod flags, there's a delightful amount of flexibility with this system.
你想创建多少旗帜定义就能创建多少。你可以把相同的旗帜用于不同的定义中,或者如果你想把脚本写疯一点,也可以让所有的旗帜定义都有不同的设计。触发器很容易插入(而且如果你不想一遍又一遍地编写相同的检查组合,可以编写通用触发器的脚本)。如果你想修改旗帜,这个系统有非常大的灵活性。
So there you have it! We got flags. We got lots of flags! We got randomized combinations of flags that go on for days! You could script more flags if you really want to poke at the game's innards! Flags.
现在你懂了!我们有旗帜。我们有一大堆旗帜!我们有持续数天的随机组合的旗帜!如果真的想深入了解游戏的内部结构,你能通过脚本创建更多旗帜!旗帜。
Now, as we march towards the Holiday season, the dev diaries are taking a bit of a break. We will be back in January with a brand new topic in our first dev diary for 2022. Happy Holidays and a Happy New Year!
现在,当我们走向圣诞季,开发日志要停一段时间了。我们会在一月的2022年第一篇开发日志中带着全新的话题回来。节日快乐!新年快乐!
翻译:Yakuky
校对:三等文官猹中堂
欢迎关注UP主和主播小牧Phenix!
欢迎关注牧游社微信公众号和知乎专栏!微信公众号改版为信息流,欢迎【置顶订阅】不迷路,即时获得推送消息!
B站在关注分组中设置为【特别关注】,将会在私信内及时收到视频和专栏投稿的推送!
欢迎加入牧有汉化,致力于为玩家社群提供优质内容!组员急切募集中!测试群组822400145!