Stormworks: Build and Rescue

Stormworks: Build and Rescue

27 ratings
[LUA] Ammo Cost Counter with Testbed
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
438.373 KB
24 Feb @ 4:22am
25 Feb @ 4:52am
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[LUA] Ammo Cost Counter with Testbed

Description
Ammo Cost Counter
This microcomputer shows the cost of the fired ammunition.
You can display the total number of shots for each ammunition by tapping the screen.
The maximum number of weapons that can be connected is 24.

* This testbed requires an environment with infinite electric and ammo.

HOW TO USE

  • Connect the “toMonitor” node to the “Video Signal” node of the Monitor.
  • Connect the “frMonitor” node to the “Touch Output” node of the Monitor.
  • Connect the “RESET” node to the “Pressed” node of the Push Button.
  • Connect the “frLoaded-nn” node to the “Loaded” node of the weapon.
  • (Optional) Connect the “frCamera” node to the “Camera Feed” node of the Camera.
* This is intended for use with a 1x3 monitor.

MC PROPERTIES
  • Set the “WIDTH” and “HEIGHT” properties according to the monitor size.
  • Set “COST_nn” properties according to the weapon.
  • (Optional) Set “NUM_OF_ARMS” according to the number of weapons to be connected.
  • (Optional) "ARMS_STATUS” selects whether the weapon status at the bottom of the screen is displayed or not.
* Do not edit the “F1” to “F4” properties.

PRESET AMMO COST
TYPE
AMMO COST
Machine Gun
1
Light Autocannon
80
Rotary Autocannon
65
Heavy Autocannon
1800
Rocket Launcher
2800
Battle Cannon
8800
Artillery Cannon
11200
Berha Cannon
22000
* This is a provisional cost and not the official cost.
* More accurate cost information is welcome.

NOTE
In “frLoaded-nn”, ammunition is counted as fired when the signal changes from ON to OFF.
For example, if you want to count 3 missile shots, enter 3 sets of “ON -> OFF”.

OTHERS
3x5 NARROW FONT:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2874666449

Wizworks: Wizardry-like RPG
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3350709517

AFTER BUSTER II : AfterBurner-like STG
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2868306194

Storm Shooting: Simple STG
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2862838961
14 Comments
Nick Marcos 1 Mar @ 3:09pm 
@siberiantiger10tr if you think ammo cost counter can mean fuel cost counter, do you use bleach to brush your teeth?
Chlebek 1 Mar @ 12:53pm 
Just fired the GDP of Greenland into the hangar wall.
OTACON  [author] 1 Mar @ 7:58am 
This test platform requires:
* DLC:Search and Destroy
* Infinite Resources/ Electric/ Ammo
SiberianTiger10TR 1 Mar @ 7:15am 
its work on fuel?
ocbaele 28 Feb @ 8:04pm 
help me if you are seeing this need help on if your mods are not appering in game
Edward 28 Feb @ 10:13am 
A counter for how many taxpayer dollars you spend spreading democracy in Stormworks.
OTACON  [author] 28 Feb @ 6:44am 
@☌⟟⏁⏁☌⟒⏁⟒⏃⎅
I made a node connection image.
Could you put a picture explaining how to wire the controller because its kinda confusing
Hacker101 27 Feb @ 8:26pm 
ARE YOU INSANE I DON'T NEED THAT STRESS WHY DID YOU MAKE THIS!!!?!??!!?!?:turned:
Hex3eGone 27 Feb @ 9:10am 
But, who's gonna pay?