RigsofRods
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),
530  _is_user_defined(false)
531  {}
532 
534  {
535  return springiness * scale.springiness;
536  }
537 
539  {
541  }
542 
544  {
546  }
547 
548  inline float GetScaledDeformThreshold() const
549  {
551  }
552 
553  float springiness;
558  Ogre::String beam_material_name;
563 };
564 
565 struct Brakes
566 {
567  float default_braking_force = 30000.f;
568  float parking_brake_force = -1.f;
569 };
570 
571 struct Cab
572 {
573  static const BitMask_t OPTION_c_CONTACT = BITMASK(1);
574  static const BitMask_t OPTION_b_BUOYANT = BITMASK(2);
582 
585 };
586 
587 struct Camera
588 {
592 };
593 
595 {
596  std::vector<Node::Ref> nodes;
597 };
598 
600 {
602 };
603 
604 struct Cinecam
605 {
606  Ogre::Vector3 position = Ogre::Vector3::ZERO;
608  float spring = 8000.f;
609  float damping = 800.f;
610  float node_mass = 20.f;
611  std::shared_ptr<BeamDefaults> beam_defaults;
612  std::shared_ptr<NodeDefaults> node_defaults;
613 };
614 
616 {
617  std::vector<Node::Ref> nodes;
618 };
619 
621 {
623 };
624 
625 struct Command2 // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
626 {
628  float shorten_rate = 0.f;
629  float lengthen_rate = 0.f;
630  float max_contraction = 0.f;
631  float max_extension = 0.f;
634  Ogre::String description;
636  float affect_engine = 1.f;
637  bool needs_engine = true;
638  bool plays_sound = true;
639  std::shared_ptr<BeamDefaults> beam_defaults;
640  std::shared_ptr<Inertia> inertia_defaults;
641  int detacher_group = 0;
642 
643  bool option_i_invisible = false;
644  bool option_r_rope = false;
645  bool option_c_auto_center = false;
646  bool option_f_not_faster = false;
647  bool option_p_1press = false;
649 };
650 
652 {
653  float min_speed = 0.f;
654  int autobrake = 0;
655 };
656 
658 {
660 };
661 
663 {
664  std::string skin_name;
665 };
666 
667 struct Engine
668 {
669  float shift_down_rpm = 0.f;
670  float shift_up_rpm = 0.f;
671  float torque = 0.f;
672  float global_gear_ratio = 0.f;
673  float reverse_gear_ratio = 0.f;
674  float neutral_gear_ratio = 0.f;
675  std::vector<float> gear_ratios;
676 };
677 
678 struct Engoption
679 {
680  float inertia = 10.f;
682  float clutch_force = -1.f;
683  float shift_time = -1.f;
684  float clutch_time = -1.f;
685  float post_shift_time = -1.f;
686  float idle_rpm = -1.f;
687  float stall_rpm = -1.f;
688  float max_idle_mixture = -1.f;
689  float min_idle_mixture = -1.f;
690  float braking_torque = -1.f;
691 };
692 
693 struct Engturbo
694 {
695  Engturbo();
696 
697  int version;
699  int nturbos;
700  float param1;
701  float param2;
702  float param3;
703  float param4;
704  float param5;
705  float param6;
706  float param7;
707  float param8;
708  float param9;
709  float param10;
710  float param11;
711 };
712 
713 struct Exhaust
714 {
717  Ogre::String particle_name;
718 };
719 
720 struct ExtCamera
721 {
724 };
725 
727 {
728  int version = -1;
729 };
730 
731 struct Fileinfo
732 {
733  Ogre::String unique_id;
734  int category_id = -1;
735  int file_version = 0;
736 };
737 
738 struct Flare2 // Used for both 'flares' and 'flares2' sections
739 {
743  Ogre::Vector3 offset = Ogre::Vector3(0, 0, 1); // Section 'flares(1)' has offset.z hardcoded to 1
745  int control_number = -1;
746  std::string dashboard_link;
748  float size = -1.f;
749  Ogre::String material_name;
750 };
751 
752 struct Flare3: public Flare2
753 {
754  std::shared_ptr<Inertia> inertia_defaults;
755 };
756 
758 {
760  int control_number = -1;
761 };
762 
764 struct Forvert
765 {
769  int vert_index{ 0 };
770  int line_number{ 0 }; // If multiple verts are given on single 'forvert' line, multiple `Forvert` entries are inserted.
771 };
772 
773 struct Flexbody
774 {
778  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
779  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
780  Ogre::String mesh_name;
781  std::list<Animation> animations;
782  std::vector<Node::Range> node_list_to_import;
783  std::vector<Node::Ref> node_list;
784  std::vector<Forvert> forvert;
786 };
787 
788 struct FlexBodyWheel: public BaseWheel2
789 {
791  float rim_springiness = 0.f;
792  float rim_damping = 0.f;
793  Ogre::String rim_mesh_name;
794  Ogre::String tyre_mesh_name;
795 };
796 
797 struct Fusedrag
798 {
799  Fusedrag();
800 
801  bool autocalc;
805  Ogre::String airfoil_name;
807 };
808 
809 struct Globals
810 {
811  float dry_mass = 0;
812  float cargo_mass = 0;
813  Ogre::String material_name;
814 };
815 
816 struct Guid
817 {
818  std::string guid;
819 };
820 
822 {
823  std::string key;
824  std::string value;
825 };
826 
827 struct Help
828 {
829  std::string material;
830 };
831 
832 struct Hook
833 {
834  Hook();
835 
844  bool flag_self_lock :1;
845  bool flag_auto_lock :1;
847  bool flag_no_rope :1;
848  bool flag_visible :1;
849 };
850 
851 struct Hydro
852 {
854  // Useful for trucks:
856  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
866  // Generic steering input
868 
870  float lenghtening_factor = 0.f;
873  std::shared_ptr<Inertia> inertia_defaults;
874  std::shared_ptr<BeamDefaults> beam_defaults;
875  int detacher_group = 0;
876 };
877 
878 struct InterAxle
879 {
880  int a1 = 0;
881  int a2 = 0;
883 };
884 
885 struct Lockgroup
886 {
887  // TODO remove these, use SimConstants.h
888  static const int LOCKGROUP_DEFAULT = -1;
889  static const int LOCKGROUP_NOLOCK = 9999;
890 
891  int number = 0;
892  std::vector<Node::Ref> nodes;
893 };
894 
896 {
897  bool double_sided = false;
898 };
899 
901 {
902  Ogre::String name;
905  Ogre::String diffuse_map;
906  Ogre::String damaged_diffuse_map;
907  Ogre::String specular_map;
908 
909  static const char* TypeToStr(ManagedMaterialType type);
910 };
911 
913 {
914  unsigned int flare_number = 0;
915  Ogre::String material_name;
916 };
917 
918 struct Minimass
919 {
922 };
923 
924 struct MeshWheel: public BaseMeshWheel
925 {};
926 
927 struct MeshWheel2: public BaseMeshWheel
928 {};
929 
931 {
932  NodeDefaults();
933 
934  float load_weight;
935  float friction;
936  float volume;
937  float surface;
938  unsigned int options;
939 };
940 
941 struct Particle
942 {
945  Ogre::String particle_system_name;
946 };
947 
949 {
954  float turbine_power_kW = 0.f;
955  float pitch = 0;
956  Ogre::String airfoil;
957 };
958 
959 struct Prop
960 {
962  {
964  offset(Ogre::Vector3::ZERO), // Default depends on right/left-hand dashboard placement
965  rotation_angle(160.f),
966  _offset_is_set(false),
967  mesh_name("dirwheel.mesh")
968  {}
969 
970  Ogre::Vector3 offset;
973  Ogre::String mesh_name;
974  };
975 
977  {
979  color(1.0, 0.5, 0.0),
980  flare_material_name("tracks/beaconflare")
981  {}
982 
983  Ogre::String flare_material_name;
984  Ogre::ColourValue color;
985  };
986 
990  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
991  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
992  Ogre::String mesh_name;
993  std::list<Animation> animations;
998 };
999 
1001 {
1002  unsigned int id = 0;
1003  std::vector<Node::Range> node_list;
1004 };
1005 
1006 struct Ropable
1007 {
1009  int group = -1; // = value not set
1010  bool has_multilock = false;
1011 };
1012 
1013 struct Rope
1014 {
1017  bool invisible = false;
1018  std::shared_ptr<BeamDefaults> beam_defaults;
1020 };
1021 
1022 struct Rotator
1023 {
1027  float rate = 0.f;
1028  unsigned int spin_left_key = 0;
1029  unsigned int spin_right_key = 0;
1031  std::shared_ptr<Inertia> inertia_defaults;
1032  float engine_coupling = 1.f;
1033  bool needs_engine = false;
1034 };
1035 
1036 struct Rotator2: public Rotator
1037 {
1038  float rotating_force = 10000000.f;
1039  float tolerance = 0.f;
1040  Ogre::String description;
1041 };
1042 
1044 {
1048  float power = 0.f;
1049 };
1050 
1051 struct Script
1052 {
1053  std::string filename;
1054 };
1055 
1057 {
1058  int shadow_mode = 0;
1059 };
1060 
1061 struct Shock
1062 {
1066  static const BitMask_t OPTION_m_METRIC = BITMASK(4);
1067 
1069  float spring_rate = 0.f;
1070  float damping = 0.f;
1071  float short_bound = 0.f;
1072  float long_bound = 0.f;
1073  float precompression = 1.f;
1075  std::shared_ptr<BeamDefaults> beam_defaults;
1077 };
1078 
1079 struct Shock2
1080 {
1081  Shock2();
1082 
1084  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)
1085  static const BitMask_t OPTION_m_METRIC = BITMASK(3); // metric values for shortbound/longbound applying to the length of the beam.
1086  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)
1087 
1089  float spring_in;
1090  float damp_in;
1093  float spring_out;
1094  float damp_out;
1097  float short_bound;
1098  float long_bound;
1101  std::shared_ptr<BeamDefaults> beam_defaults;
1103 };
1104 
1105 struct Shock3
1106 {
1107  Shock3();
1108 
1110  static const BitMask_t OPTION_m_METRIC = BITMASK(2); // metric values for shortbound/longbound applying to the length of the beam.
1111  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)
1112 
1114  float spring_in;
1115  float damp_in;
1116  float spring_out;
1117  float damp_out;
1124  float short_bound;
1125  float long_bound;
1128  std::shared_ptr<BeamDefaults> beam_defaults;
1130 };
1131 
1133 {
1136 };
1137 
1139 {
1144 
1146  std::vector<Node::Range> rail_node_ranges;
1148 
1149  // Optional args
1150  float spring_rate=0.f; bool _spring_rate_set=false;
1151  float break_force=0.f; bool _break_force_set=false;
1152  float tolerance=0.f; bool _tolerance_set=false;
1153  float attachment_rate=0.f; bool _attachment_rate_set=false;
1154  int railgroup_id=-1; bool _railgroup_id_set=false;
1155  float max_attach_dist=0.f; bool _max_attach_dist_set=false;
1156 };
1157 
1159 {
1161  Ogre::String sound_script_name;
1162 };
1163 
1165 {
1166  static const int MODE_ALWAYS = -2;
1167  static const int MODE_EXTERIOR = -1;
1168 
1170 };
1171 
1173 {
1174  float max_speed = 0.f;
1175  bool is_enabled = false;
1176 };
1177 
1178 struct Texcoord; // needed by Submesh
1179 
1180 struct Submesh
1181 {
1182  bool backmesh = false;
1183  std::vector<Texcoord> texcoords;
1184  std::vector<Cab> cab_triangles;
1185 };
1186 
1187 struct Texcoord
1188 {
1190  float u = 0.f;
1191  float v = 0.f;
1192 };
1193 
1194 struct Tie
1195 {
1198 
1200  float max_reach_length = 0.f;
1201  float auto_shorten_rate = 0.f;
1202  float min_length = 0.f;
1203  float max_length = 0.f;
1205  float max_stress = 100000.0f;
1206  std::shared_ptr<BeamDefaults> beam_defaults;
1208  int group = -1;
1209 };
1210 
1212 {
1213  struct Sample
1214  {
1216  power(0),
1217  torque_percent(0)
1218  {}
1219 
1220  float power;
1222  };
1223 
1224  std::vector<Sample> samples;
1225  Ogre::String predefined_func_name;
1226 };
1227 
1229 {
1230  TractionControl();
1231 
1233  float wheel_slip;
1234  float fade_speed;
1239 };
1240 
1242 {
1243  int a1 = 0;
1244  int a2 = -1;
1245  bool has_2wd = true;
1246  bool has_2wd_lo = false;
1247  std::vector<float> gear_ratios = {1.0f};
1248 };
1249 
1250 struct Trigger
1251 {
1263 
1268  float boundary_timer = 1.f;
1269  std::shared_ptr<BeamDefaults> beam_defaults;
1273 };
1274 
1275 struct Turbojet
1276 {
1280  int is_reversable = 0;
1281  float dry_thrust = 0.f;
1282  float wet_thrust = 0.f;
1283  float front_diameter = 0.f;
1284  float back_diameter = 0.f;
1285  float nozzle_length = 0.f;
1286 };
1287 
1288 struct Turboprop2 // Section TURBOPROPS, TURBOPROPS2
1289 {
1293  float turbine_power_kW = 0.f;
1294  Ogre::String airfoil;
1296 };
1297 
1299 {
1305  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
1306  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
1307  float field_of_view = 0.f;
1308  unsigned int texture_width = 0u;
1309  unsigned int texture_height = 0u;
1310  float min_clip_distance = 0.f;
1311  float max_clip_distance = 0.f;
1313  int camera_mode = 0;
1314  Ogre::String material_name;
1315  Ogre::String camera_name;
1316 };
1317 
1318 struct Wheel: public BaseWheel
1319 {
1320  float radius = 0.f;
1321  float springiness = 0.f;
1322  float damping = 0.f;
1323  Ogre::String face_material_name = "tracks/wheelface";
1324  Ogre::String band_material_name = "tracks/wheelband1";
1325 };
1326 
1327 struct Wheel2: public BaseWheel2
1328 {
1329  float rim_springiness = 0.f;
1330  float rim_damping = 0.f;
1331  Ogre::String face_material_name = "tracks/wheelface";
1332  Ogre::String band_material_name = "tracks/wheelband1";
1333 };
1334 
1336 {
1337  int wheel_id = 0;
1339 };
1340 
1341 struct Wing
1342 {
1344  float tex_coords[8] = {};
1346  float chord_point = -1.f;
1347  float min_deflection = -1.f;
1348  float max_deflection = -1.f;
1349  Ogre::String airfoil;
1350  float efficacy_coef = 1.f; // So-called 'liftcoef'.
1351 };
1352 
1353 // --------------------------------
1354 // The document
1355 
1356 struct Document
1357 {
1358  struct Module // represents 'section/end_section'. Also use by 'addonparts' system.
1359  {
1360  Module(Ogre::String const & name);
1361 
1362  Ogre::String name;
1364 
1365  std::vector<Airbrake> airbrakes;
1366  std::vector<Animator> animators;
1367  std::vector<AntiLockBrakes> antilockbrakes;
1368  std::vector<Assetpack> assetpacks;
1369  std::vector<Author> author;
1370  std::vector<Axle> axles;
1371  std::vector<Beam> beams;
1372  std::vector<Brakes> brakes;
1373  std::vector<Camera> cameras;
1374  std::vector<CameraRail> camerarail;
1375  std::vector<CollisionBox> collisionboxes;
1376  std::vector<Cinecam> cinecam;
1377  std::vector<Command2> commands2; // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
1378  std::vector<CruiseControl> cruisecontrol;
1379  std::vector<Node::Ref> contacters;
1380  std::vector<DefaultSkin> default_skin;
1381  std::vector<Ogre::String> description;
1382  std::vector<Engine> engine;
1383  std::vector<Engoption> engoption;
1384  std::vector<Engturbo> engturbo;
1385  std::vector<Exhaust> exhausts;
1386  std::vector<ExtCamera> extcamera;
1387  std::vector<FileFormatVersion> fileformatversion;
1388  std::vector<Node::Ref> fixes;
1389  std::vector<Fileinfo> fileinfo;
1390  std::vector<Flare2> flares2; // 'flares' are auto-imported as 'flares2' (only 1 extra argument)
1391  std::vector<Flare3> flares3;
1392  std::vector<FlaregroupNoImport> flaregroups_no_import;
1393  std::vector<Flexbody> flexbodies;
1394  std::vector<FlexBodyWheel> flexbodywheels;
1395  std::vector<Fusedrag> fusedrag;
1396  std::vector<Globals> globals;
1397  std::vector<Guid> guid;
1398  std::vector<GuiSettings> guisettings;
1399  std::vector<Help> help;
1400  std::vector<Hook> hooks;
1401  std::vector<Hydro> hydros;
1402  std::vector<InterAxle> interaxles;
1403  std::vector<Lockgroup> lockgroups;
1404  std::vector<ManagedMaterial> managedmaterials;
1405  std::vector<MaterialFlareBinding> materialflarebindings;
1406  std::vector<MeshWheel> meshwheels;
1407  std::vector<MeshWheel2> meshwheels2;
1408  std::vector<Minimass> minimass;
1409  std::vector<Node> nodes; /* Nodes and Nodes2 are unified in this parser */
1410  std::vector<Particle> particles;
1411  std::vector<Pistonprop> pistonprops;
1412  std::vector<Prop> props;
1413  std::vector<RailGroup> railgroups;
1414  std::vector<Ropable> ropables;
1415  std::vector<Rope> ropes;
1416  std::vector<Rotator> rotators;
1417  std::vector<Rotator2> rotators2;
1418  std::vector<Screwprop> screwprops;
1419  std::vector<Script> scripts;
1420  std::vector<Shock> shocks;
1421  std::vector<Shock2> shocks2;
1422  std::vector<Shock3> shocks3;
1423  std::vector<CollisionRange> set_collision_range;
1424  std::vector<SkeletonSettings> set_skeleton_settings;
1425  std::vector<SlideNode> slidenodes;
1426  std::vector<SoundSource> soundsources;
1427  std::vector<SoundSource2> soundsources2;
1428  std::vector<SpeedLimiter> speedlimiter;
1429  std::vector<Ogre::String> submesh_groundmodel;
1430  std::vector<Submesh> submeshes;
1431  std::vector<Tie> ties;
1432  std::vector<TorqueCurve> torquecurve;
1433  std::vector<TractionControl> tractioncontrol;
1434  std::vector<TransferCase> transfercase;
1435  std::vector<Trigger> triggers;
1436  std::vector<Turbojet> turbojets;
1437  std::vector<Turboprop2> turboprops2;
1438  std::vector<VideoCamera> videocameras;
1439  std::vector<WheelDetacher> wheeldetachers;
1440  std::vector<Wheel> wheels;
1441  std::vector<Wheel2> wheels2;
1442  std::vector<Wing> wings;
1443 
1444  // Metadata
1449  std::vector<DocComment> _comments;
1450  };
1451 
1452  Document();
1453 
1457  bool rollon;
1461  bool rescuer;
1463  Ogre::String name;
1464 
1465  // File hash
1466  std::string hash;
1467 
1468  // Vehicle modules (caled 'sections' in truckfile doc)
1469  std::shared_ptr<Module> root_module;
1470  std::map< Ogre::String, std::shared_ptr<Module> > user_modules;
1471 
1472 };
1473 
1474 } // namespace RigDef
RigDef::DefaultMinimass::min_mass_Kg
float min_mass_Kg
minimum node mass in Kg
Definition: RigDef_File.h:659
RigDef::Hydro::OPTION_u_INPUT_AILERON_ELEVATOR
static const BitMask_t OPTION_u_INPUT_AILERON_ELEVATOR
Definition: RigDef_File.h:860
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:1419
RigDef::NodeOption::p_NO_PARTICLES
@ p_NO_PARTICLES
RigDef::Command2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:639
RigDef::Document::Module::globals
std::vector< Globals > globals
Definition: RigDef_File.h:1396
RigDef::InterAxle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:882
RigDef::Engine::shift_up_rpm
float shift_up_rpm
Definition: RigDef_File.h:670
RigDef::Document::Module::set_collision_range
std::vector< CollisionRange > set_collision_range
Definition: RigDef_File.h:1423
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:1384
RigDef::BeamOption::r_ROPE
@ r_ROPE
RigDef::Shock2::spring_out
float spring_out
spring value applied when shock extending
Definition: RigDef_File.h:1093
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:1253
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:859
RigDef::FlexBodyWheel::rim_springiness
float rim_springiness
Definition: RigDef_File.h:791
RigDef::Shock3::Shock3
Shock3()
Definition: RigDef_File.cpp:126
RigDef::Shock3::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1128
RoR::FlareType::NONE
@ NONE
RoR::WheelBraking
WheelBraking
Definition: Application.h:521
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:1141
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:1147
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:689
RoR::WheelSide
WheelSide
Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation.
Definition: Application.h:542
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:1344
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:1257
RigDef::MinimassOption
MinimassOption
Definition: RigDef_File.h:107
RigDef::MaterialFlareBinding::material_name
Ogre::String material_name
Definition: RigDef_File.h:915
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:1123
RigDef::Prop::DashboardSpecial::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:970
RigDef::Document::Module::flares3
std::vector< Flare3 > flares3
Definition: RigDef_File.h:1391
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:1301
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:1292
RigDef::Cab::OPTION_p_10xTOUGHER
static const BitMask_t OPTION_p_10xTOUGHER
Definition: RigDef_File.h:575
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:1318
RigDef::CameraRail::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:596
RigDef::BeamDefaults::GetScaledSpringiness
float GetScaledSpringiness()
Definition: RigDef_File.h:533
RigDef::SlideNode::_railgroup_id_set
bool _railgroup_id_set
Definition: RigDef_File.h:1154
RigDef::GuiSettings
Definition: RigDef_File.h:821
RigDef::Document::Module::_hint_beams_end_linenumber
int _hint_beams_end_linenumber
Definition: RigDef_File.h:1448
RigDef::Document::Module::screwprops
std::vector< Screwprop > screwprops
Definition: RigDef_File.h:1418
RigDef::SlideNode::tolerance
float tolerance
Definition: RigDef_File.h:1152
RigDef::Turboprop2::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:1291
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:1018
RigDef::Flexbody::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:785
RigDef::ExtCamera::node
Node::Ref node
Definition: RigDef_File.h:723
RigDef::InterAxle::a2
int a2
Definition: RigDef_File.h:881
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:640
RigDef::Hydro::inertia
Inertia inertia
Definition: RigDef_File.h:872
RigDef::Command2::option_f_not_faster
bool option_f_not_faster
Definition: RigDef_File.h:646
RigDef::Prop
Definition: RigDef_File.h:959
RigDef::WheelDetacher::wheel_id
int wheel_id
Definition: RigDef_File.h:1337
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:938
RigDef::Tie::group
int group
Definition: RigDef_File.h:1208
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:1234
RigDef::Document::Module::hooks
std::vector< Hook > hooks
Definition: RigDef_File.h:1400
RigDef::Hydro::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:873
RigDef::Prop::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:990
RigDef::Camera::left_node
Node::Ref left_node
Definition: RigDef_File.h:591
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:674
RigDef::Brakes::default_braking_force
float default_braking_force
Definition: RigDef_File.h:567
RigDef::Command2::option_o_1press_center
bool option_o_1press_center
Definition: RigDef_File.h:648
RigDef::SpecialProp
SpecialProp
Definition: RigDef_File.h:62
RigDef::Flexbody::forvert
std::vector< Forvert > forvert
Definition: RigDef_File.h:784
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:606
RigDef::Document::Module::fusedrag
std::vector< Fusedrag > fusedrag
Definition: RigDef_File.h:1395
RigDef::Document::Module::brakes
std::vector< Brakes > brakes
Definition: RigDef_File.h:1372
RigDef::Cinecam::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:612
RigDef::FlaregroupNoImport::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:760
RigDef::VideoCamera::min_clip_distance
float min_clip_distance
Definition: RigDef_File.h:1310
RigDef::Animation::lower_limit
float lower_limit
Definition: RigDef_File.h:410
RigDef::Wing::control_surface
WingControlSurface control_surface
Definition: RigDef_File.h:1345
RigDef::Rotator::needs_engine
bool needs_engine
Definition: RigDef_File.h:1033
RigDef::Shock2::OPTION_s_SOFT_BUMP_BOUNDS
static const BitMask_t OPTION_s_SOFT_BUMP_BOUNDS
Definition: RigDef_File.h:1084
RigDef::CollisionRange
Definition: RigDef_File.h:620
RigDef::ManagedMaterial::diffuse_map
Ogre::String diffuse_map
Definition: RigDef_File.h:905
RigDef::Hook::option_hookgroup
int option_hookgroup
Definition: RigDef_File.h:840
RigDef::TractionControl::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:1237
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:693
RigDef::VideoCamera::texture_width
unsigned int texture_width
Definition: RigDef_File.h:1308
RigDef::Flare2::type
RoR::FlareType type
Definition: RigDef_File.h:744
RigDef::Animator::long_limit
float long_limit
Definition: RigDef_File.h:457
RoR::VCAM_ROLE_INVALID
@ VCAM_ROLE_INVALID
Definition: Application.h:606
RigDef::Author
Definition: RigDef_File.h:476
RigDef::Engoption::post_shift_time
float post_shift_time
Seconds.
Definition: RigDef_File.h:685
RigDef::Shock::OPTION_R_ACTIVE_RIGHT
static const BitMask_t OPTION_R_ACTIVE_RIGHT
Definition: RigDef_File.h:1065
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:1072
RigDef_Node.h
RigDef::Document::Module::_comments
std::vector< DocComment > _comments
Definition: RigDef_File.h:1449
RigDef::Document::rescuer
bool rescuer
Definition: RigDef_File.h:1461
RigDef::NodeDefaults::surface
float surface
Definition: RigDef_File.h:937
RigDef::SoundSource2::mode
int mode
A special constant or cinecam index.
Definition: RigDef_File.h:1169
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:1166
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:683
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:1440
RigDef::Command2::max_extension
float max_extension
Definition: RigDef_File.h:631
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:675
RigDef::Tie::auto_shorten_rate
float auto_shorten_rate
Definition: RigDef_File.h:1201
RigDef::MaterialFlareBinding::flare_number
unsigned int flare_number
Definition: RigDef_File.h:914
RigDef::Tie::min_length
float min_length
Definition: RigDef_File.h:1202
RigDef::Turboprop2::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1294
RigDef::Flare3
Definition: RigDef_File.h:752
RigDef::Prop::DashboardSpecial::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:973
RigDef::FlaregroupNoImport::type
RoR::FlareType type
Definition: RigDef_File.h:759
RigDef::SkeletonSettings
Definition: RigDef_File.h:1132
RigDef::SpeedLimiter::is_enabled
bool is_enabled
Definition: RigDef_File.h:1175
RigDef::Engine::global_gear_ratio
float global_gear_ratio
Definition: RigDef_File.h:672
RigDef::Prop::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:994
RigDef::Document::Module::pistonprops
std::vector< Pistonprop > pistonprops
Definition: RigDef_File.h:1411
RigDef::Texcoord::node
Node::Ref node
Definition: RigDef_File.h:1189
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:1122
RigDef::RailGroup
Definition: RigDef_File.h:1000
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:1403
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:1313
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:845
RigDef::Engturbo::param3
float param3
Definition: RigDef_File.h:702
RigDef::Document::Module::shocks2
std::vector< Shock2 > shocks2
Definition: RigDef_File.h:1421
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:1377
RigDef::Fusedrag::approximate_width
float approximate_width
Definition: RigDef_File.h:804
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:641
RigDef::Prop::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:991
RigDef::Fusedrag::autocalc
bool autocalc
Definition: RigDef_File.h:801
RigDef::NodeDefaults::volume
float volume
Definition: RigDef_File.h:936
RigDef::Engturbo::version
int version
Definition: RigDef_File.h:697
RigDef::ManagedMaterial::damaged_diffuse_map
Ogre::String damaged_diffuse_map
Definition: RigDef_File.h:906
RigDef::Engoption::type
EngineType type
Definition: RigDef_File.h:681
RigDef::Animator::OPTION_CLUTCH
static const BitMask_t OPTION_CLUTCH
Definition: RigDef_File.h:437
RigDef::Rotator::rate
float rate
Definition: RigDef_File.h:1027
RigDef::SoundSource2::MODE_EXTERIOR
static const int MODE_EXTERIOR
Definition: RigDef_File.h:1167
RigDef::Document::hash
std::string hash
Definition: RigDef_File.h:1466
RigDef::Document::Module::wings
std::vector< Wing > wings
Definition: RigDef_File.h:1442
RigDef::Wheel::radius
float radius
Definition: RigDef_File.h:1320
RigDef::BeamDefaults::deformation_threshold
float deformation_threshold
Definition: RigDef_File.h:555
RigDef::Screwprop::back_node
Node::Ref back_node
Definition: RigDef_File.h:1046
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:945
RigDef::Camera
Definition: RigDef_File.h:587
RigDef::Hydro
Definition: RigDef_File.h:851
RigDef::Shock::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1075
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:1142
RigDef::CollisionBox
Definition: RigDef_File.h:615
RigDef::SlideNode::break_force
float break_force
Definition: RigDef_File.h:1151
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:628
RigDef::Ropable
Definition: RigDef_File.h:1006
RigDef::Trigger::longbound_trigger_action
int longbound_trigger_action
Definition: RigDef_File.h:1272
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:1153
RigDef::BaseMeshWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:281
RigDef::Document::forward_commands
bool forward_commands
Definition: RigDef_File.h:1458
RigDef::SoundSource::node
Node::Ref node
Definition: RigDef_File.h:1160
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:1346
RigDef::Shock2::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1089
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:1447
RigDef::Flexbody::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:779
RigDef::Airbrake
Definition: RigDef_File.h:322
SimConstants.h
RigDef::Document::Module::cruisecontrol
std::vector< CruiseControl > cruisecontrol
Definition: RigDef_File.h:1378
RigDef::NodeOption::x_EXHAUST_POINT
@ x_EXHAUST_POINT
RigDef::Document::Module::ropes
std::vector< Rope > ropes
Definition: RigDef_File.h:1415
RigDef::Flexbody::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:778
RigDef::Tie::options
BitMask_t options
Definition: RigDef_File.h:1204
RigDef::Animator::OPTION_AIR_BRAKE
static const BitMask_t OPTION_AIR_BRAKE
Definition: RigDef_File.h:432
RigDef::Flare2
Definition: RigDef_File.h:738
RigDef::WingControlSurface::n_NONE
@ n_NONE
RigDef::Help
Definition: RigDef_File.h:827
RigDef::Shock::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1066
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:1064
RigDef::SlideNode::rail_node_ranges
std::vector< Node::Range > rail_node_ranges
Definition: RigDef_File.h:1146
RigDef::DocComment::commented_keyword
RigDef::Keyword commented_keyword
Definition: RigDef_File.h:315
RigDef::GuiSettings::key
std::string key
Definition: RigDef_File.h:823
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:1399
RigDef::BeamOption::s_SUPPORT
@ s_SUPPORT
RigDef::Cinecam::spring
float spring
Definition: RigDef_File.h:608
RigDef::Document::Module::airbrakes
std::vector< Airbrake > airbrakes
Definition: RigDef_File.h:1365
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:1250
RigDef::CollisionBox::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:617
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:1126
RigDef::Document::Module::nodes
std::vector< Node > nodes
Definition: RigDef_File.h:1409
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:707
RigDef::BeamDefaults::springiness
float springiness
Definition: RigDef_File.h:553
RigDef::Hydro::OPTION_n_INPUT_NORMAL
static const BitMask_t OPTION_n_INPUT_NORMAL
Definition: RigDef_File.h:867
RigDef::Command2::description
Ogre::String description
Definition: RigDef_File.h:634
RigDef::TriggerOption
TriggerOption
Definition: RigDef_File.h:158
RigDef::Document::Module::assetpacks
std::vector< Assetpack > assetpacks
Definition: RigDef_File.h:1368
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::Flare2::node_axis_y
Node::Ref node_axis_y
Definition: RigDef_File.h:742
RigDef::Animation::SOURCE_ALTIMETER_10K
static const BitMask64_t SOURCE_ALTIMETER_10K
Definition: RigDef_File.h:362
RigDef::Pistonprop
Definition: RigDef_File.h:948
RigDef::TieOption::s_NO_SELF_LOCK
@ s_NO_SELF_LOCK
RigDef::Trigger::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1264
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:1029
RigDef::Document::rollon
bool rollon
Definition: RigDef_File.h:1457
RigDef::Screwprop::power
float power
Definition: RigDef_File.h:1048
RigDef::BeamDefaults
Definition: RigDef_File.h:520
RigDef::Flare2::blink_delay_milis
int blink_delay_milis
Definition: RigDef_File.h:747
RigDef::Document::Module::slidenodes
std::vector< SlideNode > slidenodes
Definition: RigDef_File.h:1425
RigDef::BaseWheel::propulsion
RoR::WheelPropulsion propulsion
Definition: RigDef_File.h:272
RigDef::Document::Module
Definition: RigDef_File.h:1358
RigDef::Cab::OPTION_u_INVULNERABLE
static const BitMask_t OPTION_u_INVULNERABLE
Definition: RigDef_File.h:576
RigDef::Flexbody::animations
std::list< Animation > animations
Definition: RigDef_File.h:781
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:1076
RigDef::TriggerOption::c_COMMAND_STYLE
@ c_COMMAND_STYLE
trigger is set with commandstyle boundaries instead of shocksytle
RigDef::FlaregroupNoImport
Definition: RigDef_File.h:757
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:1306
RigDef::Airbrake::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:328
RigDef::FlexBodyWheel
Definition: RigDef_File.h:788
RigDef::Turboprop2::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:1293
RigDef::SlideNode::_spring_rate_set
bool _spring_rate_set
Definition: RigDef_File.h:1150
RigDef::Tie::detacher_group
int detacher_group
Definition: RigDef_File.h:1207
RigDef::TriggerOption::B_TRIGGER_BLOCKER
@ B_TRIGGER_BLOCKER
Blocker that enable/disable other triggers.
RigDef::Engturbo::param6
float param6
Definition: RigDef_File.h:705
RigDef::Animator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:446
RigDef::Particle
Definition: RigDef_File.h:941
RigDef::ManagedMaterialType::MESH_TRANSPARENT
@ MESH_TRANSPARENT
RigDef::Engine::shift_down_rpm
float shift_down_rpm
Definition: RigDef_File.h:669
RigDef::CabOption::b_BUOYANT
@ b_BUOYANT
RigDef::AntiLockBrakes::AntiLockBrakes
AntiLockBrakes()
Definition: RigDef_File.cpp:55
RigDef::Texcoord::v
float v
Definition: RigDef_File.h:1191
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:935
RigDef::Animator::OPTION_SPEEDO
static const BitMask_t OPTION_SPEEDO
Definition: RigDef_File.h:438
RigDef::CameraRail
Definition: RigDef_File.h:594
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:1370
RigDef::ShadowOptions
Definition: RigDef_File.h:1056
RigDef::Engoption::braking_torque
float braking_torque
Definition: RigDef_File.h:690
RigDef::SkeletonSettings::beam_thickness_meters
float beam_thickness_meters
Definition: RigDef_File.h:1135
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:775
RigDef::BeamDefaults::breaking_threshold
float breaking_threshold
Definition: RigDef_File.h:556
RigDef::ManagedMaterialType
ManagedMaterialType
Definition: RigDef_File.h:78
RigDef::Document::Module::author
std::vector< Author > author
Definition: RigDef_File.h:1369
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:1152
RigDef::TriggerOption::t_CONTINUOUS
@ t_CONTINUOUS
this trigger sends values between 0 and 1
RigDef::Wheel::damping
float damping
Definition: RigDef_File.h:1322
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:1098
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:1363
RigDef::Rotator::axis_nodes
Node::Ref axis_nodes[2]
Definition: RigDef_File.h:1024
RigDef::Trigger::options
BitMask_t options
Definition: RigDef_File.h:1267
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:930
RigDef::Hook
Definition: RigDef_File.h:832
RigDef::Hydro::options
BitMask_t options
Definition: RigDef_File.h:871
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:956
RigDef::Document::Module::submeshes
std::vector< Submesh > submeshes
Definition: RigDef_File.h:1430
RigDef::Trigger::OPTION_B_TRIGGER_BLOCKER
static const BitMask_t OPTION_B_TRIGGER_BLOCKER
Definition: RigDef_File.h:1256
RigDef::AntiLockBrakes
Definition: RigDef_File.h:464
RigDef::InterAxle::a1
int a1
Definition: RigDef_File.h:880
RigDef::Tie::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1206
RigDef::Document::Module::guisettings
std::vector< GuiSettings > guisettings
Definition: RigDef_File.h:1398
RigDef::Document::Module::_hint_nodes12_end_linenumber
int _hint_nodes12_end_linenumber
Definition: RigDef_File.h:1446
RigDef::Animation::SOURCE_ELEVATOR
static const BitMask64_t SOURCE_ELEVATOR
Definition: RigDef_File.h:387
RigDef::TorqueCurve::Sample
Definition: RigDef_File.h:1213
RigDef::Ropable::has_multilock
bool has_multilock
Definition: RigDef_File.h:1010
RigDef::Ropable::node
Node::Ref node
Definition: RigDef_File.h:1008
RigDef::TractionControl::pulse_per_sec
float pulse_per_sec
Definition: RigDef_File.h:1235
RigDef::TorqueCurve::predefined_func_name
Ogre::String predefined_func_name
Definition: RigDef_File.h:1225
RigDef::Command2::extend_key
RoR::CommandkeyID_t extend_key
Definition: RigDef_File.h:633
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:1115
RigDef::Shock2::damp_out
float damp_out
damping value applied when shock extending
Definition: RigDef_File.h:1094
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:684
RigDef::Shock3::spring_out
float spring_out
Spring value applied when shock extending.
Definition: RigDef_File.h:1116
RigDef::Brakes
Definition: RigDef_File.h:565
RigDef::Command2
Definition: RigDef_File.h:625
RigDef::Tie::max_stress
float max_stress
Definition: RigDef_File.h:1205
RigDef::ShockOption::L_ACTIVE_LEFT
@ L_ACTIVE_LEFT
RigDef::SlideNode::max_attach_dist
float max_attach_dist
Definition: RigDef_File.h:1155
RigDef::Engturbo::param9
float param9
Definition: RigDef_File.h:708
RigDef::Animation::MODE_ROTATION_Y
static const BitMask_t MODE_ROTATION_Y
Definition: RigDef_File.h:399
RigDef::SoundSource2
Definition: RigDef_File.h:1164
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:1462
RigDef::TriggerOption::i_INVISIBLE
@ i_INVISIBLE
invisible
RigDef::Particle::emitter_node
Node::Ref emitter_node
Definition: RigDef_File.h:943
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:864
RigDef::Command2::option_r_rope
bool option_r_rope
Definition: RigDef_File.h:644
RigDef::VideoCamera::camera_role
RoR::VideoCamRole camera_role
Definition: RigDef_File.h:1312
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:794
RigDef::Fileinfo
Definition: RigDef_File.h:731
RigDef::Document::Module::meshwheels2
std::vector< MeshWheel2 > meshwheels2
Definition: RigDef_File.h:1407
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:1071
RigDef::Document::Module::set_skeleton_settings
std::vector< SkeletonSettings > set_skeleton_settings
Definition: RigDef_File.h:1424
RigDef::Shock2::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1085
RigDef::BeamDefaults::damping_constant
float damping_constant
Definition: RigDef_File.h:554
RigDef::BaseMeshWheel::spring
float spring
Definition: RigDef_File.h:286
RigDef::VideoCamera::alt_reference_node
Node::Ref alt_reference_node
Definition: RigDef_File.h:1303
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:1069
RigDef::Fileinfo::unique_id
Ogre::String unique_id
Definition: RigDef_File.h:733
RigDef::Engoption::max_idle_mixture
float max_idle_mixture
Definition: RigDef_File.h:688
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::BeamDefaults::_enable_advanced_deformation
bool _enable_advanced_deformation
Informs whether "enable_advanced_deformation" directive preceded these defaults.
Definition: RigDef_File.h:560
RigDef::Document::Module::turbojets
std::vector< Turbojet > turbojets
Definition: RigDef_File.h:1436
RigDef::Command2::option_p_1press
bool option_p_1press
Definition: RigDef_File.h:647
RigDef::Document::Module::ties
std::vector< Tie > ties
Definition: RigDef_File.h:1431
RigDef::Command2::inertia
Inertia inertia
Definition: RigDef_File.h:635
RigDef::ManagedMaterial::type
ManagedMaterialType type
Definition: RigDef_File.h:903
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:638
RigDef::ManagedMaterial::options
ManagedMaterialsOptions options
Definition: RigDef_File.h:904
RigDef::ManagedMaterial::name
Ogre::String name
Definition: RigDef_File.h:902
RigDef::Prop::special
SpecialProp special
Definition: RigDef_File.h:995
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:1047
RigDef::Document::import_commands
bool import_commands
Definition: RigDef_File.h:1459
RigDef::AntiLockBrakes::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:473
RigDef::Flare2::material_name
Ogre::String material_name
Definition: RigDef_File.h:749
RigDef::Wheel2::rim_damping
float rim_damping
Definition: RigDef_File.h:1330
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:590
RigDef::NodeOption::y_EXHAUST_DIRECTION
@ y_EXHAUST_DIRECTION
RigDef::Document::Module::contacters
std::vector< Node::Ref > contacters
Definition: RigDef_File.h:1379
RigDef::Forvert::node_x
Node::Ref node_x
Definition: RigDef_File.h:767
RigDef::Document::Module::cinecam
std::vector< Cinecam > cinecam
Definition: RigDef_File.h:1376
RigDef::Pistonprop::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:953
DEFAULT_MINIMASS
static const float DEFAULT_MINIMASS
minimum node mass in Kg
Definition: SimConstants.h:54
RigDef::ManagedMaterialType::INVALID
@ INVALID
RigDef::Flare2::dashboard_link
std::string dashboard_link
Only 'd' type flares.
Definition: RigDef_File.h:746
RigDef::Document::Module::wheels2
std::vector< Wheel2 > wheels2
Definition: RigDef_File.h:1441
RigDef::Engoption
Definition: RigDef_File.h:678
RigDef::Shock2::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1083
RigDef::Animator::OPTION_LONG_LIMIT
static const BitMask_t OPTION_LONG_LIMIT
Definition: RigDef_File.h:451
BitFlags.h
Bit operations.
RigDef::Turbojet::front_node
Node::Ref front_node
Definition: RigDef_File.h:1277
RigDef::Trigger::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1252
RigDef::Turbojet::back_diameter
float back_diameter
Definition: RigDef_File.h:1284
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:653
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:1295
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:1309
RigDef::SlideNode::spring_rate
float spring_rate
Definition: RigDef_File.h:1150
RigDef::Globals::dry_mass
float dry_mass
Definition: RigDef_File.h:811
RigDef::Document::Module::transfercase
std::vector< TransferCase > transfercase
Definition: RigDef_File.h:1434
RigDef::Wheel2::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1332
RigDef::Shock2
Definition: RigDef_File.h:1079
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:1086
RigDef::WingControlSurface::e_ELEVATOR
@ e_ELEVATOR
RoR::ExtCameraMode
ExtCameraMode
Definition: Application.h:551
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:657
RigDef::Document::Module::rotators2
std::vector< Rotator2 > rotators2
Definition: RigDef_File.h:1417
RigDef::Pistonprop::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:951
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:1381
RigDef::Forvert
Manually specified (vert => node) bindings for flexbody deformation (overrides 'forset').
Definition: RigDef_File.h:764
RigDef::Hydro::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:869
RigDef::FileFormatVersion
Definition: RigDef_File.h:726
RigDef
Definition: Application.cpp:702
RigDef::NodeOption
NodeOption
Definition: RigDef_File.h:229
RigDef::Prop::BeaconSpecial
Definition: RigDef_File.h:976
RigDef::Trigger::OPTION_x_START_DISABLED
static const BitMask_t OPTION_x_START_DISABLED
Definition: RigDef_File.h:1254
RigDef::BeamDefaults::BeamDefaults
BeamDefaults()
Definition: RigDef_File.h:522
RigDef::Wheel2
Definition: RigDef_File.h:1327
RigDef::CruiseControl::autobrake
int autobrake
Definition: RigDef_File.h:654
RigDef::BeamDefaults::GetScaledDeformThreshold
float GetScaledDeformThreshold() const
Definition: RigDef_File.h:548
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:857
RigDef::DifferentialType::o_OPEN
@ o_OPEN
RigDef::TractionControl
Definition: RigDef_File.h:1228
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:1455
RigDef::BeamDefaults::GetScaledBreakingThreshold
float GetScaledBreakingThreshold()
Definition: RigDef_File.h:543
RigDef::SlideNode::slide_node
Node::Ref slide_node
Definition: RigDef_File.h:1145
RigDef::Rotator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:1031
RigDef::Help::material
std::string material
Definition: RigDef_File.h:829
RigDef::Document::Module::animators
std::vector< Animator > animators
Definition: RigDef_File.h:1366
RigDef::Wing::max_deflection
float max_deflection
Definition: RigDef_File.h:1348
RigDef::Document::Module::turboprops2
std::vector< Turboprop2 > turboprops2
Definition: RigDef_File.h:1437
RigDef::Cab::OPTION_c_CONTACT
static const BitMask_t OPTION_c_CONTACT
Definition: RigDef_File.h:573
RigDef::VideoCamera::alt_orientation_node
Node::Ref alt_orientation_node
Definition: RigDef_File.h:1304
RigDef::VideoCamera::bottom_node
Node::Ref bottom_node
Definition: RigDef_File.h:1302
RigDef::Engine::torque
float torque
Definition: RigDef_File.h:671
RigDef::Document::Module::triggers
std::vector< Trigger > triggers
Definition: RigDef_File.h:1435
RigDef::Document::Module::Module
Module(Ogre::String const &name)
Definition: RigDef_File.cpp:174
RigDef::Flare2::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:740
RigDef::Trigger::detacher_group
int detacher_group
Definition: RigDef_File.h:1270
RigDef::Tie::max_length
float max_length
Definition: RigDef_File.h:1203
RigDef::Shock2Option
Shock2Option
Definition: RigDef_File.h:210
RigDef::Guid::guid
std::string guid
Definition: RigDef_File.h:818
RigDef::ManagedMaterial::specular_map
Ogre::String specular_map
Definition: RigDef_File.h:907
RigDef::Cinecam
Definition: RigDef_File.h:604
RigDef::Lockgroup::LOCKGROUP_NOLOCK
static const int LOCKGROUP_NOLOCK
Definition: RigDef_File.h:889
RigDef::Engturbo::Engturbo
Engturbo()
Definition: RigDef_File.cpp:64
RigDef::NodeOption::l_LOAD_WEIGHT
@ l_LOAD_WEIGHT
RigDef::Flare2::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:743
RigDef::Fileinfo::file_version
int file_version
Definition: RigDef_File.h:735
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:1154
RigDef::CameraSettings
Definition: RigDef_File.h:599
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:1097
RigDef::Prop::DashboardSpecial
Definition: RigDef_File.h:961
RigDef::FlexBodyWheel::rim_mesh_name
Ogre::String rim_mesh_name
Definition: RigDef_File.h:793
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:1114
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:1099
RigDef::Tie::max_reach_length
float max_reach_length
Definition: RigDef_File.h:1200
RigDef::Prop::DashboardSpecial::_offset_is_set
bool _offset_is_set
Definition: RigDef_File.h:971
RigDef::Document::Module::minimass
std::vector< Minimass > minimass
Definition: RigDef_File.h:1408
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:1356
RigDef::Wing::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:1343
RigDef::Engturbo::param11
float param11
Definition: RigDef_File.h:710
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:700
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:1386
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:861
RigDef::TorqueCurve::samples
std::vector< Sample > samples
Definition: RigDef_File.h:1224
RigDef::Flexbody::node_list_to_import
std::vector< Node::Range > node_list_to_import
Definition: RigDef_File.h:782
RigDef::Guid
Definition: RigDef_File.h:816
RigDef::WingControlSurface::V_LEFT_HAND_TAILERON
@ V_LEFT_HAND_TAILERON
RigDef::MeshWheel
Definition: RigDef_File.h:924
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:900
RigDef::Prop::DashboardSpecial::DashboardSpecial
DashboardSpecial()
Definition: RigDef_File.h:963
RigDef::TransferCase::a1
int a1
Definition: RigDef_File.h:1243
RigDef::Document::Module::rotators
std::vector< Rotator > rotators
Definition: RigDef_File.h:1416
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:562
RigDef::InterAxle
Definition: RigDef_File.h:878
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:978
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:1095
RigDef::Engoption::clutch_force
float clutch_force
Definition: RigDef_File.h:682
RigDef::Trigger::expansion_trigger_limit
float expansion_trigger_limit
Definition: RigDef_File.h:1266
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:1125
RigDef::SlideNode::_break_force_set
bool _break_force_set
Definition: RigDef_File.h:1151
RigDef::Turbojet::wet_thrust
float wet_thrust
Definition: RigDef_File.h:1282
RigDef::Animator::flags
BitMask_t flags
Definition: RigDef_File.h:455
RoR::FlareType
FlareType
Definition: Application.h:500
RigDef::Flexbody::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:780
RigDef::TorqueCurve::Sample::torque_percent
float torque_percent
Definition: RigDef_File.h:1221
RigDef::Screwprop::prop_node
Node::Ref prop_node
Definition: RigDef_File.h:1045
RigDef::AntiLockBrakes::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:471
RigDef::Engturbo::param4
float param4
Definition: RigDef_File.h:703
RigDef::DefaultSkin
Definition: RigDef_File.h:662
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:1129
RigDef::Engturbo::param2
float param2
Definition: RigDef_File.h:701
RigDef::TransferCase::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:1247
RigDef::Flare3::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:754
RigDef::Submesh
Definition: RigDef_File.h:1180
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:1120
RigDef::NodeOption::m_NO_MOUSE_GRAB
@ m_NO_MOUSE_GRAB
RigDef::Shock3::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1113
RigDef::Document::Module::flares2
std::vector< Flare2 > flares2
Definition: RigDef_File.h:1390
RigDef::Hook::flag_no_disable
bool flag_no_disable
Definition: RigDef_File.h:846
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:1347
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:1258
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:1420
RigDef::Shock
Definition: RigDef_File.h:1061
RigDef::Command2::lengthen_rate
float lengthen_rate
Definition: RigDef_File.h:629
RigDef::BaseMeshWheel
Definition: RigDef_File.h:279
RigDef::TorqueCurve::Sample::Sample
Sample()
Definition: RigDef_File.h:1215
RigDef::TorqueCurve::Sample::power
float power
Definition: RigDef_File.h:1220
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:1091
RigDef::Document::Module::cameras
std::vector< Camera > cameras
Definition: RigDef_File.h:1373
RigDef::Document::hide_in_chooser
bool hide_in_chooser
Definition: RigDef_File.h:1454
RigDef::Trigger::shortbound_trigger_action
int shortbound_trigger_action
Definition: RigDef_File.h:1271
RigDef::Hydro::OPTION_y_INPUT_InvAILERON_RUDDER
static const BitMask_t OPTION_y_INPUT_InvAILERON_RUDDER
Definition: RigDef_File.h:863
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:1032
RigDef::Hook::option_hook_range
float option_hook_range
Definition: RigDef_File.h:837
RigDef::Hydro::detacher_group
int detacher_group
Definition: RigDef_File.h:875
RigDef::BeamDefaults::visual_beam_diameter
float visual_beam_diameter
Definition: RigDef_File.h:557
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:1127
RigDef::ManagedMaterial::TypeToStr
static const char * TypeToStr(ManagedMaterialType type)
Definition: RigDef_File.cpp:162
RigDef::Engturbo::param5
float param5
Definition: RigDef_File.h:704
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:769
RigDef::Trigger::OPTION_b_KEY_BLOCKER
static const BitMask_t OPTION_b_KEY_BLOCKER
Definition: RigDef_File.h:1255
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:687
RigDef::Cab
Definition: RigDef_File.h:571
RigDef::Engturbo::tinertiaFactor
float tinertiaFactor
Definition: RigDef_File.h:698
RigDef::MaterialFlareBinding
Definition: RigDef_File.h:912
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:992
RigDef::HydroOption::r_INPUT_RUDDER
@ r_INPUT_RUDDER
RigDef::VideoCamera::field_of_view
float field_of_view
Definition: RigDef_File.h:1307
RigDef::Document::Module::engine
std::vector< Engine > engine
Definition: RigDef_File.h:1382
RigDef::Rope::invisible
bool invisible
Definition: RigDef_File.h:1017
RigDef::SpeedLimiter
Definition: RigDef_File.h:1172
RigDef::Beam::defaults
std::shared_ptr< BeamDefaults > defaults
Definition: RigDef_File.h:502
RigDef::Lockgroup
Definition: RigDef_File.h:885
RigDef::Hook::option_max_force
float option_max_force
Definition: RigDef_File.h:839
RigDef::BaseWheel2::tyre_springiness
float tyre_springiness
Definition: RigDef_File.h:294
RigDef::Document::Module::name
Ogre::String name
Definition: RigDef_File.h:1362
RigDef::Flare2::node_axis_x
Node::Ref node_axis_x
Definition: RigDef_File.h:741
RigDef::Animator
Definition: RigDef_File.h:421
RigDef::Document::Module::exhausts
std::vector< Exhaust > exhausts
Definition: RigDef_File.h:1385
RigDef::ShockOption::m_METRIC
@ m_METRIC
RigDef::FileFormatVersion::version
int version
Definition: RigDef_File.h:728
RigDef::Turbojet::front_diameter
float front_diameter
Definition: RigDef_File.h:1283
RigDef::Wheel2::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1331
RigDef::SpeedLimiter::max_speed
float max_speed
Definition: RigDef_File.h:1174
RigDef::TriggerOption::H_LOCKS_HOOK_GROUP
@ H_LOCKS_HOOK_GROUP
RigDef::Forvert::node_ref
Node::Ref node_ref
Definition: RigDef_File.h:766
RigDef::DefaultSkin::skin_name
std::string skin_name
Definition: RigDef_File.h:664
RigDef::Brakes::parking_brake_force
float parking_brake_force
Definition: RigDef_File.h:568
RigDef::NodeDefaults::load_weight
float load_weight
Definition: RigDef_File.h:934
RigDef::Author::email
Ogre::String email
Definition: RigDef_File.h:481
RigDef::Rope::end_node
Node::Ref end_node
Definition: RigDef_File.h:1016
RigDef::Flexbody
Definition: RigDef_File.h:773
RigDef::Document::Module::railgroups
std::vector< RailGroup > railgroups
Definition: RigDef_File.h:1413
RigDef::Hook::option_min_range_meters
float option_min_range_meters
Definition: RigDef_File.h:843
RigDef::SpecialProp::DASHBOARD_RIGHT
@ DASHBOARD_RIGHT
RigDef::Engturbo::param10
float param10
Definition: RigDef_File.h:709
RigDef::Command2::option_i_invisible
bool option_i_invisible
Definition: RigDef_File.h:643
RigDef::Trigger::OPTION_h_UNLOCKS_HOOK_GROUP
static const BitMask_t OPTION_h_UNLOCKS_HOOK_GROUP
Definition: RigDef_File.h:1259
RigDef::VideoCamera
Definition: RigDef_File.h:1298
RigDef::Cab::OPTION_D_CONTACT_BUOYANT
static const BitMask_t OPTION_D_CONTACT_BUOYANT
Definition: RigDef_File.h:579
RigDef::TriggerOption::h_UNLOCKS_HOOK_GROUP
@ h_UNLOCKS_HOOK_GROUP
RigDef::Shock2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1088
RigDef::TransferCase
Definition: RigDef_File.h:1241
RigDef::Rotator::inertia
Inertia inertia
Definition: RigDef_File.h:1030
RigDef::Trigger::OPTION_t_CONTINUOUS
static const BitMask_t OPTION_t_CONTINUOUS
Definition: RigDef_File.h:1261
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:561
RoR::ExtCameraMode::CLASSIC
@ CLASSIC
RigDef::FlexBodyWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:790
RigDef::Submesh::texcoords
std::vector< Texcoord > texcoords
Definition: RigDef_File.h:1183
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:1349
RigDef::HydroOption::n_INPUT_NORMAL
@ n_INPUT_NORMAL
RigDef::Submesh::cab_triangles
std::vector< Cab > cab_triangles
Definition: RigDef_File.h:1184
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:1073
RigDef::Shock2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1101
RigDef::Turboprop2
Definition: RigDef_File.h:1288
RigDef::TractionControl::wheel_slip
float wheel_slip
Definition: RigDef_File.h:1233
RigDef::Cinecam::node_mass
float node_mass
Definition: RigDef_File.h:610
RigDef::Document::Module::props
std::vector< Prop > props
Definition: RigDef_File.h:1412
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:989
RigDef::TractionControl::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:1236
RigDef::Fusedrag::front_node
Node::Ref front_node
Definition: RigDef_File.h:802
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:577
RigDef::BaseMeshWheel::tyre_radius
float tyre_radius
Definition: RigDef_File.h:285
RigDef::Script
Definition: RigDef_File.h:1051
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:920
RigDef::VideoCamera::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1305
RigDef::Hydro::OPTION_s_DISABLE_ON_HIGH_SPEED
static const BitMask_t OPTION_s_DISABLE_ON_HIGH_SPEED
Definition: RigDef_File.h:855
RigDef::Engine::reverse_gear_ratio
float reverse_gear_ratio
Definition: RigDef_File.h:673
RigDef::Document::Module::fileinfo
std::vector< Fileinfo > fileinfo
Definition: RigDef_File.h:1389
RigDef::Trigger::OPTION_E_ENGINE_TRIGGER
static const BitMask_t OPTION_E_ENGINE_TRIGGER
Definition: RigDef_File.h:1262
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:897
RigDef::Engturbo::nturbos
int nturbos
Definition: RigDef_File.h:699
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:716
RigDef::Rotator::rotating_plate_nodes
Node::Ref rotating_plate_nodes[4]
Definition: RigDef_File.h:1026
RigDef::NodeDefaults::NodeDefaults
NodeDefaults()
Definition: RigDef_File.cpp:102
RigDef::Script::filename
std::string filename
Definition: RigDef_File.h:1053
RigDef::Globals::material_name
Ogre::String material_name
Definition: RigDef_File.h:813
RigDef::CabOption::r_BUOYANT_ONLY_DRAG
@ r_BUOYANT_ONLY_DRAG
RigDef::Flexbody::node_list
std::vector< Node::Ref > node_list
Definition: RigDef_File.h:783
RoR::CAMERA_MODE_ALWAYS_VISIBLE
static CameraMode_t CAMERA_MODE_ALWAYS_VISIBLE
Definition: Application.h:565
RigDef::Document::Module::shocks3
std::vector< Shock3 > shocks3
Definition: RigDef_File.h:1422
RigDef::Document::Module::default_skin
std::vector< DefaultSkin > default_skin
Definition: RigDef_File.h:1380
RigDef::Document::Module::submesh_groundmodel
std::vector< Ogre::String > submesh_groundmodel
Definition: RigDef_File.h:1429
RigDef::SkeletonSettings::visibility_range_meters
float visibility_range_meters
Definition: RigDef_File.h:1134
RigDef::EngineType::t_TRUCK
@ t_TRUCK
RigDef::HydroOption::j_INVISIBLE
@ j_INVISIBLE
RigDef::Exhaust::particle_name
Ogre::String particle_name
Definition: RigDef_File.h:717
RigDef::Exhaust::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:715
RigDef::Shock2Option::v_DUMMY
@ v_DUMMY
RigDef::Tie
Definition: RigDef_File.h:1194
RigDef::SlideNode::CONSTRAINT_ATTACH_NONE
static const BitMask_t CONSTRAINT_ATTACH_NONE
Definition: RigDef_File.h:1143
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:865
RigDef::Flare2::size
float size
Definition: RigDef_File.h:748
RoR::VideoCamRole
VideoCamRole
Definition: Application.h:590
RigDef::WheelDetacher
Definition: RigDef_File.h:1335
RigDef::Document::Module::flexbodywheels
std::vector< FlexBodyWheel > flexbodywheels
Definition: RigDef_File.h:1394
RigDef::ManagedMaterialType::FLEXMESH_TRANSPARENT
@ FLEXMESH_TRANSPARENT
RigDef::Document::Module::materialflarebindings
std::vector< MaterialFlareBinding > materialflarebindings
Definition: RigDef_File.h:1405
RigDef::BeamDefaults::plastic_deform_coef
float plastic_deform_coef
Definition: RigDef_File.h:559
RigDef::Rotator2::tolerance
float tolerance
Definition: RigDef_File.h:1039
RigDef::Rotator
Definition: RigDef_File.h:1022
RigDef::WingControlSurface::f_FLAP
@ f_FLAP
RigDef::Turbojet::side_node
Node::Ref side_node
Definition: RigDef_File.h:1279
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:921
RigDef::TransferCase::has_2wd
bool has_2wd
Definition: RigDef_File.h:1245
RigDef::NodeOption::f_NO_SPARKS
@ f_NO_SPARKS
RigDef::Fusedrag
Definition: RigDef_File.h:797
RigDef::Trigger::boundary_timer
float boundary_timer
Definition: RigDef_File.h:1268
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:812
RigDef::Document::Module::videocameras
std::vector< VideoCamera > videocameras
Definition: RigDef_File.h:1438
RigDef::Wheel::springiness
float springiness
Definition: RigDef_File.h:1321
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:667
RigDef::Trigger::contraction_trigger_limit
float contraction_trigger_limit
Definition: RigDef_File.h:1265
RigDef::TriggerOption::E_ENGINE_TRIGGER
@ E_ENGINE_TRIGGER
this trigger is used to control an engine
RigDef::Texcoord
Definition: RigDef_File.h:1187
RigDef::Document::lockgroup_default_nolock
bool lockgroup_default_nolock
Definition: RigDef_File.h:1460
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:1119
RigDef::WingControlSurface::g_RIGHT_FLAPERON
@ g_RIGHT_FLAPERON
RigDef::Beam::detacher_group
int detacher_group
Definition: RigDef_File.h:501
RigDef::TractionControl::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:1238
RigDef::Wheel::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1324
RigDef::Document::user_modules
std::map< Ogre::String, std::shared_ptr< Module > > user_modules
Definition: RigDef_File.h:1470
RigDef::Turbojet::dry_thrust
float dry_thrust
Definition: RigDef_File.h:1281
RigDef::Beam::options
BitMask_t options
Definition: RigDef_File.h:498
RigDef::Document::Module::antilockbrakes
std::vector< AntiLockBrakes > antilockbrakes
Definition: RigDef_File.h:1367
RigDef::HydroOption
HydroOption
Definition: RigDef_File.h:181
RigDef::Hydro::OPTION_j_INVISIBLE
static const BitMask_t OPTION_j_INVISIBLE
Definition: RigDef_File.h:853
RigDef::Texcoord::u
float u
Definition: RigDef_File.h:1190
RigDef::Camera::center_node
Node::Ref center_node
Definition: RigDef_File.h:589
RigDef::Animation::source
BitMask64_t source
Definition: RigDef_File.h:412
RigDef::FlexBodyWheel::rim_damping
float rim_damping
Definition: RigDef_File.h:792
RigDef::Shock3::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1124
RigDef::CabOption::s_BUOYANT_NO_DRAG
@ s_BUOYANT_NO_DRAG
RigDef::Engturbo::param7
float param7
Definition: RigDef_File.h:706
RigDef::Engoption::idle_rpm
float idle_rpm
Definition: RigDef_File.h:686
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:1092
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:1111
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:1036
RigDef::Shock::options
BitMask_t options
Definition: RigDef_File.h:1074
RigDef::DifferentialType::l_LOCKED
@ l_LOCKED
RigDef::Command2::affect_engine
float affect_engine
Definition: RigDef_File.h:636
RigDef::Shock2::detacher_group
int detacher_group
Definition: RigDef_File.h:1102
RigDef::Lockgroup::LOCKGROUP_DEFAULT
static const int LOCKGROUP_DEFAULT
Definition: RigDef_File.h:888
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:1456
RigDef::BaseMeshWheel::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:282
RigDef::Forvert::line_number
int line_number
Definition: RigDef_File.h:770
RigDef::SlideNode::CONSTRAINT_ATTACH_ALL
static const BitMask_t CONSTRAINT_ATTACH_ALL
Definition: RigDef_File.h:1140
RigDef::Shock3
Definition: RigDef_File.h:1105
RigDef::Exhaust
Definition: RigDef_File.h:713
RigDef::Document::Module::flexbodies
std::vector< Flexbody > flexbodies
Definition: RigDef_File.h:1393
RigDef::Airbrake::width
float width
Definition: RigDef_File.h:331
RigDef::Command2::contract_key
RoR::CommandkeyID_t contract_key
Definition: RigDef_File.h:632
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:1401
RigDef::VideoCamera::max_clip_distance
float max_clip_distance
Definition: RigDef_File.h:1311
RigDef::CabOption::u_INVULNERABLE
@ u_INVULNERABLE
RigDef::Document::Module::ropables
std::vector< Ropable > ropables
Definition: RigDef_File.h:1414
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:1404
RigDef::Prop::special_prop_dashboard
DashboardSpecial special_prop_dashboard
Definition: RigDef_File.h:997
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:622
RigDef::Pistonprop::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:952
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:805
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:580
RigDef::Flare2::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:745
RigDef::Document::Module::_hint_nodes12_start_linenumber
int _hint_nodes12_start_linenumber
Definition: RigDef_File.h:1445
RigDef::Turbojet::nozzle_length
float nozzle_length
Definition: RigDef_File.h:1285
RigDef::Shock2::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1090
RigDef::Lockgroup::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:892
RigDef::Tie::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1196
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:1100
RigDef::BeamOption::v_DUMMY
@ v_DUMMY
RigDef::Fusedrag::area_coefficient
float area_coefficient
Definition: RigDef_File.h:806
RigDef::SlideNode::_attachment_rate_set
bool _attachment_rate_set
Definition: RigDef_File.h:1153
RoR::WheelPropulsion::NONE
@ NONE
Ogre
Definition: ExtinguishableFireAffector.cpp:35
RigDef::Document::Module::collisionboxes
std::vector< CollisionBox > collisionboxes
Definition: RigDef_File.h:1375
RigDef::Shock::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1068
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:611
RigDef::Tie::root_node
Node::Ref root_node
Definition: RigDef_File.h:1199
RigDef::WingControlSurface::b_LEFT_AILERON
@ b_LEFT_AILERON
RigDef::TransferCase::has_2wd_lo
bool has_2wd_lo
Definition: RigDef_File.h:1246
RigDef::EngineType
EngineType
Definition: RigDef_File.h:90
RigDef::Lockgroup::number
int number
Definition: RigDef_File.h:891
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:578
RigDef::BaseWheel::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:269
RigDef::VideoCamera::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1300
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:1469
RigDef::Document::Module::flaregroups_no_import
std::vector< FlaregroupNoImport > flaregroups_no_import
Definition: RigDef_File.h:1392
RigDef::SoundSource
Definition: RigDef_File.h:1158
RigDef::RailGroup::node_list
std::vector< Node::Range > node_list
Definition: RigDef_File.h:1003
RigDef::Shock3::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1110
RigDef::Document::Module::wheeldetachers
std::vector< WheelDetacher > wheeldetachers
Definition: RigDef_File.h:1439
RigDef::Document::Module::torquecurve
std::vector< TorqueCurve > torquecurve
Definition: RigDef_File.h:1432
RigDef::Document::Module::speedlimiter
std::vector< SpeedLimiter > speedlimiter
Definition: RigDef_File.h:1428
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:1280
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:841
RigDef::Hook::flag_no_rope
bool flag_no_rope
Definition: RigDef_File.h:847
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:1260
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:581
RigDef::Shock::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1063
RigDef::Document::Module::fileformatversion
std::vector< FileFormatVersion > fileformatversion
Definition: RigDef_File.h:1387
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:1070
RigDef::Animator::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:454
RigDef::Rotator2::description
Ogre::String description
Definition: RigDef_File.h:1040
RigDef::Document::Module::soundsources
std::vector< SoundSource > soundsources
Definition: RigDef_File.h:1426
RigDef::Prop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:987
RigDef::ShadowOptions::shadow_mode
int shadow_mode
Definition: RigDef_File.h:1058
RigDef::CabOption::n_DUMMY
@ n_DUMMY
RigDef::SlideNode::_max_attach_dist_set
bool _max_attach_dist_set
Definition: RigDef_File.h:1155
RigDef::Hydro::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:874
RigDef::Rotator::base_plate_nodes
Node::Ref base_plate_nodes[4]
Definition: RigDef_File.h:1025
RigDef::Flexbody::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:776
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:950
RigDef::Particle::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:944
RigDef::Shock3::damp_out
float damp_out
Damping value applied when shock extending.
Definition: RigDef_File.h:1117
RigDef::Command2::option_c_auto_center
bool option_c_auto_center
Definition: RigDef_File.h:645
RigDef::Rotator::spin_left_key
unsigned int spin_left_key
Definition: RigDef_File.h:1028
RigDef::Minimass
Definition: RigDef_File.h:918
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:1118
RigDef::BeamDefaults::beam_material_name
Ogre::String beam_material_name
Definition: RigDef_File.h:558
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:1275
RigDef::CameraSettings::mode
int mode
0 and higher = cinecam index
Definition: RigDef_File.h:601
RigDef::Hook::Hook
Hook()
Definition: RigDef_File.cpp:87
RigDef::Hydro::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:870
RigDef::VideoCamera::material_name
Ogre::String material_name
Definition: RigDef_File.h:1314
BitMask64_t
uint64_t BitMask64_t
Definition: BitFlags.h:8
RigDef::Command2::max_contraction
float max_contraction
Definition: RigDef_File.h:630
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:627
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:1463
RigDef::Beam
Definition: RigDef_File.h:491
RigDef::Rotator2::rotating_force
float rotating_force
Definition: RigDef_File.h:1038
RigDef::Screwprop
Definition: RigDef_File.h:1043
RigDef::Hook::option_timer
float option_timer
Definition: RigDef_File.h:842
RigDef::GuiSettings::value
std::string value
Definition: RigDef_File.h:824
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:1374
RigDef::Prop::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:988
RigDef::Animation::upper_limit
float upper_limit
Definition: RigDef_File.h:411
RigDef::Cab::options
BitMask_t options
Definition: RigDef_File.h:584
RigDef::ExtCamera::mode
RoR::ExtCameraMode mode
Definition: RigDef_File.h:722
RigDef::Tie::OPTION_s_DISABLE_SELF_LOCK
static const BitMask_t OPTION_s_DISABLE_SELF_LOCK
Definition: RigDef_File.h:1197
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:972
RigDef::Document::Module::particles
std::vector< Particle > particles
Definition: RigDef_File.h:1410
RigDef::Engoption::inertia
float inertia
Definition: RigDef_File.h:680
RigDef::Document::Module::beams
std::vector< Beam > beams
Definition: RigDef_File.h:1371
RigDef::CruiseControl
Definition: RigDef_File.h:651
RigDef::BaseMeshWheel::material_name
Ogre::String material_name
Definition: RigDef_File.h:283
RigDef::Rope::detacher_group
int detacher_group
Definition: RigDef_File.h:1019
RigDef::Hydro::OPTION_r_INPUT_RUDDER
static const BitMask_t OPTION_r_INPUT_RUDDER
Definition: RigDef_File.h:858
RigDef::Animation::MODE_NO_FLIP
static const BitMask_t MODE_NO_FLIP
Definition: RigDef_File.h:405
RigDef::Wing
Definition: RigDef_File.h:1341
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:895
RigDef::Hook::flag_visible
bool flag_visible
Definition: RigDef_File.h:848
RigDef::Document::Module::interaxles
std::vector< InterAxle > interaxles
Definition: RigDef_File.h:1402
RigDef::Fusedrag::rear_node
Node::Ref rear_node
Definition: RigDef_File.h:803
RigDef::Globals
Definition: RigDef_File.h:809
RigDef::Prop::special_prop_beacon
BeaconSpecial special_prop_beacon
Definition: RigDef_File.h:996
RigDef::Command2::needs_engine
bool needs_engine
Definition: RigDef_File.h:637
RigDef::Pistonprop::pitch
float pitch
Definition: RigDef_File.h:955
RoR::FlareType::HEADLIGHT
@ HEADLIGHT
RigDef::ExtCamera
Definition: RigDef_File.h:720
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:1096
RigDef::Flexbody::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:777
RigDef::Shock3Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Rope
Definition: RigDef_File.h:1013
RigDef::Cinecam::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:607
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:1109
RigDef::Airbrake::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:330
RigDef::Wheel2::rim_springiness
float rim_springiness
Definition: RigDef_File.h:1329
RigDef::Hook::option_speed_coef
float option_speed_coef
Definition: RigDef_File.h:838
RigDef::Trigger::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1269
RigDef::Ropable::group
int group
Definition: RigDef_File.h:1009
RigDef::Forvert::node_y
Node::Ref node_y
Definition: RigDef_File.h:768
RigDef::Wheel::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1323
RigDef::Cab::OPTION_b_BUOYANT
static const BitMask_t OPTION_b_BUOYANT
Definition: RigDef_File.h:574
RoR::COMMANDKEYID_INVALID
static const CommandkeyID_t COMMANDKEYID_INVALID
Definition: ForwardDeclarations.h:83
RigDef::Wing::efficacy_coef
float efficacy_coef
Definition: RigDef_File.h:1350
RoR::WheelPropulsion
WheelPropulsion
Definition: Application.h:532
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:862
RigDef::SpecialProp::LIGHTBAR
@ LIGHTBAR
RigDef::SlideNode
Definition: RigDef_File.h:1138
RigDef::Cinecam::damping
float damping
Definition: RigDef_File.h:609
RigDef::TractionControl::regulation_force
float regulation_force
Definition: RigDef_File.h:1232
RigDef::Shock2Option::n_DUMMY
@ n_DUMMY
RigDef::TransferCase::a2
int a2
Definition: RigDef_File.h:1244
RigDef::MeshWheel2
Definition: RigDef_File.h:927
RigDef::Hook::flag_self_lock
bool flag_self_lock
Definition: RigDef_File.h:844
RigDef::Document::Module::meshwheels
std::vector< MeshWheel > meshwheels
Definition: RigDef_File.h:1406
RigDef::Document::Module::engoption
std::vector< Engoption > engoption
Definition: RigDef_File.h:1383
RigDef::SoundSource::sound_script_name
Ogre::String sound_script_name
Definition: RigDef_File.h:1161
RigDef::Keyword
Keyword
Definition: Application.h:171
RigDef::BeamDefaults::GetScaledDamping
float GetScaledDamping()
Definition: RigDef_File.h:538
RigDef::HydroOption::v_INPUT_InvAILERON_ELEVATOR
@ v_INPUT_InvAILERON_ELEVATOR
RigDef::Pistonprop::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:954
RigDef::Document::Module::tractioncontrol
std::vector< TractionControl > tractioncontrol
Definition: RigDef_File.h:1433
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:1338
RigDef::TorqueCurve
Definition: RigDef_File.h:1211
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:1121
RigDef::Prop::BeaconSpecial::flare_material_name
Ogre::String flare_material_name
Definition: RigDef_File.h:983
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:1290
RigDef::Document::Module::fixes
std::vector< Node::Ref > fixes
Definition: RigDef_File.h:1388
RigDef::Prop::animations
std::list< Animation > animations
Definition: RigDef_File.h:993
RigDef::Hook::node
Node::Ref node
Definition: RigDef_File.h:836
RigDef::Document::Module::soundsources2
std::vector< SoundSource2 > soundsources2
Definition: RigDef_File.h:1427
RigDef::Beam::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:497
RigDef::Document::Module::guid
std::vector< Guid > guid
Definition: RigDef_File.h:1397
RigDef::Rope::root_node
Node::Ref root_node
Definition: RigDef_File.h:1015
RigDef::VideoCamera::camera_name
Ogre::String camera_name
Definition: RigDef_File.h:1315
RigDef::Fileinfo::category_id
int category_id
Definition: RigDef_File.h:734
RigDef::Submesh::backmesh
bool backmesh
Definition: RigDef_File.h:1182
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:1278
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:583
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:984
RigDef::TieOption::i_INVISIBLE
@ i_INVISIBLE