Advertisement
Guest User

RemoteTech PartModules Variables

a guest
Apr 19th, 2013
3,702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.82 KB | None | 0 0
  1. Here follows a list of variables for various RemoteTech PartModules and their default value:
  2.  
  3. ModuleRemoteTechSPU
  4. {
  5. //this PartModule is a subclass of moduleCommand and inherits both its variables and functions. There is however one other variable uniue to RemoteTech functionality:
  6.  
  7. isRemoteCommand = false //sets whether the SPU will be recognized as a remote command module, if false, the SPU will merely be remote control
  8. }
  9.  
  10. RemoteTechAntennaCore
  11. {
  12. //the superclass of all other antenna PartModules. The variables of this PartModule are also to be found in the following subclases.
  13.  
  14. antennaName = Dish //which name the antenna has in the GUI/context menu
  15.  
  16. dishRange = 0 // the module will only be recognized as a dish if this is above 0
  17. antennaRange = 0 // the module will only be recognized as an antenna if this is above 0
  18. EnergyDrain = 0 // how much energy will be drained per tick
  19.  
  20. showStats = true // if true, the current range will be visible in the context menu
  21. showAntennaName = false // if true, the stats in the context menu will be prefixed with the antenna name
  22. showType = false // if true, the stats in the context menu will be prefixed with the antenna type
  23. }
  24.  
  25. ModuleRTModalAntenna
  26. {
  27. //this partModule is a subclass of RemoteTechAntennaCore and so the methods and variables are inherited. Some variables will be overwritten though.
  28.  
  29. Mode0Name = Mode0 // the name for mode 0 in both actionGroups and context menu
  30. Mode1Name = Mode1 // the name for mode 1 in both actionGroups and context menu
  31. ToggleName = Toggle // the name for mode toggle in actionGroups
  32.  
  33. MasterOf0 = false // if true, the animation module will set mode 0 in all animation and mode PartModules on the same part when it itself is switched to 0
  34. MasterOf1 = false // if true, the animation module will set mode 1 in all animation and mode PartModules on the same part when it itself is switched to 1
  35. MasterOfLoop0 = false // if true, the animation module will set mode 0 in all looped animation PartModules on the same part when it itself is switched to 0
  36. MasterOfLoop1 = false // if true, the animation module will set mode 1 in all looped animation PartModules on the same part when it itself is switched to 1
  37. LoopLock = false // if true this locks all looped animation modules when this module is set to 0
  38. ModeLock = false // if true this locks all animation and mode modules when this module is set to 0
  39. willWakeInPanic = false // if true this module will force-set mode1 if the vessel looses control
  40.  
  41. MinimumDrag = 0 // if this is above 0 the part drag will be overwritten on mode 0 with the partModule variables, and the variables + Dragmodifier on mode 1
  42. MaximumDrag = 0
  43. Dragmodifier = 0
  44. MaxQ = -1 // if this is above 0 the part will fall off and explode if airflow exceeds this value and the module is in mode1
  45. EnergyDrain0 = 0 // continuous energydrain at mode0
  46. EnergyDrain1 = 0 // continuous energydrain at mode1
  47. Mode0EnergyCost = 0 // one-time energy cost when going from mode1-0
  48. Mode1EnergyCost = 0 // one-time energy cost when going from mode0-1
  49. antennaRange0 = 0 // antenna range at mode0
  50. antennaRange1 = 0 // antenna range at mode1
  51. dishRange0 = 0 // dish range at mode0
  52. dishRange1 = 0 // dish range at mode1
  53. }
  54.  
  55. ModuleRTAnimatedAntenna
  56. {
  57. //this partModule is a subclass of RemoteTechAntennaCore and so the methods and variables are inherited. Some variables will be overwritten though
  58.  
  59. Animation = // name of the animation clip to be played when going from mode0-1, the animation clip will be played in reverse when going from mode1-0
  60. Mode0Name = Mode0 // the name for mode 0 in both actionGroups and context menu
  61. Mode1Name = Mode1 // the name for mode 1 in both actionGroups and context menu
  62. ToggleName = Toggle // the name for mode toggle in actionGroups
  63.  
  64. fixAnimLayers = false // if true the PartModule will order all Part animations to work on different layers, enabling multiple independent animations.
  65. MasterOf0 = false // if true, the animation module will set mode 0 in all animation and mode PartModules on the same part when it itself is switched to 0
  66. MasterOf1 = false // if true, the animation module will set mode 1 in all animation and mode PartModules on the same part when it itself is switched to 1
  67. MasterOfLoop0 = false // if true, the animation module will set mode 0 in all looped animation PartModules on the same part when it itself is switched to 0
  68. MasterOfLoop1 = false // if true, the animation module will set mode 1 in all looped animation PartModules on the same part when it itself is switched to 1
  69. LoopLock = false // if true this locks all looped animation modules when this module is set to 0
  70. ModeLock = false // if true this locks all animation and mode modules when this module is set to 0
  71. willWakeInPanic = false // if true this module will force-set mode1 if the vessel looses control
  72.  
  73. MinimumDrag = 0 // if this is above 0 the part drag will be overwritten on mode 0 with the partModule variables, and the variables + Dragmodifier on mode 1
  74. MaximumDrag = 0
  75. Dragmodifier = 0
  76. MaxQ = -1 // if this is above 0 the part will fall off and explode if airflow exceeds this value and the module is in mode1
  77. EnergyDrain0 = 0 // continuous energydrain at mode0
  78. EnergyDrain1 = 0 // continuous energydrain at mode1
  79. Mode0EnergyCost = 0 // one-time energy cost when going from mode1-0
  80. Mode1EnergyCost = 0 // one-time energy cost when going from mode0-1
  81. antennaRange0 = 0 // antenna range at mode0
  82. antennaRange1 = 0 // antenna range at mode1
  83. dishRange0 = 0 // dish range at mode0
  84. dishRange1 = 0 // dish range at mode1
  85. }
  86.  
  87. ModuleRTLoopAnimAntenna
  88. {
  89. //this partModule is a subclass of RemoteTechAntennaCore and so the methods and variables are inherited. Some variables will be overwritten though
  90.  
  91. Animation = // name of the looped animation clip to be played on mode1 and stopped at mode0
  92. Mode0Name = Mode0 // the name for mode 0 in both actionGroups and context menu
  93. Mode1Name = Mode1 // the name for mode 1 in both actionGroups and context menu
  94. ToggleName = Toggle // the name for mode toggle in actionGroups
  95.  
  96. fixAnimLayers = false // if true the PartModule will order all Part animations to work on different layers, enabling multiple independent animations.
  97. MasterOf0 = false // if true, the animation module will set mode 0 in all animation and mode PartModules on the same part when it itself is switched to 0
  98. MasterOf1 = false // if true, the animation module will set mode 1 in all animation and mode PartModules on the same part when it itself is switched to 1
  99. MasterOfLoop0 = false // if true, the animation module will set mode 0 in all looped animation PartModules on the same part when it itself is switched to 0
  100. MasterOfLoop1 = false // if true, the animation module will set mode 1 in all looped animation PartModules on the same part when it itself is switched to 1
  101. LoopLock = false // if true this locks all looped animation modules when this module is set to 0
  102. ModeLock = false // if true this locks all animation and mode modules when this module is set to 0
  103. willWakeInPanic = false // if true this module will force-set mode1 if the vessel looses control
  104.  
  105. MinimumDrag = 0 // if this is above 0 the part drag will be overwritten on mode 0 with the partModule variables, and the variables + Dragmodifier on mode 1
  106. MaximumDrag = 0
  107. Dragmodifier = 0
  108. MaxQ = -1 // if this is above 0 the part will fall off and explode if airflow exceeds this value and the module is in mode1
  109. EnergyDrain0 = 0 // continuous energydrain at mode0
  110. EnergyDrain1 = 0 // continuous energydrain at mode1
  111. Mode0EnergyCost = 0 // one-time energy cost when going from mode1-0
  112. Mode1EnergyCost = 0 // one-time energy cost when going from mode0-1
  113. antennaRange0 = 0 // antenna range at mode0
  114. antennaRange1 = 0 // antenna range at mode1
  115. dishRange0 = 0 // dish range at mode0
  116. dishRange1 = 0 // dish range at mode1
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement