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

From Space Engineers Wiki
Jump to: navigation, search
(Created page with "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 blo...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
+
==物件和方块图标制作方法:==
 +
#获得图标素材
 +
#:首先找到物件游戏内图标素材;
 +
#:图标素材通常在 Content\Textures\GUI\Icons 及其子目录内,
 +
#:图标文件扩展名一般为 *.dds(DDS格式编码图片文件),规格为 128x128像素。
 +
#将图标素材为前景合并此背景''':[[File:Icon_Template.png|128px|none|thumb|bottom|link=Media:Icon_Template.png|128x128,PNG格式]]
 +
#最终图标要求:PNG格式,单图层,大小128x128像素
 +
#上传图标,并在图标页标记上<nowiki>{{Game Icon}}</nowiki>。
 +
:示范图标:[[File:Small Ship Icon.png]]
  
==Creating an item page==
+
----
 +
:制作图标可以尝试用下面的工具:
 +
:{|
 +
|Texconv
 +
|style="padding:0 0 0 13px"|[https://github.com/Microsoft/DirectXTex/wiki/Texconv https://github.com/Microsoft/DirectXTex/wiki/Texconv]
 +
|style="padding:0 0 0 13px"|DDS转PNG的控制台命令行工具;最新版本的支持子目录结构克隆转换DDS为PNG格式;但官方游戏目录 Tools\TexturePacking\Tools 内也自带了旧版本的Texconv
 +
|-
 +
|PaintDotNet
 +
|style="padding:0 0 0 13px"|[https://www.getpaint.net https://www.getpaint.net]
 +
|style="padding:0 0 0 13px"|可以直接编辑大部分DDS编码格式的简单图片编辑器(win10)
 +
|-
 +
|GIMP
 +
|style="padding:0 0 0 13px"|[http://registry.gimp.org http://registry.gimp.org]
 +
|style="padding:0 0 0 13px"|免费大型图片效果编辑器,但不原生支持DDS多数编码,通过插件可支持DDS部分编码(GNU)
 +
|}
  
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:
+
==添加或修改物件和方块==
 
+
当前物件和方块的添加基于名称空间 Mod:Vanilla/分类/物件数据页 , 先添加数据 再由物件指定说明 物件描述页面。
<pre>
+
:[[Mod:Vanilla]]
 
 
{{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>
 
 
 
==Uploading the Icon==
 
关于
 
The icon must be 128x128 and in .PNG format, click the broken image link and upload the icon. The best method is to use the raw icon files located in your space engineers installation directory.
 
From your steam folder Steam\steamapps\common\SpaceEngineers\Content\Textures\GUI\Icons. These files are in .dds format. One option is to use [http://www.gimp.org/ GIMP] and download the .dds extension for gimp [http://registry.gimp.org/node/70].
 
Download the base file here for item icon backgrounds and paste the icon on top of it. You can get the .png file here: [[Media:Icon Template.png]] (if your browser does not recognize this as a downloadable file, right click and select "save target as" and make sure you edit the extension back to .png). After you copy the icon into the template, export it as a .PNG file. Edit the description of the file and use the <nowiki>{{Game Icon}}</nowiki> template.
 
 
 
Example: [[:File:Small Ship Icon.png]]
 
 
 
[[Category:Help]][[Category:Wiki Guides]]
 

Latest revision as of 09:29, 12 August 2023

物件和方块图标制作方法:

  1. 获得图标素材
    首先找到物件游戏内图标素材;
    图标素材通常在 Content\Textures\GUI\Icons 及其子目录内,
    图标文件扩展名一般为 *.dds(DDS格式编码图片文件),规格为 128x128像素。
  2. 将图标素材为前景合并此背景
    128x128,PNG格式
  3. 最终图标要求:PNG格式,单图层,大小128x128像素
  4. 上传图标,并在图标页标记上{{Game Icon}}。
示范图标:Small Ship Icon.png

制作图标可以尝试用下面的工具:
Texconv https://github.com/Microsoft/DirectXTex/wiki/Texconv DDS转PNG的控制台命令行工具;最新版本的支持子目录结构克隆转换DDS为PNG格式;但官方游戏目录 Tools\TexturePacking\Tools 内也自带了旧版本的Texconv
PaintDotNet https://www.getpaint.net 可以直接编辑大部分DDS编码格式的简单图片编辑器(win10)
GIMP http://registry.gimp.org 免费大型图片效果编辑器,但不原生支持DDS多数编码,通过插件可支持DDS部分编码(GNU)


添加或修改物件和方块

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

Mod:Vanilla