mod参数:修订间差异

来自RustedWarfare Wiki
添加的内容 删除的内容
(好烦啊这个,要啰嗦一大堆)
标签移动版编辑 移动版网页编辑 高级移动版编辑
(阿巴)
第1行: 第1行:
== .ini参数 ==
== .ini参数 ==
<nowiki><b>此页暂时用于放一些给编辑看的半成品</b></nowiki>


以下内容抄自铁锈的.dex文件,并依编者经验写下说明(行头带#的),内容不全,仅供参考。
以下内容抄自铁锈的.dex文件,并依编者经验写下说明(行头带#的),内容不全,仅供参考。
<pre style="white-space:pre;overflow:auto;">
<pre style="white-space:pre;overflow:auto;">

2022年11月14日 (一) 14:28的版本

.ini参数

<b>此页暂时用于放一些给编辑看的半成品</b>


以下内容抄自铁锈的.dex文件,并依编者经验写下说明(行头带#的),内容不全,仅供参考。

#逗号分隔的依次是代码所在的节,代码本身(键名称),代码的值类型
#core节的copyFrom的值类型是string(字符串)
#当然这里实际要填要复制文件的完整路径
#像这个写到ini里就是
#[core]
#copyFrom: ROOT:common/ship_large.ini
"core", "copyFrom", (String) null
"copyFrom can only be 10 levels deep, maybe you have a loop?"
ROOT:
CORE:
./
../

"@copyFromSection", (String) null
"@copyFromSection can only be 10 levels deep, maybe you have a loop?"

("core", "dont_load", Boolean.FALSE).booleanValue()

("core", "strictLevel", (Integer) 0).intValue()

("core", "logIfCreditResourceUsed", Boolean.FALSE).booleanValue()

("core", "class", "CustomUnitMetadata")

@copyFrom_skipThisSection

("core", "overrideResourceLoadPath", (String) null)

"core", "name"

"core", "altNames", (String) null

"core", "tags", (String) null

"core", "overrideAndReplace", (String) null

"core", "defineUnitMemory", (String) null

"core", "@memory "

"core", "onNewMapSpawn"

("core", "globalScale", Float.valueOf(1.0f)).floatValue()

"core", "displayLocaleKey", (String) null
"core", "displayText"
"core", "displayDescription"

("core", "isBio", Boolean.FALSE).booleanValue()

("core", "isBug", Boolean.FALSE).booleanValue()

("core", "isPickableStartingUnit", Boolean.FALSE).booleanValue()

("core", "startFallingWhenStartingUnit", Boolean.FALSE).booleanValue()

("core", "stayNeutral", Boolean.FALSE).booleanValue()

("core", "createNeutral", Boolean.FALSE).booleanValue()

("core", "allowCaptureWhenNeutralByAI", Boolean.FALSE).booleanValue()

("core", "createOnNeutralTeam", Boolean.FALSE).booleanValue()

("core", "whileNeutralTransportAnyTeam", Boolean.FALSE).booleanValue()

("core", "whileNeutralConvertToTransportedTeam", Boolean.FALSE).booleanValue()

("core", "convertToNeutralIfNotTransporting", Boolean.FALSE).booleanValue()

("core", "createOnAggressiveTeam", Boolean.FALSE).booleanValue()

("core", "showInEditor", Boolean.TRUE).booleanValue()

("graphics", "total_frames", (Integer) 1).intValue()

("graphics", "frame_width", (Integer) (-1)).intValue()

("graphics", "frame_height", (Integer) (-1)).intValue()

("graphics", "default_frame", (Integer) 0).intValue()

("graphics", "image_offsetX", (Integer) 0).intValue()

("graphics", "image_offsetY", (Integer) 0).intValue()

("graphics", "image_offsetH", Float.valueOf(0.0f)).floatValue()

("graphics", "teamColorsUseHue", Boolean.FALSE).booleanValue()

("graphics", "teamColoringMode", (String) null)
"Cannot use teamColoringMode and teamColorsUseHue at the same time"
"pureGreen""hueAdd""hueShift""disabled"

("graphics", "imageSmoothing", Boolean.FALSE).booleanValue()

("graphics", "imageSmoothingWhenZoomedIn", Boolean.FALSE).booleanValue()

"graphics", "isVisible", (LogicBoolean) null

("graphics", "isVisibleToEnemies", Boolean.TRUE).booleanValue()

"graphics", "image"

("graphics", "image_floatingPointSize", Boolean.FALSE).booleanValue()

"graphics", "image_back"

("graphics", "image_back_always_use_full_image", Boolean.FALSE).booleanValue()

"graphics", "image_wreak"

"graphics", "image_turret"

"graphics", "image_shadow", "NONE"
"AUTO"
"AUTO_ANIMATED"

("graphics", "image_shadow_frames", Boolean.FALSE).booleanValue()

("graphics", "teamColorsOnTurret", Boolean.FALSE).booleanValue()

("graphics", "scaleImagesTo", Float.valueOf(-1.0f)).floatValue()

("graphics", "imageScale", Float.valueOf(1.0f)).floatValue()

("graphics", "scaleTurretImagesTo", Float.valueOf(-1.0f)).floatValue()
"scaleTurretImagesTo needs image_turret set"

("graphics", "turretImageScale", Float.valueOf(1.0f)).floatValue()

"graphics", "image_shield"

"graphics", "icon_build"

"resource_", "global_resource_"
resource codename cannot contain a space
resource codename cannot contain the symbols: =|:,()<>$

("core", "autoTriggerCooldownTime", Float.valueOf(60.0f)).floatValue()

("core", "autoTriggerCooldownTime_allowDangerousHighCPU", Boolean.FALSE).booleanValue()

"core", "autoTriggerCheckRate"

"core", "mass"

("core", "availableInDemo", Boolean.TRUE).booleanValue()

("core", "isLocked", Boolean.FALSE).booleanValue()

("core", "isLockedIfGameModeNoNuke", Boolean.FALSE).booleanValue()

"core", "price"

"core", "reclaimPrice"

"core", "streamingCost"

("core", "switchPriceWithStreamingCost", Boolean.FALSE).booleanValue()
"[core]streamingCost and switchPriceWithStreamingCost=true cannot be used at the same time"

("core", "buildSpeed", Float.valueOf(1.0f)).floatValue()

("core", "techLevel", (Integer) 1).intValue()

("core", "experimental", Boolean.FALSE).booleanValue()

"core", "borrowResourcesWhileAlive"

"core", "borrowResourcesWhileBuilt"

"core", "generation_resources"

("core", "generation_credits", (Integer) 0).intValue()

("core", "generation_delay", (Integer) 40).intValue()

"core", "generation_active", LogicBoolean.trueBoolean

("core", "resourceRate", Float.valueOf(0.0f)).floatValue()

"core", "updateUnitMemory", (String) null

("core", "updateUnitMemoryRate", Float.valueOf(60.0f)).floatValue()

("core", "resourceMaxConcurrentReclaimingThis", (Integer) Integer.MAX_VALUE).intValue()

"core", "similarResourcesHaveTag"

"core", "soundOnAttackOrder", (String) null

"core", "soundOnMoveOrder", (String) null

"core", "soundOnNewSelection", (String) null

"graphics", "drawLayer", (String) null
"experimentals"
"underwater"
"bottom"
"ground"
"ground2"
"air"
"top"
"wreaks"

("graphics", "shadowOffsetX", Float.valueOf(0.0f)).floatValue()

("graphics", "shadowOffsetY", Float.valueOf(0.0f)).floatValue()

("graphics", "rotate_with_direction", Boolean.TRUE).booleanValue()

("graphics", "lock_body_rotation_with_main_turret", Boolean.FALSE).booleanValue()

("graphics", "lock_shadow_rotation_with_main_turret", Boolean.valueOf(lVar.dA)).booleanValue()

"graphics", "lock_leg_rotation_with_main_turret", Boolean.FALSE).booleanValue()

"graphics", "whenBeingBuiltMakeTransparentTill", Float.valueOf(1.0f)).floatValue()

"graphics", "animation_"
"effect_"

("graphics", "splastEffect", Boolean.FALSE).booleanValue()

("graphics", "dustEffect", Boolean.FALSE).booleanValue()

("graphics", "splastEffectReverse", Boolean.TRUE).booleanValue()

("graphics", "dustEffectReverse", Boolean.TRUE).booleanValue()

"graphics", "movementEffect", (String) null

"graphics", "movementEffectReverse", (String) null

("graphics", "movementEffectRate", Float.valueOf(11.0f)).floatValue()

("graphics", "movementEffectReverseFlipEffects", Boolean.FALSE).booleanValue()

("graphics", "repairEffectRate", Float.valueOf(5.0f)).floatValue()

("graphics", "repairEffect", (String) null)

("graphics", "repairEffectAtTarget", (String) null)

("graphics", "reclaimEffectRate", Float.valueOf(5.0f)).floatValue()

("graphics", "reclaimEffect", (String) null)

("graphics", "reclaimEffectAtTarget", (String) null)

"Cannot use underConstruction and underConstructionWithLinkedBuiltTime animations at the same time"

1399