跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
帮助
RustedWarfare Wiki
搜索
搜索
创建账号
登录
个人工具
创建账号
登录
查看“mod参数/attack”的源代码
页面
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
链接
RustedWiki QQ群
←
mod参数/attack
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{RW代码|canAttack:|bool|"If set to false, can not attack any unit. Regards of other canAttack options below."|canAttack: true}} {{RW代码|canAttackFlyingUnits:|LogicBoolean|can also be narrowed per turret. Note: not required if canAttack is false.|canAttackFlyingUnits: false}} {{RW代码|canAttackLandUnits:|LogicBoolean|can also be narrowed per turret|canAttackLandUnits: true}} {{RW代码|canAttackUnderwaterUnits:|LogicBoolean|can also be narrowed per turret|canAttackUnderwaterUnits: false}} {{RW代码|maxAttackRange:|float|(multiplied by globalScale)|maxAttackRange: 300}} {{RW代码|canAttackNotTouchingWaterUnits:|LogicBoolean|Default true. If false unit can only attack units in contact with the water. Used for units with torpedos. (can also be set per turret)|canAttackNotTouchingWaterUnits: false}} {{RW代码|canOnlyAttackUnitsWithTags|tags|Will only attack units that has the specified tags.|"canOnlyAttackUnitsWithTags: metallic, ceramic"}} {{RW代码|canOnlyAttackUnitsWithoutTags|tags|Can only attack units without the specified tags.|"canOnlyAttackUnitsWithoutTags: corrosive, magnetic"}} {{RW代码|turretMultiTargeting|bool|Allow each turrets to fire at a different target at the same time. Very useful if [turret]limitingAngle is used|turretMultiTargeting: true}} {{RW代码|isMelee:|bool|"Used with a low attack range (like maxAttackRange: 9) makes src and target radius get added to range, and effects AI."|isMelee: true}} {{RW代码|meleeEngangementDistance|int|"Makes unit move to attack nearby units. Defaults to 250 for melee, and 0 for non melee (Works even if non-melee, but might be unexpected to players)"|meleeEngangementDistance: 400}} {{RW代码|turretRotateWithBody|bool|Are all turrets rotated when body rotates. Defaults to true|turretRotateWithBody: true}} {{RW代码|attackMovement:|string|normal/bomber. bomber attack movement will retreat when energy runs out|attackMovement: true}} {{RW代码|dieOnAttack:|bool|Will die when it attacks.|dieOnAttack: true}} {{RW代码|isFixedFiring:|bool|Must aim body at target to shoot. Will often make the unit need to stop before it can aim and shoot.|isFixedFiring: true}} {{RW代码|aimOffsetSpread:|float|Offset each shot multiplied by target radius. Defaults to 0.6. aimOffsetSpread:0 will make unit always attack center|aimOffsetSpread:0}} {{RW代码|stopTargetingAfterFiring|bool|Unit stops targeting after firing a shot. Rarely used or needed.|stopTargetingAfterFiring: true}} {{RW代码|disablePassiveTargeting:|bool|Unit only attacks manually ordered target. Rarely used or needed.|disablePassiveTargeting: true}} {{RW代码|showRangeUIGuide|bool|Will it show the range indicator. Useful for showing ranges in radar and related structures.|showRangeUIGuide: true}} {{RW代码|shootDelayMultiplier|float|Defaults to 1. Can be dynamically changed with setUnitStats|shootDelayMultiplier: 0.75}} {{RW代码|shootDamageMultiplier|float|Defaults to 1. Can be dynamically changed with setUnitStats|shootDamageMultiplier: 2.43}} {{RW代码|turretSize:|float|(multiplied by globalScale)|}} {{RW代码|turretTurnSpeed:|float||}} {{RW代码|shootDelay:|float|"Global delay, can also use delay on each turret"|}}
本页使用的模板:
模板:RW代码
(
查看源代码
)
返回
mod参数/attack
。
开关有限宽度模式