New Scripting Commands – Take On Helicopters Category

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Note about RTD changed from speculation to fact)
m (Text replacement - "ExternalLink" to "Link")
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{TOC|side}}
List of all new commands in [[Take On Helicopters]]
List of all new commands in [[Take On Helicopters]]




==Notes==
== Notes ==


1. The data is extracted with the help of [[supportInfo]] and [http://dev-heaven.net/projects/cca/wiki/CBA CBA].
1. The data is extracted with the help of [[supportInfo]] and {{Link|link= http://dev-heaven.net/projects/cca/wiki/CBA|text= CBA}}.


  [supportInfo ""] call cba_fnc_debug
  [supportInfo ""] call cba_fnc_debug
Line 12: Line 13:
3. Many new commands end with '''RTD'''. This is short for [http://rtdynamics.com/ RTDynamics], who are the developers of RotorLib - the library used for the [[Helicopter_Flight_Model_Config_(XML)|TKOH flight model]].
3. Many new commands end with '''RTD'''. This is short for [http://rtdynamics.com/ RTDynamics], who are the developers of RotorLib - the library used for the [[Helicopter_Flight_Model_Config_(XML)|TKOH flight model]].


==Version 82161==
== Version 82161 ==


===Changed===
=== Changed ===


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


===Added===
=== Added ===
 
<spoiler>
  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
  b:STRING setPipeffect ARRAY
  b:STRING [[setPiPEffect]] ARRAY
  n:airDensitycurveRtd
  n:airDensitycurveRtd
  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 60:
  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 85:
  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 106:
  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
  u:wingsforcesRtd OBJECT
  u:wingsforcesRtd OBJECT
</spoiler>
== 1.01.85675 ==


==1.01.85675==
=== Removed ===
 
===Removed===


  u:ambientroadcreate ARRAY
  u:ambientroadcreate ARRAY
  u:makeairborne OBJECT
  u:makeairborne OBJECT


===Changed===
=== 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 [[assignAsCargo]] ARRAY => b:OBJECT [[assignAsCargoIndex]] ARRAY
b:OBJECT ropedettach OBJECT => b:OBJECT [[ropeDetach]] OBJECT
u:[[ropeDestroy]] ARRAY => u:[[ropeDestroy]] OBJECT


=== Added ===
<spoiler>
  b:OBJECT disablecollisionwith OBJECT
  b:OBJECT disablecollisionwith OBJECT
  b:OBJECT doorphase STRING
  b:OBJECT doorphase STRING
Line 132: Line 133:
  n:freelook
  n:freelook
  n:hudmovementlevels
  n:hudmovementlevels
  n:ispipenabled
  n:[[isPiPEnabled]]
  n:isstressdamageenabled
  n:isstressdamageenabled
  n:isuseractionenabled
  n:isuseractionenabled
Line 142: Line 143:
  u:enablesimulweather BOOL
  u:enablesimulweather BOOL
  u:enablestressdamage BOOL
  u:enablestressdamage BOOL
  u:enabletraffic BOOL
  u:[[enableTraffic]] BOOL
  u:enableuseractions BOOL
  u:enableuseractions BOOL
  u:enginestemperaturertd OBJECT
  u:enginestemperaturertd OBJECT
Line 148: Line 149:
  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
  u:setsimulweatherrendermode SCALAR
  u:setsimulweatherrendermode SCALAR
  u:settrafficdensity ARRAY
  u:[[setTrafficDensity]] ARRAY
  u:settrafficdistance SCALAR
  u:[[setTrafficDistance]] SCALAR
  u:settrafficgap ARRAY
  u:[[setTrafficGap]] ARRAY
  u:settrafficspeed ARRAY
  u:[[setTrafficSpeed]] ARRAY
  u:simulclouddensity ARRAY
  u:simulclouddensity ARRAY
  u:simulcloudocclusion ARRAY
  u:simulcloudocclusion ARRAY
Line 203: Line 204:
  u:simulsetwrap BOOL
  u:simulsetwrap BOOL
  u:size LOCATION
  u:size LOCATION
</spoiler>
== 1.02.86094 ==


==1.02.86094==
=== Added ===
 
===Added===


  u:isLocalized STRING
  u:isLocalized STRING


==Updates ==
{{GameCategory|tkoh|Scripting Commands}}
 
See [http://dev-heaven.net/projects/cmb/repository/revisions/master/changes/scripts/TOH/formatted/supportInfo.sqf CMB repository].
 
Guest acc:
* Nickname: guest
* Password: guest
 
 
[[Category:Scripting Commands|Scripting Commands]]
[[Category:Take On Helicopters: Editing|New Scripting Commands List]]
[[Category:Scripting Commands Take On Helicopters|New Scripting Commands List]]

Latest revision as of 16:30, 4 January 2023

List of all new commands in Take On Helicopters


Notes

1. The data is extracted with the help of supportInfo and CBA (dead link).

[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
↑ Back to spoiler's top

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
↑ Back to spoiler's top

1.02.86094

Added

u:isLocalized STRING