mod参数/movement
movementType:
值 | string |
描述 | "Defines what kind of terrain the unit will be able to move, along with other properties of unit types." |
slowDeathFall:
值 | bool |
描述 | Used with large aircraft. Makes the unit fall slowly while maintaining its speed at the time of death. |
moveSpeed:
值 | float |
描述 | Maximum movement speed of the unit. |
moveAccelerationSpeed:
值 | float |
描述 | Defines how fast units accelerate to max speed. |
moveDecelerationSpeed:
值 | float |
描述 | Don't make this too low or units will have trouble stopping at waypoints |
reverseSpeedPercentage:
值 | float |
描述 | 0.6 default. Over 0.4 will reverse for short distances (at 40% speed). If set to 1 will drive in reverse same as forwards. Useful if slow turning |
landOnGround:
值 | bool |
描述 | Should flying unit land when idle. |
targetHeight:
值 | float |
描述 | Defaults to 0 but if AIR movementType default is 35 |
targetHeightDrift:
值 | float |
描述 | Smooth animated height change. Defaults to 0 but if AIR movementType default is 1.5 |
startingHeightOffset:
值 | float |
描述 | Sets the initial height on spawn. Defaults at 0. |
heightChangeRate:
值 | float |
描述 | "Rate at which the unit changes height, either from converting or drifting" |
fallingAcceleration:
值 | float |
描述 | The acceleration in which a unit drops |
fallingAccelerationDead:
值 | float |
描述 | fallingAcceleration but when destroyed |
maxTurnSpeed:
值 | float |
描述 | Sets the top turning speed of a unit |
turnAcceleration:
值 | float |
描述 | Defines how fast units accelerate to max turn speed. |
moveSlidingMode:
值 | bool |
描述 | "Makes the unit slide when moveDecelerationSpeed is lower, making them drift and feel natural" |
moveIgnoringBody:
值 | bool |
描述 | "Allows the unit to move without fully turning in the direction its moving, useful for ships and air units" |
moveSlidingDir:
值 | int |
描述 | Sets direction when sliding |
joinsGroupFormations:
值 | bool |
描述 | "Defaults to true. Changing not recommended. When false, the unit will directly move to the assigned waypoint without taking space consideration from neighboring units." |