跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
帮助
RustedWarfare Wiki
搜索
搜索
创建账号
登录
个人工具
创建账号
登录
查看“mod参数/graphics”的源代码
页面
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
链接
RustedWiki QQ群
←
mod参数/graphics
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{RW代码|image:|file (image)|File path to png image.|image: body.png}} {{RW代码|image_back:|file (image)|An optional image drawn behind other units. Useful for factories that units exit|image_back: floor.png}} {{RW代码|image_shield|file (image)|Image to show as a custom shield|image_shield: forcefield.png}} {{RW代码|image_wreak:|file (image)|Image to use when unit dies. Can be NONE to leave no wreak|image_wreak: ded.png}} {{RW代码|image_offsetX:|int|Use this to adjust the graphics of a unit if it is too far off one side|image_offsetX: 21}} {{RW代码|image_offsetY:|int|Use this to adjust the graphics of a unit if it is too far off one side|image_offsetY: 41}} {{RW代码|image_offsetH:|int|"Use this to adjust the height of the graphic, especially when using decals"|image_offsetH: 25}} {{RW代码|image_floatingPointSize|int|Fixes of by 1 pixel sizing for images with widths and/or height that has odd value|image_floatingPointSize: 10}} {{RW代码|isVisible|logic|If false will hide the unit.|isVisible: false}} {{RW代码|isVisibleToEnemies|bool|Only visible to player and allies when false. Recommend with showOnMinimapToEnemies. Useful for stealth units.|isVisibleToEnemies: false}} {{RW代码|teamColoringMode||"How pixels are used for team coloring, options: pureGreen (default), hueAdd, hueShift, disabled"|teamColoringMode: disabled}} {{RW代码|scaleImagesTo:|float|"Resize image to fit this value in pixels. Effects leg, and shadow images as well."|scaleImagesTo: 1}} {{RW代码|imageScale:|float|"Resize image. Defaults to 1. Effects leg, and shadow images as well."|imageScale: 1}} {{RW代码|drawLayer:|string|"Land units normally default to ground or ground2 if transport. Options: wreaks, underwater, bottom, ground, ground2, experimentals, air, top"|drawLayer: bottom}} {{RW代码|whenBeingBuiltMakeTransparentTill|float|"How long the transparent effect is applied to incomplete units, set to 0 to disable completely. Default: 1"|whenBeingBuiltMakeTransparentTill: 0.4}} {{RW代码|icon_zoomed_out|file (image)|Sets the custom image of the unit icon on the zoomed out battle map|icon_zoomed_out: unitIcon.png}} {{RW代码|icon_zoomed_out_neverShow|bool|Sets wheather show the unit icon or not on the zoomed out battle map|icon_zoomed_out_neverShow: false}} {{RW代码|icon_build|file (image)|Displays icon of the unit on Build Panel|icon_build: iconFish.png}} {{RW代码|image_turret:|file (image)|"Default image for all turrets, can also be set per turret"|image_turret: gun.png}} {{RW代码|teamColorsOnTurret:|bool|Defaults false. Apply team colours on turret as well. Also effects pre-turret images|teamColorsOnTurret: true}} {{RW代码|scaleTurretImagesTo:|float|"Will cause crash if image_turret is not specified, even if image is set per turret"|scaleTurretImagesTo: 1.2}} {{RW代码|lock_body_rotation_with_main_turret:|bool|Locks body image locked to first turret's direction|lock_body_rotation_with_main_turret: true}} {{RW代码|lock_leg_rotation_with_main_turret|bool|Locks legs and arms to first turret's direction|lock_leg_rotation_with_main_turret: true}} {{RW代码|image_shadow:|file (image)|"Image file, NONE, AUTO or AUTO_ANIMATED. (AUTO will use image and make it transparent black only.)"|image_shadow: shadow.png}} {{RW代码|shadowOffsetX:|float|Adjusts shadow horizontally|shadowOffsetX: 10}} {{RW代码|shadowOffsetY:|float|Adjusts shadow vertically|shadowOffsetY: 10}} {{RW代码|image_shadow_frames|bool|If shadow image should use frame animation of main image. .Alternative to AUTO_ANIMATED shadow value.|image_shadow_frames: true}} {{RW代码|lock_shadow_rotation_with_main_turret:|bool|Locks body image shadow locked to first turret's direction|lock_shadow_rotation_with_main_turret: true}} {{RW代码|total_frames|int|Defaults to 1. Animations require this.|total_frames: 3}} {{RW代码|frame_width:|int|"Calculated for you if total frames is set, but can be overridden"|frame_width: 40}} {{RW代码|frame_height:|int|Defaults to image height|frame_height: 60}} {{RW代码|default_frame|int|Default frame when not playing an animation. First frame is 0|default_frame: 0}} {{RW代码|splastEffect:|bool|True to create a water wave effect when over water. Default false|splastEffect: true}} {{RW代码|dustEffect:|bool|True to create a dust effect when over land. Default false|dustEffect: true}} {{RW代码|splastEffectReverse:|bool|True to also create effect when unit is reversing|splastEffectReverse: true}} {{RW代码|dustEffectReverse:|bool|True to also create effect when unit is reversing|dustEffectReverse: true}} {{RW代码|movementEffect|effect|"Custom movement effect, can be anything"|"movementEffect: smoke, CUSTOM:fastDust*2, CUSTOM:pop*5"}} {{RW代码|movementEffectReverse|effect|Reversed version of movementEffect: key|"movementEffectReverse: smoke, CUSTOM:fastDust*2, CUSTOM:pop*5"}} {{RW代码|movementEffectRate|float|Sets the frequency of effects being spawned while moving|movementEffectRate: 10}} {{RW代码|movementEffectReverseFlipEffects|bool|Create effect as if unit has rotated 180 when reversing|movementEffectReverseFlipEffects: true}} {{RW代码|repairEffect|effect ref|"Custom repair effect, can be anything. Replaces default effect from builders"|repairEffect: CUSTOM:mist*5}} {{RW代码|repairEffectAtTarget|effect|Custom repair effect towards the repaired target|repairEffectAtTarget: CUSTOM:greensparks*2}} {{RW代码|repairEffectRate|int|"Sets the frequency of effects being spawned while repairing. Defaults to 5, affects both sides."|repairEffectRate: 20}} {{RW代码|reclaimEffect|effect|"Custom reclaim effect, can be anything. Replaces default effect from builders"|reclaimEffect: CUSTOM:sap*5}} {{RW代码|reclaimEffectAtTarget|effect|Custom reclaim effect towards the reclaimed target|reclaimEffectAtTarget: CUSTOM:redsparks*2}} {{RW代码|reclaimEffectRate|int|"Sets the frequency of effects being spawned while reclaiming. Defaults to 5, affects both sides."|reclaimEffectRate: 20}} {{RW代码|rotate_with_direction:|bool|Defaults to true. Makes unit body image locked to 0 degrees when false. Often used with animation_direction_*|rotate_with_direction: false}} {{RW代码|animation_direction_units:|float|"45 for 8 directions, 90 for 4 direction animation. Used with rotate_with_direction:false"|animation_direction_units: 45}} {{RW代码|animation_direction_strideX:|int|Animation frames to offset on direction change.|animation_direction_strideX: 40}} {{RW代码|animation_direction_strideY:|int|Animation frames to offset on direction change. Used with frame_height.|animation_direction_strideY: 60}} {{RW代码|animation_direction_starting:|float|Direction for first frame|animation_direction_starting: 90}} {{RW代码|disableLowHpFire|bool|"Defaults to false. When true, removes the flames on severely damaged unit/structure."|disableLowHpFire: false}} {{RW代码|disableLowHpSmoke|bool|"Defaults to false. When true, removes the smokes on severely damaged unit/structure."|disableLowHpSmoke: false}} {{RW代码|showTransportBar:|bool|Defaults to true. Shows the transport bar for transport units.|showTransportBar: false}} {{RW代码|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.)"|showHealthBar: false}} {{RW代码|showEnergyBar|bool|Defaults to true. Shows the energy bar of a unit.|showEnergyBar: false}} {{RW代码|showShieldBar|bool|Defaults to true. Shows the shield bar of a unit. Also affects the presence of set custom shield sprite.|showShieldBar: false}} {{RW代码|showQueueBar|bool|Defaults to true. Shows the bar for build or action queue of a unit.|showQueueBar: false}} {{RW代码|showShotDelayBar|bool|Defaults to true. Shows the shot delay/warmup of a unit before firing.|showShotDelayBar: false}} {{RW代码|showSelectionIndicator|bool|Defaults to true. Shows select circle/box if true|showSelectionIndicator: false}} {{RW代码|teamColorsUseHue:|bool|False: Green pixels on unit gets converted to team color. True: Whole unit is tinted the team colour. Defaults to false|}} {{RW代码|animation_TYPE_start:|int|"TYPE can be set to: attack, moving, idle. Use [animation] section instead for more control"|animation_moving_start: 0}} {{RW代码|animation_TYPE_end:|int|"End frame, must be larger then start"|animation_moving_end: 3}} {{RW代码|animation_TYPE_scale_start:|float|Scale unit image. Defaults to 1. Useful for bio units or breathing effects.|}} {{RW代码|animation_TYPE_scale_end:|float|Scale unit image. Defaults to 1. Useful for bio units or breathing effects.|}} {{RW代码|animation_TYPE_speed:|float|Delay for each frame of animation. Larger values cause slower animation|}} {{RW代码|animation_TYPE_pingPong:|bool|Play animation in reverse before repeating. Useful with scale_start/scale_end|}}
本页使用的模板:
模板:RW代码
(
查看源代码
)
返回
mod参数/graphics
。
开关有限宽度模式