header
premium banner

Description

About

 

Addon to provide first class support for CC:Tweaked to ICBM-Classic. Featuring a range of peripheral options such as ability to launch missiles, detect radar contacts, or see generalized information about the machines.

 

Supported Tiles

 

Currently supports: Cruise Launcher, Launcher Pad, Radar Station

 

Common Machine
  • getEnergyData -> provides energy & maxEnergy as a single command
  • getEnergy -> current energy storage, uses ForgeEnergy
  • getEnergyLimit -> max energy storage limit
  • getMachineInfo -> provides a table of information, settings, and facts about the machine. Useful for getting config driven settings that may change between saves/servers

 

Command Launcher
  • getMissiles -> provides a list of missiles
  • launch(targetData, simulate) -> fires the launcher, targetData is a table containing xyz delay. Simulate is a boolean, true to test and false to fire for real
  • getInaccuracy(targetData, launcherCount) -> checks inaccuracy value
  • getStatus() -> gets current status of the launcher. Returns as 'error, blocking, statusKey, statusMessage'
  • preCheckLaunch(targetData) -> checks launch conditions. provides same output as status

 

Launcher Base  
  • getLockHeight -> gets height the missile will travel before direction change
  • setLockHeight -> allows setting lock height, input integer
  • getFiringDelay -> gets delay in ticks before firing the missile, delay is before warmup sequence of missile
  • setFiringDelay -> sets the delay in ticks to wait to fire when launched

 

Launcher Cruise
  • getTarget -> current xyz target position
  • setTarget -> allows supplying xyz position as 3 intergers
  • isAimed -> returns true if launcher has rotated to face target
  • getAimCurrent -> current yaw, pitch, roll of the launcher
  • getAimTarget -> expected aim position, may not always align fully with current