New Scripting Commands – Take On Helicopters Category

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "ExternalLink" to "Link")
 
(14 intermediate revisions by 6 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


2. It seems all 3d editor commands have been removed. '''Speculation''': They have been merged into the engine for ArmA III.
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 have at the end '''Rtd'''. '''Speculation''': It could short for rtdynamics. They are the developers of rotorlib - the library used for the TakOH FM.
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 ==


===Removed===
=== Changed ===
 
b:CONTROL addeditorobject ARRAY
b:CONTROL addmenu ARRAY
b:CONTROL addmenuitem ARRAY
b:CONTROL allow3dmode BOOL
b:CONTROL allowfileoperations BOOL
b:CONTROL createmenu SCALAR
b:CONTROL deleteeditorobject STRING
b:CONTROL drawlink ARRAY
b:CONTROL editobject STRING
b:CONTROL editorseteventhandler ARRAY
b:CONTROL evalobjectargument ARRAY
b:CONTROL execeditorscript ARRAY
b:CONTROL findeditorobject ANY
b:CONTROL findeditorobject ARRAY
b:CONTROL geteditorobjectscope STRING
b:CONTROL getobjectargument ARRAY
b:CONTROL getobjectchildren STRING
b:CONTROL getobjectproxy STRING
b:CONTROL getvariable STRING
b:CONTROL inserteditorobject ARRAY
b:CONTROL listobjects STRING
b:CONTROL loadoverlay CONFIG
b:CONTROL lookatpos ARRAY
b:CONTROL moveobjecttoend STRING
b:CONTROL newoverlay CONFIG
b:CONTROL nmenuitems SCALAR,STRING
b:CONTROL ondoubleclick STRING
b:CONTROL onshownewobject STRING
b:CONTROL removedrawicon ARRAY
b:CONTROL removedrawlinks ARRAY
b:CONTROL removemenuitem SCALAR
b:CONTROL removemenuitem STRING
b:CONTROL selecteditorobject STRING
b:CONTROL setdrawicon ARRAY
b:CONTROL seteditormode STRING
b:CONTROL seteditorobjectscope ARRAY
b:CONTROL setobjectarguments ARRAY
b:CONTROL setobjectproxy ARRAY
b:CONTROL setvariable ARRAY
b:CONTROL setvisibleiftreecollapsed ARRAY
b:CONTROL show3dicons BOOL
b:CONTROL showlegend BOOL
b:CONTROL showneweditorobject ARRAY
b:CONTROL updatedrawicon ARRAY
b:CONTROL updatemenuitem ARRAY
u:clearoverlay CONTROL
u:closeoverlay CONTROL
u:collapseobjecttree CONTROL
u:commitoverlay CONTROL
u:geteditorcamera CONTROL
u:geteditormode CONTROL
u:importallgroups CONTROL
u:isrealtime CONTROL
u:isshowing3dicons CONTROL
u:nextmenuitemindex CONTROL
u:restarteditorcamera CONTROL
u:saveoverlay CONTROL
u:selectededitorobjects CONTROL
u:updateobjecttree CONTROL
 
===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 121: 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 146: 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 167: 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 ==
=== Removed ===
u:ambientroadcreate ARRAY
u:makeairborne OBJECT
=== Changed ===


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


See [http://dev-heaven.net/projects/cmb/repository/revisions/master/changes/scripts/TOH/formatted/supportInfo.sqf CMB repository].
=== Added ===
<spoiler>
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
</spoiler>
== 1.02.86094 ==


Guest acc:
=== Added ===
* Nickname: guest
* Password: guest


u:isLocalized STRING


[[Category:Scripting Commands|Scripting Commands]]
{{GameCategory|tkoh|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