Difference between revisions of "Category:Take On Helicopters: New Scripting Commands"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Note about RTD changed from speculation to fact)
m (Linked added commands to serve as TODO list)
Line 21: Line 21:
  
 
  b:ARRAY ropeAttachTo OBJECT
 
  b:ARRAY ropeAttachTo OBJECT
  b:OBJECT assignAsCargo ARRAY
+
  b:OBJECT [[assignAsCargo]] ARRAY
 
  b:OBJECT customRadio ARRAY
 
  b:OBJECT customRadio ARRAY
  b:OBJECT enableAutostartUpRtd BOOL
+
  b:OBJECT [[enableAutoStartUpRTD]] BOOL
  b:OBJECT enableAutoTrimRtd BOOL
+
  b:OBJECT [[enableAutoTrimRTD]] BOOL
  b:OBJECT enableCoPilot BOOL
+
  b:OBJECT [[enableCoPilot]] BOOL
  b:OBJECT getHitPointDamage STRING
+
  b:OBJECT [[getHitPointDamage]] STRING
 
  b:OBJECT ropeDettach OBJECT
 
  b:OBJECT ropeDettach OBJECT
  b:OBJECT setActualCollectiveRtd SCALAR
+
  b:OBJECT [[setActualCollectiveRTD]] SCALAR
  b:OBJECT setApuRtd ARRAY
+
  b:OBJECT [[setAPURTD]] ARRAY
  b:OBJECT setBatterychargeRtd SCALAR
+
  b:OBJECT [[setBatteryChargeRTD]] SCALAR
  b:OBJECT setBatteryRtd BOOL
+
  b:OBJECT [[setBatteryRTD]] BOOL
  b:OBJECT setBrakesRtd ARRAY
+
  b:OBJECT [[setBrakesRTD]] ARRAY
  b:OBJECT setCustomWeightRtd SCALAR
+
  b:OBJECT [[setCustomWeightRTD]] SCALAR
  b:OBJECT setEngineRPMRtd ARRAY
+
  b:OBJECT [[setEngineRPMRTD]] ARRAY
  b:OBJECT setHitpointDamage ARRAY
+
  b:OBJECT [[setHitPointDamage]] ARRAY
  b:OBJECT setRotorBrakeRtd SCALAR
+
  b:OBJECT [[setRotorBrakeRTD]] SCALAR
  b:OBJECT setStarterRtd ARRAY
+
  b:OBJECT [[setStarterRTD]] ARRAY
  b:OBJECT setThrottleRtd ARRAY
+
  b:OBJECT [[setThrottleRTD]] ARRAY
  b:OBJECT setWantedRPMRtd ARRAY
+
  b:OBJECT [[setWantedRPMRTD]] ARRAY
 
  b:OBJECT setWingforceScaleRtd ARRAY
 
  b:OBJECT setWingforceScaleRtd ARRAY
  b:SCALAR radioChannelAdd ARRAY
+
  b:SCALAR [[radioChannelAdd]] ARRAY
  b:SCALAR radioChannelRemove ARRAY
+
  b:SCALAR [[radioChannelRemove]] ARRAY
  b:SCALAR radioChannelSetCallsign STRING
+
  b:SCALAR [[radioChannelSetCallSign]] STRING
  b:SCALAR radioChannelSetLabel STRING
+
  b:SCALAR [[radioChannelSetLabel]] STRING
 
  b:SCALAR setForceGeneratorRtd ARRAY
 
  b:SCALAR setForceGeneratorRtd ARRAY
 
  b:SCALAR setWindforce SCALAR
 
  b:SCALAR setWindforce SCALAR
Line 51: Line 51:
 
  n:clearForcesRtd
 
  n:clearForcesRtd
 
  n:localCoordinateSystemCenterRtd
 
  n:localCoordinateSystemCenterRtd
  n:profileNamespace
+
  n:[[profileNamespace]]
  n:saveProfileNamespace
+
  n:[[saveProfileNamespace]]
  n:systemOfUnits
+
  n:[[systemOfUnits]]
 
  n:windRtd
 
  n:windRtd
 
  u:actionName STRING
 
  u:actionName STRING
Line 59: Line 59:
 
  u:airDensityRtd SCALAR
 
  u:airDensityRtd SCALAR
 
  u:ambientRoadCreate ARRAY
 
  u:ambientRoadCreate ARRAY
  u:batteryChargeRtd OBJECT
+
  u:[[batteryChargeRTD]] OBJECT
 
  u:className LOCATION
 
  u:className LOCATION
  u:collectiveRtd OBJECT
+
  u:[[collectiveRTD]] OBJECT
 
  u:enginesIsOnRtd OBJECT
 
  u:enginesIsOnRtd OBJECT
 
  u:enginesRPMRtd OBJECT
 
  u:enginesRPMRtd OBJECT
Line 84: Line 84:
 
  u:lineIntersectsWith ARRAY
 
  u:lineIntersectsWith ARRAY
 
  u:makeAirborne OBJECT
 
  u:makeAirborne OBJECT
  u:numberOfEnginesRtd OBJECT
+
  u:[[numberOfEnginesRTD]] OBJECT
  u:radioChannelCreate ARRAY
+
  u:[[radioChannelCreate]] ARRAY
  u:ropeCreate ARRAY
+
  u:[[ropeCreate]] ARRAY
 
  u:ropeCut ARRAY
 
  u:ropeCut ARRAY
  u:ropeDestroy ARRAY
+
  u:[[ropeDestroy]] ARRAY
 
  u:ropes OBJECT
 
  u:ropes OBJECT
 
  u:ropeUnwind ARRAY
 
  u:ropeUnwind ARRAY
Line 105: Line 105:
 
  u:setSystemOfUnits SCALAR
 
  u:setSystemOfUnits SCALAR
 
  u:stopEngineRtd OBJECT
 
  u:stopEngineRtd OBJECT
  u:throttleRtd OBJECT
+
  u:[[throttleRTD]] OBJECT
 
  u:velocityModelSpace OBJECT
 
  u:velocityModelSpace OBJECT
 
  u:weightRtd OBJECT
 
  u:weightRtd OBJECT
Line 119: Line 119:
 
===Changed===
 
===Changed===
  
  b:OBJECT assignascargo ARRAY => b:OBJECT assignascargoindex ARRAY
+
  b:OBJECT [[assignAsCargo]] ARRAY => b:OBJECT [[assignAsCargoIndex]] ARRAY
  b:OBJECT ropedettach OBJECT => b:OBJECT ropedetach OBJECT
+
  b:OBJECT ropedettach OBJECT => b:OBJECT [[ropeDetach]] OBJECT
  u:ropedestroy ARRAY => u:ropedestroy OBJECT
+
  u:[[ropeDestroy]] ARRAY => u:[[ropeDestroy]] OBJECT
  
 
===Added===
 
===Added===
Line 132: Line 132:
 
  n:freelook
 
  n:freelook
 
  n:hudmovementlevels
 
  n:hudmovementlevels
  n:ispipenabled
+
  n:[[isPiPEnabled]]
 
  n:isstressdamageenabled
 
  n:isstressdamageenabled
 
  n:isuseractionenabled
 
  n:isuseractionenabled
Line 148: Line 148:
 
  u:removemissioneventhandler ARRAY
 
  u:removemissioneventhandler ARRAY
 
  u:resetsubgroupdirection OBJECT
 
  u:resetsubgroupdirection OBJECT
  u:ropesetcargomass ARRAY
+
  u:[[ropeSetCargoMass]] ARRAY
 
  u:ropeunwound OBJECT
 
  u:ropeunwound OBJECT
 
  u:sethudmovementlevels ARRAY
 
  u:sethudmovementlevels ARRAY

Revision as of 17:17, 25 November 2011

List of all new commands in Take On Helicopters


Notes

1. The data is extracted with the help of supportInfo and CBA.

[supportInfo ""] call cba_fnc_debug

2. It seems all 3D editor commands have been removed. Speculation: They have been merged into the engine for ArmA III.

3. Many new commands end with RTD. This is short for RTDynamics, who are the developers of RotorLib - the library used for the TKOH flight model.

Version 82161

Changed

b:OBJECT camSetDir SCALAR => b:OBJECT camSetDir ARRAY

Added

b:ARRAY ropeAttachTo OBJECT
b:OBJECT assignAsCargo ARRAY
b:OBJECT customRadio ARRAY
b:OBJECT enableAutoStartUpRTD BOOL
b:OBJECT enableAutoTrimRTD BOOL
b:OBJECT enableCoPilot BOOL
b:OBJECT getHitPointDamage STRING
b:OBJECT ropeDettach OBJECT
b:OBJECT setActualCollectiveRTD SCALAR
b:OBJECT setAPURTD ARRAY
b:OBJECT setBatteryChargeRTD SCALAR
b:OBJECT setBatteryRTD BOOL
b:OBJECT setBrakesRTD ARRAY
b:OBJECT setCustomWeightRTD SCALAR
b:OBJECT setEngineRPMRTD ARRAY
b:OBJECT setHitPointDamage ARRAY
b:OBJECT setRotorBrakeRTD SCALAR
b:OBJECT setStarterRTD ARRAY
b:OBJECT setThrottleRTD ARRAY
b:OBJECT setWantedRPMRTD ARRAY
b:OBJECT setWingforceScaleRtd ARRAY
b:SCALAR radioChannelAdd ARRAY
b:SCALAR radioChannelRemove ARRAY
b:SCALAR radioChannelSetCallSign STRING
b:SCALAR radioChannelSetLabel STRING
b:SCALAR setForceGeneratorRtd ARRAY
b:SCALAR setWindforce SCALAR
b:STRING setPipeffect ARRAY
n:airDensitycurveRtd
n:clearForcesRtd
n:localCoordinateSystemCenterRtd
n:profileNamespace
n:saveProfileNamespace
n:systemOfUnits
n:windRtd
u:actionName STRING
u:addForceGeneratorRtd ARRAY
u:airDensityRtd SCALAR
u:ambientRoadCreate ARRAY
u:batteryChargeRTD OBJECT
u:className LOCATION
u:collectiveRTD OBJECT
u:enginesIsOnRtd OBJECT
u:enginesRPMRtd OBJECT
u:forceAtPositionRtd ARRAY
u:forceGeneratorRtd SCALAR
u:getEngineTargetRpmRtd OBJECT
u:getRotorBrakeRtd OBJECT
u:getShadowDistance ANY
u:getTrimOffsetRtd OBJECT
u:getWingsPositionRtd OBJECT
u:hasAPURtd OBJECT
u:isAPUOnRtd OBJECT
u:isAutoStartupEnabledRtd OBJECT
u:isAutoTrimOnRtd OBJECT
u:isBatteryOnRtd OBJECT
u:isCoPilotEnabled OBJECT
u:isObjectRtd OBJECT
u:isSimulatedRtd OBJECT
u:isStarterOnRtd OBJECT
u:isTouchingGround OBJECT
u:lineIntersects ARRAY
u:lineIntersectsWith ARRAY
u:makeAirborne OBJECT
u:numberOfEnginesRTD OBJECT
u:radioChannelCreate ARRAY
u:ropeCreate ARRAY
u:ropeCut ARRAY
u:ropeDestroy ARRAY
u:ropes OBJECT
u:ropeUnwind ARRAY
u:rotorsForcesRtd OBJECT
u:rotorsRpmRtd OBJECT
u:setDefaultHazeDistance SCALAR
u:setDesiredLuminanceCoef SCALAR
u:setDetailMapBlendPars ARRAY
u:setHazeDistCoef SCALAR
u:setHazeFogCoef SCALAR
u:setHDRLuminancErectCoef SCALAR
u:setObjectViewDistance ARRAY
u:setObjectViewDistance SCALAR
u:setSatNormalMapBlendPars ARRAY
u:setShadowDistance SCALAR
u:setSystemOfUnits SCALAR
u:stopEngineRtd OBJECT
u:throttleRTD OBJECT
u:velocityModelSpace OBJECT
u:weightRtd OBJECT
u:wingsforcesRtd OBJECT

1.01.85675

Removed

u:ambientroadcreate ARRAY
u:makeairborne OBJECT

Changed

b:OBJECT assignAsCargo ARRAY => b:OBJECT assignAsCargoIndex ARRAY
b:OBJECT ropedettach OBJECT => b:OBJECT ropeDetach OBJECT
u:ropeDestroy ARRAY => u:ropeDestroy OBJECT

Added

b:OBJECT disablecollisionwith OBJECT
b:OBJECT doorphase STRING
b:OBJECT enablecollisionwith OBJECT
b:OBJECT fastrope ARRAY
b:OBJECT setuseractiontext ARRAY
n:freelook
n:hudmovementlevels
n:isPiPEnabled
n:isstressdamageenabled
n:isuseractionenabled
n:savejoysticks
n:simulweathersync
u:addmissioneventhandler ARRAY
u:ctrltextheight CONTROL
u:decreasetenginetemperaturertd OBJECT
u:enablesimulweather BOOL
u:enablestressdamage BOOL
u:enabletraffic BOOL
u:enableuseractions BOOL
u:enginestemperaturertd OBJECT
u:removeallmissioneventhandlers STRING
u:removemissioneventhandler ARRAY
u:resetsubgroupdirection OBJECT
u:ropeSetCargoMass ARRAY
u:ropeunwound OBJECT
u:sethudmovementlevels ARRAY
u:setsimulweatherrendermode SCALAR
u:settrafficdensity ARRAY
u:settrafficdistance SCALAR
u:settrafficgap ARRAY
u:settrafficspeed ARRAY
u:simulclouddensity ARRAY
u:simulcloudocclusion ARRAY
u:simulinclouds ARRAY
u:simulloadseq STRING
u:simulsetalphasharpness SCALAR
u:simulsetambientlightresponse SCALAR
u:simulsetatmospherethickness SCALAR
u:simulsetcentrex SCALAR
u:simulsetcentrey SCALAR
u:simulsetcloudbasez SCALAR
u:simulsetcloudheight SCALAR
u:simulsetcloudlength SCALAR
u:simulsetcloudwidth SCALAR
u:simulsetdiffusivity SCALAR
u:simulsetextinction SCALAR
u:simulsetfog ARRAY
u:simulsetfractalamplitude SCALAR
u:simulsetfractalwavelength SCALAR
u:simulsetgridheight SCALAR
u:simulsetgridlength SCALAR
u:simulsetgridwidth SCALAR
u:simulsethaze SCALAR
u:simulsethazebaseheightkm SCALAR
u:simulsethazescaleheightkm SCALAR
u:simulsethelperdetail ARRAY
u:simulsethelpergrid ARRAY
u:simulsethelpernearcloudfade SCALAR
u:simulsethumidity SCALAR
u:simulsetlightdetail SCALAR
u:simulsetlightresponse SCALAR
u:simulsetmieasymmetry SCALAR
u:simulsetmieeccentricity SCALAR
u:simulsetminimumlightelevationdegrees SCALAR
u:simulsetnoiseoctaves SCALAR
u:simulsetnoiseperiod SCALAR
u:simulsetnoisepersistence SCALAR
u:simulsetnoiseresolution SCALAR
u:simulsetopticaldensity SCALAR
u:simulsetovercast SCALAR
u:simulsetovercastbasekm SCALAR
u:simulsetovercastrangekm SCALAR
u:simulsetrandomseed SCALAR
u:simulsetsecondarylightresponse SCALAR
u:simulsetselfshadowscale SCALAR
u:simulsetthinlayer BOOL
u:simulsetwrap BOOL
u:size LOCATION

1.02.86094

Added

u:isLocalized STRING

Updates

See CMB repository.

Guest acc:

  • Nickname: guest
  • Password: guest