Difference between revisions of "Help:Item pages/zh"

From Space Engineers Wiki
Jump to: navigation, search
(添加或修改物件和方块)
Line 24: Line 24:
 
[[Mod:Vanilla]]
 
[[Mod:Vanilla]]
  
 +
其中计算模块的
 +
<code>
 +
|Mass= {{Calculate mass}}
 +
|Integrity= {{Calculate integrity}}
 +
|Volume= {{Calculate Volume}}
 +
</code>
 +
紧跟于 配方模块后
 +
<code>
 +
|CubeSize= Large
 +
|Size= 1,1,1
 +
|Component4= Mod:Vanilla/Component/InteriorPlate
 +
|Component4Amount= 20
 +
|Component3= Mod:Vanilla/Component/Construction
 +
|Component3Amount= 8
 +
|Component2= Mod:Vanilla/Component/InteriorPlate
 +
|Component2Amount= 5
 +
|Component1= Mod:Vanilla/Component/Construction
 +
|Component1Amount= 2
 +
|CriticalComponent= 1
 +
</code>
 +
样本为:
 +
<code>
 +
|CubeSize= Large
 +
|Size= 1,1,1
 +
|Component4= Mod:Vanilla/Component/InteriorPlate
 +
|Component4Amount= 20
 +
|Component3= Mod:Vanilla/Component/Construction
 +
|Component3Amount= 8
 +
|Component2= Mod:Vanilla/Component/InteriorPlate
 +
|Component2Amount= 5
 +
|Component1= Mod:Vanilla/Component/Construction
 +
|Component1Amount= 2
 +
|CriticalComponent= 1
 +
|Mass= {{Calculate mass}}
 +
|Integrity= {{Calculate integrity}}
 +
|Volume= {{Calculate Volume}}
 +
</code>
  
 
----
 
----
 
 
 
<!--
 
{{stuba|以下这是一个过期的内容,当前物数据不采用以下结构
 
Item pages are blocks, materials, ores, and components on the wiki. When creating a new item page, there is a template to be used so that it may be categorized. While each block varies, some basic rules must be followed in order to keep it organized.
 
 
==Creating an item page==
 
Item pages are created using the <nowiki>{{itembox}}</nowiki> template. More information on how to fill out the itembox is available on the [[Template:Itembox|Itembox template page]]. The itembox template will automatically categorize the page.
 
 
Sample page layout:
 
 
<pre>
 
 
{{itembox
 
| item = Light Armor Block
 
| description =
 
| tool = no
 
| largeship = yes
 
| smallship = yes
 
| component = no
 
| rawmaterial = no
 
 
| sbuildtime = 3
 
| sdeformationratio = 0.24
 
| sdisassembleratio = 2.5
 
| scomponentstructure = 1
 
| scomponent1 = Steel Plate
 
| scomponent1amt = 1
 
 
| lbuildtime = 8
 
| ldisassembleratio = 2.5
 
| lcomponentstructure = 2
 
| lcomponent1 = Steel Plate
 
| lcomponent1amt = 5
 
| lcomponent2 = Steel Plate
 
| lcomponent2amt = 20
 
}}
 
 
{{stub}}
 
<!-Item Description, details and facts->
 
Basic armor block for small and large ships.
 
</pre>
 
}}
 
 
-->
 

Revision as of 05:10, 9 August 2023


物件和方块图标要求

  1. 获得图标(见下方段落)。
  2. 需要合并背景:128x128,PNG格式
  3. 图标规格:128x128,PNG格式。
  4. 上传后在图标页标记上 {{Game Icon}}。

获得图标文件转换成PNG

图标源自游戏文件(比如图标目录:Content\Textures\GUI\Icons),规格一般是128x128,DDS格式
  • Texconv工具[1],可以批量转换DDS为PNG格式。
  • PaintDotNet工具[2],可以直接编辑DDS;
  • GIMP工具[3],通过插件也能支持DDS编辑。
  • 最后,编辑图标,并将背景和图标数据合并并导出为 png格式。

示例: File:Small Ship Icon.png


添加或修改物件和方块

当前物件和方块的添加基于名称空间 Mod:Vanilla/分类/物件数据页 , 先添加数据 再由物件指定说明 物件描述页面。 Mod:Vanilla

其中计算模块的 |Mass= 0 |Integrity= 0 |Volume= Expression error: Unexpected * operator. 紧跟于 配方模块后 |CubeSize= Large |Size= 1,1,1 |Component4= Mod:Vanilla/Component/InteriorPlate |Component4Amount= 20 |Component3= Mod:Vanilla/Component/Construction |Component3Amount= 8 |Component2= Mod:Vanilla/Component/InteriorPlate |Component2Amount= 5 |Component1= Mod:Vanilla/Component/Construction |Component1Amount= 2 |CriticalComponent= 1 样本为: |CubeSize= Large |Size= 1,1,1 |Component4= Mod:Vanilla/Component/InteriorPlate |Component4Amount= 20 |Component3= Mod:Vanilla/Component/Construction |Component3Amount= 8 |Component2= Mod:Vanilla/Component/InteriorPlate |Component2Amount= 5 |Component1= Mod:Vanilla/Component/Construction |Component1Amount= 2 |CriticalComponent= 1 |Mass= 0 |Integrity= 0 |Volume= Expression error: Unexpected * operator.


  1. 游戏目录Tools\TexturePacking\Tools中找,或
    Texconv GitHut项目
  2. PaintDotNet主页
  3. GIMP主页