说明#
X4 接口参考。类型只在明确说明的范围内得到确认。
返回值#
| 类型 | 含义 |
|---|---|
none (MD行动) |
类型描述了声明的界面,而不是证明成功的游戏效果. |
XML 属性#
libraries/common.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
exact |
expression |
没有 | 没有申报 |
list |
expression |
没有 | 没有申报 |
min |
expression |
没有 | 没有申报 |
max |
expression |
没有 | 没有申报 |
profile |
profilelookup |
没有 | 没有申报 |
scale |
inline:select@scale |
没有 | 没有申报 |
seed |
fixedrandomseed |
没有 | 没有申报 |
autoadvanceseed |
autoadvancerandomseed |
没有 | 没有申报 |
weight |
selectionweight |
没有 | 没有申报 |
comment |
comment |
没有 | 没有申报 |
libraries/common.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
faction |
factionexprlookup |
没有 | 没有申报 |
tags |
expression |
没有 | 没有申报 |
size |
shipsizeclasslookup |
没有 | 没有申报 |
required |
boolean |
没有 | 没有申报 |
comment |
comment |
没有 | 没有申报 |
libraries/common.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
faction |
factionexprlookup |
没有 | 没有申报 |
tags |
expression |
没有 | 没有申报 |
race |
raceexprlookup |
没有 | 没有申报 |
required |
boolean |
没有 | 没有申报 |
comment |
comment |
没有 | 没有申报 |
libraries/common.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
faction |
factionexprlookup |
没有 | 没有申报 |
race |
raceexprlookup |
没有 | 没有申报 |
tags |
expression |
没有 | 没有申报 |
ware |
expression |
没有 | 没有申报 |
required |
boolean |
没有 | 没有申报 |
comment |
comment |
没有 | 没有申报 |
libraries/drops.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
weight |
selectionweight |
没有 | 没有申报 |
libraries/drops.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
macro |
namestring |
没有 | 没有申报 |
min |
xs:nonNegativeInteger |
没有 | 没有申报 |
max |
xs:positiveInteger |
没有 | 没有申报 |
exact |
xs:positiveInteger |
没有 | 没有申报 |
weight |
selectionweight |
没有 | 没有申报 |
libraries/drops.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
timeline |
namestring |
没有 | 没有申报 |
audiolog |
namestring |
没有 | 没有申报 |
weight |
selectionweight |
没有 | 没有申报 |
libraries/effects.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|
libraries/effects.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
selection |
selectionlookup |
没有 | 没有申报 |
libraries/objectspawnrules.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
macro |
objectmacro |
没有 | 没有申报 |
drop |
drop |
没有 | 没有申报 |
weight |
xs:nonNegativeInteger |
没有 | 没有申报 |
cooldown |
xs:float |
没有 | 没有申报 |
libraries/regionobjectgroups.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
macro |
unknown |
没有 | 没有申报 |
weight |
unknown |
没有 | 没有申报 |
libraries/sound_library.xsd
| 属性 | 架构类型 | 要求 | 默认 / 固定 |
|---|---|---|---|
start |
unknown |
没有 | 没有申报 |
loop |
unknown |
没有 | 没有申报 |
end |
unknown |
没有 | 没有申报 |
startduration |
unknown |
没有 | 没有申报 |
loopduration |
unknown |
没有 | 没有申报 |
endduration |
unknown |
没有 | 没有申报 |
weight |
xs:integer |
没有 | 没有申报 |
index |
xs:integer |
没有 | 没有申报 |
MD 操作可以写入命名变量或改变游戏世界。这不是 Lua 返回值。输出变量取决于操作及其属性。
示例与上下文#
看到 语言基础, 类型和方法 和 Lua / MD事件. 其他独立学习的例子. 没有项目源文件或私人实施碎片被分配到此引用.