版本 Diff 差异对比
条目:兵模 · 对比历史版本与当前版本间的真实 Wikitext 差异
+23 行新增-23 行移除
历史基准版本Rev #52001
(未填写修改说明)
自由之民2019-01-21 17:02:28
当前最新版本Rev #59386
文本替换 - 替换“[[Category:改派教程”为“[[Category:模组制作”
Pokewiz2019-09-11 08:03:22
Wikitext 语法逐行变动
当前版本新增历史版本移除
- {{version|长期有效}}{{需要翻译}}
- {{Hatnote|本页主要讨论单位模型的建模。}}
+ {{version|长期有效}}
+ {{Hatnote|本页主要讨论单位模型的建模。由于官方百科编写混乱,很多内容和3D模型修改是重复的。中文百科对此已经精简合并。}}
{{N|单位模型|Unit models}}或称{{N|精灵|sprites}}在游戏中表示军队或舰队。
正如 [[Paradox]] 其他的“大战略游戏”一样,欧陆风云4的模型很难进行修改。本指南将详细的介绍关于处理单位模型的技术,但不会包含艺术性指导和 Photoshop 技能。
== 背景知识 ==
在开始修改前,你需要知道精灵是在游戏中是如何工作的。
=== 陆军 ===
- 对于[[陆军|地面部队]]来说有四个 \"sprite_level\" 来表示一个国家在[[科技#军事科技|军事科技]]的先进程度。游戏还将选择占据一直军队主导地位的兵种来代表这支军队——步兵,骑兵或炮兵。
+ 对于[[陆军|地面部队]]来说有四个 "sprite_level" 来表示一个国家在[[科技#军事科技|军事科技]]的先进程度。游戏还将选择占据一支军队主导地位的兵种来代表这支军队——步兵,骑兵或炮兵。
[[File:UnitModelSpriteLevels.png|600px|The four sprite levels of England]]
下面的信息可以在 {{path|common/technologies/mil.txt}} 找到:
- {| class=\"wikitable\"
+ {| class="wikitable"
|-
! 兵模等级
! 军事科技
! 年代
! 描述
|-
| 1
| 0
| 1350
| 中世纪晚期的矛和盔甲
|-
| 2
| 12
| 1557
| 三十年战争的火枪手
|-
| 3
| 21
| 1674
| 七年战争的火枪手
|-
| 4
| 26
| 1745
| 拿破仑时代步兵
|-
| 5*
| 30
| 1805
| ''在欧陆风云4中不可用!''
|}
=== 海军 ===
对于 [[海军|海军舰队]],sprite_level表示主导 [[Naval units|船型]](从 [[Naval units#Heavy ships|重型船]]、[[Naval units#Light ships|轻型船]]、[[Naval units#Galleys|桨帆船]],或是 [[Naval units#transports|运输船]])的最高等级。不像地面单位,现存的海军单位不会按科技等级自动地升级。
=== DLC ===
[[Downloadable_content#装饰包|单位包DLC]] 有一些在游戏里最好看的单位(模型),所以在你的Mod中使用它们就能非常吸引人。不过你需要当心兼容性,因为不是每个人都有你用的DLC。
== 3D模型 ==
自从2015年早些时候,玩家创建自定义3D模型和动画,并且在之后把它们导入游戏,凭借 [[JoroDox mod making tool]] 而成为可能。
在那之前只能使用现有的来自基础游戏和DLC的模型,那些能通过文本、十六进数据和图像编辑器操控。
=== 模型的类型 ===
- 3D models are used by various types of visual representations in EU4, almost exclusively in the 3D map interface.
+ 在EU4中,3D模型被用于各种类型的视觉呈现,几乎全都在3D地图界面。
- * '''Unit models''' - The visual representation of armies and fleets. Also displayed in the post-combat dialog.
- * '''Unit part models''' - Unit models can be extended by placing other models in specific places in the base model. For example: weapons, shields and horse riders.
- * '''Province activity models''' - Indications of province activity, such as colony building or the construction of units and/or buildings.
- * '''Province building models''' - City representations are created by a multitude of small buildings, using more buildings for larger cities. Specific province buildings are also shown in the city, or at the harbor location of a sea province. The flag representing the province owner is also part of this type.
- * '''Map decoration models''' - Non-province bound decorative additions to the map, such as bears, seagulls and other animals. This also includes the borders around the 3D map.
- * '''Tree models''' - The models used to create tree / forest visuals. (at various [http://en.wikipedia.org/wiki/Level_of_detail LODs])
- * '''Trade network models''' - The node points of the trade network, and travelling ships/wagons are visualized by 3D models.
+ * '''单位模型'''(Unit models) - 军队和舰队的视觉呈现。也被显示在战斗结果(post-combat)对话框。
+ * '''单位部件模型'''(Unit part models) - 能通过放置其他模型在基础模型特定位置而被扩展的单位模型。例如:武器,盾牌和骑马者。
+ * '''省份活动模型'''(Province activity models) - 省份活动的象征,诸如殖民地建筑或者单位和/或建筑的建造。
+ * '''省份建筑模型'''(Province building models) - 城市的呈现是由大量的小建筑创建的,为更大的城市使用更多的建筑。特定的省份建筑也表示在城市中,或者在沿海省份的港口位置。旗帜呈现省份拥有者也是这个类型的一部分。
+ * '''地图装饰模型'''(Map decoration models) - 在地图上添加非省份限制的装饰,诸如熊、海鸥和其他动物。这个也包括三维地图周围的边界。
+ * '''树木模型'''(Tree models) - 用于创建树木/森林的视觉。(在各种 [http://en.wikipedia.org/wiki/Level_of_detail LOD]。)
+ * '''贸易网络模型'''(Trade network models) - 通过3D模型对贸易网络的节点,以及旅行的船只/货车进行可视化。
=== 着色器 ===
- There are a number of different shaders which can be used in the Paradox Mesh format (.mesh). Each will have a different visual effect on (part of) the 3D model. New shaders may be created by placing new shader code in the 'gfx/FX/pdxmesh.lua' file. 这需要 [http://en.wikipedia.org/wiki/Shader 顶点和像素着色器] 的专门知识。
+ 有一些不同的着色器能被用于 Paradox网格格式(Paradox Mesh format,.mesh)。每一个在3D模型(的一部分)上都会有不同的视觉效果。可以创建新的着色器,通过把新的着色器代码放进 'gfx/FX/pdxmesh.lua' 文件。这需要 [http://en.wikipedia.org/wiki/Shader 顶点和像素着色器] 的专门知识。
- {| class=\"wikitable\"
+ {| class="wikitable"
|-
! 着色器名称 !! 描述
|-
- | PdxMeshStandard|| Standard mesh. Diffuse RGB, normal map and specular (\"shininess\") values from specular map alpha channel.
+ | PdxMeshStandard|| 标准网格。漫反射RGB,法线贴图和来自高光贴图Alpha通道的高光(“发亮”)值。
|-
- | PdxMeshColor|| Specular map's RGB channels represent Primary, Secondary and Tertiary colours of a nation. The most common shader used for units.
+ | PdxMeshColor|| 高光贴图的RGB通道表现的一个国家的首要、次要和第三颜色。大部分单位使用的公共着色器。
|-
- | PdxMeshTextureAtlas|| Shader which prints the flag of the nation on the unit (flag UV range 0.05-0.95). A second UV map can be added to merge a texture into the flag.
+ | PdxMeshTextureAtlas|| 在单位上印国旗(旗帜UV范围 0.05-0.95)的着色器。能添加第二张UV贴图,把一个材质混合进入旗帜。
|-
- | PdxMeshSnow|| Adds snow to top-facing surfaces in winter.
+ | PdxMeshSnow|| 在冬季添加雪到顶层表面。
|-
- | PdxMeshAlphaBlend|| Transparency from diffuse map alpha channel.
+ | PdxMeshAlphaBlend|| 来自漫反射贴图Alpha通道的透明度。
|-
- | PdxMeshAlphaBlendNoZWrite|| Transparency from diffuse map alpha channel. More expensive but less glitchy
+ | PdxMeshAlphaBlendNoZWrite|| 来自漫反射贴图Alpha通道的透明度。更多的性能开销但是更少的小故障。
|-
- | PdxMesh_NoFoW_NoTI|| Never hidden by [[Map#Fog of War|Fog of war]] or [[Map#Terra Incognita|Terra Incognita]]
+ | PdxMesh_NoFoW_NoTI|| 永远不会被 [[地图#战争迷雾|战争迷雾]](Fog of War)或者 [[地图#未知之地|未知之地]](Terra Incognita)隐藏。
|-
- | Collision|| Does not render the mesh, instead represents the \"clickable\" area.
+ | Collision|| 不渲染网格,而是表示“可点击”区域。
|}
{{Modding navbox}}
- [[Category:改派教程]]
+ [[Category:模组制作]]
[[en:Unit models]]
