Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Autoloader Reloader Example 1.2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
123.522 KB
20 Aug, 2022 @ 1:25am
20 Aug, 2022 @ 12:01pm
3 Change Notes ( view )

Subscribe to download
Autoloader Reloader Example 1.2

Description
From a reddit post.

"How do I make a simple on off toggle signal when a 1 threshold hit it triggers on a signal until another threshold hits toggling off the signal. I want to make an ammo reloader so when it hits 0 it goes into a reloading state until it reaches 100 ammo."

This has a smaller magazine but you can change it via the controller properties. This version has 2 shots remaining once it recenters itself. 22 shots total on spawn, reloads 21.

Max gun ammo: The amount to fill in the magazine on the gun.
Reload At: When should the turret lock, recenter, and start reloading.
Turret Reset Multiplier: The turret resets using the inverse of it's current rotation so the farther away from center the faster it resets.
Reload Approach Timer: How long does it take your reloader to reach the gun in seconds.
Reloader Approach Speed: How fast should the track move forward / backward 0 - 1.
Reloader Engage Speed: How fast should the track move up / down 0 - 1.
Reloader Approach Delay: How long does it take your turret to recenter in seconds.
2 Comments
Tredstone  [author] 20 Aug, 2022 @ 12:01pm 
Updated to add Invert Y option for the turret pitch
Tredstone  [author] 20 Aug, 2022 @ 10:58am 
Updated to have full auto reloading. You no longer have to move in the reloader yourself.