mod参数/graphics

来自RustedWarfare Wiki
image:
值file (image)
描述File path to png image.
image_back:
值file (image)
描述An optional image drawn behind other units. Useful for factories that units exit
image_shield
值file (image)
描述Image to show as a custom shield
image_wreak:
值file (image)
描述Image to use when unit dies. Can be NONE to leave no wreak
image_offsetX:
值int
描述Use this to adjust the graphics of a unit if it is too far off one side
image_offsetY:
值int
描述Use this to adjust the graphics of a unit if it is too far off one side
image_offsetH:
值int
描述"Use this to adjust the height of the graphic, especially when using decals"
image_floatingPointSize
值int
描述Fixes of by 1 pixel sizing for images with widths and/or height that has odd value
isVisible
值logic
描述If false will hide the unit.
isVisibleToEnemies
值bool
描述Only visible to player and allies when false. Recommend with showOnMinimapToEnemies. Useful for stealth units.
teamColoringMode
值
描述"How pixels are used for team coloring, options: pureGreen (default), hueAdd, hueShift, disabled"
scaleImagesTo:
值float
描述"Resize image to fit this value in pixels. Effects leg, and shadow images as well."
imageScale:
值float
描述"Resize image. Defaults to 1. Effects leg, and shadow images as well."
drawLayer:
值string
描述"Land units normally default to ground or ground2 if transport. Options: wreaks, underwater, bottom, ground, ground2, experimentals, air, top"
whenBeingBuiltMakeTransparentTill
值float
描述"How long the transparent effect is applied to incomplete units, set to 0 to disable completely. Default: 1"
icon_zoomed_out
值file (image)
描述Sets the custom image of the unit icon on the zoomed out battle map
icon_zoomed_out_neverShow
值bool
描述Sets wheather show the unit icon or not on the zoomed out battle map
icon_build
值file (image)
描述Displays icon of the unit on Build Panel
image_turret:
值file (image)
描述"Default image for all turrets, can also be set per turret"
teamColorsOnTurret:
值bool
描述Defaults false. Apply team colours on turret as well. Also effects pre-turret images
scaleTurretImagesTo:
值float
描述"Will cause crash if image_turret is not specified, even if image is set per turret"
lock_body_rotation_with_main_turret:
值bool
描述Locks body image locked to first turret's direction
lock_leg_rotation_with_main_turret
值bool
描述Locks legs and arms to first turret's direction
image_shadow:
值file (image)
描述"Image file, NONE, AUTO or AUTO_ANIMATED. (AUTO will use image and make it transparent black only.)"
shadowOffsetX:
值float
描述Adjusts shadow horizontally
shadowOffsetY:
值float
描述Adjusts shadow vertically
image_shadow_frames
值bool
描述If shadow image should use frame animation of main image. .Alternative to AUTO_ANIMATED shadow value.
lock_shadow_rotation_with_main_turret:
值bool
描述Locks body image shadow locked to first turret's direction
total_frames
值int
描述Defaults to 1. Animations require this.
frame_width:
值int
描述"Calculated for you if total frames is set, but can be overridden"
frame_height:
值int
描述Defaults to image height
default_frame
值int
描述Default frame when not playing an animation. First frame is 0
splastEffect:
值bool
描述True to create a water wave effect when over water. Default false
dustEffect:
值bool
描述True to create a dust effect when over land. Default false
splastEffectReverse:
值bool
描述True to also create effect when unit is reversing
dustEffectReverse:
值bool
描述True to also create effect when unit is reversing
movementEffect
值effect
描述"Custom movement effect, can be anything"
movementEffectReverse
值effect
描述Reversed version of movementEffect: key
movementEffectRate
值float
描述Sets the frequency of effects being spawned while moving
movementEffectReverseFlipEffects
值bool
描述Create effect as if unit has rotated 180 when reversing
repairEffect
值effect ref
描述"Custom repair effect, can be anything. Replaces default effect from builders"
repairEffectAtTarget
值effect
描述Custom repair effect towards the repaired target
repairEffectRate
值int
描述"Sets the frequency of effects being spawned while repairing. Defaults to 5, affects both sides."
reclaimEffect
值effect
描述"Custom reclaim effect, can be anything. Replaces default effect from builders"
reclaimEffectAtTarget
值effect
描述Custom reclaim effect towards the reclaimed target
reclaimEffectRate
值int
描述"Sets the frequency of effects being spawned while reclaiming. Defaults to 5, affects both sides."
rotate_with_direction:
值bool
描述Defaults to true. Makes unit body image locked to 0 degrees when false. Often used with animation_direction_*
animation_direction_units:
值float
描述"45 for 8 directions, 90 for 4 direction animation. Used with rotate_with_direction:false"
animation_direction_strideX:
值int
描述Animation frames to offset on direction change.
animation_direction_strideY:
值int
描述Animation frames to offset on direction change. Used with frame_height.
animation_direction_starting:
值float
描述Direction for first frame
disableLowHpFire
值bool
描述"Defaults to false. When true, removes the flames on severely damaged unit/structure."
disableLowHpSmoke
值bool
描述"Defaults to false. When true, removes the smokes on severely damaged unit/structure."
showTransportBar:
值bool
描述Defaults to true. Shows the transport bar for transport units.
showHealthBar
值bool
描述"Defaults to true. Shows the health bar of a unit. (Still hidden even if true when ""Always show unit health"" setting is disabled.)"
showEnergyBar
值bool
描述Defaults to true. Shows the energy bar of a unit.
showShieldBar
值bool
描述Defaults to true. Shows the shield bar of a unit. Also affects the presence of set custom shield sprite.
showQueueBar
值bool
描述Defaults to true. Shows the bar for build or action queue of a unit.
showShotDelayBar
值bool
描述Defaults to true. Shows the shot delay/warmup of a unit before firing.
showSelectionIndicator
值bool
描述Defaults to true. Shows select circle/box if true
teamColorsUseHue:
值bool
描述False: Green pixels on unit gets converted to team color. True: Whole unit is tinted the team colour. Defaults to false
animation_TYPE_start:
值int
描述"TYPE can be set to: attack, moving, idle. Use [animation] section instead for more control"
animation_TYPE_end:
值int
描述"End frame, must be larger then start"
animation_TYPE_scale_start:
值float
描述Scale unit image. Defaults to 1. Useful for bio units or breathing effects.
animation_TYPE_scale_end:
值float
描述Scale unit image. Defaults to 1. Useful for bio units or breathing effects.
animation_TYPE_speed:
值float
描述Delay for each frame of animation. Larger values cause slower animation
animation_TYPE_pingPong:
值bool
描述Play animation in reverse before repeating. Useful with scale_start/scale_end