![]() Spawn rate will increase with increased wind speeds.Īffects movement direction Will only spawn if the winds exceed 20 mph in any direction.Īffects animation, distortion when Waves Quality is enabled. The enemy can only fire in the direction the wind is moving. Spawn rate will increase with increased wind speeds.Īffects the direction, animation and movement of fired projectiles, and the animation of the enemy itself. Has a chance to occur when wind speed is 30 mph or higher in any direction.Īffects movement direction and spawn location. When an extreme gust occurs, the target wind speed will dictate how many more gusts it will take for another extreme gust to occur.įinally, if a gust has flipped the direction of the wind, there is a 66% chance that the target wind speed will flip its direction back to the original direction it was facing in.Īfter all these steps, the target wind speed is capped to 40 mph.Įvent occurs when wind speed is 20 mph or higher in any direction. Target wind increases by -40 mph to 40 mph Target wind increases by -20 mph to 20 mph Target wind increases by -10 mph to 10 mph Target wind is set to 0, and no gusts will occur for the next 2 - 8 minutes. It is both reset on world generation and when an extreme gust is triggered. When it hits zero, it causes an "extreme gust". ChanceĪ second counter ( extremeWindCounter) decreases by one each time a gust occurs. After this period is over, there are a series of random chances that the wind will increase or decrease by up to a certain amount, which occurs on loop every 15 - 45 seconds (a "gust"). When a world is created, it will generate with winds up to but not exceeding 20 mph, and a variable windCounter is set to prevent changes for the next 15 - 45 seconds. The game stores both values as float values, where 0 is westward wind. Where windSpeedTarget and windSpeedCurrent are in the mph values used by the game. Speed = |windSpeedTarget/50 * (1 + rain intensity * 5/9) - windSpeedCurrent/50| * 0.0015 The speed at which windSpeedCurrent changes is determined by the following formula: There are two core values in the code that control wind speed: windSpeedCurrent and windSpeedTarget, both of which are updated each tick. The Weather Radio, Fish Finder, PDA, and Cell Phone all list the wind speed in the upper right corner of the screen. The Windy Day event occurs when the wind speed is 20 mph or higher, and ends when wind speed decreases below 16 mph. The UFO Mount summoned by the Cosmic Car Key also seems to be slightly pushed by wind, but it is unnoticeable unless firing a weapon that bounces at a corner for a long period of time. However, it occasionally plays a part in how the game plays, such as its effects on Detonating Bubbles and its effects on players afflicted with Mighty Wind. Wind primarily affects things that have no effect on gameplay, such as cloud movement speeds, blizzard and sandstorm background effects, and the animations of the surface of water and trees. Informational accessories such as the Weather Radio show the direction the wind is blowing from, not towards (so for example, "25 mph W" means that the wind is blowing 25 mph from the west). The wind can blow from either the west or east. Wind is a mechanism in Terraria which influences the movement of various objects, as well as the occurance of Windy Days and Sandstorms.
0 Comments
Leave a Reply. |