ICBM Classic: Computer Craft Addon
Overview
This addon provides comprehensive integration between the popular computer programming mod CC:Tweaked and the realistic weaponry system ICBM-Classic. Users gain access to advanced programming capabilities for controlling missile systems, monitoring radar, and obtaining equipment status information.
Supported Devices
Currently compatible with the module: cruise missile launchers, launch pads, and radar stations.
Universal Equipment Functions
- getEnergyData — retrieves data about current energy level and maximum capacity in a single command
- getEnergy — displays current accumulated energy level using ForgeEnergy system
- getEnergyLimit — shows maximum possible energy storage capacity
- getMachineInfo — creates a table with detailed information, settings, and device characteristics, helping to obtain current configuration parameters
Launch Control Management
- getMissiles — generates a list of available missiles
- launch(targetData, simulate) — executes missile launch where targetData contains xyz coordinates and time delay, while simulate enables test mode
- getInaccuracy(targetData, launcherCount) — calculates the hit inaccuracy indicator
- getStatus() — returns current launcher status in 'error, blocking, key, message' format
- preCheckLaunch(targetData) — verifies conditions for successful launch
Base Platform Features
- getLockHeight — determines the altitude at which the missile changes trajectory
- setLockHeight — sets the lock height (integer value)
- getFiringDelay — obtains the delay in ticks before missile activation
- setFiringDelay — configures time pause before launch
Cruise Missile Capabilities
- getTarget — displays current target xyz coordinates
- setTarget — allows setting target coordinates using three integers
- isAimed — returns true if the launcher is correctly aimed at the target
- getAimCurrent — shows current yaw, pitch, and roll angles
- getAimTarget — displays preliminary aim target
Usage Benefits
The integration enables creation of sophisticated weapon control systems using programmable computers, providing precise control over missile systems and expanded monitoring capabilities.