RigsofRods  2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
RigDef_File.h
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2024 Petr Ohlidal
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
40 #pragma once
41 
42 #include "Application.h"
43 #include "BitFlags.h"
44 #include "RigDef_Node.h"
45 #include "SimConstants.h"
46 
47 #include <list>
48 #include <memory>
49 #include <vector>
50 #include <string>
51 #include <OgreString.h>
52 #include <OgreVector3.h>
53 #include <OgreStringConverter.h>
54 
55 namespace RigDef {
56 
57 extern const char* ROOT_MODULE_NAME;
58 
59 // --------------------------------
60 // Enums which only carry value
61 
62 enum class SpecialProp
63 {
64  NONE,
73  BEACON,
74  REDBEACON,
75  LIGHTBAR,
76 };
77 
79 {
80  INVALID,
85 };
86 
87 // --------------------------------
88 // Enums which specify option letters/numbers and also carry value
89 
90 enum class EngineType
91 {
92  c_CAR = 'c',
93  e_ECAR = 'e',
94  t_TRUCK = 't',
95 };
96 
97 enum class DifferentialType: char
98 {
99  o_OPEN = 'o',
100  l_LOCKED = 'l',
101  s_SPLIT = 's',
102  v_VISCOUS = 'v'
103 };
104 
105 typedef std::vector<DifferentialType> DifferentialTypeVec;
106 
107 enum class MinimassOption: char
108 {
109  n_DUMMY = 'n',
110  l_SKIP_LOADED = 'l'
111 };
112 
113 enum class WingControlSurface: char
114 {
115  n_NONE = 'n',
116  a_RIGHT_AILERON = 'a',
117  b_LEFT_AILERON = 'b',
118  f_FLAP = 'f',
119  e_ELEVATOR = 'e',
120  r_RUDDER = 'r',
123  c_RIGHT_ELEVON = 'c',
124  d_LEFT_ELEVON = 'd',
125  g_RIGHT_FLAPERON = 'g',
126  h_LEFT_FLAPERON = 'h',
127  U_RIGHT_HAND_TAILERON = 'U',
128  V_LEFT_HAND_TAILERON = 'V',
129  i_RIGHT_RUDDERVATOR = 'i',
130  j_LEFT_RUDDERVATOR = 'j',
131 };
132 
133 // --------------------------------
134 // Enums which only specify flag letters, values are carried by bit masks
135 
136 enum class TieOption: char
137 {
138  n_DUMMY = 'n',
139  v_DUMMY = 'v',
140  i_INVISIBLE = 'i',
141  s_NO_SELF_LOCK = 's',
142 };
143 
144 enum class CabOption: char
145 {
146  n_DUMMY = 'n',
147  c_CONTACT = 'c',
148  b_BUOYANT = 'b',
149  p_10xTOUGHER = 'p',
150  u_INVULNERABLE = 'u',
151  s_BUOYANT_NO_DRAG = 's',
152  r_BUOYANT_ONLY_DRAG = 'r',
153  D_CONTACT_BUOYANT = 'D',
154  F_10xTOUGHER_BUOYANT = 'F',
156 };
157 
158 enum class TriggerOption: char
159 {
160  i_INVISIBLE = 'i',
161  c_COMMAND_STYLE = 'c',
162  x_START_DISABLED = 'x',
163  b_KEY_BLOCKER = 'b',
164  B_TRIGGER_BLOCKER = 'B',
165  A_INV_TRIGGER_BLOCKER = 'A',
166  s_CMD_NUM_SWITCH = 's',
167  h_UNLOCKS_HOOK_GROUP = 'h',
168  H_LOCKS_HOOK_GROUP = 'H',
169  t_CONTINUOUS = 't',
170  E_ENGINE_TRIGGER = 'E',
171 };
172 
173 enum class BeamOption: char
174 {
175  v_DUMMY = 'v',
176  i_INVISIBLE = 'i',
177  r_ROPE = 'r',
178  s_SUPPORT = 's',
179 };
180 
181 enum class HydroOption: char
182 {
183  n_INPUT_NORMAL = 'n',
184  j_INVISIBLE = 'j',
186  // Useful for trucks
188  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
189  a_INPUT_AILERON = 'a',
190  r_INPUT_RUDDER = 'r',
191  e_INPUT_ELEVATOR = 'e',
198 };
199 
200 enum class ShockOption: char
201 {
202  n_DUMMY = 'n',
203  v_DUMMY = 'v',
204  i_INVISIBLE = 'i',
205  L_ACTIVE_LEFT = 'L',
206  R_ACTIVE_RIGHT = 'R',
207  m_METRIC = 'm',
208 };
209 
210 enum class Shock2Option: char
211 {
212  n_DUMMY = 'n',
213  v_DUMMY = 'v',
214  i_INVISIBLE = 'i',
215  s_SOFT_BUMP_BOUNDS = 's',
216  m_METRIC = 'm',
217  M_ABSOLUTE_METRIC = 'M',
218 };
219 
220 enum class Shock3Option: char
221 {
222  n_DUMMY = 'n',
223  v_DUMMY = 'v',
224  i_INVISIBLE = 'i',
225  m_METRIC = 'm',
226  M_ABSOLUTE_METRIC = 'M',
227 };
228 
229 enum class NodeOption: char
230 {
231  n_DUMMY = 'n',
232  m_NO_MOUSE_GRAB = 'm',
233  f_NO_SPARKS = 'f',
234  x_EXHAUST_POINT = 'x',
235  y_EXHAUST_DIRECTION = 'y',
236  c_NO_GROUND_CONTACT = 'c',
237  h_HOOK_POINT = 'h',
238  e_TERRAIN_EDIT_POINT = 'e',
239  b_EXTRA_BUOYANCY = 'b',
240  p_NO_PARTICLES = 'p',
241  L_LOG = 'L',
242  l_LOAD_WEIGHT = 'l',
243 };
244 
245 // --------------------------------
246 // Shared/helper rig definition data
247 
248 struct AeroAnimator // used by Animator
249 {
250  static const BitMask_t OPTION_THROTTLE = BITMASK(1);
251  static const BitMask_t OPTION_RPM = BITMASK(2);
252  static const BitMask_t OPTION_TORQUE = BITMASK(3);
253  static const BitMask_t OPTION_PITCH = BITMASK(4);
254  static const BitMask_t OPTION_STATUS = BITMASK(5);
255 
257  unsigned int engine_idx = 0u;
258 };
259 
260 struct Assetpack
261 {
262  std::string filename;
263 };
264 
265 struct BaseWheel
266 {
267  float width = 0.f;
268  unsigned int num_rays = 0u;
274  float mass = 0.f;
275  std::shared_ptr<NodeDefaults> node_defaults;
276  std::shared_ptr<BeamDefaults> beam_defaults;
277 };
278 
279 struct BaseMeshWheel: public BaseWheel // common to 'meshwheels' and 'meshwheels2'
280 {
282  Ogre::String mesh_name;
283  Ogre::String material_name;
284  float rim_radius = 0.f;
285  float tyre_radius = 0.f;
286  float spring;
287  float damping;
288 };
289 
290 struct BaseWheel2: public BaseWheel // common to 'wheels2' and 'flexbodywheels'
291 {
292  float rim_radius = 0.f;
293  float tyre_radius = 0.f;
294  float tyre_springiness = 0.f;
295  float tyre_damping = 0.f;
296 };
297 
298 struct Inertia
299 {
303  {}
304 
307  Ogre::String start_function;
308  Ogre::String stop_function;
309 };
310 
311 struct DocComment
312 {
313  std::string comment_text;
314  // The item following after the comment.
316  int commented_datapos = -1;
317 };
318 
319 // --------------------------------
320 // Rig definition data for individual elements
321 
322 struct Airbrake
323 {
324  Airbrake();
325 
330  Ogre::Vector3 offset;
331  float width;
332  float height;
334  float texcoord_x1;
335  float texcoord_x2;
336  float texcoord_y1;
337  float texcoord_y2;
339 };
340 
341 struct Animation
342 {
343  struct MotorSource
344  {
345  // > aeroengines
347  static const BitMask_t SOURCE_AERO_RPM = BITMASK(2);
351  // > forward gears (hack...)
353 
355  unsigned int motor = 0;
356  };
357 
358  // Source flags
365  static const BitMask64_t SOURCE_FLAP = BITMASK64( 7);
367  static const BitMask64_t SOURCE_ROLL = BITMASK64( 9);
368  static const BitMask64_t SOURCE_PITCH = BITMASK64(10);
369  static const BitMask64_t SOURCE_BRAKES = BITMASK64(11);
370  static const BitMask64_t SOURCE_ACCEL = BITMASK64(12);
371  static const BitMask64_t SOURCE_CLUTCH = BITMASK64(13);
372  static const BitMask64_t SOURCE_SPEEDO = BITMASK64(14);
373  static const BitMask64_t SOURCE_TACHO = BITMASK64(15);
374  static const BitMask64_t SOURCE_TURBO = BITMASK64(16);
380  static const BitMask64_t SOURCE_TORQUE = BITMASK64(22);
390  static const BitMask64_t SOURCE_EVENT = BITMASK64(32);
396 
397  // Mode flags
398  static const BitMask_t MODE_ROTATION_X = BITMASK(1);
399  static const BitMask_t MODE_ROTATION_Y = BITMASK(2);
400  static const BitMask_t MODE_ROTATION_Z = BITMASK(3);
401  static const BitMask_t MODE_OFFSET_X = BITMASK(4);
402  static const BitMask_t MODE_OFFSET_Y = BITMASK(5);
403  static const BitMask_t MODE_OFFSET_Z = BITMASK(6);
405  static const BitMask_t MODE_NO_FLIP = BITMASK(8);
406  static const BitMask_t MODE_BOUNCE = BITMASK(9);
407  static const BitMask_t MODE_EVENT_LOCK = BITMASK(10);
408 
409  float ratio = 0.f;
410  float lower_limit = -1.f;
411  float upper_limit = -1.f;
413  std::list<MotorSource> motor_sources;
415  Ogre::String event_name;
416  Ogre::String dash_link_name;
417 
418  void AddMotorSource(BitMask_t source, unsigned int motor);
419 };
420 
421 struct Animator
422 {
423  static const BitMask_t OPTION_VISIBLE = BITMASK( 1);
424  static const BitMask_t OPTION_INVISIBLE = BITMASK( 2);
425  static const BitMask_t OPTION_AIRSPEED = BITMASK( 3);
431  static const BitMask_t OPTION_FLAP = BITMASK( 9);
432  static const BitMask_t OPTION_AIR_BRAKE = BITMASK(10);
433  static const BitMask_t OPTION_ROLL = BITMASK(11);
434  static const BitMask_t OPTION_PITCH = BITMASK(12);
435  static const BitMask_t OPTION_BRAKES = BITMASK(13);
436  static const BitMask_t OPTION_ACCEL = BITMASK(14);
437  static const BitMask_t OPTION_CLUTCH = BITMASK(15);
438  static const BitMask_t OPTION_SPEEDO = BITMASK(16);
439  static const BitMask_t OPTION_TACHO = BITMASK(17);
440  static const BitMask_t OPTION_TURBO = BITMASK(18);
441  static const BitMask_t OPTION_PARKING = BITMASK(19);
446  static const BitMask_t OPTION_TORQUE = BITMASK(24);
447  static const BitMask_t OPTION_DIFFLOCK = BITMASK(25);
451  static const BitMask_t OPTION_LONG_LIMIT = BITMASK(29);
452 
454  float lenghtening_factor = 0.f;
456  float short_limit = 0.f;
457  float long_limit = 0.f;
459  std::shared_ptr<Inertia> inertia_defaults;
460  std::shared_ptr<BeamDefaults> beam_defaults;
461  int detacher_group = 0;
462 };
463 
465 {
466  AntiLockBrakes();
467 
469  unsigned int min_speed;
474 };
475 
476 struct Author
477 {
478  Ogre::String type;
479  unsigned int forum_account_id = 0;
480  Ogre::String name;
481  Ogre::String email;
482  bool _has_forum_account = false;
483 };
484 
485 struct Axle
486 {
489 };
490 
491 struct Beam
492 {
494  static const BitMask_t OPTION_r_ROPE = BITMASK(2);
495  static const BitMask_t OPTION_s_SUPPORT = BITMASK(3);
496 
501  int detacher_group = 0;
502  std::shared_ptr<BeamDefaults> defaults;
503 };
504 
506 {
508  springiness(1),
509  damping_constant(1),
512  {}
513 
514  float springiness;
518 };
519 
521 {
522  BeamDefaults(): // NOTE: -1.f is 'empty value'; replaced by constant in parser.
523  springiness(-1.f),
524  damping_constant(-1.f),
525  deformation_threshold(-1.f),
526  visual_beam_diameter(-1.f),
527  beam_material_name("tracks/beam"),
528  breaking_threshold(-1.f),
531  _is_user_defined(false)
532  {}
533 
535  {
536  return springiness * scale.springiness;
537  }
538 
540  {
542  }
543 
545  {
547  }
548 
549  inline float GetScaledDeformThreshold() const
550  {
552  }
553 
554  float springiness;
559  Ogre::String beam_material_name;
565 };
566 
567 struct Brakes
568 {
569  float default_braking_force = 30000.f;
570  float parking_brake_force = -1.f;
571 };
572 
573 struct Cab
574 {
575  static const BitMask_t OPTION_c_CONTACT = BITMASK(1);
576  static const BitMask_t OPTION_b_BUOYANT = BITMASK(2);
584 
587 };
588 
589 struct Camera
590 {
594 };
595 
597 {
598  std::vector<Node::Ref> nodes;
599 };
600 
602 {
604 };
605 
606 struct Cinecam
607 {
608  Ogre::Vector3 position = Ogre::Vector3::ZERO;
610  float spring = 8000.f;
611  float damping = 800.f;
612  float node_mass = 20.f;
613  std::shared_ptr<BeamDefaults> beam_defaults;
614  std::shared_ptr<NodeDefaults> node_defaults;
615 };
616 
618 {
619  std::vector<Node::Ref> nodes;
620 };
621 
623 {
625 };
626 
627 struct Command2 // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
628 {
630  float shorten_rate = 0.f;
631  float lengthen_rate = 0.f;
632  float max_contraction = 0.f;
633  float max_extension = 0.f;
636  Ogre::String description;
638  float affect_engine = 1.f;
639  bool needs_engine = true;
640  bool plays_sound = true;
641  std::shared_ptr<BeamDefaults> beam_defaults;
642  std::shared_ptr<Inertia> inertia_defaults;
643  int detacher_group = 0;
644 
645  bool option_i_invisible = false;
646  bool option_r_rope = false;
647  bool option_c_auto_center = false;
648  bool option_f_not_faster = false;
649  bool option_p_1press = false;
651 };
652 
654 {
655  float min_speed = 0.f;
656  int autobrake = 0;
657 };
658 
660 {
661  Ogre::String name;
663 };
664 
666 {
668 };
669 
671 {
672  std::string skin_name;
673 };
674 
675 struct Engine
676 {
677  float shift_down_rpm = 0.f;
678  float shift_up_rpm = 0.f;
679  float torque = 0.f;
680  float global_gear_ratio = 0.f;
681  float reverse_gear_ratio = 0.f;
682  float neutral_gear_ratio = 0.f;
683  std::vector<float> gear_ratios;
684 };
685 
686 struct Engoption
687 {
688  float inertia = 10.f;
690  float clutch_force = -1.f;
691  float shift_time = -1.f;
692  float clutch_time = -1.f;
693  float post_shift_time = -1.f;
694  float idle_rpm = -1.f;
695  float stall_rpm = -1.f;
696  float max_idle_mixture = -1.f;
697  float min_idle_mixture = -1.f;
698  float braking_torque = -1.f;
699 };
700 
701 struct Engturbo
702 {
703  Engturbo();
704 
705  int version;
707  int nturbos;
708  float param1;
709  float param2;
710  float param3;
711  float param4;
712  float param5;
713  float param6;
714  float param7;
715  float param8;
716  float param9;
717  float param10;
718  float param11;
719 };
720 
721 struct Exhaust
722 {
725  Ogre::String particle_name;
726 };
727 
728 struct ExtCamera
729 {
732 };
733 
735 {
736  int version = -1;
737 };
738 
739 struct Fileinfo
740 {
741  Ogre::String unique_id;
742  int category_id = -1;
743  int file_version = 0;
744 };
745 
746 struct FlareBase
747 {
751  Ogre::Vector3 offset = Ogre::Vector3(0, 0, 1); // Note `offset.z` is only used by flares2+
753  int control_number = -1;
754  std::string dashboard_link;
756  float size = -1.f;
757  Ogre::String material_name;
758 };
759 
760 struct Flare2 : public FlareBase // Note 'flares' are auto-imported as 'flares2' (only 1 extra argument)
761 {
762 };
763 
764 struct Flare3: public FlareBase
765 {
766  std::shared_ptr<Inertia> inertia_defaults;
767 };
768 
770 {
772  int control_number = -1;
773 };
774 
776 struct Forvert
777 {
781  int vert_index{ 0 };
782  int line_number{ 0 }; // If multiple verts are given on single 'forvert' line, multiple `Forvert` entries are inserted.
783 };
784 
785 struct Flexbody
786 {
790  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
791  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
792  Ogre::String mesh_name;
793  std::list<Animation> animations;
794  std::vector<Node::Range> node_list_to_import;
795  std::vector<Node::Ref> node_list;
796  std::vector<Forvert> forvert;
798 };
799 
800 struct FlexBodyWheel: public BaseWheel2
801 {
803  float rim_springiness = 0.f;
804  float rim_damping = 0.f;
805  Ogre::String rim_mesh_name;
806  Ogre::String tyre_mesh_name;
807 };
808 
809 struct Fusedrag
810 {
811  Fusedrag();
812 
813  bool autocalc;
817  Ogre::String airfoil_name;
819 };
820 
821 struct Globals
822 {
823  float dry_mass = 0;
824  float cargo_mass = 0;
825  Ogre::String material_name;
826 };
827 
828 struct Guid
829 {
830  std::string guid;
831 };
832 
834 {
835  std::string key;
836  std::string value;
837 };
838 
839 struct Help
840 {
841  std::string material;
842 };
843 
844 struct Hook
845 {
846  Hook();
847 
856  bool flag_self_lock :1;
857  bool flag_auto_lock :1;
859  bool flag_no_rope :1;
860  bool flag_visible :1;
861 };
862 
863 struct Hydro
864 {
866  // Useful for trucks:
868  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
878  // Generic steering input
880 
882  float lenghtening_factor = 0.f;
885  std::shared_ptr<Inertia> inertia_defaults;
886  std::shared_ptr<BeamDefaults> beam_defaults;
887  int detacher_group = 0;
888 };
889 
890 struct InterAxle
891 {
892  int a1 = 0;
893  int a2 = 0;
895 };
896 
897 struct Lockgroup
898 {
899  // TODO remove these, use SimConstants.h
900  static const int LOCKGROUP_DEFAULT = -1;
901  static const int LOCKGROUP_NOLOCK = 9999;
902 
903  int number = 0;
904  std::vector<Node::Ref> nodes;
905 };
906 
908 {
909  bool double_sided = false;
910 };
911 
913 {
914  Ogre::String name;
917  Ogre::String diffuse_map;
918  Ogre::String damaged_diffuse_map;
919  Ogre::String specular_map;
920 
921  static const char* TypeToStr(ManagedMaterialType type);
922 };
923 
925 {
926  unsigned int flare_number = 0;
927  Ogre::String material_name;
928 };
929 
930 struct Minimass
931 {
934 };
935 
936 struct MeshWheel: public BaseMeshWheel
937 {};
938 
939 struct MeshWheel2: public BaseMeshWheel
940 {};
941 
943 {
944  NodeDefaults();
945 
946  float load_weight;
947  float friction;
948  float volume;
949  float surface;
950  unsigned int options;
951 };
952 
953 struct Particle
954 {
957  Ogre::String particle_system_name;
958 };
959 
961 {
966  float turbine_power_kW = 0.f;
967  float pitch = 0;
968  Ogre::String airfoil;
969 };
970 
971 struct Prop
972 {
974  {
976  offset(Ogre::Vector3::ZERO), // Default depends on right/left-hand dashboard placement
977  rotation_angle(160.f),
978  _offset_is_set(false),
979  mesh_name("dirwheel.mesh")
980  {}
981 
982  Ogre::Vector3 offset;
985  Ogre::String mesh_name;
986  };
987 
989  {
991  color(1.0, 0.5, 0.0),
992  flare_material_name("tracks/beaconflare")
993  {}
994 
995  Ogre::String flare_material_name;
996  Ogre::ColourValue color;
997  };
998 
1002  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
1003  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
1004  Ogre::String mesh_name;
1005  std::list<Animation> animations;
1010 };
1011 
1013 {
1014  unsigned int id = 0;
1015  std::vector<Node::Range> node_list;
1016 };
1017 
1018 struct Ropable
1019 {
1021  int group = -1; // = value not set
1022  bool has_multilock = false;
1023 };
1024 
1025 struct Rope
1026 {
1029  bool invisible = false;
1030  std::shared_ptr<BeamDefaults> beam_defaults;
1032 };
1033 
1034 struct Rotator
1035 {
1039  float rate = 0.f;
1040  unsigned int spin_left_key = 0;
1041  unsigned int spin_right_key = 0;
1043  std::shared_ptr<Inertia> inertia_defaults;
1044  float engine_coupling = 1.f;
1045  bool needs_engine = false;
1046 };
1047 
1048 struct Rotator2: public Rotator
1049 {
1050  float rotating_force = 10000000.f;
1051  float tolerance = 0.f;
1052  Ogre::String description;
1053 };
1054 
1056 {
1060  float power = 0.f;
1061 };
1062 
1063 struct Script
1064 {
1065  std::string filename;
1066 };
1067 
1069 {
1070  int shadow_mode = 0;
1071 };
1072 
1073 struct Shock
1074 {
1078  static const BitMask_t OPTION_m_METRIC = BITMASK(4);
1079 
1081  float spring_rate = 0.f;
1082  float damping = 0.f;
1083  float short_bound = 0.f;
1084  float long_bound = 0.f;
1085  float precompression = 1.f;
1087  std::shared_ptr<BeamDefaults> beam_defaults;
1089 };
1090 
1091 struct Shock2
1092 {
1093  Shock2();
1094 
1096  static const BitMask_t OPTION_s_SOFT_BUMP_BOUNDS = BITMASK(2); // soft bump boundaries, use when shocks reach limiters too often and "jumprebound" (default is hard bump boundaries)
1097  static const BitMask_t OPTION_m_METRIC = BITMASK(3); // metric values for shortbound/longbound applying to the length of the beam.
1098  static const BitMask_t OPTION_M_ABSOLUTE_METRIC = BITMASK(4); // Absolute metric values for shortbound/longbound, settings apply without regarding to the original length of the beam.(Use with caution, check ror.log for errors)
1099 
1101  float spring_in;
1102  float damp_in;
1105  float spring_out;
1106  float damp_out;
1109  float short_bound;
1110  float long_bound;
1113  std::shared_ptr<BeamDefaults> beam_defaults;
1115 };
1116 
1117 struct Shock3
1118 {
1119  Shock3();
1120 
1122  static const BitMask_t OPTION_m_METRIC = BITMASK(2); // metric values for shortbound/longbound applying to the length of the beam.
1123  static const BitMask_t OPTION_M_ABSOLUTE_METRIC = BITMASK(3); // Absolute metric values for shortbound/longbound, settings apply without regarding to the original length of the beam.(Use with caution, check ror.log for errors)
1124 
1126  float spring_in;
1127  float damp_in;
1128  float spring_out;
1129  float damp_out;
1136  float short_bound;
1137  float long_bound;
1140  std::shared_ptr<BeamDefaults> beam_defaults;
1142 };
1143 
1145 {
1148 };
1149 
1151 {
1156 
1158  std::vector<Node::Range> rail_node_ranges;
1160 
1161  // Optional args
1162  float spring_rate=0.f; bool _spring_rate_set=false;
1163  float break_force=0.f; bool _break_force_set=false;
1164  float tolerance=0.f; bool _tolerance_set=false;
1165  float attachment_rate=0.f; bool _attachment_rate_set=false;
1166  int railgroup_id=-1; bool _railgroup_id_set=false;
1167  float max_attach_dist=0.f; bool _max_attach_dist_set=false;
1168 };
1169 
1171 {
1173  Ogre::String sound_script_name;
1174 };
1175 
1177 {
1178  static const int MODE_ALWAYS = -2;
1179  static const int MODE_EXTERIOR = -1;
1180 
1182 };
1183 
1185 {
1186  float max_speed = 0.f;
1187  bool is_enabled = false;
1188 };
1189 
1190 struct Texcoord; // needed by Submesh
1191 
1192 struct Submesh
1193 {
1194  bool backmesh = false;
1195  std::vector<Texcoord> texcoords;
1196  std::vector<Cab> cab_triangles;
1197 };
1198 
1199 struct Texcoord
1200 {
1202  float u = 0.f;
1203  float v = 0.f;
1204 };
1205 
1206 struct Tie
1207 {
1210 
1212  float max_reach_length = 0.f;
1213  float auto_shorten_rate = 0.f;
1214  float min_length = 0.f;
1215  float max_length = 0.f;
1217  float max_stress = 100000.0f;
1218  std::shared_ptr<BeamDefaults> beam_defaults;
1220  int group = -1;
1221 };
1222 
1224 {
1225  struct Sample
1226  {
1228  power(0),
1229  torque_percent(0)
1230  {}
1231 
1232  float power;
1234  };
1235 
1236  std::vector<Sample> samples;
1237  Ogre::String predefined_func_name;
1238 };
1239 
1241 {
1242  TractionControl();
1243 
1245  float wheel_slip;
1246  float fade_speed;
1251 };
1252 
1254 {
1255  int a1 = 0;
1256  int a2 = -1;
1257  bool has_2wd = true;
1258  bool has_2wd_lo = false;
1259  std::vector<float> gear_ratios = {1.0f};
1260 };
1261 
1262 struct Trigger
1263 {
1275 
1280  float boundary_timer = 1.f;
1281  std::shared_ptr<BeamDefaults> beam_defaults;
1285 };
1286 
1287 struct Turbojet
1288 {
1292  int is_reversable = 0;
1293  float dry_thrust = 0.f;
1294  float wet_thrust = 0.f;
1295  float front_diameter = 0.f;
1296  float back_diameter = 0.f;
1297  float nozzle_length = 0.f;
1298 };
1299 
1300 struct Turboprop2 // Section TURBOPROPS, TURBOPROPS2
1301 {
1305  float turbine_power_kW = 0.f;
1306  Ogre::String airfoil;
1308 };
1309 
1311 {
1317  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
1318  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
1319  float field_of_view = 0.f;
1320  unsigned int texture_width = 0u;
1321  unsigned int texture_height = 0u;
1322  float min_clip_distance = 0.f;
1323  float max_clip_distance = 0.f;
1325  int camera_mode = 0;
1326  Ogre::String material_name;
1327  Ogre::String camera_name;
1328 };
1329 
1330 struct Wheel: public BaseWheel
1331 {
1332  float radius = 0.f;
1333  float springiness = 0.f;
1334  float damping = 0.f;
1335  Ogre::String face_material_name = "tracks/wheelface";
1336  Ogre::String band_material_name = "tracks/wheelband1";
1337 };
1338 
1339 struct Wheel2: public BaseWheel2
1340 {
1341  float rim_springiness = 0.f;
1342  float rim_damping = 0.f;
1343  Ogre::String face_material_name = "tracks/wheelface";
1344  Ogre::String band_material_name = "tracks/wheelband1";
1345 };
1346 
1348 {
1349  int wheel_id = 0;
1351 };
1352 
1353 struct Wing
1354 {
1356  float tex_coords[8] = {};
1358  float chord_point = -1.f;
1359  float min_deflection = -1.f;
1360  float max_deflection = -1.f;
1361  Ogre::String airfoil;
1362  float efficacy_coef = 1.f; // So-called 'liftcoef'.
1363 };
1364 
1365 // --------------------------------
1366 // The document
1367 
1368 struct Document
1369 {
1370  struct Module // represents 'section/end_section'. Also use by 'addonparts' system.
1371  {
1372  Module(Ogre::String const & name);
1373 
1374  Ogre::String name;
1376 
1377  std::vector<Airbrake> airbrakes;
1378  std::vector<Animator> animators;
1379  std::vector<AntiLockBrakes> antilockbrakes;
1380  std::vector<Assetpack> assetpacks;
1381  std::vector<Author> author;
1382  std::vector<Axle> axles;
1383  std::vector<Beam> beams;
1384  std::vector<Brakes> brakes;
1385  std::vector<Camera> cameras;
1386  std::vector<CameraRail> camerarail;
1387  std::vector<CollisionBox> collisionboxes;
1388  std::vector<Cinecam> cinecam;
1389  std::vector<Command2> commands2; // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
1390  std::vector<CruiseControl> cruisecontrol;
1391  std::vector<Node::Ref> contacters;
1392  std::vector<CustomDashboardInput> customdashboardinputs;
1393  std::vector<DefaultSkin> default_skin;
1394  std::vector<Ogre::String> description;
1395  std::vector<Engine> engine;
1396  std::vector<Engoption> engoption;
1397  std::vector<Engturbo> engturbo;
1398  std::vector<Exhaust> exhausts;
1399  std::vector<ExtCamera> extcamera;
1400  std::vector<FileFormatVersion> fileformatversion;
1401  std::vector<Node::Ref> fixes;
1402  std::vector<Fileinfo> fileinfo;
1403  std::vector<Flare2> flares2; // 'flares' are auto-imported as 'flares2' (only 1 extra argument)
1404  std::vector<Flare3> flares3;
1405  std::vector<FlaregroupNoImport> flaregroups_no_import;
1406  std::vector<Flexbody> flexbodies;
1407  std::vector<FlexBodyWheel> flexbodywheels;
1408  std::vector<Fusedrag> fusedrag;
1409  std::vector<Globals> globals;
1410  std::vector<Guid> guid;
1411  std::vector<GuiSettings> guisettings;
1412  std::vector<Help> help;
1413  std::vector<Hook> hooks;
1414  std::vector<Hydro> hydros;
1415  std::vector<InterAxle> interaxles;
1416  std::vector<Lockgroup> lockgroups;
1417  std::vector<ManagedMaterial> managedmaterials;
1418  std::vector<MaterialFlareBinding> materialflarebindings;
1419  std::vector<MeshWheel> meshwheels;
1420  std::vector<MeshWheel2> meshwheels2;
1421  std::vector<Minimass> minimass;
1422  std::vector<Node> nodes; /* Nodes and Nodes2 are unified in this parser */
1423  std::vector<Particle> particles;
1424  std::vector<Pistonprop> pistonprops;
1425  std::vector<Prop> props;
1426  std::vector<RailGroup> railgroups;
1427  std::vector<Ropable> ropables;
1428  std::vector<Rope> ropes;
1429  std::vector<Rotator> rotators;
1430  std::vector<Rotator2> rotators2;
1431  std::vector<Screwprop> screwprops;
1432  std::vector<Script> scripts;
1433  std::vector<Shock> shocks;
1434  std::vector<Shock2> shocks2;
1435  std::vector<Shock3> shocks3;
1436  std::vector<CollisionRange> set_collision_range;
1437  std::vector<SkeletonSettings> set_skeleton_settings;
1438  std::vector<SlideNode> slidenodes;
1439  std::vector<SoundSource> soundsources;
1440  std::vector<SoundSource2> soundsources2;
1441  std::vector<SpeedLimiter> speedlimiter;
1442  std::vector<Ogre::String> submesh_groundmodel;
1443  std::vector<Submesh> submeshes;
1444  std::vector<Tie> ties;
1445  std::vector<TorqueCurve> torquecurve;
1446  std::vector<TractionControl> tractioncontrol;
1447  std::vector<TransferCase> transfercase;
1448  std::vector<Trigger> triggers;
1449  std::vector<Turbojet> turbojets;
1450  std::vector<Turboprop2> turboprops2;
1451  std::vector<VideoCamera> videocameras;
1452  std::vector<WheelDetacher> wheeldetachers;
1453  std::vector<Wheel> wheels;
1454  std::vector<Wheel2> wheels2;
1455  std::vector<Wing> wings;
1456 
1457  // Metadata
1462  std::vector<DocComment> _comments;
1463  };
1464 
1465  Document();
1466 
1470  bool rollon;
1474  bool rescuer;
1476  Ogre::String name;
1477 
1478  // File hash
1479  std::string hash;
1480 
1481  // Vehicle modules (caled 'sections' in truckfile doc)
1482  std::shared_ptr<Module> root_module;
1483  std::map< Ogre::String, std::shared_ptr<Module> > user_modules;
1484 
1485 };
1486 
1487 } // namespace RigDef
RigDef::DefaultMinimass::min_mass_Kg
float min_mass_Kg
minimum node mass in Kg
Definition: RigDef_File.h:667
RigDef::Hydro::OPTION_u_INPUT_AILERON_ELEVATOR
static const BitMask_t OPTION_u_INPUT_AILERON_ELEVATOR
Definition: RigDef_File.h:872
RigDef::BeamDefaultsScale::BeamDefaultsScale
BeamDefaultsScale()
Definition: RigDef_File.h:507
RigDef::Animation::SOURCE_EVENT
static const BitMask64_t SOURCE_EVENT
Definition: RigDef_File.h:390
RigDef::Document::Module::scripts
std::vector< Script > scripts
Definition: RigDef_File.h:1432
RigDef::NodeOption::p_NO_PARTICLES
@ p_NO_PARTICLES
RigDef::Command2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:641
RigDef::Document::Module::globals
std::vector< Globals > globals
Definition: RigDef_File.h:1409
RigDef::InterAxle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:894
RigDef::Engine::shift_up_rpm
float shift_up_rpm
Definition: RigDef_File.h:678
RigDef::Document::Module::set_collision_range
std::vector< CollisionRange > set_collision_range
Definition: RigDef_File.h:1436
RigDef::HydroOption::e_INPUT_ELEVATOR
@ e_INPUT_ELEVATOR
RigDef::SpecialProp::AERO_PROP_SPIN
@ AERO_PROP_SPIN
RigDef::Document::Module::engturbo
std::vector< Engturbo > engturbo
Definition: RigDef_File.h:1397
RigDef::BeamOption::r_ROPE
@ r_ROPE
RigDef::Shock2::spring_out
float spring_out
spring value applied when shock extending
Definition: RigDef_File.h:1105
RigDef::Animation::SOURCE_ANGLE_OF_ATTACK
static const BitMask64_t SOURCE_ANGLE_OF_ATTACK
Definition: RigDef_File.h:364
RigDef::Trigger::OPTION_c_COMMAND_STYLE
static const BitMask_t OPTION_c_COMMAND_STYLE
Definition: RigDef_File.h:1265
RigDef::Animator::OPTION_PITCH
static const BitMask_t OPTION_PITCH
Definition: RigDef_File.h:434
RigDef::Hydro::OPTION_e_INPUT_ELEVATOR
static const BitMask_t OPTION_e_INPUT_ELEVATOR
Definition: RigDef_File.h:871
RigDef::FlexBodyWheel::rim_springiness
float rim_springiness
Definition: RigDef_File.h:803
RigDef::Shock3::Shock3
Shock3()
Definition: RigDef_File.cpp:126
RigDef::Shock3::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1140
RoR::FlareType::NONE
@ NONE
RoR::WheelBraking
WheelBraking
Definition: Application.h:525
RigDef::SpecialProp::DRIVER_SEAT
@ DRIVER_SEAT
RigDef::Airbrake::texcoord_x1
float texcoord_x1
Definition: RigDef_File.h:334
RigDef::SlideNode::CONSTRAINT_ATTACH_FOREIGN
static const BitMask_t CONSTRAINT_ATTACH_FOREIGN
Definition: RigDef_File.h:1153
RigDef::Animator::OPTION_DIFFLOCK
static const BitMask_t OPTION_DIFFLOCK
Definition: RigDef_File.h:447
RigDef::SlideNode::constraint_flags
BitMask_t constraint_flags
Definition: RigDef_File.h:1159
RigDef::Animation::SOURCE_FLAP
static const BitMask64_t SOURCE_FLAP
Definition: RigDef_File.h:365
RigDef::Engoption::min_idle_mixture
float min_idle_mixture
Definition: RigDef_File.h:697
RoR::WheelSide
WheelSide
Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation.
Definition: Application.h:546
RigDef::Animation::SOURCE_VERTICAL_VELOCITY
static const BitMask64_t SOURCE_VERTICAL_VELOCITY
Definition: RigDef_File.h:360
RigDef::Wing::tex_coords
float tex_coords[8]
Definition: RigDef_File.h:1356
RigDef::DocComment
< Represents a comment (line starting with ';' or '//') that can be anywhere in the file.
Definition: RigDef_File.h:311
RigDef::Trigger::OPTION_A_INV_TRIGGER_BLOCKER
static const BitMask_t OPTION_A_INV_TRIGGER_BLOCKER
Definition: RigDef_File.h:1269
RigDef::MinimassOption
MinimassOption
Definition: RigDef_File.h:107
RigDef::MaterialFlareBinding::material_name
Ogre::String material_name
Definition: RigDef_File.h:927
RigDef::Shock3::damp_out_fast
float damp_out_fast
Damping value applied when shock is commpressing faster than split out velocity.
Definition: RigDef_File.h:1135
RigDef::Prop::DashboardSpecial::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:982
RigDef::Document::Module::flares3
std::vector< Flare3 > flares3
Definition: RigDef_File.h:1404
RigDef::Shock2Option::s_SOFT_BUMP_BOUNDS
@ s_SOFT_BUMP_BOUNDS
soft bump boundaries, use when shocks reach limiters too often and "jumprebound" (default is hard bum...
RigDef::Animation::MotorSource
Definition: RigDef_File.h:343
RigDef::VideoCamera::left_node
Node::Ref left_node
Definition: RigDef_File.h:1313
RigDef::Beam::extension_break_limit
float extension_break_limit
Definition: RigDef_File.h:499
RigDef::NodeOption::b_EXTRA_BUOYANCY
@ b_EXTRA_BUOYANCY
RigDef::Turboprop2::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:1304
RigDef::Cab::OPTION_p_10xTOUGHER
static const BitMask_t OPTION_p_10xTOUGHER
Definition: RigDef_File.h:577
RigDef::BaseWheel2::rim_radius
float rim_radius
Definition: RigDef_File.h:292
RigDef::Fusedrag::Fusedrag
Fusedrag()
Definition: RigDef_File.cpp:80
RigDef::Wheel
Definition: RigDef_File.h:1330
RigDef::CameraRail::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:598
RigDef::BeamDefaults::GetScaledSpringiness
float GetScaledSpringiness()
Definition: RigDef_File.h:534
RigDef::SlideNode::_railgroup_id_set
bool _railgroup_id_set
Definition: RigDef_File.h:1166
RigDef::GuiSettings
Definition: RigDef_File.h:833
RigDef::Document::Module::_hint_beams_end_linenumber
int _hint_beams_end_linenumber
Definition: RigDef_File.h:1461
RigDef::Document::Module::screwprops
std::vector< Screwprop > screwprops
Definition: RigDef_File.h:1431
RigDef::SlideNode::tolerance
float tolerance
Definition: RigDef_File.h:1164
RigDef::Turboprop2::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:1303
BEAM_SKELETON_DIAMETER
static const float BEAM_SKELETON_DIAMETER
Definition: SimConstants.h:57
RigDef::Animation::MotorSource::SOURCE_AERO_TORQUE
static const BitMask_t SOURCE_AERO_TORQUE
Definition: RigDef_File.h:348
RigDef::DocComment::comment_text
std::string comment_text
May contain multiple lines separated by ' ' - MUST contain leading ';' or '//' at each line!
Definition: RigDef_File.h:313
RigDef::Rope::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1030
RigDef::Flexbody::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:797
RigDef::ExtCamera::node
Node::Ref node
Definition: RigDef_File.h:731
RigDef::InterAxle::a2
int a2
Definition: RigDef_File.h:893
RigDef::Node::Ref
Legacy parser resolved references on-the-fly and the condition to check named nodes was "are there an...
Definition: RigDef_Node.h:77
RigDef::Command2::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:642
RigDef::Hydro::inertia
Inertia inertia
Definition: RigDef_File.h:884
RigDef::Command2::option_f_not_faster
bool option_f_not_faster
Definition: RigDef_File.h:648
RigDef::Prop
Definition: RigDef_File.h:971
RigDef::WheelDetacher::wheel_id
int wheel_id
Definition: RigDef_File.h:1349
RigDef::FlareBase::dashboard_link
std::string dashboard_link
Only 'd' type flares.
Definition: RigDef_File.h:754
RigDef::BeamDefaultsScale::breaking_threshold_constant
float breaking_threshold_constant
Definition: RigDef_File.h:517
RigDef::NodeDefaults::options
unsigned int options
Bit flags.
Definition: RigDef_File.h:950
RigDef::Tie::group
int group
Definition: RigDef_File.h:1220
RigDef::Animator::OPTION_SHIFT_BACK_FORTH
static const BitMask_t OPTION_SHIFT_BACK_FORTH
Definition: RigDef_File.h:443
RigDef::TractionControl::fade_speed
float fade_speed
Definition: RigDef_File.h:1246
RigDef::Document::Module::hooks
std::vector< Hook > hooks
Definition: RigDef_File.h:1413
RigDef::Hydro::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:885
RigDef::Prop::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1002
RigDef::Camera::left_node
Node::Ref left_node
Definition: RigDef_File.h:593
RigDef::Animation::SOURCE_AUTOSHIFTERLIN
static const BitMask64_t SOURCE_AUTOSHIFTERLIN
Definition: RigDef_File.h:393
RigDef::Engine::neutral_gear_ratio
float neutral_gear_ratio
Definition: RigDef_File.h:682
RigDef::Brakes::default_braking_force
float default_braking_force
Definition: RigDef_File.h:569
RigDef::Command2::option_o_1press_center
bool option_o_1press_center
Definition: RigDef_File.h:650
RigDef::SpecialProp
SpecialProp
Definition: RigDef_File.h:62
RigDef::Flexbody::forvert
std::vector< Forvert > forvert
Definition: RigDef_File.h:796
RigDef::Animation::MotorSource::SOURCE_AERO_PITCH
static const BitMask_t SOURCE_AERO_PITCH
Definition: RigDef_File.h:349
RigDef::Cinecam::position
Ogre::Vector3 position
Definition: RigDef_File.h:608
RigDef::Document::Module::fusedrag
std::vector< Fusedrag > fusedrag
Definition: RigDef_File.h:1408
RigDef::Document::Module::brakes
std::vector< Brakes > brakes
Definition: RigDef_File.h:1384
RigDef::Cinecam::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:614
RigDef::FlaregroupNoImport::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:772
RigDef::VideoCamera::min_clip_distance
float min_clip_distance
Definition: RigDef_File.h:1322
RigDef::Animation::lower_limit
float lower_limit
Definition: RigDef_File.h:410
RigDef::Wing::control_surface
WingControlSurface control_surface
Definition: RigDef_File.h:1357
RigDef::Rotator::needs_engine
bool needs_engine
Definition: RigDef_File.h:1045
RigDef::Shock2::OPTION_s_SOFT_BUMP_BOUNDS
static const BitMask_t OPTION_s_SOFT_BUMP_BOUNDS
Definition: RigDef_File.h:1096
RigDef::CollisionRange
Definition: RigDef_File.h:622
RigDef::ManagedMaterial::diffuse_map
Ogre::String diffuse_map
Definition: RigDef_File.h:917
RigDef::Hook::option_hookgroup
int option_hookgroup
Definition: RigDef_File.h:852
RigDef::TractionControl::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:1249
RigDef::Animation::MotorSource::motor
unsigned int motor
Definition: RigDef_File.h:355
RigDef::Inertia::start_function
Ogre::String start_function
Definition: RigDef_File.h:307
RigDef::Engturbo
Definition: RigDef_File.h:701
RigDef::VideoCamera::texture_width
unsigned int texture_width
Definition: RigDef_File.h:1320
RigDef::Animator::long_limit
float long_limit
Definition: RigDef_File.h:457
RoR::VCAM_ROLE_INVALID
@ VCAM_ROLE_INVALID
Definition: Application.h:610
RigDef::Author
Definition: RigDef_File.h:476
RigDef::Engoption::post_shift_time
float post_shift_time
Seconds.
Definition: RigDef_File.h:693
RigDef::Shock::OPTION_R_ACTIVE_RIGHT
static const BitMask_t OPTION_R_ACTIVE_RIGHT
Definition: RigDef_File.h:1077
RigDef::Animation::MotorSource::SOURCE_AERO_RPM
static const BitMask_t SOURCE_AERO_RPM
Definition: RigDef_File.h:347
RigDef::ManagedMaterialType::MESH_STANDARD
@ MESH_STANDARD
RigDef::Shock::long_bound
float long_bound
Maximum extension. The longest length a shock can be, as a proportion of its original length....
Definition: RigDef_File.h:1084
RigDef_Node.h
RigDef::Document::Module::_comments
std::vector< DocComment > _comments
Definition: RigDef_File.h:1462
RigDef::Document::rescuer
bool rescuer
Definition: RigDef_File.h:1474
RigDef::NodeDefaults::surface
float surface
Definition: RigDef_File.h:949
RigDef::SoundSource2::mode
int mode
A special constant or cinecam index.
Definition: RigDef_File.h:1181
RigDef::Airbrake::texcoord_y1
float texcoord_y1
Definition: RigDef_File.h:336
RigDef::SoundSource2::MODE_ALWAYS
static const int MODE_ALWAYS
Definition: RigDef_File.h:1178
RigDef::Animator::OPTION_SEQUENTIAL_SHIFT
static const BitMask_t OPTION_SEQUENTIAL_SHIFT
Definition: RigDef_File.h:444
RigDef::Engoption::shift_time
float shift_time
Seconds.
Definition: RigDef_File.h:691
RigDef::Animation
Definition: RigDef_File.h:341
RigDef::AntiLockBrakes::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:472
RigDef::Document::Module::wheels
std::vector< Wheel > wheels
Definition: RigDef_File.h:1453
RigDef::Command2::max_extension
float max_extension
Definition: RigDef_File.h:633
RigDef::Animator::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:453
RigDef::Animator::OPTION_ALTIMETER_1K
static const BitMask_t OPTION_ALTIMETER_1K
Definition: RigDef_File.h:429
RigDef::HydroOption::y_INPUT_InvAILERON_RUDDER
@ y_INPUT_InvAILERON_RUDDER
RigDef::Engine::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:683
RigDef::Tie::auto_shorten_rate
float auto_shorten_rate
Definition: RigDef_File.h:1213
RigDef::MaterialFlareBinding::flare_number
unsigned int flare_number
Definition: RigDef_File.h:926
RigDef::Tie::min_length
float min_length
Definition: RigDef_File.h:1214
RigDef::Turboprop2::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1306
RigDef::Flare3
Definition: RigDef_File.h:764
RigDef::Prop::DashboardSpecial::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:985
RigDef::FlaregroupNoImport::type
RoR::FlareType type
Definition: RigDef_File.h:771
RigDef::SkeletonSettings
Definition: RigDef_File.h:1144
RigDef::SpeedLimiter::is_enabled
bool is_enabled
Definition: RigDef_File.h:1187
RigDef::Engine::global_gear_ratio
float global_gear_ratio
Definition: RigDef_File.h:680
RigDef::Prop::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:1006
RigDef::Document::Module::pistonprops
std::vector< Pistonprop > pistonprops
Definition: RigDef_File.h:1424
RigDef::Texcoord::node
Node::Ref node
Definition: RigDef_File.h:1201
RigDef::Shock3::split_vel_out
float split_vel_out
Split velocity in (m/s) - threshold for slow / fast damping during extension.
Definition: RigDef_File.h:1134
RigDef::RailGroup
Definition: RigDef_File.h:1012
RigDef::TriggerOption::s_CMD_NUM_SWITCH
@ s_CMD_NUM_SWITCH
switch that exchanges cmdshort/cmdshort for all triggers with the same commandnumbers,...
RigDef::Document::Module::lockgroups
std::vector< Lockgroup > lockgroups
Definition: RigDef_File.h:1416
RigDef::HydroOption::a_INPUT_AILERON
@ a_INPUT_AILERON
RigDef::Animator::OPTION_SHIFT_LEFT_RIGHT
static const BitMask_t OPTION_SHIFT_LEFT_RIGHT
Definition: RigDef_File.h:442
RigDef::VideoCamera::camera_mode
int camera_mode
Definition: RigDef_File.h:1325
RigDef::SpecialProp::AERO_PROP_BLADE
@ AERO_PROP_BLADE
RigDef::Animation::MODE_BOUNCE
static const BitMask_t MODE_BOUNCE
Definition: RigDef_File.h:406
RigDef::Hook::flag_auto_lock
bool flag_auto_lock
Definition: RigDef_File.h:857
RigDef::Engturbo::param3
float param3
Definition: RigDef_File.h:710
RigDef::Document::Module::shocks2
std::vector< Shock2 > shocks2
Definition: RigDef_File.h:1434
RigDef::Animation::SOURCE_TACHO
static const BitMask64_t SOURCE_TACHO
Definition: RigDef_File.h:373
RigDef::Document::Module::commands2
std::vector< Command2 > commands2
Definition: RigDef_File.h:1389
RigDef::Fusedrag::approximate_width
float approximate_width
Definition: RigDef_File.h:816
RigDef::Assetpack::filename
std::string filename
Definition: RigDef_File.h:262
RigDef::AeroAnimator::OPTION_PITCH
static const BitMask_t OPTION_PITCH
Definition: RigDef_File.h:253
RigDef::Command2::detacher_group
int detacher_group
Definition: RigDef_File.h:643
RigDef::Prop::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:1003
RigDef::Fusedrag::autocalc
bool autocalc
Definition: RigDef_File.h:813
RigDef::NodeDefaults::volume
float volume
Definition: RigDef_File.h:948
RigDef::Engturbo::version
int version
Definition: RigDef_File.h:705
RigDef::ManagedMaterial::damaged_diffuse_map
Ogre::String damaged_diffuse_map
Definition: RigDef_File.h:918
RigDef::Engoption::type
EngineType type
Definition: RigDef_File.h:689
RigDef::Animator::OPTION_CLUTCH
static const BitMask_t OPTION_CLUTCH
Definition: RigDef_File.h:437
RigDef::Rotator::rate
float rate
Definition: RigDef_File.h:1039
RigDef::SoundSource2::MODE_EXTERIOR
static const int MODE_EXTERIOR
Definition: RigDef_File.h:1179
RigDef::Document::hash
std::string hash
Definition: RigDef_File.h:1479
RigDef::Document::Module::wings
std::vector< Wing > wings
Definition: RigDef_File.h:1455
RigDef::Wheel::radius
float radius
Definition: RigDef_File.h:1332
RigDef::BeamDefaults::deformation_threshold
float deformation_threshold
Definition: RigDef_File.h:556
RigDef::Screwprop::back_node
Node::Ref back_node
Definition: RigDef_File.h:1058
RigDef::NodeOption::e_TERRAIN_EDIT_POINT
@ e_TERRAIN_EDIT_POINT
RigDef::Animator::OPTION_FLAP
static const BitMask_t OPTION_FLAP
Definition: RigDef_File.h:431
RigDef::Particle::particle_system_name
Ogre::String particle_system_name
Definition: RigDef_File.h:957
RigDef::Camera
Definition: RigDef_File.h:589
RigDef::Hydro
Definition: RigDef_File.h:863
RigDef::Shock::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1087
RigDef::FlareBase::size
float size
Definition: RigDef_File.h:756
RoR::WheelBraking::NONE
@ NONE
= no footbrake, no handbrake, no direction control – wheel is unbraked
RigDef::SlideNode::CONSTRAINT_ATTACH_SELF
static const BitMask_t CONSTRAINT_ATTACH_SELF
Definition: RigDef_File.h:1154
RigDef::CollisionBox
Definition: RigDef_File.h:617
RigDef::SlideNode::break_force
float break_force
Definition: RigDef_File.h:1163
RigDef::Animator::OPTION_ANGLE_OF_ATTACK
static const BitMask_t OPTION_ANGLE_OF_ATTACK
Definition: RigDef_File.h:430
RigDef::Animation::SOURCE_PARKING
static const BitMask64_t SOURCE_PARKING
Definition: RigDef_File.h:375
RigDef::Command2::shorten_rate
float shorten_rate
Definition: RigDef_File.h:630
RigDef::Ropable
Definition: RigDef_File.h:1018
RigDef::Trigger::longbound_trigger_action
int longbound_trigger_action
Definition: RigDef_File.h:1284
RigDef::ShockOption::R_ACTIVE_RIGHT
@ R_ACTIVE_RIGHT
RigDef::Animation::AddMotorSource
void AddMotorSource(BitMask_t source, unsigned int motor)
Definition: RigDef_File.cpp:154
RigDef::SlideNode::attachment_rate
float attachment_rate
Definition: RigDef_File.h:1165
RigDef::BaseMeshWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:281
RigDef::Document::forward_commands
bool forward_commands
Definition: RigDef_File.h:1471
RigDef::SoundSource::node
Node::Ref node
Definition: RigDef_File.h:1172
RigDef::Animation::SOURCE_BOAT_RUDDER
static const BitMask64_t SOURCE_BOAT_RUDDER
Definition: RigDef_File.h:383
RigDef::Wing::chord_point
float chord_point
Definition: RigDef_File.h:1358
RigDef::Shock2::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1101
RigDef::BaseWheel::width
float width
Definition: RigDef_File.h:267
RigDef::Document::Module::_hint_beams_start_linenumber
int _hint_beams_start_linenumber
Definition: RigDef_File.h:1460
RigDef::Flexbody::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:791
RigDef::Airbrake
Definition: RigDef_File.h:322
SimConstants.h
RigDef::Document::Module::cruisecontrol
std::vector< CruiseControl > cruisecontrol
Definition: RigDef_File.h:1390
RigDef::NodeOption::x_EXHAUST_POINT
@ x_EXHAUST_POINT
RigDef::Document::Module::ropes
std::vector< Rope > ropes
Definition: RigDef_File.h:1428
RigDef::Flexbody::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:790
RigDef::Tie::options
BitMask_t options
Definition: RigDef_File.h:1216
RigDef::Animator::OPTION_AIR_BRAKE
static const BitMask_t OPTION_AIR_BRAKE
Definition: RigDef_File.h:432
RigDef::Flare2
Definition: RigDef_File.h:760
RigDef::WingControlSurface::n_NONE
@ n_NONE
RigDef::Help
Definition: RigDef_File.h:839
RigDef::Shock::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1078
RigDef::BeamOption
BeamOption
Definition: RigDef_File.h:173
RigDef::DifferentialType
DifferentialType
Definition: RigDef_File.h:97
RigDef::Shock::OPTION_L_ACTIVE_LEFT
static const BitMask_t OPTION_L_ACTIVE_LEFT
Definition: RigDef_File.h:1076
RigDef::SlideNode::rail_node_ranges
std::vector< Node::Range > rail_node_ranges
Definition: RigDef_File.h:1158
RigDef::DocComment::commented_keyword
RigDef::Keyword commented_keyword
Definition: RigDef_File.h:315
RigDef::GuiSettings::key
std::string key
Definition: RigDef_File.h:835
RigDef::Animation::SOURCE_PITCH
static const BitMask64_t SOURCE_PITCH
Definition: RigDef_File.h:368
RoR::WheelSide::INVALID
@ INVALID
RigDef::Document::Module::help
std::vector< Help > help
Definition: RigDef_File.h:1412
RigDef::BeamOption::s_SUPPORT
@ s_SUPPORT
RigDef::Cinecam::spring
float spring
Definition: RigDef_File.h:610
RigDef::Document::Module::airbrakes
std::vector< Airbrake > airbrakes
Definition: RigDef_File.h:1377
RigDef::Animation::MotorSource::SOURCE_AERO_STATUS
static const BitMask_t SOURCE_AERO_STATUS
Definition: RigDef_File.h:350
RigDef::Animator::OPTION_BOAT_THROTTLE
static const BitMask_t OPTION_BOAT_THROTTLE
Definition: RigDef_File.h:449
RigDef::AeroAnimator
Definition: RigDef_File.h:248
RigDef::Trigger
Definition: RigDef_File.h:1262
RigDef::CollisionBox::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:619
RigDef::Shock3::precompression
float precompression
Changes compression or extension of the suspension when the truck spawns. This can be used to "level"...
Definition: RigDef_File.h:1138
RigDef::Document::Module::nodes
std::vector< Node > nodes
Definition: RigDef_File.h:1422
RigDef::Airbrake::lift_coefficient
float lift_coefficient
Definition: RigDef_File.h:338
RigDef::TieOption
TieOption
Definition: RigDef_File.h:136
RigDef::Engturbo::param8
float param8
Definition: RigDef_File.h:715
RigDef::BeamDefaults::springiness
float springiness
Definition: RigDef_File.h:554
RigDef::Hydro::OPTION_n_INPUT_NORMAL
static const BitMask_t OPTION_n_INPUT_NORMAL
Definition: RigDef_File.h:879
RigDef::Command2::description
Ogre::String description
Definition: RigDef_File.h:636
RigDef::TriggerOption
TriggerOption
Definition: RigDef_File.h:158
RigDef::Document::Module::assetpacks
std::vector< Assetpack > assetpacks
Definition: RigDef_File.h:1380
RigDef::Shock3Option::m_METRIC
@ m_METRIC
metric values for shortbound/longbound applying to the length of the beam.
RigDef::NodeOption::L_LOG
@ L_LOG
RigDef::Animation::SOURCE_ALTIMETER_10K
static const BitMask64_t SOURCE_ALTIMETER_10K
Definition: RigDef_File.h:362
RigDef::CustomDashboardInput::name
Ogre::String name
Definition: RigDef_File.h:661
RigDef::Pistonprop
Definition: RigDef_File.h:960
RigDef::TieOption::s_NO_SELF_LOCK
@ s_NO_SELF_LOCK
RigDef::Trigger::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1276
RigDef::Axle::wheels
Node::Ref wheels[2][2]
Definition: RigDef_File.h:487
RigDef::Shock3Option::n_DUMMY
@ n_DUMMY
RigDef::Rotator::spin_right_key
unsigned int spin_right_key
Definition: RigDef_File.h:1041
RigDef::Document::rollon
bool rollon
Definition: RigDef_File.h:1470
RigDef::Screwprop::power
float power
Definition: RigDef_File.h:1060
RigDef::BeamDefaults
Definition: RigDef_File.h:520
RigDef::Document::Module::slidenodes
std::vector< SlideNode > slidenodes
Definition: RigDef_File.h:1438
RigDef::BaseWheel::propulsion
RoR::WheelPropulsion propulsion
Definition: RigDef_File.h:272
RigDef::Document::Module
Definition: RigDef_File.h:1370
RigDef::Cab::OPTION_u_INVULNERABLE
static const BitMask_t OPTION_u_INVULNERABLE
Definition: RigDef_File.h:578
RigDef::Flexbody::animations
std::list< Animation > animations
Definition: RigDef_File.h:793
RigDef::EngineType::e_ECAR
@ e_ECAR
RigDef::Shock3Option
Shock3Option
Definition: RigDef_File.h:220
RigDef::Shock::detacher_group
int detacher_group
Definition: RigDef_File.h:1088
RigDef::TriggerOption::c_COMMAND_STYLE
@ c_COMMAND_STYLE
trigger is set with commandstyle boundaries instead of shocksytle
RigDef::FlaregroupNoImport
Definition: RigDef_File.h:769
BEAM_PLASTIC_COEF_DEFAULT
static const float BEAM_PLASTIC_COEF_DEFAULT
Definition: SimConstants.h:63
RigDef::VideoCamera::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:1318
RigDef::Airbrake::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:328
RigDef::FlexBodyWheel
Definition: RigDef_File.h:800
RigDef::Turboprop2::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:1305
RigDef::SlideNode::_spring_rate_set
bool _spring_rate_set
Definition: RigDef_File.h:1162
RigDef::Tie::detacher_group
int detacher_group
Definition: RigDef_File.h:1219
RigDef::TriggerOption::B_TRIGGER_BLOCKER
@ B_TRIGGER_BLOCKER
Blocker that enable/disable other triggers.
RigDef::Engturbo::param6
float param6
Definition: RigDef_File.h:713
RigDef::Animator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:446
RigDef::Particle
Definition: RigDef_File.h:953
RigDef::ManagedMaterialType::MESH_TRANSPARENT
@ MESH_TRANSPARENT
RigDef::Engine::shift_down_rpm
float shift_down_rpm
Definition: RigDef_File.h:677
RigDef::CabOption::b_BUOYANT
@ b_BUOYANT
RigDef::AntiLockBrakes::AntiLockBrakes
AntiLockBrakes()
Definition: RigDef_File.cpp:55
RigDef::Texcoord::v
float v
Definition: RigDef_File.h:1203
RigDef::Animation::MODE_EVENT_LOCK
static const BitMask_t MODE_EVENT_LOCK
Definition: RigDef_File.h:407
RigDef::NodeDefaults::friction
float friction
Definition: RigDef_File.h:947
RigDef::Animator::OPTION_SPEEDO
static const BitMask_t OPTION_SPEEDO
Definition: RigDef_File.h:438
RigDef::CameraRail
Definition: RigDef_File.h:596
RigDef::Animator::detacher_group
int detacher_group
Definition: RigDef_File.h:461
RigDef::CabOption::D_CONTACT_BUOYANT
@ D_CONTACT_BUOYANT
RigDef::Document::Module::axles
std::vector< Axle > axles
Definition: RigDef_File.h:1382
RigDef::ShadowOptions
Definition: RigDef_File.h:1068
RigDef::Engoption::braking_torque
float braking_torque
Definition: RigDef_File.h:698
RigDef::SkeletonSettings::beam_thickness_meters
float beam_thickness_meters
Definition: RigDef_File.h:1147
BITMASK
#define BITMASK(OFFSET)
Definition: BitFlags.h:10
RigDef::Shock3Option::v_DUMMY
@ v_DUMMY
RigDef::Flexbody::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:787
RigDef::BeamDefaults::breaking_threshold
float breaking_threshold
Definition: RigDef_File.h:557
RigDef::ManagedMaterialType
ManagedMaterialType
Definition: RigDef_File.h:78
RigDef::Document::Module::author
std::vector< Author > author
Definition: RigDef_File.h:1381
RigDef::Animator::OPTION_BRAKES
static const BitMask_t OPTION_BRAKES
Definition: RigDef_File.h:435
RigDef::Animator::short_limit
float short_limit
Definition: RigDef_File.h:456
RigDef::Animation::SOURCE_SHIFTERLIN
static const BitMask64_t SOURCE_SHIFTERLIN
Definition: RigDef_File.h:379
RigDef::SlideNode::_tolerance_set
bool _tolerance_set
Definition: RigDef_File.h:1164
RigDef::TriggerOption::t_CONTINUOUS
@ t_CONTINUOUS
this trigger sends values between 0 and 1
RigDef::Wheel::damping
float damping
Definition: RigDef_File.h:1334
RigDef::Animation::SOURCE_AIR_RUDDER
static const BitMask64_t SOURCE_AIR_RUDDER
Definition: RigDef_File.h:388
RigDef::Shock2::long_bound
float long_bound
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1110
RigDef::WingControlSurface
WingControlSurface
Definition: RigDef_File.h:113
RigDef::TractionControl::TractionControl
TractionControl()
Definition: RigDef_File.cpp:144
RigDef::Document::Module::origin_addonpart
RoR::CacheEntryPtr origin_addonpart
Addon parts are spawned as fake Modules, resources must be loaded from this group.
Definition: RigDef_File.h:1375
RigDef::BeamDefaults::_is_plastic_deform_coef_user_defined
bool _is_plastic_deform_coef_user_defined
Definition: RigDef_File.h:562
RigDef::Rotator::axis_nodes
Node::Ref axis_nodes[2]
Definition: RigDef_File.h:1036
RigDef::Trigger::options
BitMask_t options
Definition: RigDef_File.h:1279
RigDef::BeamDefaultsScale
Definition: RigDef_File.h:505
RigDef::Animation::SOURCE_AIRSPEED
static const BitMask64_t SOURCE_AIRSPEED
Definition: RigDef_File.h:359
RigDef::NodeDefaults
Definition: RigDef_File.h:942
RigDef::Hook
Definition: RigDef_File.h:844
RigDef::Hydro::options
BitMask_t options
Definition: RigDef_File.h:883
RefCountingObjectPtr< CacheEntry >
RigDef::WingControlSurface::j_LEFT_RUDDERVATOR
@ j_LEFT_RUDDERVATOR
RigDef::WingControlSurface::a_RIGHT_AILERON
@ a_RIGHT_AILERON
RigDef::HydroOption::u_INPUT_AILERON_ELEVATOR
@ u_INPUT_AILERON_ELEVATOR
RigDef::Pistonprop::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:968
RigDef::Document::Module::submeshes
std::vector< Submesh > submeshes
Definition: RigDef_File.h:1443
RigDef::Trigger::OPTION_B_TRIGGER_BLOCKER
static const BitMask_t OPTION_B_TRIGGER_BLOCKER
Definition: RigDef_File.h:1268
RigDef::AntiLockBrakes
Definition: RigDef_File.h:464
RigDef::InterAxle::a1
int a1
Definition: RigDef_File.h:892
RigDef::Tie::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1218
RigDef::Document::Module::guisettings
std::vector< GuiSettings > guisettings
Definition: RigDef_File.h:1411
RigDef::Document::Module::_hint_nodes12_end_linenumber
int _hint_nodes12_end_linenumber
Definition: RigDef_File.h:1459
RigDef::Animation::SOURCE_ELEVATOR
static const BitMask64_t SOURCE_ELEVATOR
Definition: RigDef_File.h:387
RigDef::FlareBase::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:753
RigDef::CustomDashboardInput
Definition: RigDef_File.h:659
RigDef::TorqueCurve::Sample
Definition: RigDef_File.h:1225
RigDef::Ropable::has_multilock
bool has_multilock
Definition: RigDef_File.h:1022
RigDef::Ropable::node
Node::Ref node
Definition: RigDef_File.h:1020
RigDef::TractionControl::pulse_per_sec
float pulse_per_sec
Definition: RigDef_File.h:1247
RigDef::TorqueCurve::predefined_func_name
Ogre::String predefined_func_name
Definition: RigDef_File.h:1237
RigDef::Command2::extend_key
RoR::CommandkeyID_t extend_key
Definition: RigDef_File.h:635
RigDef::Animation::SOURCE_ROLL
static const BitMask64_t SOURCE_ROLL
Definition: RigDef_File.h:367
RigDef::Animation::MotorSource::SOURCE_GEAR_FORWARD
static const BitMask_t SOURCE_GEAR_FORWARD
Definition: RigDef_File.h:352
RigDef::Animator::OPTION_INVISIBLE
static const BitMask_t OPTION_INVISIBLE
Definition: RigDef_File.h:424
RigDef::Shock3::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1127
RigDef::Shock2::damp_out
float damp_out
damping value applied when shock extending
Definition: RigDef_File.h:1106
RigDef::TriggerOption::x_START_DISABLED
@ x_START_DISABLED
this trigger is disabled on startup, default is enabled
RigDef::Engoption::clutch_time
float clutch_time
Seconds.
Definition: RigDef_File.h:692
RigDef::Shock3::spring_out
float spring_out
Spring value applied when shock extending.
Definition: RigDef_File.h:1128
RigDef::Brakes
Definition: RigDef_File.h:567
RigDef::Command2
Definition: RigDef_File.h:627
RigDef::Tie::max_stress
float max_stress
Definition: RigDef_File.h:1217
RigDef::ShockOption::L_ACTIVE_LEFT
@ L_ACTIVE_LEFT
RigDef::SlideNode::max_attach_dist
float max_attach_dist
Definition: RigDef_File.h:1167
RigDef::Engturbo::param9
float param9
Definition: RigDef_File.h:716
RigDef::Animation::MODE_ROTATION_Y
static const BitMask_t MODE_ROTATION_Y
Definition: RigDef_File.h:399
RigDef::SoundSource2
Definition: RigDef_File.h:1176
RigDef::CabOption
CabOption
Definition: RigDef_File.h:144
RigDef::AeroAnimator::OPTION_RPM
static const BitMask_t OPTION_RPM
Definition: RigDef_File.h:251
RigDef::Document::disable_default_sounds
bool disable_default_sounds
Definition: RigDef_File.h:1475
RigDef::TriggerOption::i_INVISIBLE
@ i_INVISIBLE
invisible
RigDef::Particle::emitter_node
Node::Ref emitter_node
Definition: RigDef_File.h:955
RigDef::Author::name
Ogre::String name
Definition: RigDef_File.h:480
RigDef::Animation::SOURCE_AILERON
static const BitMask64_t SOURCE_AILERON
Definition: RigDef_File.h:386
RigDef::Hydro::OPTION_g_INPUT_ELEVATOR_RUDDER
static const BitMask_t OPTION_g_INPUT_ELEVATOR_RUDDER
Definition: RigDef_File.h:876
RigDef::Command2::option_r_rope
bool option_r_rope
Definition: RigDef_File.h:646
RigDef::VideoCamera::camera_role
RoR::VideoCamRole camera_role
Definition: RigDef_File.h:1324
RigDef::BaseMeshWheel::rim_radius
float rim_radius
Definition: RigDef_File.h:284
RigDef::FlexBodyWheel::tyre_mesh_name
Ogre::String tyre_mesh_name
Definition: RigDef_File.h:806
RigDef::FlareBase::node_axis_x
Node::Ref node_axis_x
Definition: RigDef_File.h:749
RigDef::Fileinfo
Definition: RigDef_File.h:739
RigDef::Document::Module::meshwheels2
std::vector< MeshWheel2 > meshwheels2
Definition: RigDef_File.h:1420
RigDef::CabOption::S_INVULNERABLE_BUOYANT
@ S_INVULNERABLE_BUOYANT
RigDef::Shock::short_bound
float short_bound
Maximum contraction. The shortest length the shock can be, as a proportion of its original length....
Definition: RigDef_File.h:1083
RigDef::Document::Module::set_skeleton_settings
std::vector< SkeletonSettings > set_skeleton_settings
Definition: RigDef_File.h:1437
RigDef::Shock2::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1097
RigDef::BeamDefaults::damping_constant
float damping_constant
Definition: RigDef_File.h:555
RigDef::BaseMeshWheel::spring
float spring
Definition: RigDef_File.h:286
RigDef::VideoCamera::alt_reference_node
Node::Ref alt_reference_node
Definition: RigDef_File.h:1315
RigDef::AeroAnimator::flags
BitMask_t flags
Definition: RigDef_File.h:256
RigDef::Shock::spring_rate
float spring_rate
The 'stiffness' of the shock. The higher the value, the less the shock will move for a given bump.
Definition: RigDef_File.h:1081
RigDef::Fileinfo::unique_id
Ogre::String unique_id
Definition: RigDef_File.h:741
RigDef::Engoption::max_idle_mixture
float max_idle_mixture
Definition: RigDef_File.h:696
RigDef::TieOption::v_DUMMY
@ v_DUMMY
RigDef::Shock3Option::M_ABSOLUTE_METRIC
@ M_ABSOLUTE_METRIC
Absolute metric values for shortbound/longbound, settings apply without regarding to the original len...
RigDef::ShockOption::v_DUMMY
@ v_DUMMY
RigDef::EngineType::c_CAR
@ c_CAR
RigDef::FlareBase::blink_delay_milis
int blink_delay_milis
Definition: RigDef_File.h:755
RigDef::BeamDefaults::_enable_advanced_deformation
bool _enable_advanced_deformation
Informs whether "enable_advanced_deformation" directive preceded these defaults.
Definition: RigDef_File.h:561
RigDef::Document::Module::turbojets
std::vector< Turbojet > turbojets
Definition: RigDef_File.h:1449
RigDef::Command2::option_p_1press
bool option_p_1press
Definition: RigDef_File.h:649
RigDef::Document::Module::ties
std::vector< Tie > ties
Definition: RigDef_File.h:1444
RigDef::Command2::inertia
Inertia inertia
Definition: RigDef_File.h:637
RigDef::ManagedMaterial::type
ManagedMaterialType type
Definition: RigDef_File.h:915
RigDef::Animation::MODE_AUTO_ANIMATE
static const BitMask_t MODE_AUTO_ANIMATE
Definition: RigDef_File.h:404
RigDef::Command2::plays_sound
bool plays_sound
Definition: RigDef_File.h:640
RigDef::ManagedMaterial::options
ManagedMaterialsOptions options
Definition: RigDef_File.h:916
RigDef::ManagedMaterial::name
Ogre::String name
Definition: RigDef_File.h:914
RigDef::Prop::special
SpecialProp special
Definition: RigDef_File.h:1007
RoR::CommandkeyID_t
int CommandkeyID_t
Index into Actor::ar_commandkeys (BEWARE: indexed 1-MAX_COMMANDKEYS, 0 is invalid value,...
Definition: ForwardDeclarations.h:82
RigDef::ManagedMaterialType::FLEXMESH_STANDARD
@ FLEXMESH_STANDARD
RigDef::Screwprop::top_node
Node::Ref top_node
Definition: RigDef_File.h:1059
RigDef::Document::import_commands
bool import_commands
Definition: RigDef_File.h:1472
RigDef::AntiLockBrakes::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:473
RigDef::Wheel2::rim_damping
float rim_damping
Definition: RigDef_File.h:1342
RigDef::BaseWheel::mass
float mass
Definition: RigDef_File.h:274
RigDef::AeroAnimator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:252
RigDef::Camera::back_node
Node::Ref back_node
Definition: RigDef_File.h:592
RigDef::NodeOption::y_EXHAUST_DIRECTION
@ y_EXHAUST_DIRECTION
RigDef::Document::Module::contacters
std::vector< Node::Ref > contacters
Definition: RigDef_File.h:1391
RigDef::Forvert::node_x
Node::Ref node_x
Definition: RigDef_File.h:779
RigDef::Document::Module::cinecam
std::vector< Cinecam > cinecam
Definition: RigDef_File.h:1388
RigDef::Pistonprop::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:965
DEFAULT_MINIMASS
static const float DEFAULT_MINIMASS
minimum node mass in Kg
Definition: SimConstants.h:54
RigDef::ManagedMaterialType::INVALID
@ INVALID
RigDef::Document::Module::wheels2
std::vector< Wheel2 > wheels2
Definition: RigDef_File.h:1454
RigDef::Engoption
Definition: RigDef_File.h:686
RigDef::Shock2::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1095
RigDef::Animator::OPTION_LONG_LIMIT
static const BitMask_t OPTION_LONG_LIMIT
Definition: RigDef_File.h:451
RigDef::FlareBase::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:748
BitFlags.h
Bit operations.
RigDef::Turbojet::front_node
Node::Ref front_node
Definition: RigDef_File.h:1289
RigDef::Trigger::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1264
RigDef::Turbojet::back_diameter
float back_diameter
Definition: RigDef_File.h:1296
RigDef::Beam::_has_extension_break_limit
bool _has_extension_break_limit
Definition: RigDef_File.h:500
RigDef::Animation::SOURCE_BOAT_THROTTLE
static const BitMask64_t SOURCE_BOAT_THROTTLE
Definition: RigDef_File.h:384
RigDef::CruiseControl::min_speed
float min_speed
Definition: RigDef_File.h:655
RigDef::Author::_has_forum_account
bool _has_forum_account
Definition: RigDef_File.h:482
RigDef::Turboprop2::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:1307
RigDef::AntiLockBrakes::min_speed
unsigned int min_speed
Definition: RigDef_File.h:469
RigDef::Animator::OPTION_ACCEL
static const BitMask_t OPTION_ACCEL
Definition: RigDef_File.h:436
RigDef::BaseWheel::braking
RoR::WheelBraking braking
Definition: RigDef_File.h:271
RigDef::VideoCamera::texture_height
unsigned int texture_height
Definition: RigDef_File.h:1321
RigDef::SlideNode::spring_rate
float spring_rate
Definition: RigDef_File.h:1162
RigDef::Globals::dry_mass
float dry_mass
Definition: RigDef_File.h:823
RigDef::Document::Module::transfercase
std::vector< TransferCase > transfercase
Definition: RigDef_File.h:1447
RigDef::Wheel2::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1344
RigDef::Shock2
Definition: RigDef_File.h:1091
RigDef::Animation::SOURCE_DIFFLOCK
static const BitMask64_t SOURCE_DIFFLOCK
Definition: RigDef_File.h:382
RigDef::Animation::SOURCE_AIR_BRAKE
static const BitMask64_t SOURCE_AIR_BRAKE
Definition: RigDef_File.h:366
RigDef::NodeOption::c_NO_GROUND_CONTACT
@ c_NO_GROUND_CONTACT
RigDef::BaseWheel::num_rays
unsigned int num_rays
Definition: RigDef_File.h:268
RigDef::Shock2::OPTION_M_ABSOLUTE_METRIC
static const BitMask_t OPTION_M_ABSOLUTE_METRIC
Definition: RigDef_File.h:1098
RigDef::WingControlSurface::e_ELEVATOR
@ e_ELEVATOR
RoR::ExtCameraMode
ExtCameraMode
Definition: Application.h:555
RigDef::Inertia::stop_delay_factor
float stop_delay_factor
Definition: RigDef_File.h:306
RigDef::WingControlSurface::U_RIGHT_HAND_TAILERON
@ U_RIGHT_HAND_TAILERON
RigDef::DefaultMinimass
Definition: RigDef_File.h:665
RigDef::Document::Module::rotators2
std::vector< Rotator2 > rotators2
Definition: RigDef_File.h:1430
RigDef::Pistonprop::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:963
RigDef::BaseWheel::rigidity_node
Node::Ref rigidity_node
Definition: RigDef_File.h:270
RigDef::Document::Module::description
std::vector< Ogre::String > description
Definition: RigDef_File.h:1394
RigDef::Forvert
Manually specified (vert => node) bindings for flexbody deformation (overrides 'forset').
Definition: RigDef_File.h:776
RigDef::Hydro::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:881
RigDef::FileFormatVersion
Definition: RigDef_File.h:734
RigDef
Definition: Application.cpp:706
RigDef::NodeOption
NodeOption
Definition: RigDef_File.h:229
RigDef::Prop::BeaconSpecial
Definition: RigDef_File.h:988
RigDef::Trigger::OPTION_x_START_DISABLED
static const BitMask_t OPTION_x_START_DISABLED
Definition: RigDef_File.h:1266
RigDef::BeamDefaults::BeamDefaults
BeamDefaults()
Definition: RigDef_File.h:522
RigDef::Wheel2
Definition: RigDef_File.h:1339
RigDef::CruiseControl::autobrake
int autobrake
Definition: RigDef_File.h:656
RigDef::BeamDefaults::GetScaledDeformThreshold
float GetScaledDeformThreshold() const
Definition: RigDef_File.h:549
RigDef::NodeOption::h_HOOK_POINT
@ h_HOOK_POINT
RigDef::Hydro::OPTION_a_INPUT_AILERON
static const BitMask_t OPTION_a_INPUT_AILERON
Definition: RigDef_File.h:869
RigDef::DifferentialType::o_OPEN
@ o_OPEN
RigDef::TractionControl
Definition: RigDef_File.h:1240
RigDef::Animation::MODE_OFFSET_Z
static const BitMask_t MODE_OFFSET_Z
Definition: RigDef_File.h:403
RigDef::Document::enable_advanced_deformation
bool enable_advanced_deformation
Definition: RigDef_File.h:1468
RigDef::BeamDefaults::GetScaledBreakingThreshold
float GetScaledBreakingThreshold()
Definition: RigDef_File.h:544
RigDef::SlideNode::slide_node
Node::Ref slide_node
Definition: RigDef_File.h:1157
RigDef::Rotator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:1043
RigDef::Help::material
std::string material
Definition: RigDef_File.h:841
RigDef::Document::Module::animators
std::vector< Animator > animators
Definition: RigDef_File.h:1378
RigDef::Wing::max_deflection
float max_deflection
Definition: RigDef_File.h:1360
RigDef::Document::Module::turboprops2
std::vector< Turboprop2 > turboprops2
Definition: RigDef_File.h:1450
RigDef::Cab::OPTION_c_CONTACT
static const BitMask_t OPTION_c_CONTACT
Definition: RigDef_File.h:575
RigDef::VideoCamera::alt_orientation_node
Node::Ref alt_orientation_node
Definition: RigDef_File.h:1316
RigDef::VideoCamera::bottom_node
Node::Ref bottom_node
Definition: RigDef_File.h:1314
RigDef::Engine::torque
float torque
Definition: RigDef_File.h:679
RigDef::Document::Module::triggers
std::vector< Trigger > triggers
Definition: RigDef_File.h:1448
RigDef::Document::Module::Module
Module(Ogre::String const &name)
Definition: RigDef_File.cpp:174
RigDef::Trigger::detacher_group
int detacher_group
Definition: RigDef_File.h:1282
RigDef::Tie::max_length
float max_length
Definition: RigDef_File.h:1215
RigDef::Shock2Option
Shock2Option
Definition: RigDef_File.h:210
RigDef::Guid::guid
std::string guid
Definition: RigDef_File.h:830
RigDef::ManagedMaterial::specular_map
Ogre::String specular_map
Definition: RigDef_File.h:919
RigDef::FlareBase::node_axis_y
Node::Ref node_axis_y
Definition: RigDef_File.h:750
RigDef::Cinecam
Definition: RigDef_File.h:606
RigDef::Lockgroup::LOCKGROUP_NOLOCK
static const int LOCKGROUP_NOLOCK
Definition: RigDef_File.h:901
RigDef::Engturbo::Engturbo
Engturbo()
Definition: RigDef_File.cpp:64
RigDef::NodeOption::l_LOAD_WEIGHT
@ l_LOAD_WEIGHT
RigDef::Fileinfo::file_version
int file_version
Definition: RigDef_File.h:743
RigDef::Animator::OPTION_ALTIMETER_10K
static const BitMask_t OPTION_ALTIMETER_10K
Definition: RigDef_File.h:428
RigDef::Keyword::INVALID
@ INVALID
RigDef::Airbrake::Airbrake
Airbrake()
Definition: RigDef_File.cpp:43
RigDef::SlideNode::railgroup_id
int railgroup_id
Definition: RigDef_File.h:1166
RigDef::CameraSettings
Definition: RigDef_File.h:601
RigDef::AeroAnimator::OPTION_STATUS
static const BitMask_t OPTION_STATUS
Definition: RigDef_File.h:254
RigDef::Shock2::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1109
RigDef::Prop::DashboardSpecial
Definition: RigDef_File.h:973
RigDef::FlexBodyWheel::rim_mesh_name
Ogre::String rim_mesh_name
Definition: RigDef_File.h:805
RigDef::FlareBase::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:751
RigDef::Animator::OPTION_ROLL
static const BitMask_t OPTION_ROLL
Definition: RigDef_File.h:433
RigDef::Airbrake::height
float height
Definition: RigDef_File.h:332
RigDef::Shock3::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1126
RigDef::Shock2::precompression
float precompression
Changes compression or extension of the suspension when the truck spawns. This can be used to "level"...
Definition: RigDef_File.h:1111
RigDef::Tie::max_reach_length
float max_reach_length
Definition: RigDef_File.h:1212
RigDef::FlareBase::material_name
Ogre::String material_name
Definition: RigDef_File.h:757
RigDef::Prop::DashboardSpecial::_offset_is_set
bool _offset_is_set
Definition: RigDef_File.h:983
RigDef::Document::Module::minimass
std::vector< Minimass > minimass
Definition: RigDef_File.h:1421
RigDef::Animation::MODE_OFFSET_X
static const BitMask_t MODE_OFFSET_X
Definition: RigDef_File.h:401
RigDef::Animator::OPTION_BOAT_RUDDER
static const BitMask_t OPTION_BOAT_RUDDER
Definition: RigDef_File.h:448
RigDef::Document
Definition: RigDef_File.h:1368
RigDef::Wing::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:1355
RigDef::Engturbo::param11
float param11
Definition: RigDef_File.h:718
RigDef::Airbrake::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:326
RigDef::Animation::MODE_ROTATION_Z
static const BitMask_t MODE_ROTATION_Z
Definition: RigDef_File.h:400
RigDef::Engturbo::param1
float param1
Definition: RigDef_File.h:708
RigDef::DocComment::commented_datapos
int commented_datapos
Position in the data vector for the given keyword.
Definition: RigDef_File.h:316
RigDef::AeroAnimator::OPTION_THROTTLE
static const BitMask_t OPTION_THROTTLE
Definition: RigDef_File.h:250
RigDef::Document::Module::extcamera
std::vector< ExtCamera > extcamera
Definition: RigDef_File.h:1399
RigDef::MinimassOption::n_DUMMY
@ n_DUMMY
RigDef::Hydro::OPTION_v_INPUT_InvAILERON_ELEVATOR
static const BitMask_t OPTION_v_INPUT_InvAILERON_ELEVATOR
Definition: RigDef_File.h:873
RigDef::TorqueCurve::samples
std::vector< Sample > samples
Definition: RigDef_File.h:1236
RigDef::Flexbody::node_list_to_import
std::vector< Node::Range > node_list_to_import
Definition: RigDef_File.h:794
RigDef::Guid
Definition: RigDef_File.h:828
RigDef::WingControlSurface::V_LEFT_HAND_TAILERON
@ V_LEFT_HAND_TAILERON
RigDef::MeshWheel
Definition: RigDef_File.h:936
RigDef::Animation::SOURCE_STEERING_WHEEL
static const BitMask64_t SOURCE_STEERING_WHEEL
Definition: RigDef_File.h:385
RigDef::Animator::OPTION_TURBO
static const BitMask_t OPTION_TURBO
Definition: RigDef_File.h:440
RigDef::ManagedMaterial
Definition: RigDef_File.h:912
RigDef::Prop::DashboardSpecial::DashboardSpecial
DashboardSpecial()
Definition: RigDef_File.h:975
RigDef::TransferCase::a1
int a1
Definition: RigDef_File.h:1255
RigDef::Document::Module::rotators
std::vector< Rotator > rotators
Definition: RigDef_File.h:1429
RigDef::Airbrake::aditional_node
Node::Ref aditional_node
Definition: RigDef_File.h:329
RigDef::ShockOption::n_DUMMY
@ n_DUMMY
RigDef::BeamDefaults::scale
BeamDefaultsScale scale
Definition: RigDef_File.h:564
RigDef::InterAxle
Definition: RigDef_File.h:890
RigDef::WingControlSurface::c_RIGHT_ELEVON
@ c_RIGHT_ELEVON
RigDef::BaseWheel
Definition: RigDef_File.h:265
RigDef::NodeOption::n_DUMMY
@ n_DUMMY
RigDef::Prop::BeaconSpecial::BeaconSpecial
BeaconSpecial()
Definition: RigDef_File.h:990
RigDef::Shock2::progress_factor_spring_out
float progress_factor_spring_out
Progression factor springout, 0 = disabled, 1...x as multipliers, example:maximum springrate == sprin...
Definition: RigDef_File.h:1107
RigDef::Engoption::clutch_force
float clutch_force
Definition: RigDef_File.h:690
RigDef::Trigger::expansion_trigger_limit
float expansion_trigger_limit
Definition: RigDef_File.h:1278
RigDef::TriggerOption::A_INV_TRIGGER_BLOCKER
@ A_INV_TRIGGER_BLOCKER
Blocker that enable/disable other triggers, reversed activation method (inverted Blocker style,...
RigDef::DifferentialType::v_VISCOUS
@ v_VISCOUS
Application.h
Central state/object manager and communications hub.
RigDef::Shock3::long_bound
float long_bound
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1137
RigDef::SlideNode::_break_force_set
bool _break_force_set
Definition: RigDef_File.h:1163
RigDef::Turbojet::wet_thrust
float wet_thrust
Definition: RigDef_File.h:1294
RigDef::Animator::flags
BitMask_t flags
Definition: RigDef_File.h:455
RoR::FlareType
FlareType
Definition: Application.h:504
RigDef::Flexbody::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:792
RigDef::TorqueCurve::Sample::torque_percent
float torque_percent
Definition: RigDef_File.h:1233
RigDef::Screwprop::prop_node
Node::Ref prop_node
Definition: RigDef_File.h:1057
RigDef::AntiLockBrakes::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:471
RigDef::Engturbo::param4
float param4
Definition: RigDef_File.h:711
RigDef::DefaultSkin
Definition: RigDef_File.h:670
RigDef::Animation::SOURCE_SHIFT_LEFT_RIGHT
static const BitMask64_t SOURCE_SHIFT_LEFT_RIGHT
Definition: RigDef_File.h:376
RigDef::Shock3::detacher_group
int detacher_group
Definition: RigDef_File.h:1141
RigDef::Engturbo::param2
float param2
Definition: RigDef_File.h:709
RigDef::TransferCase::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:1259
RigDef::Flare3::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:766
RigDef::Submesh
Definition: RigDef_File.h:1192
RigDef::Shock3::damp_in_fast
float damp_in_fast
Damping value applied when shock is commpressing faster than split in velocity.
Definition: RigDef_File.h:1132
RigDef::NodeOption::m_NO_MOUSE_GRAB
@ m_NO_MOUSE_GRAB
RigDef::Shock3::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1125
RigDef::Document::Module::flares2
std::vector< Flare2 > flares2
Definition: RigDef_File.h:1403
RigDef::Hook::flag_no_disable
bool flag_no_disable
Definition: RigDef_File.h:858
RigDef::FlareBase
Definition: RigDef_File.h:746
RigDef::Animation::ratio
float ratio
Definition: RigDef_File.h:409
RigDef::Airbrake::max_inclination_angle
float max_inclination_angle
Definition: RigDef_File.h:333
RigDef::Wing::min_deflection
float min_deflection
Definition: RigDef_File.h:1359
RigDef::Inertia
Definition: RigDef_File.h:298
RigDef::Animator::aero_animator
AeroAnimator aero_animator
Definition: RigDef_File.h:458
RigDef::Trigger::OPTION_s_CMD_NUM_SWITCH
static const BitMask_t OPTION_s_CMD_NUM_SWITCH
Definition: RigDef_File.h:1270
RigDef::Animation::mode
BitMask_t mode
Definition: RigDef_File.h:414
RigDef::Animation::SOURCE_HEADING
static const BitMask64_t SOURCE_HEADING
Definition: RigDef_File.h:381
RigDef::Axle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:488
RigDef::BaseMeshWheel::damping
float damping
Definition: RigDef_File.h:287
RigDef::Document::Module::shocks
std::vector< Shock > shocks
Definition: RigDef_File.h:1433
RigDef::Shock
Definition: RigDef_File.h:1073
RigDef::Command2::lengthen_rate
float lengthen_rate
Definition: RigDef_File.h:631
RigDef::BaseMeshWheel
Definition: RigDef_File.h:279
RigDef::TorqueCurve::Sample::Sample
Sample()
Definition: RigDef_File.h:1227
RigDef::TorqueCurve::Sample::power
float power
Definition: RigDef_File.h:1232
RigDef::Shock2::progress_factor_spring_in
float progress_factor_spring_in
Progression factor for springin. A value of 0 disables this option. 1...x as multipliers,...
Definition: RigDef_File.h:1103
RigDef::Document::Module::cameras
std::vector< Camera > cameras
Definition: RigDef_File.h:1385
RigDef::Document::hide_in_chooser
bool hide_in_chooser
Definition: RigDef_File.h:1467
RigDef::Trigger::shortbound_trigger_action
int shortbound_trigger_action
Definition: RigDef_File.h:1283
RigDef::Hydro::OPTION_y_INPUT_InvAILERON_RUDDER
static const BitMask_t OPTION_y_INPUT_InvAILERON_RUDDER
Definition: RigDef_File.h:875
RigDef::Shock2Option::m_METRIC
@ m_METRIC
metric values for shortbound/longbound applying to the length of the beam.
RigDef::Animation::SOURCE_PERMANENT
static const BitMask64_t SOURCE_PERMANENT
Definition: RigDef_File.h:389
RigDef::Beam::OPTION_s_SUPPORT
static const BitMask_t OPTION_s_SUPPORT
Definition: RigDef_File.h:495
RigDef::Rotator::engine_coupling
float engine_coupling
Definition: RigDef_File.h:1044
RigDef::Hook::option_hook_range
float option_hook_range
Definition: RigDef_File.h:849
RigDef::Hydro::detacher_group
int detacher_group
Definition: RigDef_File.h:887
RigDef::BeamDefaults::visual_beam_diameter
float visual_beam_diameter
Definition: RigDef_File.h:558
RigDef::WingControlSurface::d_LEFT_ELEVON
@ d_LEFT_ELEVON
RigDef::BaseWheel2::tyre_damping
float tyre_damping
Definition: RigDef_File.h:295
RigDef::SpecialProp::MIRROR_LEFT
@ MIRROR_LEFT
RigDef::Shock3::options
BitMask_t options
Definition: RigDef_File.h:1139
RigDef::ManagedMaterial::TypeToStr
static const char * TypeToStr(ManagedMaterialType type)
Definition: RigDef_File.cpp:162
RigDef::Engturbo::param5
float param5
Definition: RigDef_File.h:712
RigDef::MinimassOption::l_SKIP_LOADED
@ l_SKIP_LOADED
Only apply minimum mass to nodes without "L" option.
RigDef::HydroOption::g_INPUT_ELEVATOR_RUDDER
@ g_INPUT_ELEVATOR_RUDDER
RigDef::Forvert::vert_index
int vert_index
Definition: RigDef_File.h:781
RigDef::Trigger::OPTION_b_KEY_BLOCKER
static const BitMask_t OPTION_b_KEY_BLOCKER
Definition: RigDef_File.h:1267
RigDef::Animator::OPTION_AIRSPEED
static const BitMask_t OPTION_AIRSPEED
Definition: RigDef_File.h:425
RigDef::SpecialProp::BEACON
@ BEACON
RigDef::Engoption::stall_rpm
float stall_rpm
Definition: RigDef_File.h:695
RigDef::Cab
Definition: RigDef_File.h:573
RigDef::Engturbo::tinertiaFactor
float tinertiaFactor
Definition: RigDef_File.h:706
RigDef::MaterialFlareBinding
Definition: RigDef_File.h:924
RigDef::TriggerOption::b_KEY_BLOCKER
@ b_KEY_BLOCKER
Set the CommandKeys that are set in a commandkeyblocker or trigger to blocked on startup,...
RigDef::Beam::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:493
RigDef::Animation::SOURCE_ALTIMETER_1K
static const BitMask64_t SOURCE_ALTIMETER_1K
Definition: RigDef_File.h:363
RigDef::Prop::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:1004
RigDef::HydroOption::r_INPUT_RUDDER
@ r_INPUT_RUDDER
RigDef::VideoCamera::field_of_view
float field_of_view
Definition: RigDef_File.h:1319
RigDef::Document::Module::engine
std::vector< Engine > engine
Definition: RigDef_File.h:1395
RigDef::Rope::invisible
bool invisible
Definition: RigDef_File.h:1029
RigDef::SpeedLimiter
Definition: RigDef_File.h:1184
RigDef::Beam::defaults
std::shared_ptr< BeamDefaults > defaults
Definition: RigDef_File.h:502
RigDef::Lockgroup
Definition: RigDef_File.h:897
RigDef::Hook::option_max_force
float option_max_force
Definition: RigDef_File.h:851
RigDef::BaseWheel2::tyre_springiness
float tyre_springiness
Definition: RigDef_File.h:294
RigDef::Document::Module::name
Ogre::String name
Definition: RigDef_File.h:1374
RigDef::Animator
Definition: RigDef_File.h:421
RigDef::Document::Module::exhausts
std::vector< Exhaust > exhausts
Definition: RigDef_File.h:1398
RigDef::ShockOption::m_METRIC
@ m_METRIC
RigDef::FileFormatVersion::version
int version
Definition: RigDef_File.h:736
RigDef::Turbojet::front_diameter
float front_diameter
Definition: RigDef_File.h:1295
RigDef::Wheel2::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1343
RigDef::SpeedLimiter::max_speed
float max_speed
Definition: RigDef_File.h:1186
RigDef::TriggerOption::H_LOCKS_HOOK_GROUP
@ H_LOCKS_HOOK_GROUP
RigDef::Forvert::node_ref
Node::Ref node_ref
Definition: RigDef_File.h:778
RigDef::DefaultSkin::skin_name
std::string skin_name
Definition: RigDef_File.h:672
RigDef::Brakes::parking_brake_force
float parking_brake_force
Definition: RigDef_File.h:570
RigDef::NodeDefaults::load_weight
float load_weight
Definition: RigDef_File.h:946
RigDef::Author::email
Ogre::String email
Definition: RigDef_File.h:481
RigDef::Rope::end_node
Node::Ref end_node
Definition: RigDef_File.h:1028
RigDef::FlareBase::type
RoR::FlareType type
Definition: RigDef_File.h:752
RigDef::Flexbody
Definition: RigDef_File.h:785
RigDef::Document::Module::railgroups
std::vector< RailGroup > railgroups
Definition: RigDef_File.h:1426
RigDef::Hook::option_min_range_meters
float option_min_range_meters
Definition: RigDef_File.h:855
RigDef::SpecialProp::DASHBOARD_RIGHT
@ DASHBOARD_RIGHT
RigDef::Engturbo::param10
float param10
Definition: RigDef_File.h:717
RigDef::Command2::option_i_invisible
bool option_i_invisible
Definition: RigDef_File.h:645
RigDef::Trigger::OPTION_h_UNLOCKS_HOOK_GROUP
static const BitMask_t OPTION_h_UNLOCKS_HOOK_GROUP
Definition: RigDef_File.h:1271
RigDef::VideoCamera
Definition: RigDef_File.h:1310
RigDef::Cab::OPTION_D_CONTACT_BUOYANT
static const BitMask_t OPTION_D_CONTACT_BUOYANT
Definition: RigDef_File.h:581
RigDef::TriggerOption::h_UNLOCKS_HOOK_GROUP
@ h_UNLOCKS_HOOK_GROUP
RigDef::Shock2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1100
RigDef::TransferCase
Definition: RigDef_File.h:1253
RigDef::Rotator::inertia
Inertia inertia
Definition: RigDef_File.h:1042
RigDef::Trigger::OPTION_t_CONTINUOUS
static const BitMask_t OPTION_t_CONTINUOUS
Definition: RigDef_File.h:1273
RigDef::BeamDefaults::_is_user_defined
bool _is_user_defined
Informs whether these data were read from "set_beam_defaults" directive or filled in by the parser on...
Definition: RigDef_File.h:563
RoR::ExtCameraMode::CLASSIC
@ CLASSIC
RigDef::FlexBodyWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:802
RigDef::Submesh::texcoords
std::vector< Texcoord > texcoords
Definition: RigDef_File.h:1195
RigDef::Animation::SOURCE_GEAR_NEUTRAL
static const BitMask64_t SOURCE_GEAR_NEUTRAL
Definition: RigDef_File.h:394
RigDef::Animation::SOURCE_ACCEL
static const BitMask64_t SOURCE_ACCEL
Definition: RigDef_File.h:370
RigDef::Wing::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1361
RigDef::HydroOption::n_INPUT_NORMAL
@ n_INPUT_NORMAL
RigDef::Submesh::cab_triangles
std::vector< Cab > cab_triangles
Definition: RigDef_File.h:1196
RigDef::Animator::OPTION_VISIBLE
static const BitMask_t OPTION_VISIBLE
Definition: RigDef_File.h:423
RigDef::Shock::precompression
float precompression
Changes compression or extension of the suspension when the truck spawns. This can be used to "level"...
Definition: RigDef_File.h:1085
RigDef::Shock2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1113
RigDef::Turboprop2
Definition: RigDef_File.h:1300
RigDef::TractionControl::wheel_slip
float wheel_slip
Definition: RigDef_File.h:1245
RigDef::Cinecam::node_mass
float node_mass
Definition: RigDef_File.h:612
RigDef::Document::Module::props
std::vector< Prop > props
Definition: RigDef_File.h:1425
RigDef::Inertia::start_delay_factor
float start_delay_factor
Definition: RigDef_File.h:305
RigDef::Prop::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:1001
RigDef::TractionControl::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:1248
RigDef::Fusedrag::front_node
Node::Ref front_node
Definition: RigDef_File.h:814
RigDef::SpecialProp::DRIVER_SEAT_2
@ DRIVER_SEAT_2
RigDef::Cab::OPTION_s_BUOYANT_NO_DRAG
static const BitMask_t OPTION_s_BUOYANT_NO_DRAG
Definition: RigDef_File.h:579
RigDef::BaseMeshWheel::tyre_radius
float tyre_radius
Definition: RigDef_File.h:285
RigDef::Script
Definition: RigDef_File.h:1063
RigDef::Minimass::global_min_mass_Kg
float global_min_mass_Kg
minimum node mass in Kg - only effective where DefaultMinimass was not set.
Definition: RigDef_File.h:932
RigDef::VideoCamera::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1317
RigDef::Hydro::OPTION_s_DISABLE_ON_HIGH_SPEED
static const BitMask_t OPTION_s_DISABLE_ON_HIGH_SPEED
Definition: RigDef_File.h:867
RigDef::Engine::reverse_gear_ratio
float reverse_gear_ratio
Definition: RigDef_File.h:681
RigDef::Document::Module::fileinfo
std::vector< Fileinfo > fileinfo
Definition: RigDef_File.h:1402
RigDef::Trigger::OPTION_E_ENGINE_TRIGGER
static const BitMask_t OPTION_E_ENGINE_TRIGGER
Definition: RigDef_File.h:1274
RigDef::BeamDefaultsScale::deformation_threshold_constant
float deformation_threshold_constant
Definition: RigDef_File.h:516
RigDef::Inertia::Inertia
Inertia()
Definition: RigDef_File.h:300
RigDef::ManagedMaterialsOptions::double_sided
bool double_sided
Definition: RigDef_File.h:909
RigDef::Engturbo::nturbos
int nturbos
Definition: RigDef_File.h:707
RigDef::Animation::SOURCE_TURBO
static const BitMask64_t SOURCE_TURBO
Definition: RigDef_File.h:374
RigDef::Exhaust::direction_node
Node::Ref direction_node
Definition: RigDef_File.h:724
RigDef::Rotator::rotating_plate_nodes
Node::Ref rotating_plate_nodes[4]
Definition: RigDef_File.h:1038
RigDef::NodeDefaults::NodeDefaults
NodeDefaults()
Definition: RigDef_File.cpp:102
RigDef::Script::filename
std::string filename
Definition: RigDef_File.h:1065
RigDef::Globals::material_name
Ogre::String material_name
Definition: RigDef_File.h:825
RigDef::CabOption::r_BUOYANT_ONLY_DRAG
@ r_BUOYANT_ONLY_DRAG
RigDef::Flexbody::node_list
std::vector< Node::Ref > node_list
Definition: RigDef_File.h:795
RoR::CAMERA_MODE_ALWAYS_VISIBLE
static CameraMode_t CAMERA_MODE_ALWAYS_VISIBLE
Definition: Application.h:569
RigDef::Document::Module::shocks3
std::vector< Shock3 > shocks3
Definition: RigDef_File.h:1435
RigDef::Document::Module::default_skin
std::vector< DefaultSkin > default_skin
Definition: RigDef_File.h:1393
RigDef::Document::Module::submesh_groundmodel
std::vector< Ogre::String > submesh_groundmodel
Definition: RigDef_File.h:1442
RigDef::SkeletonSettings::visibility_range_meters
float visibility_range_meters
Definition: RigDef_File.h:1146
RigDef::EngineType::t_TRUCK
@ t_TRUCK
RigDef::HydroOption::j_INVISIBLE
@ j_INVISIBLE
RigDef::Exhaust::particle_name
Ogre::String particle_name
Definition: RigDef_File.h:725
RigDef::Exhaust::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:723
RigDef::Shock2Option::v_DUMMY
@ v_DUMMY
RigDef::Tie
Definition: RigDef_File.h:1206
RigDef::SlideNode::CONSTRAINT_ATTACH_NONE
static const BitMask_t CONSTRAINT_ATTACH_NONE
Definition: RigDef_File.h:1155
RigDef::Animator::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:460
RigDef::Animator::OPTION_ALTIMETER_100K
static const BitMask_t OPTION_ALTIMETER_100K
Definition: RigDef_File.h:427
RigDef::Hydro::OPTION_h_INPUT_InvELEVATOR_RUDDER
static const BitMask_t OPTION_h_INPUT_InvELEVATOR_RUDDER
Definition: RigDef_File.h:877
RoR::VideoCamRole
VideoCamRole
Definition: Application.h:594
RigDef::WheelDetacher
Definition: RigDef_File.h:1347
RigDef::Document::Module::flexbodywheels
std::vector< FlexBodyWheel > flexbodywheels
Definition: RigDef_File.h:1407
RigDef::ManagedMaterialType::FLEXMESH_TRANSPARENT
@ FLEXMESH_TRANSPARENT
RigDef::Document::Module::materialflarebindings
std::vector< MaterialFlareBinding > materialflarebindings
Definition: RigDef_File.h:1418
RigDef::BeamDefaults::plastic_deform_coef
float plastic_deform_coef
Definition: RigDef_File.h:560
RigDef::Rotator2::tolerance
float tolerance
Definition: RigDef_File.h:1051
RigDef::Rotator
Definition: RigDef_File.h:1034
RigDef::WingControlSurface::f_FLAP
@ f_FLAP
RigDef::Turbojet::side_node
Node::Ref side_node
Definition: RigDef_File.h:1291
RigDef::Animation::MotorSource::SOURCE_AERO_THROTTLE
static const BitMask_t SOURCE_AERO_THROTTLE
Definition: RigDef_File.h:346
RigDef::Document::Document
Document()
Definition: RigDef_File.cpp:178
RigDef::Minimass::option
MinimassOption option
Definition: RigDef_File.h:933
RigDef::TransferCase::has_2wd
bool has_2wd
Definition: RigDef_File.h:1257
RigDef::NodeOption::f_NO_SPARKS
@ f_NO_SPARKS
RigDef::Fusedrag
Definition: RigDef_File.h:809
RigDef::Trigger::boundary_timer
float boundary_timer
Definition: RigDef_File.h:1280
RigDef::Animation::SOURCE_BRAKES
static const BitMask64_t SOURCE_BRAKES
Definition: RigDef_File.h:369
RigDef::DifferentialType::s_SPLIT
@ s_SPLIT
RigDef::Globals::cargo_mass
float cargo_mass
Definition: RigDef_File.h:824
RigDef::Document::Module::videocameras
std::vector< VideoCamera > videocameras
Definition: RigDef_File.h:1451
RigDef::Wheel::springiness
float springiness
Definition: RigDef_File.h:1333
RigDef::BaseWheel2
Definition: RigDef_File.h:290
RigDef::Airbrake::texcoord_y2
float texcoord_y2
Definition: RigDef_File.h:337
RigDef::Engine
Definition: RigDef_File.h:675
RigDef::Trigger::contraction_trigger_limit
float contraction_trigger_limit
Definition: RigDef_File.h:1277
RigDef::TriggerOption::E_ENGINE_TRIGGER
@ E_ENGINE_TRIGGER
this trigger is used to control an engine
RigDef::Texcoord
Definition: RigDef_File.h:1199
RigDef::Document::Module::customdashboardinputs
std::vector< CustomDashboardInput > customdashboardinputs
Definition: RigDef_File.h:1392
RigDef::Document::lockgroup_default_nolock
bool lockgroup_default_nolock
Definition: RigDef_File.h:1473
RigDef::Author::type
Ogre::String type
Definition: RigDef_File.h:478
RigDef::Shock3::split_vel_in
float split_vel_in
Split velocity in (m/s) - threshold for slow / fast damping during compression.
Definition: RigDef_File.h:1131
RigDef::WingControlSurface::g_RIGHT_FLAPERON
@ g_RIGHT_FLAPERON
RigDef::Beam::detacher_group
int detacher_group
Definition: RigDef_File.h:501
RigDef::CustomDashboardInput::data_type
int data_type
Definition: RigDef_File.h:662
RigDef::TractionControl::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:1250
RigDef::Wheel::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1336
RigDef::Document::user_modules
std::map< Ogre::String, std::shared_ptr< Module > > user_modules
Definition: RigDef_File.h:1483
RigDef::Turbojet::dry_thrust
float dry_thrust
Definition: RigDef_File.h:1293
RigDef::Beam::options
BitMask_t options
Definition: RigDef_File.h:498
RigDef::Document::Module::antilockbrakes
std::vector< AntiLockBrakes > antilockbrakes
Definition: RigDef_File.h:1379
RigDef::HydroOption
HydroOption
Definition: RigDef_File.h:181
RigDef::Hydro::OPTION_j_INVISIBLE
static const BitMask_t OPTION_j_INVISIBLE
Definition: RigDef_File.h:865
RigDef::Texcoord::u
float u
Definition: RigDef_File.h:1202
RigDef::Camera::center_node
Node::Ref center_node
Definition: RigDef_File.h:591
RigDef::Animation::source
BitMask64_t source
Definition: RigDef_File.h:412
RigDef::FlexBodyWheel::rim_damping
float rim_damping
Definition: RigDef_File.h:804
RigDef::Shock3::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1136
RigDef::CabOption::s_BUOYANT_NO_DRAG
@ s_BUOYANT_NO_DRAG
RigDef::Engturbo::param7
float param7
Definition: RigDef_File.h:714
RigDef::Engoption::idle_rpm
float idle_rpm
Definition: RigDef_File.h:694
RigDef::AeroAnimator::engine_idx
unsigned int engine_idx
Definition: RigDef_File.h:257
RigDef::BaseWheel2::tyre_radius
float tyre_radius
Definition: RigDef_File.h:293
RigDef::Shock2::progress_factor_damp_in
float progress_factor_damp_in
Progression factor for dampin. 0 = disabled, 1...x as multipliers, example:maximum dampingrate == spr...
Definition: RigDef_File.h:1104
RigDef::Animator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:459
RigDef::Shock3::OPTION_M_ABSOLUTE_METRIC
static const BitMask_t OPTION_M_ABSOLUTE_METRIC
Definition: RigDef_File.h:1123
RigDef::BeamDefaultsScale::springiness
float springiness
Definition: RigDef_File.h:514
RigDef::BaseWheel::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:276
RigDef::SpecialProp::REDBEACON
@ REDBEACON
RigDef::Rotator2
Definition: RigDef_File.h:1048
RigDef::Shock::options
BitMask_t options
Definition: RigDef_File.h:1086
RigDef::DifferentialType::l_LOCKED
@ l_LOCKED
RigDef::Command2::affect_engine
float affect_engine
Definition: RigDef_File.h:638
RigDef::Shock2::detacher_group
int detacher_group
Definition: RigDef_File.h:1114
RigDef::Lockgroup::LOCKGROUP_DEFAULT
static const int LOCKGROUP_DEFAULT
Definition: RigDef_File.h:900
RigDef::Author::forum_account_id
unsigned int forum_account_id
Definition: RigDef_File.h:479
RigDef::Document::slide_nodes_connect_instantly
bool slide_nodes_connect_instantly
Definition: RigDef_File.h:1469
RigDef::BaseMeshWheel::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:282
RigDef::Forvert::line_number
int line_number
Definition: RigDef_File.h:782
RigDef::SlideNode::CONSTRAINT_ATTACH_ALL
static const BitMask_t CONSTRAINT_ATTACH_ALL
Definition: RigDef_File.h:1152
RigDef::Shock3
Definition: RigDef_File.h:1117
RigDef::Exhaust
Definition: RigDef_File.h:721
RigDef::Document::Module::flexbodies
std::vector< Flexbody > flexbodies
Definition: RigDef_File.h:1406
RigDef::Airbrake::width
float width
Definition: RigDef_File.h:331
RigDef::Command2::contract_key
RoR::CommandkeyID_t contract_key
Definition: RigDef_File.h:634
RigDef::Animation::MODE_ROTATION_X
static const BitMask_t MODE_ROTATION_X
Definition: RigDef_File.h:398
RigDef::Document::Module::hydros
std::vector< Hydro > hydros
Definition: RigDef_File.h:1414
RigDef::VideoCamera::max_clip_distance
float max_clip_distance
Definition: RigDef_File.h:1323
RigDef::CabOption::u_INVULNERABLE
@ u_INVULNERABLE
RigDef::Document::Module::ropables
std::vector< Ropable > ropables
Definition: RigDef_File.h:1427
BITMASK64
#define BITMASK64(OFFSET)
Definition: BitFlags.h:11
RigDef::HydroOption::s_DISABLE_ON_HIGH_SPEED
@ s_DISABLE_ON_HIGH_SPEED
RigDef::Animation::motor_sources
std::list< MotorSource > motor_sources
Definition: RigDef_File.h:413
RigDef::Document::Module::managedmaterials
std::vector< ManagedMaterial > managedmaterials
Definition: RigDef_File.h:1417
RigDef::Prop::special_prop_dashboard
DashboardSpecial special_prop_dashboard
Definition: RigDef_File.h:1009
RigDef::Animation::SOURCE_DASHBOARD
static const BitMask64_t SOURCE_DASHBOARD
Definition: RigDef_File.h:391
RigDef::Animation::SOURCE_GEAR_REVERSE
static const BitMask64_t SOURCE_GEAR_REVERSE
Definition: RigDef_File.h:395
RigDef::SpecialProp::DASHBOARD_LEFT
@ DASHBOARD_LEFT
RigDef::CollisionRange::node_collision_range
float node_collision_range
Definition: RigDef_File.h:624
RigDef::Pistonprop::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:964
RigDef::Beam::OPTION_r_ROPE
static const BitMask_t OPTION_r_ROPE
Definition: RigDef_File.h:494
RigDef::Animation::SOURCE_CLUTCH
static const BitMask64_t SOURCE_CLUTCH
Definition: RigDef_File.h:371
RigDef::Animation::MODE_OFFSET_Y
static const BitMask_t MODE_OFFSET_Y
Definition: RigDef_File.h:402
RigDef::Fusedrag::airfoil_name
Ogre::String airfoil_name
Definition: RigDef_File.h:817
RigDef::BeamDefaultsScale::damping_constant
float damping_constant
Definition: RigDef_File.h:515
RigDef::Animation::SOURCE_SIGNALSTALK
static const BitMask64_t SOURCE_SIGNALSTALK
Definition: RigDef_File.h:392
RigDef::Cab::OPTION_F_10xTOUGHER_BUOYANT
static const BitMask_t OPTION_F_10xTOUGHER_BUOYANT
Definition: RigDef_File.h:582
RigDef::Document::Module::_hint_nodes12_start_linenumber
int _hint_nodes12_start_linenumber
Definition: RigDef_File.h:1458
RigDef::Turbojet::nozzle_length
float nozzle_length
Definition: RigDef_File.h:1297
RigDef::Shock2::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1102
RigDef::Lockgroup::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:904
RigDef::Tie::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1208
BitMask_t
uint32_t BitMask_t
Definition: BitFlags.h:7
RigDef::Axle
Definition: RigDef_File.h:485
RigDef::Shock2::options
BitMask_t options
Definition: RigDef_File.h:1112
RigDef::BeamOption::v_DUMMY
@ v_DUMMY
RigDef::Fusedrag::area_coefficient
float area_coefficient
Definition: RigDef_File.h:818
RigDef::SlideNode::_attachment_rate_set
bool _attachment_rate_set
Definition: RigDef_File.h:1165
RoR::WheelPropulsion::NONE
@ NONE
Ogre
Definition: ExtinguishableFireAffector.cpp:35
RigDef::Document::Module::collisionboxes
std::vector< CollisionBox > collisionboxes
Definition: RigDef_File.h:1387
RigDef::Shock::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1080
RigDef::HydroOption::x_INPUT_AILERON_RUDDER
@ x_INPUT_AILERON_RUDDER
RigDef::ShockOption
ShockOption
Definition: RigDef_File.h:200
RigDef::Cinecam::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:613
RigDef::Tie::root_node
Node::Ref root_node
Definition: RigDef_File.h:1211
RigDef::WingControlSurface::b_LEFT_AILERON
@ b_LEFT_AILERON
RigDef::TransferCase::has_2wd_lo
bool has_2wd_lo
Definition: RigDef_File.h:1258
RigDef::EngineType
EngineType
Definition: RigDef_File.h:90
RigDef::Lockgroup::number
int number
Definition: RigDef_File.h:903
RigDef::WingControlSurface::S_RIGHT_HAND_STABILATOR
@ S_RIGHT_HAND_STABILATOR
RigDef::Cab::OPTION_r_BUOYANT_ONLY_DRAG
static const BitMask_t OPTION_r_BUOYANT_ONLY_DRAG
Definition: RigDef_File.h:580
RigDef::BaseWheel::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:269
RigDef::VideoCamera::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1312
RigDef::TieOption::n_DUMMY
@ n_DUMMY
RigDef::Document::root_module
std::shared_ptr< Module > root_module
Required to exist. shared_ptr is used for unified handling with other modules.
Definition: RigDef_File.h:1482
RigDef::Document::Module::flaregroups_no_import
std::vector< FlaregroupNoImport > flaregroups_no_import
Definition: RigDef_File.h:1405
RigDef::SoundSource
Definition: RigDef_File.h:1170
RigDef::RailGroup::node_list
std::vector< Node::Range > node_list
Definition: RigDef_File.h:1015
RigDef::Shock3::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1122
RigDef::Document::Module::wheeldetachers
std::vector< WheelDetacher > wheeldetachers
Definition: RigDef_File.h:1452
RigDef::Document::Module::torquecurve
std::vector< TorqueCurve > torquecurve
Definition: RigDef_File.h:1445
RigDef::Document::Module::speedlimiter
std::vector< SpeedLimiter > speedlimiter
Definition: RigDef_File.h:1441
RigDef::Animator::OPTION_PARKING
static const BitMask_t OPTION_PARKING
Definition: RigDef_File.h:441
RigDef::HydroOption::h_INPUT_InvELEVATOR_RUDDER
@ h_INPUT_InvELEVATOR_RUDDER
RigDef::Turbojet::is_reversable
int is_reversable
Definition: RigDef_File.h:1292
RigDef::BaseWheel::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:275
RigDef::Airbrake::texcoord_x2
float texcoord_x2
Definition: RigDef_File.h:335
RigDef::Animation::SOURCE_SHIFT_BACK_FORTH
static const BitMask64_t SOURCE_SHIFT_BACK_FORTH
Definition: RigDef_File.h:377
RigDef::Hook::option_lockgroup
int option_lockgroup
Definition: RigDef_File.h:853
RigDef::Hook::flag_no_rope
bool flag_no_rope
Definition: RigDef_File.h:859
RigDef::SpecialProp::NONE
@ NONE
RigDef::CabOption::p_10xTOUGHER
@ p_10xTOUGHER
RigDef::Animator::OPTION_SHORT_LIMIT
static const BitMask_t OPTION_SHORT_LIMIT
Definition: RigDef_File.h:450
RigDef::AntiLockBrakes::regulation_force
float regulation_force
Definition: RigDef_File.h:468
RigDef::Trigger::OPTION_H_LOCKS_HOOK_GROUP
static const BitMask_t OPTION_H_LOCKS_HOOK_GROUP
Definition: RigDef_File.h:1272
RigDef::WingControlSurface::r_RUDDER
@ r_RUDDER
RigDef::Assetpack
Definition: RigDef_File.h:260
RigDef::Cab::OPTION_S_INVULNERABLE_BUOYANT
static const BitMask_t OPTION_S_INVULNERABLE_BUOYANT
Definition: RigDef_File.h:583
RigDef::Shock::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1075
RigDef::Document::Module::fileformatversion
std::vector< FileFormatVersion > fileformatversion
Definition: RigDef_File.h:1400
RigDef::WingControlSurface::T_LEFT_HAND_STABILATOR
@ T_LEFT_HAND_STABILATOR
RigDef::Shock::damping
float damping
The 'resistance to motion' of the shock. The best value is given by this equation: 2 * sqrt(suspended...
Definition: RigDef_File.h:1082
RigDef::Animator::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:454
RigDef::Rotator2::description
Ogre::String description
Definition: RigDef_File.h:1052
RigDef::Document::Module::soundsources
std::vector< SoundSource > soundsources
Definition: RigDef_File.h:1439
RigDef::Prop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:999
RigDef::ShadowOptions::shadow_mode
int shadow_mode
Definition: RigDef_File.h:1070
RigDef::CabOption::n_DUMMY
@ n_DUMMY
RigDef::SlideNode::_max_attach_dist_set
bool _max_attach_dist_set
Definition: RigDef_File.h:1167
RigDef::Hydro::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:886
RigDef::Rotator::base_plate_nodes
Node::Ref base_plate_nodes[4]
Definition: RigDef_File.h:1037
RigDef::Flexbody::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:788
RigDef::Animation::event_name
Ogre::String event_name
Definition: RigDef_File.h:415
RigDef::Airbrake::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:327
RigDef::Pistonprop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:962
RigDef::Particle::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:956
RigDef::Shock3::damp_out
float damp_out
Damping value applied when shock extending.
Definition: RigDef_File.h:1129
RigDef::Command2::option_c_auto_center
bool option_c_auto_center
Definition: RigDef_File.h:647
RigDef::Rotator::spin_left_key
unsigned int spin_left_key
Definition: RigDef_File.h:1040
RigDef::Minimass
Definition: RigDef_File.h:930
RigDef::Shock3::damp_in_slow
float damp_in_slow
Damping value applied when shock is commpressing slower than split in velocity.
Definition: RigDef_File.h:1130
RigDef::BeamDefaults::beam_material_name
Ogre::String beam_material_name
Definition: RigDef_File.h:559
RigDef::Shock2Option::M_ABSOLUTE_METRIC
@ M_ABSOLUTE_METRIC
Absolute metric values for shortbound/longbound, settings apply without regarding to the original len...
RigDef::Turbojet
Definition: RigDef_File.h:1287
RigDef::CameraSettings::mode
int mode
0 and higher = cinecam index
Definition: RigDef_File.h:603
RigDef::Hook::Hook
Hook()
Definition: RigDef_File.cpp:87
RigDef::Hydro::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:882
RigDef::VideoCamera::material_name
Ogre::String material_name
Definition: RigDef_File.h:1326
BitMask64_t
uint64_t BitMask64_t
Definition: BitFlags.h:8
RigDef::Command2::max_contraction
float max_contraction
Definition: RigDef_File.h:632
RigDef::HydroOption::i_INVISIBLE_INPUT_NORMAL
@ i_INVISIBLE_INPUT_NORMAL
For backwards compatibility; combines flags 'j' and 'n'.
RigDef::Animator::OPTION_TACHO
static const BitMask_t OPTION_TACHO
Definition: RigDef_File.h:439
RigDef::WingControlSurface::h_LEFT_FLAPERON
@ h_LEFT_FLAPERON
RigDef::Command2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:629
RigDef::ROOT_MODULE_NAME
const char * ROOT_MODULE_NAME
Definition: RigDef_File.cpp:35
RigDef::AntiLockBrakes::pulse_per_sec
float pulse_per_sec
Definition: RigDef_File.h:470
RigDef::Document::name
Ogre::String name
Definition: RigDef_File.h:1476
RigDef::Beam
Definition: RigDef_File.h:491
RigDef::Rotator2::rotating_force
float rotating_force
Definition: RigDef_File.h:1050
RigDef::Screwprop
Definition: RigDef_File.h:1055
RigDef::Hook::option_timer
float option_timer
Definition: RigDef_File.h:854
RigDef::GuiSettings::value
std::string value
Definition: RigDef_File.h:836
RigDef::Animation::SOURCE_TORQUE
static const BitMask64_t SOURCE_TORQUE
Definition: RigDef_File.h:380
RigDef::Shock2Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Document::Module::camerarail
std::vector< CameraRail > camerarail
Definition: RigDef_File.h:1386
RigDef::Prop::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:1000
RigDef::Animation::upper_limit
float upper_limit
Definition: RigDef_File.h:411
RigDef::Cab::options
BitMask_t options
Definition: RigDef_File.h:586
RigDef::ExtCamera::mode
RoR::ExtCameraMode mode
Definition: RigDef_File.h:730
RigDef::Tie::OPTION_s_DISABLE_SELF_LOCK
static const BitMask_t OPTION_s_DISABLE_SELF_LOCK
Definition: RigDef_File.h:1209
RigDef::Inertia::stop_function
Ogre::String stop_function
Definition: RigDef_File.h:308
RigDef::Animation::SOURCE_ALTIMETER_100K
static const BitMask64_t SOURCE_ALTIMETER_100K
Definition: RigDef_File.h:361
RigDef::Prop::DashboardSpecial::rotation_angle
float rotation_angle
Definition: RigDef_File.h:984
RigDef::Document::Module::particles
std::vector< Particle > particles
Definition: RigDef_File.h:1423
RigDef::Engoption::inertia
float inertia
Definition: RigDef_File.h:688
RigDef::Document::Module::beams
std::vector< Beam > beams
Definition: RigDef_File.h:1383
RigDef::CruiseControl
Definition: RigDef_File.h:653
RigDef::BaseMeshWheel::material_name
Ogre::String material_name
Definition: RigDef_File.h:283
RigDef::Rope::detacher_group
int detacher_group
Definition: RigDef_File.h:1031
RigDef::Hydro::OPTION_r_INPUT_RUDDER
static const BitMask_t OPTION_r_INPUT_RUDDER
Definition: RigDef_File.h:870
RigDef::Animation::MODE_NO_FLIP
static const BitMask_t MODE_NO_FLIP
Definition: RigDef_File.h:405
RigDef::Wing
Definition: RigDef_File.h:1353
RigDef::BaseWheel::reference_arm_node
Node::Ref reference_arm_node
Definition: RigDef_File.h:273
RigDef::Animation::dash_link_name
Ogre::String dash_link_name
Definition: RigDef_File.h:416
RigDef::SpecialProp::MIRROR_RIGHT
@ MIRROR_RIGHT
RigDef::ManagedMaterialsOptions
Definition: RigDef_File.h:907
RigDef::Hook::flag_visible
bool flag_visible
Definition: RigDef_File.h:860
RigDef::Document::Module::interaxles
std::vector< InterAxle > interaxles
Definition: RigDef_File.h:1415
RigDef::Fusedrag::rear_node
Node::Ref rear_node
Definition: RigDef_File.h:815
RigDef::Globals
Definition: RigDef_File.h:821
RigDef::Prop::special_prop_beacon
BeaconSpecial special_prop_beacon
Definition: RigDef_File.h:1008
RigDef::Command2::needs_engine
bool needs_engine
Definition: RigDef_File.h:639
RigDef::Pistonprop::pitch
float pitch
Definition: RigDef_File.h:967
RoR::FlareType::HEADLIGHT
@ HEADLIGHT
RigDef::ExtCamera
Definition: RigDef_File.h:728
RigDef::Shock2::progress_factor_damp_out
float progress_factor_damp_out
Progression factor dampout, 0 = disabled, 1...x as multipliers, example:maximum dampingrate == spring...
Definition: RigDef_File.h:1108
RigDef::Flexbody::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:789
RigDef::Shock3Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Rope
Definition: RigDef_File.h:1025
RigDef::Cinecam::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:609
RigDef::Shock2::Shock2
Shock2()
Definition: RigDef_File.cpp:110
RigDef::Shock3::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1121
RigDef::Airbrake::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:330
RigDef::Wheel2::rim_springiness
float rim_springiness
Definition: RigDef_File.h:1341
RigDef::Hook::option_speed_coef
float option_speed_coef
Definition: RigDef_File.h:850
RigDef::Trigger::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1281
RigDef::Ropable::group
int group
Definition: RigDef_File.h:1021
RigDef::Forvert::node_y
Node::Ref node_y
Definition: RigDef_File.h:780
RigDef::Wheel::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1335
RigDef::Cab::OPTION_b_BUOYANT
static const BitMask_t OPTION_b_BUOYANT
Definition: RigDef_File.h:576
RoR::COMMANDKEYID_INVALID
static const CommandkeyID_t COMMANDKEYID_INVALID
Definition: ForwardDeclarations.h:83
RigDef::Wing::efficacy_coef
float efficacy_coef
Definition: RigDef_File.h:1362
RoR::WheelPropulsion
WheelPropulsion
Definition: Application.h:536
RigDef::CabOption::F_10xTOUGHER_BUOYANT
@ F_10xTOUGHER_BUOYANT
RigDef::Hydro::OPTION_x_INPUT_AILERON_RUDDER
static const BitMask_t OPTION_x_INPUT_AILERON_RUDDER
Definition: RigDef_File.h:874
RigDef::SpecialProp::LIGHTBAR
@ LIGHTBAR
RigDef::SlideNode
Definition: RigDef_File.h:1150
RigDef::Cinecam::damping
float damping
Definition: RigDef_File.h:611
RigDef::TractionControl::regulation_force
float regulation_force
Definition: RigDef_File.h:1244
RigDef::Shock2Option::n_DUMMY
@ n_DUMMY
RigDef::TransferCase::a2
int a2
Definition: RigDef_File.h:1256
RigDef::MeshWheel2
Definition: RigDef_File.h:939
RigDef::Hook::flag_self_lock
bool flag_self_lock
Definition: RigDef_File.h:856
RigDef::Document::Module::meshwheels
std::vector< MeshWheel > meshwheels
Definition: RigDef_File.h:1419
RigDef::Document::Module::engoption
std::vector< Engoption > engoption
Definition: RigDef_File.h:1396
RigDef::SoundSource::sound_script_name
Ogre::String sound_script_name
Definition: RigDef_File.h:1173
RigDef::Keyword
Keyword
Definition: Application.h:174
RigDef::BeamDefaults::GetScaledDamping
float GetScaledDamping()
Definition: RigDef_File.h:539
RigDef::HydroOption::v_INPUT_InvAILERON_ELEVATOR
@ v_INPUT_InvAILERON_ELEVATOR
RigDef::Pistonprop::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:966
RigDef::Document::Module::tractioncontrol
std::vector< TractionControl > tractioncontrol
Definition: RigDef_File.h:1446
RigDef::Animation::MotorSource::source
BitMask_t source
Definition: RigDef_File.h:354
RigDef::CabOption::c_CONTACT
@ c_CONTACT
RigDef::WheelDetacher::detacher_group
int detacher_group
Definition: RigDef_File.h:1350
RigDef::TorqueCurve
Definition: RigDef_File.h:1223
RigDef::Shock3::damp_out_slow
float damp_out_slow
Damping value applied when shock is commpressing slower than split out velocity.
Definition: RigDef_File.h:1133
RigDef::Prop::BeaconSpecial::flare_material_name
Ogre::String flare_material_name
Definition: RigDef_File.h:995
RigDef::DifferentialTypeVec
std::vector< DifferentialType > DifferentialTypeVec
Definition: RigDef_File.h:105
RigDef::ShockOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Turboprop2::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1302
RigDef::Document::Module::fixes
std::vector< Node::Ref > fixes
Definition: RigDef_File.h:1401
RigDef::Prop::animations
std::list< Animation > animations
Definition: RigDef_File.h:1005
RigDef::Hook::node
Node::Ref node
Definition: RigDef_File.h:848
RigDef::Document::Module::soundsources2
std::vector< SoundSource2 > soundsources2
Definition: RigDef_File.h:1440
RigDef::Beam::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:497
RigDef::Document::Module::guid
std::vector< Guid > guid
Definition: RigDef_File.h:1410
RigDef::Rope::root_node
Node::Ref root_node
Definition: RigDef_File.h:1027
RigDef::VideoCamera::camera_name
Ogre::String camera_name
Definition: RigDef_File.h:1327
RigDef::Fileinfo::category_id
int category_id
Definition: RigDef_File.h:742
RigDef::Submesh::backmesh
bool backmesh
Definition: RigDef_File.h:1194
RigDef::Animator::OPTION_VERTICAL_VELOCITY
static const BitMask_t OPTION_VERTICAL_VELOCITY
Definition: RigDef_File.h:426
RigDef::Turbojet::back_node
Node::Ref back_node
Definition: RigDef_File.h:1290
RigDef::Animator::OPTION_GEAR_SELECT
static const BitMask_t OPTION_GEAR_SELECT
Definition: RigDef_File.h:445
RigDef::Animation::SOURCE_SEQUENTIAL_SHIFT
static const BitMask64_t SOURCE_SEQUENTIAL_SHIFT
Definition: RigDef_File.h:378
RigDef::Cab::nodes
Node::Ref nodes[3]
Definition: RigDef_File.h:585
RigDef::BeamOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Animation::SOURCE_SPEEDO
static const BitMask64_t SOURCE_SPEEDO
Definition: RigDef_File.h:372
RigDef::WingControlSurface::i_RIGHT_RUDDERVATOR
@ i_RIGHT_RUDDERVATOR
RigDef::Prop::BeaconSpecial::color
Ogre::ColourValue color
Definition: RigDef_File.h:996
RigDef::TieOption::i_INVISIBLE
@ i_INVISIBLE