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-2021 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 "GfxData.h"
45 #include "RigDef_Node.h"
46 #include "SimConstants.h"
47 #include "SimData.h"
48 
49 #include <list>
50 #include <memory>
51 #include <vector>
52 #include <string>
53 #include <OgreString.h>
54 #include <OgreVector3.h>
55 #include <OgreStringConverter.h>
56 
57 namespace RigDef {
58 
59 extern const char* ROOT_MODULE_NAME;
60 
61 // --------------------------------
62 // Enums which only carry value
63 
64 // IMPORTANT! If you add a value here, you must also modify Regexes::IDENTIFY_KEYWORD, it relies on numeric values of this enum.
65 enum class Keyword
66 {
67  INVALID = 0,
68 
69  ADD_ANIMATION = 1,
70  AIRBRAKES,
71  ANIMATORS,
73  ASSETPACKS,
74  AUTHOR,
75  AXLES,
76  BACKMESH,
77  BEAMS,
78  BRAKES,
79  CAB,
80  CAMERARAIL,
81  CAMERAS,
82  CINECAM,
84  COMMANDS,
85  COMMANDS2,
86  COMMENT,
87  CONTACTERS,
94  END,
98  ENGINE,
99  ENGOPTION,
100  ENGTURBO,
101  ENVMAP,
102  EXHAUSTS,
103  EXTCAMERA,
105  FILEINFO,
106  FIXES,
107  FLARES,
108  FLARES2,
109  FLARES3,
111  FLEXBODIES,
114  FORSET,
116  FUSEDRAG,
117  GLOBALS,
118  GUID,
119  GUISETTINGS,
120  HELP,
122  HOOKGROUP, // obsolete, ignored
123  HOOKS,
124  HYDROS,
126  INTERAXLES,
127  LOCKGROUPS,
131  MESHWHEELS,
132  MESHWHEELS2,
133  MINIMASS,
134  NODECOLLISION, // obsolete
135  NODES,
136  NODES2,
137  PARTICLES,
138  PISTONPROPS,
140  PROPS,
141  RAILGROUPS,
142  RESCUER,
143  RIGIDIFIERS, // obsolete
144  ROLLON,
145  ROPABLES,
146  ROPES,
147  ROTATORS,
148  ROTATORS2,
149  SCREWPROPS,
150  SCRIPTS,
151  SECTION,
160  SET_SHADOWS,
162  SHOCKS,
163  SHOCKS2,
164  SHOCKS3,
166  SLIDENODES,
167  SLOPE_BRAKE,
168  SOUNDSOURCES,
170  SPEEDLIMITER,
171  SUBMESH,
173  TEXCOORDS,
174  TIES,
175  TORQUECURVE,
177  TRANSFERCASE,
178  TRIGGERS,
179  TURBOJETS,
180  TURBOPROPS,
181  TURBOPROPS2,
182  VIDEOCAMERA,
184  WHEELS,
185  WHEELS2,
186  WINGS
187 };
188 
189 const char* KeywordToString(Keyword keyword);
190 
191 enum class SpecialProp
192 {
193  NONE,
194  MIRROR_LEFT,
195  MIRROR_RIGHT,
200  DRIVER_SEAT,
202  BEACON,
203  REDBEACON,
204  LIGHTBAR,
205 };
206 
208 {
209  INVALID,
214 };
215 
216 // --------------------------------
217 // Enums which specify option letters/numbers and also carry value
218 
219 enum class EngineType
220 {
221  c_CAR = 'c',
222  e_ECAR = 'e',
223  t_TRUCK = 't',
224 };
225 
226 enum class DifferentialType: char
227 {
228  o_OPEN = 'o',
229  l_LOCKED = 'l',
230  s_SPLIT = 's',
231  v_VISCOUS = 'v'
232 };
233 
234 typedef std::vector<DifferentialType> DifferentialTypeVec;
235 
236 enum class MinimassOption: char
237 {
238  n_DUMMY = 'n',
239  l_SKIP_LOADED = 'l'
240 };
241 
242 enum class WheelBraking: int
243 {
244  NONE = 0,
245  FOOT_HAND = 1,
248  FOOT_ONLY = 4,
249 };
250 
251 enum class WheelPropulsion: int
252 {
253  NONE = 0,
254  FORWARD = 1,
255  BACKWARD = 2,
256 };
257 
258 enum class WingControlSurface: char
259 {
260  n_NONE = 'n',
261  a_RIGHT_AILERON = 'a',
262  b_LEFT_AILERON = 'b',
263  f_FLAP = 'f',
264  e_ELEVATOR = 'e',
265  r_RUDDER = 'r',
268  c_RIGHT_ELEVON = 'c',
269  d_LEFT_ELEVON = 'd',
270  g_RIGHT_FLAPERON = 'g',
271  h_LEFT_FLAPERON = 'h',
272  U_RIGHT_HAND_TAILERON = 'U',
273  V_LEFT_HAND_TAILERON = 'V',
274  i_RIGHT_RUDDERVATOR = 'i',
275  j_LEFT_RUDDERVATOR = 'j',
276 };
277 
278 // --------------------------------
279 // Enums which only specify flag letters, values are carried by bit masks
280 
281 enum class TieOption: char
282 {
283  n_DUMMY = 'n',
284  v_DUMMY = 'v',
285  i_INVISIBLE = 'i',
286  s_NO_SELF_LOCK = 's',
287 };
288 
289 enum class CabOption: char
290 {
291  c_CONTACT = 'c',
292  b_BUOYANT = 'b',
293  p_10xTOUGHER = 'p',
294  u_INVULNERABLE = 'u',
295  s_BUOYANT_NO_DRAG = 's',
296  r_BUOYANT_ONLY_DRAG = 'r',
297  D_CONTACT_BUOYANT = 'D',
298  F_10xTOUGHER_BUOYANT = 'F',
300 };
301 
302 enum class TriggerOption: char
303 {
304  i_INVISIBLE = 'i',
305  c_COMMAND_STYLE = 'c',
306  x_START_DISABLED = 'x',
307  b_KEY_BLOCKER = 'b',
308  B_TRIGGER_BLOCKER = 'B',
309  A_INV_TRIGGER_BLOCKER = 'A',
310  s_CMD_NUM_SWITCH = 's',
311  h_UNLOCKS_HOOK_GROUP = 'h',
312  H_LOCKS_HOOK_GROUP = 'H',
313  t_CONTINUOUS = 't',
314  E_ENGINE_TRIGGER = 'E',
315 };
316 
317 enum class BeamOption: char
318 {
319  v_DUMMY = 'v',
320  i_INVISIBLE = 'i',
321  r_ROPE = 'r',
322  s_SUPPORT = 's',
323 };
324 
325 enum class HydroOption: char
326 {
327  n_INPUT_NORMAL = 'n',
328  j_INVISIBLE = 'j',
330  // Useful for trucks
332  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
333  a_INPUT_AILERON = 'a',
334  r_INPUT_RUDDER = 'r',
335  e_INPUT_ELEVATOR = 'e',
342 };
343 
344 enum class ShockOption: char
345 {
346  n_DUMMY = 'n',
347  v_DUMMY = 'v',
348  i_INVISIBLE = 'i',
349  L_ACTIVE_LEFT = 'L',
350  R_ACTIVE_RIGHT = 'R',
351  m_METRIC = 'm',
352 };
353 
354 enum class Shock2Option: char
355 {
356  n_DUMMY = 'n',
357  v_DUMMY = 'v',
358  i_INVISIBLE = 'i',
359  s_SOFT_BUMP_BOUNDS = 's',
360  m_METRIC = 'm',
361  M_ABSOLUTE_METRIC = 'M',
362 };
363 
364 enum class Shock3Option: char
365 {
366  n_DUMMY = 'n',
367  v_DUMMY = 'v',
368  i_INVISIBLE = 'i',
369  m_METRIC = 'm',
370  M_ABSOLUTE_METRIC = 'M',
371 };
372 
373 enum class NodeOption: char
374 {
375  n_DUMMY = 'n',
376  m_NO_MOUSE_GRAB = 'm',
377  f_NO_SPARKS = 'f',
378  x_EXHAUST_POINT = 'x',
379  y_EXHAUST_DIRECTION = 'y',
380  c_NO_GROUND_CONTACT = 'c',
381  h_HOOK_POINT = 'h',
382  e_TERRAIN_EDIT_POINT = 'e',
383  b_EXTRA_BUOYANCY = 'b',
384  p_NO_PARTICLES = 'p',
385  L_LOG = 'L',
386  l_LOAD_WEIGHT = 'l',
387 };
388 
389 // --------------------------------
390 // Shared/helper rig definition data
391 
392 struct AeroAnimator // used by Animator
393 {
394  static const BitMask_t OPTION_THROTTLE = BITMASK(1);
395  static const BitMask_t OPTION_RPM = BITMASK(2);
396  static const BitMask_t OPTION_TORQUE = BITMASK(3);
397  static const BitMask_t OPTION_PITCH = BITMASK(4);
398  static const BitMask_t OPTION_STATUS = BITMASK(5);
399 
401  unsigned int engine_idx = 0u;
402 };
403 
404 struct Assetpack
405 {
406  std::string filename;
407 };
408 
409 struct BaseWheel
410 {
411  float width = 0.f;
412  unsigned int num_rays = 0u;
418  float mass = 0.f;
419  std::shared_ptr<NodeDefaults> node_defaults;
420  std::shared_ptr<BeamDefaults> beam_defaults;
421 };
422 
423 struct BaseMeshWheel: public BaseWheel // common to 'meshwheels' and 'meshwheels2'
424 {
426  Ogre::String mesh_name;
427  Ogre::String material_name;
428  float rim_radius = 0.f;
429  float tyre_radius = 0.f;
430  float spring;
431  float damping;
432 };
433 
434 struct BaseWheel2: public BaseWheel // common to 'wheels2' and 'flexbodywheels'
435 {
436  float rim_radius = 0.f;
437  float tyre_radius = 0.f;
438  float tyre_springiness = 0.f;
439  float tyre_damping = 0.f;
440 };
441 
442 struct Inertia // Common base for DefaultInertia and Command2Inertia
443 {
447  {}
448 
451  Ogre::String start_function;
452  Ogre::String stop_function;
453 };
454 
455 // --------------------------------
456 // Rig definition data for individual elements
457 
458 struct Airbrake
459 {
460  Airbrake();
461 
466  Ogre::Vector3 offset;
467  float width;
468  float height;
470  float texcoord_x1;
471  float texcoord_x2;
472  float texcoord_y1;
473  float texcoord_y2;
475 };
476 
477 struct Animation
478 {
479  struct MotorSource
480  {
481  // > aeroengines
483  static const BitMask_t SOURCE_AERO_RPM = BITMASK(2);
487  // > forward gears (hack...)
489 
491  unsigned int motor = 0;
492  };
493 
494  // Source flags
501  static const BitMask64_t SOURCE_FLAP = BITMASK64( 7);
503  static const BitMask64_t SOURCE_ROLL = BITMASK64( 9);
504  static const BitMask64_t SOURCE_PITCH = BITMASK64(10);
505  static const BitMask64_t SOURCE_BRAKES = BITMASK64(11);
506  static const BitMask64_t SOURCE_ACCEL = BITMASK64(12);
507  static const BitMask64_t SOURCE_CLUTCH = BITMASK64(13);
508  static const BitMask64_t SOURCE_SPEEDO = BITMASK64(14);
509  static const BitMask64_t SOURCE_TACHO = BITMASK64(15);
510  static const BitMask64_t SOURCE_TURBO = BITMASK64(16);
516  static const BitMask64_t SOURCE_TORQUE = BITMASK64(22);
526  static const BitMask64_t SOURCE_EVENT = BITMASK64(32);
532 
533  // Mode flags
534  static const BitMask_t MODE_ROTATION_X = BITMASK(1);
535  static const BitMask_t MODE_ROTATION_Y = BITMASK(2);
536  static const BitMask_t MODE_ROTATION_Z = BITMASK(3);
537  static const BitMask_t MODE_OFFSET_X = BITMASK(4);
538  static const BitMask_t MODE_OFFSET_Y = BITMASK(5);
539  static const BitMask_t MODE_OFFSET_Z = BITMASK(6);
541  static const BitMask_t MODE_NO_FLIP = BITMASK(8);
542  static const BitMask_t MODE_BOUNCE = BITMASK(9);
543  static const BitMask_t MODE_EVENT_LOCK = BITMASK(10);
544 
545  float ratio = 0.f;
546  float lower_limit = -1.f;
547  float upper_limit = -1.f;
549  std::list<MotorSource> motor_sources;
551  Ogre::String event_name;
552  Ogre::String dash_link_name;
553 
554  void AddMotorSource(BitMask_t source, unsigned int motor);
555 };
556 
557 struct Animator
558 {
559  static const BitMask_t OPTION_VISIBLE = BITMASK( 1);
560  static const BitMask_t OPTION_INVISIBLE = BITMASK( 2);
561  static const BitMask_t OPTION_AIRSPEED = BITMASK( 3);
567  static const BitMask_t OPTION_FLAP = BITMASK( 9);
568  static const BitMask_t OPTION_AIR_BRAKE = BITMASK(10);
569  static const BitMask_t OPTION_ROLL = BITMASK(11);
570  static const BitMask_t OPTION_PITCH = BITMASK(12);
571  static const BitMask_t OPTION_BRAKES = BITMASK(13);
572  static const BitMask_t OPTION_ACCEL = BITMASK(14);
573  static const BitMask_t OPTION_CLUTCH = BITMASK(15);
574  static const BitMask_t OPTION_SPEEDO = BITMASK(16);
575  static const BitMask_t OPTION_TACHO = BITMASK(17);
576  static const BitMask_t OPTION_TURBO = BITMASK(18);
577  static const BitMask_t OPTION_PARKING = BITMASK(19);
582  static const BitMask_t OPTION_TORQUE = BITMASK(24);
583  static const BitMask_t OPTION_DIFFLOCK = BITMASK(25);
587  static const BitMask_t OPTION_LONG_LIMIT = BITMASK(29);
588 
590  float lenghtening_factor = 0.f;
592  float short_limit = 0.f;
593  float long_limit = 0.f;
595  std::shared_ptr<Inertia> inertia_defaults;
596  std::shared_ptr<BeamDefaults> beam_defaults;
597  int detacher_group = 0;
598 };
599 
601 {
602  AntiLockBrakes();
603 
605  unsigned int min_speed;
610 };
611 
612 struct Author
613 {
614  Ogre::String type;
615  unsigned int forum_account_id = 0;
616  Ogre::String name;
617  Ogre::String email;
618  bool _has_forum_account = false;
619 };
620 
621 struct Axle
622 {
625 };
626 
627 struct Beam
628 {
630  static const BitMask_t OPTION_r_ROPE = BITMASK(2);
631  static const BitMask_t OPTION_s_SUPPORT = BITMASK(3);
632 
637  int detacher_group = 0;
638  std::shared_ptr<BeamDefaults> defaults;
639 };
640 
642 {
644  springiness(1),
645  damping_constant(1),
648  {}
649 
650  float springiness;
654 };
655 
657 {
658  BeamDefaults(): // NOTE: -1.f is 'empty value'; replaced by constant in parser.
659  springiness(-1.f),
660  damping_constant(-1.f),
661  deformation_threshold(-1.f),
662  visual_beam_diameter(-1.f),
663  beam_material_name("tracks/beam"),
664  plastic_deform_coef(0.f), // This is a default
665  breaking_threshold(-1.f),
668  _is_user_defined(false)
669  {}
670 
672  {
673  return springiness * scale.springiness;
674  }
675 
677  {
679  }
680 
682  {
684  }
685 
686  inline float GetScaledDeformThreshold() const
687  {
689  }
690 
691  float springiness;
696  Ogre::String beam_material_name;
702 };
703 
704 struct Brakes
705 {
706  float default_braking_force = 30000.f;
707  float parking_brake_force = -1.f;
708 };
709 
710 struct Cab
711 {
712  static const BitMask_t OPTION_c_CONTACT = BITMASK(1);
713  static const BitMask_t OPTION_b_BUOYANT = BITMASK(2);
721 
724 };
725 
726 struct Camera
727 {
731 };
732 
734 {
735  std::vector<Node::Ref> nodes;
736 };
737 
739 {
741 };
742 
743 struct Cinecam
744 {
745  Ogre::Vector3 position = Ogre::Vector3::ZERO;
747  float spring = 8000.f;
748  float damping = 800.f;
749  float node_mass = 20.f;
750  std::shared_ptr<BeamDefaults> beam_defaults;
751  std::shared_ptr<NodeDefaults> node_defaults;
752 };
753 
755 {
756  std::vector<Node::Ref> nodes;
757 };
758 
760 {
762 };
763 
764 struct Command2 // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
765 {
767  float shorten_rate = 0.f;
768  float lengthen_rate = 0.f;
769  float max_contraction = 0.f;
770  float max_extension = 0.f;
771  unsigned int contract_key = 0;
772  unsigned int extend_key = 0;
773  Ogre::String description;
775  float affect_engine = 1.f;
776  bool needs_engine = true;
777  bool plays_sound = true;
778  std::shared_ptr<BeamDefaults> beam_defaults;
779  std::shared_ptr<Inertia> inertia_defaults;
780  int detacher_group = 0;
781 
782  bool option_i_invisible = false;
783  bool option_r_rope = false;
784  bool option_c_auto_center = false;
785  bool option_f_not_faster = false;
786  bool option_p_1press = false;
788 };
789 
791 {
792  float min_speed = 0.f;
793  int autobrake = 0;
794 };
795 
797 {
799 };
800 
802 {
803  std::string skin_name;
804 };
805 
806 struct Engine
807 {
808  float shift_down_rpm = 0.f;
809  float shift_up_rpm = 0.f;
810  float torque = 0.f;
811  float global_gear_ratio = 0.f;
812  float reverse_gear_ratio = 0.f;
813  float neutral_gear_ratio = 0.f;
814  std::vector<float> gear_ratios;
815 };
816 
817 struct Engoption
818 {
819  float inertia = 10.f;
821  float clutch_force = -1.f;
822  float shift_time = -1.f;
823  float clutch_time = -1.f;
824  float post_shift_time = -1.f;
825  float idle_rpm = -1.f;
826  float stall_rpm = -1.f;
827  float max_idle_mixture = -1.f;
828  float min_idle_mixture = -1.f;
829  float braking_torque = -1.f;
830 };
831 
832 struct Engturbo
833 {
834  Engturbo();
835 
836  int version;
838  int nturbos;
839  float param1;
840  float param2;
841  float param3;
842  float param4;
843  float param5;
844  float param6;
845  float param7;
846  float param8;
847  float param9;
848  float param10;
849  float param11;
850 };
851 
852 struct Exhaust
853 {
856  Ogre::String particle_name;
857 };
858 
859 struct ExtCamera
860 {
863 };
864 
866 {
867  int version = -1;
868 };
869 
870 struct Fileinfo
871 {
872  Ogre::String unique_id;
873  int category_id = -1;
874  int file_version = 0;
875 };
876 
877 struct Flare2 // Used for both 'flares' and 'flares2' sections
878 {
882  Ogre::Vector3 offset = Ogre::Vector3(0, 0, 1); // Section 'flares(1)' has offset.z hardcoded to 1
884  int control_number = -1;
885  std::string dashboard_link;
887  float size = -1.f;
888  Ogre::String material_name;
889 };
890 
891 struct Flare3: public Flare2
892 {
893  std::shared_ptr<Inertia> inertia_defaults;
894 };
895 
897 {
899  int control_number = -1;
900 };
901 
902 struct Flexbody
903 {
907  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
908  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
909  Ogre::String mesh_name;
910  std::list<Animation> animations;
911  std::vector<Node::Range> node_list_to_import;
912  std::vector<Node::Ref> node_list;
914 };
915 
916 struct FlexBodyWheel: public BaseWheel2
917 {
919  float rim_springiness = 0.f;
920  float rim_damping = 0.f;
921  Ogre::String rim_mesh_name;
922  Ogre::String tyre_mesh_name;
923 };
924 
925 struct Fusedrag
926 {
927  Fusedrag();
928 
929  bool autocalc;
933  Ogre::String airfoil_name;
935 };
936 
937 struct Globals
938 {
939  float dry_mass = 0;
940  float cargo_mass = 0;
941  Ogre::String material_name;
942 };
943 
944 struct Guid
945 {
946  std::string guid;
947 };
948 
950 {
951  std::string key;
952  std::string value;
953 };
954 
955 struct Help
956 {
957  std::string material;
958 };
959 
960 struct Hook
961 {
962  Hook();
963 
972  bool flag_self_lock :1;
973  bool flag_auto_lock :1;
975  bool flag_no_rope :1;
976  bool flag_visible :1;
977 };
978 
979 struct Hydro
980 {
982  // Useful for trucks:
984  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
994  // Generic steering input
996 
998  float lenghtening_factor = 0.f;
1001  std::shared_ptr<Inertia> inertia_defaults;
1002  std::shared_ptr<BeamDefaults> beam_defaults;
1004 };
1005 
1007 {
1008  int a1 = 0;
1009  int a2 = 0;
1011 };
1012 
1014 {
1015  // TODO remove these, use SimConstants.h
1016  static const int LOCKGROUP_DEFAULT = -1;
1017  static const int LOCKGROUP_NOLOCK = 9999;
1018 
1019  int number = 0;
1020  std::vector<Node::Ref> nodes;
1021 };
1022 
1024 {
1025  bool double_sided = false;
1026 };
1027 
1029 {
1030  Ogre::String name;
1033  Ogre::String diffuse_map;
1034  Ogre::String damaged_diffuse_map;
1035  Ogre::String specular_map;
1036 };
1037 
1039 {
1040  unsigned int flare_number = 0;
1041  Ogre::String material_name;
1042 };
1043 
1044 struct Minimass
1045 {
1048 };
1049 
1050 struct MeshWheel: public BaseMeshWheel
1051 {};
1052 
1054 {};
1055 
1057 {
1058  NodeDefaults();
1059 
1061  float friction;
1062  float volume;
1063  float surface;
1064  unsigned int options;
1065 };
1066 
1067 struct Particle
1068 {
1071  Ogre::String particle_system_name;
1072 };
1073 
1075 {
1080  float turbine_power_kW = 0.f;
1081  float pitch = 0;
1082  Ogre::String airfoil;
1083 };
1084 
1085 struct Prop
1086 {
1088  {
1090  offset(Ogre::Vector3::ZERO), // Default depends on right/left-hand dashboard placement
1091  rotation_angle(160.f),
1092  _offset_is_set(false),
1093  mesh_name("dirwheel.mesh")
1094  {}
1095 
1096  Ogre::Vector3 offset;
1099  Ogre::String mesh_name;
1100  };
1101 
1103  {
1105  color(1.0, 0.5, 0.0),
1106  flare_material_name("tracks/beaconflare")
1107  {}
1108 
1109  Ogre::String flare_material_name;
1110  Ogre::ColourValue color;
1111  };
1112 
1116  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
1117  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
1118  Ogre::String mesh_name;
1119  std::list<Animation> animations;
1124 };
1125 
1127 {
1128  unsigned int id = 0;
1129  std::vector<Node::Range> node_list;
1130 };
1131 
1132 struct Ropable
1133 {
1135  int group = -1; // = value not set
1136  bool has_multilock = false;
1137 };
1138 
1139 struct Rope
1140 {
1143  bool invisible = false;
1144  std::shared_ptr<BeamDefaults> beam_defaults;
1146 };
1147 
1148 struct Rotator
1149 {
1153  float rate = 0.f;
1154  unsigned int spin_left_key = 0;
1155  unsigned int spin_right_key = 0;
1157  std::shared_ptr<Inertia> inertia_defaults;
1158  float engine_coupling = 1.f;
1159  bool needs_engine = false;
1160 };
1161 
1162 struct Rotator2: public Rotator
1163 {
1164  float rotating_force = 10000000.f;
1165  float tolerance = 0.f;
1166  Ogre::String description;
1167 };
1168 
1170 {
1174  float power = 0.f;
1175 };
1176 
1177 struct Script
1178 {
1179  std::string filename;
1180 };
1181 
1183 {
1184  int shadow_mode = 0;
1185 };
1186 
1187 struct Shock
1188 {
1192  static const BitMask_t OPTION_m_METRIC = BITMASK(4);
1193 
1195  float spring_rate = 0.f;
1196  float damping = 0.f;
1197  float short_bound = 0.f;
1198  float long_bound = 0.f;
1199  float precompression = 1.f;
1201  std::shared_ptr<BeamDefaults> beam_defaults;
1203 };
1204 
1205 struct Shock2
1206 {
1207  Shock2();
1208 
1210  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)
1211  static const BitMask_t OPTION_m_METRIC = BITMASK(3); // metric values for shortbound/longbound applying to the length of the beam.
1212  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)
1213 
1215  float spring_in;
1216  float damp_in;
1219  float spring_out;
1220  float damp_out;
1223  float short_bound;
1224  float long_bound;
1227  std::shared_ptr<BeamDefaults> beam_defaults;
1229 };
1230 
1231 struct Shock3
1232 {
1233  Shock3();
1234 
1236  static const BitMask_t OPTION_m_METRIC = BITMASK(2); // metric values for shortbound/longbound applying to the length of the beam.
1237  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)
1238 
1240  float spring_in;
1241  float damp_in;
1242  float spring_out;
1243  float damp_out;
1250  float short_bound;
1251  float long_bound;
1254  std::shared_ptr<BeamDefaults> beam_defaults;
1256 };
1257 
1259 {
1262 };
1263 
1265 {
1270 
1272  std::vector<Node::Range> rail_node_ranges;
1274 
1275  // Optional args
1276  float spring_rate=0.f; bool _spring_rate_set=false;
1277  float break_force=0.f; bool _break_force_set=false;
1278  float tolerance=0.f; bool _tolerance_set=false;
1279  float attachment_rate=0.f; bool _attachment_rate_set=false;
1280  int railgroup_id=-1; bool _railgroup_id_set=false;
1281  float max_attach_dist=0.f; bool _max_attach_dist_set=false;
1282 };
1283 
1285 {
1287  Ogre::String sound_script_name;
1288 };
1289 
1291 {
1292  static const int MODE_ALWAYS = -2;
1293  static const int MODE_EXTERIOR = -1;
1294 
1296 };
1297 
1299 {
1300  float max_speed = 0.f;
1301  bool is_enabled = false;
1302 };
1303 
1304 struct Texcoord; // needed by Submesh
1305 
1306 struct Submesh
1307 {
1308  bool backmesh = false;
1309  std::vector<Texcoord> texcoords;
1310  std::vector<Cab> cab_triangles;
1311 };
1312 
1313 struct Texcoord
1314 {
1316  float u = 0.f;
1317  float v = 0.f;
1318 };
1319 
1320 struct Tie
1321 {
1324 
1326  float max_reach_length = 0.f;
1327  float auto_shorten_rate = 0.f;
1328  float min_length = 0.f;
1329  float max_length = 0.f;
1331  float max_stress = 100000.0f;
1332  std::shared_ptr<BeamDefaults> beam_defaults;
1334  int group = -1;
1335 };
1336 
1338 {
1339  struct Sample
1340  {
1342  power(0),
1343  torque_percent(0)
1344  {}
1345 
1346  float power;
1348  };
1349 
1350  std::vector<Sample> samples;
1351  Ogre::String predefined_func_name;
1352 };
1353 
1355 {
1356  TractionControl();
1357 
1359  float wheel_slip;
1360  float fade_speed;
1365 };
1366 
1368 {
1369  int a1 = 0;
1370  int a2 = -1;
1371  bool has_2wd = true;
1372  bool has_2wd_lo = false;
1373  std::vector<float> gear_ratios = {1.0f};
1374 };
1375 
1376 struct Trigger
1377 {
1389 
1394  float boundary_timer = 1.f;
1395  std::shared_ptr<BeamDefaults> beam_defaults;
1399 };
1400 
1401 struct Turbojet
1402 {
1406  int is_reversable = 0;
1407  float dry_thrust = 0.f;
1408  float wet_thrust = 0.f;
1409  float front_diameter = 0.f;
1410  float back_diameter = 0.f;
1411  float nozzle_length = 0.f;
1412 };
1413 
1414 struct Turboprop2 // Section TURBOPROPS, TURBOPROPS2
1415 {
1419  float turbine_power_kW = 0.f;
1420  Ogre::String airfoil;
1422 };
1423 
1425 {
1431  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
1432  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
1433  float field_of_view = 0.f;
1434  unsigned int texture_width = 0u;
1435  unsigned int texture_height = 0u;
1436  float min_clip_distance = 0.f;
1437  float max_clip_distance = 0.f;
1439  int camera_mode = 0;
1440  Ogre::String material_name;
1441  Ogre::String camera_name;
1442 };
1443 
1444 struct Wheel: public BaseWheel
1445 {
1446  float radius = 0.f;
1447  float springiness = 0.f;
1448  float damping = 0.f;
1449  Ogre::String face_material_name = "tracks/wheelface";
1450  Ogre::String band_material_name = "tracks/wheelband1";
1451 };
1452 
1453 struct Wheel2: public BaseWheel2
1454 {
1455  float rim_springiness = 0.f;
1456  float rim_damping = 0.f;
1457  Ogre::String face_material_name = "tracks/wheelface";
1458  Ogre::String band_material_name = "tracks/wheelband1";
1459 };
1460 
1462 {
1463  int wheel_id = 0;
1465 };
1466 
1467 struct Wing
1468 {
1470  float tex_coords[8] = {};
1472  float chord_point = -1.f;
1473  float min_deflection = -1.f;
1474  float max_deflection = -1.f;
1475  Ogre::String airfoil;
1476  float efficacy_coef = 1.f; // So-called 'liftcoef'.
1477 };
1478 
1479 // --------------------------------
1480 // The document
1481 
1482 struct Document
1483 {
1484  struct Module // represents 'section/end_section'. Also use by 'addonparts' system.
1485  {
1486  Module(Ogre::String const & name);
1487 
1488  Ogre::String name;
1490 
1491  std::vector<Airbrake> airbrakes;
1492  std::vector<Animator> animators;
1493  std::vector<AntiLockBrakes> antilockbrakes;
1494  std::vector<Assetpack> assetpacks;
1495  std::vector<Author> author;
1496  std::vector<Axle> axles;
1497  std::vector<Beam> beams;
1498  std::vector<Brakes> brakes;
1499  std::vector<Camera> cameras;
1500  std::vector<CameraRail> camerarail;
1501  std::vector<CollisionBox> collisionboxes;
1502  std::vector<Cinecam> cinecam;
1503  std::vector<Command2> commands2; // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
1504  std::vector<CruiseControl> cruisecontrol;
1505  std::vector<Node::Ref> contacters;
1506  std::vector<DefaultSkin> default_skin;
1507  std::vector<Ogre::String> description;
1508  std::vector<Engine> engine;
1509  std::vector<Engoption> engoption;
1510  std::vector<Engturbo> engturbo;
1511  std::vector<Exhaust> exhausts;
1512  std::vector<ExtCamera> extcamera;
1513  std::vector<FileFormatVersion> fileformatversion;
1514  std::vector<Node::Ref> fixes;
1515  std::vector<Fileinfo> fileinfo;
1516  std::vector<Flare2> flares2; // 'flares' are auto-imported as 'flares2' (only 1 extra argument)
1517  std::vector<Flare3> flares3;
1518  std::vector<FlaregroupNoImport> flaregroups_no_import;
1519  std::vector<Flexbody> flexbodies;
1520  std::vector<FlexBodyWheel> flexbodywheels;
1521  std::vector<Fusedrag> fusedrag;
1522  std::vector<Globals> globals;
1523  std::vector<Guid> guid;
1524  std::vector<GuiSettings> guisettings;
1525  std::vector<Help> help;
1526  std::vector<Hook> hooks;
1527  std::vector<Hydro> hydros;
1528  std::vector<InterAxle> interaxles;
1529  std::vector<Lockgroup> lockgroups;
1530  std::vector<ManagedMaterial> managedmaterials;
1531  std::vector<MaterialFlareBinding> materialflarebindings;
1532  std::vector<MeshWheel> meshwheels;
1533  std::vector<MeshWheel2> meshwheels2;
1534  std::vector<Minimass> minimass;
1535  std::vector<Node> nodes; /* Nodes and Nodes2 are unified in this parser */
1536  std::vector<Particle> particles;
1537  std::vector<Pistonprop> pistonprops;
1538  std::vector<Prop> props;
1539  std::vector<RailGroup> railgroups;
1540  std::vector<Ropable> ropables;
1541  std::vector<Rope> ropes;
1542  std::vector<Rotator> rotators;
1543  std::vector<Rotator2> rotators2;
1544  std::vector<Screwprop> screwprops;
1545  std::vector<Script> scripts;
1546  std::vector<Shock> shocks;
1547  std::vector<Shock2> shocks2;
1548  std::vector<Shock3> shocks3;
1549  std::vector<CollisionRange> set_collision_range;
1550  std::vector<SkeletonSettings> set_skeleton_settings;
1551  std::vector<SlideNode> slidenodes;
1552  std::vector<SoundSource> soundsources;
1553  std::vector<SoundSource2> soundsources2;
1554  std::vector<SpeedLimiter> speedlimiter;
1555  std::vector<Ogre::String> submesh_groundmodel;
1556  std::vector<Submesh> submeshes;
1557  std::vector<Tie> ties;
1558  std::vector<TorqueCurve> torquecurve;
1559  std::vector<TractionControl> tractioncontrol;
1560  std::vector<TransferCase> transfercase;
1561  std::vector<Trigger> triggers;
1562  std::vector<Turbojet> turbojets;
1563  std::vector<Turboprop2> turboprops2;
1564  std::vector<VideoCamera> videocameras;
1565  std::vector<WheelDetacher> wheeldetachers;
1566  std::vector<Wheel> wheels;
1567  std::vector<Wheel2> wheels2;
1568  std::vector<Wing> wings;
1569  };
1570 
1571  Document();
1572 
1576  bool rollon;
1580  bool rescuer;
1582  Ogre::String name;
1583 
1584  // File hash
1585  std::string hash;
1586 
1587  // Vehicle modules (caled 'sections' in truckfile doc)
1588  std::shared_ptr<Module> root_module;
1589  std::map< Ogre::String, std::shared_ptr<Module> > user_modules;
1590 
1591 };
1592 
1593 } // namespace RigDef
RigDef::DefaultMinimass::min_mass_Kg
float min_mass_Kg
minimum node mass in Kg
Definition: RigDef_File.h:798
RigDef::Hydro::OPTION_u_INPUT_AILERON_ELEVATOR
static const BitMask_t OPTION_u_INPUT_AILERON_ELEVATOR
Definition: RigDef_File.h:988
RigDef::Command2::contract_key
unsigned int contract_key
Definition: RigDef_File.h:771
RigDef::Keyword::SUBMESH
@ SUBMESH
RigDef::BeamDefaultsScale::BeamDefaultsScale
BeamDefaultsScale()
Definition: RigDef_File.h:643
RigDef::Animation::SOURCE_EVENT
static const BitMask64_t SOURCE_EVENT
Definition: RigDef_File.h:526
RigDef::Document::Module::scripts
std::vector< Script > scripts
Definition: RigDef_File.h:1545
RigDef::NodeOption::p_NO_PARTICLES
@ p_NO_PARTICLES
RigDef::Command2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:778
RigDef::Document::Module::globals
std::vector< Globals > globals
Definition: RigDef_File.h:1522
RigDef::InterAxle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:1010
RigDef::Engine::shift_up_rpm
float shift_up_rpm
Definition: RigDef_File.h:809
RigDef::Document::Module::set_collision_range
std::vector< CollisionRange > set_collision_range
Definition: RigDef_File.h:1549
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:1510
RigDef::Command2::extend_key
unsigned int extend_key
Definition: RigDef_File.h:772
RigDef::BeamOption::r_ROPE
@ r_ROPE
RigDef::Keyword::FILEFORMATVERSION
@ FILEFORMATVERSION
RigDef::Shock2::spring_out
float spring_out
spring value applied when shock extending
Definition: RigDef_File.h:1219
RigDef::Animation::SOURCE_ANGLE_OF_ATTACK
static const BitMask64_t SOURCE_ANGLE_OF_ATTACK
Definition: RigDef_File.h:500
RigDef::Trigger::OPTION_c_COMMAND_STYLE
static const BitMask_t OPTION_c_COMMAND_STYLE
Definition: RigDef_File.h:1379
RigDef::Animator::OPTION_PITCH
static const BitMask_t OPTION_PITCH
Definition: RigDef_File.h:570
RigDef::Hydro::OPTION_e_INPUT_ELEVATOR
static const BitMask_t OPTION_e_INPUT_ELEVATOR
Definition: RigDef_File.h:987
RigDef::Keyword::CAMERARAIL
@ CAMERARAIL
RigDef::Keyword::AUTHOR
@ AUTHOR
RigDef::Keyword::SOUNDSOURCES
@ SOUNDSOURCES
RigDef::FlexBodyWheel::rim_springiness
float rim_springiness
Definition: RigDef_File.h:919
RigDef::Shock3::Shock3
Shock3()
Definition: RigDef_File.cpp:126
RigDef::Shock3::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1254
RigDef::SpecialProp::DRIVER_SEAT
@ DRIVER_SEAT
RigDef::Airbrake::texcoord_x1
float texcoord_x1
Definition: RigDef_File.h:470
RigDef::SlideNode::CONSTRAINT_ATTACH_FOREIGN
static const BitMask_t CONSTRAINT_ATTACH_FOREIGN
Definition: RigDef_File.h:1267
RigDef::Animator::OPTION_DIFFLOCK
static const BitMask_t OPTION_DIFFLOCK
Definition: RigDef_File.h:583
RigDef::SlideNode::constraint_flags
BitMask_t constraint_flags
Definition: RigDef_File.h:1273
RigDef::Animation::SOURCE_FLAP
static const BitMask64_t SOURCE_FLAP
Definition: RigDef_File.h:501
RigDef::Engoption::min_idle_mixture
float min_idle_mixture
Definition: RigDef_File.h:828
RigDef::Animation::SOURCE_VERTICAL_VELOCITY
static const BitMask64_t SOURCE_VERTICAL_VELOCITY
Definition: RigDef_File.h:496
RigDef::Wing::tex_coords
float tex_coords[8]
Definition: RigDef_File.h:1470
RigDef::Trigger::OPTION_A_INV_TRIGGER_BLOCKER
static const BitMask_t OPTION_A_INV_TRIGGER_BLOCKER
Definition: RigDef_File.h:1383
RigDef::MinimassOption
MinimassOption
Definition: RigDef_File.h:236
RigDef::MaterialFlareBinding::material_name
Ogre::String material_name
Definition: RigDef_File.h:1041
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:1249
RigDef::Prop::DashboardSpecial::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1096
RigDef::WheelBraking::FOOT_ONLY
@ FOOT_ONLY
RigDef::Document::Module::flares3
std::vector< Flare3 > flares3
Definition: RigDef_File.h:1517
RigDef::Keyword::ANTILOCKBRAKES
@ ANTILOCKBRAKES
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:479
RigDef::Keyword::ENGINE
@ ENGINE
RigDef::VideoCamera::left_node
Node::Ref left_node
Definition: RigDef_File.h:1427
RigDef::Beam::extension_break_limit
float extension_break_limit
Definition: RigDef_File.h:635
RigDef::NodeOption::b_EXTRA_BUOYANCY
@ b_EXTRA_BUOYANCY
RigDef::Turboprop2::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:1418
RigDef::Cab::OPTION_p_10xTOUGHER
static const BitMask_t OPTION_p_10xTOUGHER
Definition: RigDef_File.h:714
RigDef::BaseWheel2::rim_radius
float rim_radius
Definition: RigDef_File.h:436
RigDef::Fusedrag::Fusedrag
Fusedrag()
Definition: RigDef_File.cpp:80
RigDef::Wheel
Definition: RigDef_File.h:1444
RigDef::CameraRail::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:735
RigDef::Keyword::FORSET
@ FORSET
RigDef::BeamDefaults::GetScaledSpringiness
float GetScaledSpringiness()
Definition: RigDef_File.h:671
RigDef::SlideNode::_railgroup_id_set
bool _railgroup_id_set
Definition: RigDef_File.h:1280
RigDef::GuiSettings
Definition: RigDef_File.h:949
RigDef::Keyword::SHOCKS
@ SHOCKS
RigDef::Document::Module::screwprops
std::vector< Screwprop > screwprops
Definition: RigDef_File.h:1544
RigDef::SlideNode::tolerance
float tolerance
Definition: RigDef_File.h:1278
RigDef::Turboprop2::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:1417
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:484
RigDef::Rope::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1144
RigDef::Flexbody::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:913
RigDef::ExtCamera::node
Node::Ref node
Definition: RigDef_File.h:862
RigDef::InterAxle::a2
int a2
Definition: RigDef_File.h:1009
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:779
RigDef::Hydro::inertia
Inertia inertia
Definition: RigDef_File.h:1000
RigDef::Command2::option_f_not_faster
bool option_f_not_faster
Definition: RigDef_File.h:785
RigDef::Prop
Definition: RigDef_File.h:1085
RigDef::WheelDetacher::wheel_id
int wheel_id
Definition: RigDef_File.h:1463
Keyword
Keyword
Definition: Bench_TruckParser_IdentifyKeyword.cpp:6
RigDef::Keyword::ROTATORS
@ ROTATORS
RigDef::Keyword::WINGS
@ WINGS
RigDef::Keyword::DEFAULT_SKIN
@ DEFAULT_SKIN
RigDef::BeamDefaultsScale::breaking_threshold_constant
float breaking_threshold_constant
Definition: RigDef_File.h:653
RigDef::NodeDefaults::options
unsigned int options
Bit flags.
Definition: RigDef_File.h:1064
RigDef::Tie::group
int group
Definition: RigDef_File.h:1334
RigDef::Animator::OPTION_SHIFT_BACK_FORTH
static const BitMask_t OPTION_SHIFT_BACK_FORTH
Definition: RigDef_File.h:579
RigDef::Keyword::COMMANDS2
@ COMMANDS2
RigDef::TractionControl::fade_speed
float fade_speed
Definition: RigDef_File.h:1360
RigDef::Document::Module::hooks
std::vector< Hook > hooks
Definition: RigDef_File.h:1526
RigDef::Hydro::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:1001
RigDef::Prop::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1116
RigDef::Camera::left_node
Node::Ref left_node
Definition: RigDef_File.h:730
RigDef::Animation::SOURCE_AUTOSHIFTERLIN
static const BitMask64_t SOURCE_AUTOSHIFTERLIN
Definition: RigDef_File.h:529
RigDef::Engine::neutral_gear_ratio
float neutral_gear_ratio
Definition: RigDef_File.h:813
RigDef::Brakes::default_braking_force
float default_braking_force
Definition: RigDef_File.h:706
RigDef::Command2::option_o_1press_center
bool option_o_1press_center
Definition: RigDef_File.h:787
RigDef::SpecialProp
SpecialProp
Definition: RigDef_File.h:191
RigDef::Animation::MotorSource::SOURCE_AERO_PITCH
static const BitMask_t SOURCE_AERO_PITCH
Definition: RigDef_File.h:485
RigDef::Cinecam::position
Ogre::Vector3 position
Definition: RigDef_File.h:745
RigDef::Document::Module::fusedrag
std::vector< Fusedrag > fusedrag
Definition: RigDef_File.h:1521
RigDef::Document::Module::brakes
std::vector< Brakes > brakes
Definition: RigDef_File.h:1498
RigDef::Keyword::HIDEINCHOOSER
@ HIDEINCHOOSER
RigDef::Cinecam::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:751
RigDef::FlaregroupNoImport::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:899
RigDef::VideoCamera::min_clip_distance
float min_clip_distance
Definition: RigDef_File.h:1436
RigDef::Animation::lower_limit
float lower_limit
Definition: RigDef_File.h:546
RigDef::Wing::control_surface
WingControlSurface control_surface
Definition: RigDef_File.h:1471
RigDef::Rotator::needs_engine
bool needs_engine
Definition: RigDef_File.h:1159
RigDef::Shock2::OPTION_s_SOFT_BUMP_BOUNDS
static const BitMask_t OPTION_s_SOFT_BUMP_BOUNDS
Definition: RigDef_File.h:1210
RigDef::CollisionRange
Definition: RigDef_File.h:759
RigDef::ManagedMaterial::diffuse_map
Ogre::String diffuse_map
Definition: RigDef_File.h:1033
RigDef::Hook::option_hookgroup
int option_hookgroup
Definition: RigDef_File.h:968
RigDef::TractionControl::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:1363
RigDef::Animation::MotorSource::motor
unsigned int motor
Definition: RigDef_File.h:491
RigDef::Inertia::start_function
Ogre::String start_function
Definition: RigDef_File.h:451
RigDef::Engturbo
Definition: RigDef_File.h:832
RigDef::VideoCamera::texture_width
unsigned int texture_width
Definition: RigDef_File.h:1434
RigDef::Flare2::type
RoR::FlareType type
Definition: RigDef_File.h:883
RigDef::Animator::long_limit
float long_limit
Definition: RigDef_File.h:593
RigDef::Keyword::MINIMASS
@ MINIMASS
RoR::VCAM_ROLE_INVALID
@ VCAM_ROLE_INVALID
Definition: Application.h:389
RigDef::Keyword::ANIMATORS
@ ANIMATORS
RigDef::Keyword::TRACTIONCONTROL
@ TRACTIONCONTROL
RigDef::Author
Definition: RigDef_File.h:612
RigDef::Keyword::ROPES
@ ROPES
RigDef::Engoption::post_shift_time
float post_shift_time
Seconds.
Definition: RigDef_File.h:824
RigDef::Keyword::GUISETTINGS
@ GUISETTINGS
RigDef::Shock::OPTION_R_ACTIVE_RIGHT
static const BitMask_t OPTION_R_ACTIVE_RIGHT
Definition: RigDef_File.h:1191
RoR::FlareType::NONE
@ NONE
RigDef::Animation::MotorSource::SOURCE_AERO_RPM
static const BitMask_t SOURCE_AERO_RPM
Definition: RigDef_File.h:483
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:1198
RigDef_Node.h
RigDef::Keyword::ASSETPACKS
@ ASSETPACKS
RigDef::Document::rescuer
bool rescuer
Definition: RigDef_File.h:1580
RigDef::NodeDefaults::surface
float surface
Definition: RigDef_File.h:1063
RigDef::SoundSource2::mode
int mode
A special constant or cinecam index.
Definition: RigDef_File.h:1295
RigDef::Airbrake::texcoord_y1
float texcoord_y1
Definition: RigDef_File.h:472
RigDef::SoundSource2::MODE_ALWAYS
static const int MODE_ALWAYS
Definition: RigDef_File.h:1292
RigDef::Animator::OPTION_SEQUENTIAL_SHIFT
static const BitMask_t OPTION_SEQUENTIAL_SHIFT
Definition: RigDef_File.h:580
RigDef::Engoption::shift_time
float shift_time
Seconds.
Definition: RigDef_File.h:822
RigDef::Animation
Definition: RigDef_File.h:477
RigDef::AntiLockBrakes::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:608
RigDef::Document::Module::wheels
std::vector< Wheel > wheels
Definition: RigDef_File.h:1566
RigDef::Command2::max_extension
float max_extension
Definition: RigDef_File.h:770
RigDef::Keyword::WHEELDETACHERS
@ WHEELDETACHERS
RigDef::Animator::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:589
RigDef::Animator::OPTION_ALTIMETER_1K
static const BitMask_t OPTION_ALTIMETER_1K
Definition: RigDef_File.h:565
RigDef::HydroOption::y_INPUT_InvAILERON_RUDDER
@ y_INPUT_InvAILERON_RUDDER
RigDef::Engine::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:814
RigDef::Tie::auto_shorten_rate
float auto_shorten_rate
Definition: RigDef_File.h:1327
RigDef::MaterialFlareBinding::flare_number
unsigned int flare_number
Definition: RigDef_File.h:1040
RigDef::Keyword::CAB
@ CAB
RigDef::Tie::min_length
float min_length
Definition: RigDef_File.h:1328
RigDef::Keyword::TURBOPROPS
@ TURBOPROPS
RigDef::Keyword::LOCKGROUP_DEFAULT_NOLOCK
@ LOCKGROUP_DEFAULT_NOLOCK
RigDef::Turboprop2::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1420
RigDef::Flare3
Definition: RigDef_File.h:891
RigDef::Prop::DashboardSpecial::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:1099
RigDef::FlaregroupNoImport::type
RoR::FlareType type
Definition: RigDef_File.h:898
RigDef::SkeletonSettings
Definition: RigDef_File.h:1258
RigDef::SpeedLimiter::is_enabled
bool is_enabled
Definition: RigDef_File.h:1301
RigDef::Engine::global_gear_ratio
float global_gear_ratio
Definition: RigDef_File.h:811
RigDef::Prop::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:1120
RigDef::Document::Module::pistonprops
std::vector< Pistonprop > pistonprops
Definition: RigDef_File.h:1537
RigDef::Texcoord::node
Node::Ref node
Definition: RigDef_File.h:1315
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:1248
RigDef::RailGroup
Definition: RigDef_File.h:1126
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:1529
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:578
RigDef::VideoCamera::camera_mode
int camera_mode
Definition: RigDef_File.h:1439
RigDef::SpecialProp::AERO_PROP_BLADE
@ AERO_PROP_BLADE
RigDef::Keyword::END
@ END
RigDef::Animation::MODE_BOUNCE
static const BitMask_t MODE_BOUNCE
Definition: RigDef_File.h:542
RigDef::Hook::flag_auto_lock
bool flag_auto_lock
Definition: RigDef_File.h:973
RigDef::Engturbo::param3
float param3
Definition: RigDef_File.h:841
RigDef::Document::Module::shocks2
std::vector< Shock2 > shocks2
Definition: RigDef_File.h:1547
RigDef::Animation::SOURCE_TACHO
static const BitMask64_t SOURCE_TACHO
Definition: RigDef_File.h:509
RigDef::Document::Module::commands2
std::vector< Command2 > commands2
Definition: RigDef_File.h:1503
RigDef::Fusedrag::approximate_width
float approximate_width
Definition: RigDef_File.h:932
RigDef::Assetpack::filename
std::string filename
Definition: RigDef_File.h:406
RigDef::AeroAnimator::OPTION_PITCH
static const BitMask_t OPTION_PITCH
Definition: RigDef_File.h:397
RigDef::Command2::detacher_group
int detacher_group
Definition: RigDef_File.h:780
RigDef::Prop::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:1117
RigDef::Fusedrag::autocalc
bool autocalc
Definition: RigDef_File.h:929
RigDef::NodeDefaults::volume
float volume
Definition: RigDef_File.h:1062
RigDef::Engturbo::version
int version
Definition: RigDef_File.h:836
RigDef::ManagedMaterial::damaged_diffuse_map
Ogre::String damaged_diffuse_map
Definition: RigDef_File.h:1034
RigDef::Engoption::type
EngineType type
Definition: RigDef_File.h:820
RigDef::Animator::OPTION_CLUTCH
static const BitMask_t OPTION_CLUTCH
Definition: RigDef_File.h:573
RigDef::Rotator::rate
float rate
Definition: RigDef_File.h:1153
RigDef::SoundSource2::MODE_EXTERIOR
static const int MODE_EXTERIOR
Definition: RigDef_File.h:1293
RigDef::Document::hash
std::string hash
Definition: RigDef_File.h:1585
RigDef::Document::Module::wings
std::vector< Wing > wings
Definition: RigDef_File.h:1568
RigDef::Wheel::radius
float radius
Definition: RigDef_File.h:1446
RigDef::BeamDefaults::deformation_threshold
float deformation_threshold
Definition: RigDef_File.h:693
RigDef::Screwprop::back_node
Node::Ref back_node
Definition: RigDef_File.h:1172
RigDef::NodeOption::e_TERRAIN_EDIT_POINT
@ e_TERRAIN_EDIT_POINT
RigDef::Animator::OPTION_FLAP
static const BitMask_t OPTION_FLAP
Definition: RigDef_File.h:567
RigDef::Particle::particle_system_name
Ogre::String particle_system_name
Definition: RigDef_File.h:1071
RigDef::Camera
Definition: RigDef_File.h:726
RigDef::Hydro
Definition: RigDef_File.h:979
RigDef::Shock::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1201
RigDef::SlideNode::CONSTRAINT_ATTACH_SELF
static const BitMask_t CONSTRAINT_ATTACH_SELF
Definition: RigDef_File.h:1268
RigDef::CollisionBox
Definition: RigDef_File.h:754
RigDef::SlideNode::break_force
float break_force
Definition: RigDef_File.h:1277
RigDef::Animator::OPTION_ANGLE_OF_ATTACK
static const BitMask_t OPTION_ANGLE_OF_ATTACK
Definition: RigDef_File.h:566
RigDef::Animation::SOURCE_PARKING
static const BitMask64_t SOURCE_PARKING
Definition: RigDef_File.h:511
RigDef::Command2::shorten_rate
float shorten_rate
Definition: RigDef_File.h:767
RigDef::Ropable
Definition: RigDef_File.h:1132
RigDef::Trigger::longbound_trigger_action
int longbound_trigger_action
Definition: RigDef_File.h:1398
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:1279
RigDef::BaseMeshWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:425
RigDef::Document::forward_commands
bool forward_commands
Definition: RigDef_File.h:1577
RigDef::SoundSource::node
Node::Ref node
Definition: RigDef_File.h:1286
RigDef::Animation::SOURCE_BOAT_RUDDER
static const BitMask64_t SOURCE_BOAT_RUDDER
Definition: RigDef_File.h:519
RigDef::Wing::chord_point
float chord_point
Definition: RigDef_File.h:1472
RigDef::Shock2::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1215
RigDef::BaseWheel::width
float width
Definition: RigDef_File.h:411
RigDef::Flexbody::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:908
RigDef::Airbrake
Definition: RigDef_File.h:458
RigDef::Keyword::NODES2
@ NODES2
SimConstants.h
RigDef::Document::Module::cruisecontrol
std::vector< CruiseControl > cruisecontrol
Definition: RigDef_File.h:1504
RigDef::NodeOption::x_EXHAUST_POINT
@ x_EXHAUST_POINT
RigDef::KeywordToString
const char * KeywordToString(Keyword keyword)
Definition: RigDef_File.cpp:162
RigDef::Document::Module::ropes
std::vector< Rope > ropes
Definition: RigDef_File.h:1541
RigDef::Flexbody::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:907
RigDef::Keyword::TEXCOORDS
@ TEXCOORDS
RigDef::Tie::options
BitMask_t options
Definition: RigDef_File.h:1330
RigDef::Animator::OPTION_AIR_BRAKE
static const BitMask_t OPTION_AIR_BRAKE
Definition: RigDef_File.h:568
RigDef::Keyword::ENGOPTION
@ ENGOPTION
RigDef::Flare2
Definition: RigDef_File.h:877
RigDef::WingControlSurface::n_NONE
@ n_NONE
RigDef::Help
Definition: RigDef_File.h:955
RigDef::Shock::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1192
RigDef::BeamOption
BeamOption
Definition: RigDef_File.h:317
RigDef::DifferentialType
DifferentialType
Definition: RigDef_File.h:226
RigDef::Shock::OPTION_L_ACTIVE_LEFT
static const BitMask_t OPTION_L_ACTIVE_LEFT
Definition: RigDef_File.h:1190
RigDef::SlideNode::rail_node_ranges
std::vector< Node::Range > rail_node_ranges
Definition: RigDef_File.h:1272
RigDef::GuiSettings::key
std::string key
Definition: RigDef_File.h:951
RigDef::Keyword::TURBOPROPS2
@ TURBOPROPS2
RigDef::Animation::SOURCE_PITCH
static const BitMask64_t SOURCE_PITCH
Definition: RigDef_File.h:504
RigDef::Document::Module::help
std::vector< Help > help
Definition: RigDef_File.h:1525
RigDef::BeamOption::s_SUPPORT
@ s_SUPPORT
RigDef::Cinecam::spring
float spring
Definition: RigDef_File.h:747
RigDef::Document::Module::airbrakes
std::vector< Airbrake > airbrakes
Definition: RigDef_File.h:1491
RigDef::Animation::MotorSource::SOURCE_AERO_STATUS
static const BitMask_t SOURCE_AERO_STATUS
Definition: RigDef_File.h:486
RigDef::Animator::OPTION_BOAT_THROTTLE
static const BitMask_t OPTION_BOAT_THROTTLE
Definition: RigDef_File.h:585
RigDef::AeroAnimator
Definition: RigDef_File.h:392
RigDef::Trigger
Definition: RigDef_File.h:1376
RigDef::CollisionBox::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:756
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:1252
RigDef::Document::Module::nodes
std::vector< Node > nodes
Definition: RigDef_File.h:1535
RigDef::Airbrake::lift_coefficient
float lift_coefficient
Definition: RigDef_File.h:474
RigDef::TieOption
TieOption
Definition: RigDef_File.h:281
RigDef::Keyword::TIES
@ TIES
RigDef::Keyword::RESCUER
@ RESCUER
RigDef::Engturbo::param8
float param8
Definition: RigDef_File.h:846
RigDef::BeamDefaults::springiness
float springiness
Definition: RigDef_File.h:691
RigDef::Hydro::OPTION_n_INPUT_NORMAL
static const BitMask_t OPTION_n_INPUT_NORMAL
Definition: RigDef_File.h:995
RigDef::WheelPropulsion::FORWARD
@ FORWARD
RoR::FlareType::HEADLIGHT
@ HEADLIGHT
RigDef::Keyword::IMPORTCOMMANDS
@ IMPORTCOMMANDS
RigDef::Command2::description
Ogre::String description
Definition: RigDef_File.h:773
RigDef::TriggerOption
TriggerOption
Definition: RigDef_File.h:302
RigDef::Document::Module::assetpacks
std::vector< Assetpack > assetpacks
Definition: RigDef_File.h:1494
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:881
RigDef::Animation::SOURCE_ALTIMETER_10K
static const BitMask64_t SOURCE_ALTIMETER_10K
Definition: RigDef_File.h:498
RigDef::Pistonprop
Definition: RigDef_File.h:1074
RigDef::TieOption::s_NO_SELF_LOCK
@ s_NO_SELF_LOCK
RigDef::Trigger::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1390
RigDef::Axle::wheels
Node::Ref wheels[2][2]
Definition: RigDef_File.h:623
RigDef::Shock3Option::n_DUMMY
@ n_DUMMY
RigDef::WheelBraking::FOOT_HAND_SKID_RIGHT
@ FOOT_HAND_SKID_RIGHT
RigDef::Rotator::spin_right_key
unsigned int spin_right_key
Definition: RigDef_File.h:1155
RigDef::Document::rollon
bool rollon
Definition: RigDef_File.h:1576
RigDef::Keyword::MESHWHEELS
@ MESHWHEELS
RigDef::Screwprop::power
float power
Definition: RigDef_File.h:1174
RigDef::BeamDefaults
Definition: RigDef_File.h:656
RigDef::Flare2::blink_delay_milis
int blink_delay_milis
Definition: RigDef_File.h:886
RigDef::Document::Module::slidenodes
std::vector< SlideNode > slidenodes
Definition: RigDef_File.h:1551
RigDef::Document::Module
Definition: RigDef_File.h:1484
RigDef::Cab::OPTION_u_INVULNERABLE
static const BitMask_t OPTION_u_INVULNERABLE
Definition: RigDef_File.h:715
RigDef::Flexbody::animations
std::list< Animation > animations
Definition: RigDef_File.h:910
RigDef::EngineType::e_ECAR
@ e_ECAR
RigDef::Shock3Option
Shock3Option
Definition: RigDef_File.h:364
RigDef::Shock::detacher_group
int detacher_group
Definition: RigDef_File.h:1202
RigDef::TriggerOption::c_COMMAND_STYLE
@ c_COMMAND_STYLE
trigger is set with commandstyle boundaries instead of shocksytle
RigDef::FlaregroupNoImport
Definition: RigDef_File.h:896
RoR::FlareType
FlareType
Definition: SimData.h:228
RigDef::Keyword::FLAREGROUPS_NO_IMPORT
@ FLAREGROUPS_NO_IMPORT
RigDef::Keyword::HELP
@ HELP
RigDef::VideoCamera::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:1432
RigDef::Airbrake::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:464
RigDef::FlexBodyWheel
Definition: RigDef_File.h:916
RigDef::Turboprop2::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:1419
RigDef::SlideNode::_spring_rate_set
bool _spring_rate_set
Definition: RigDef_File.h:1276
RigDef::Tie::detacher_group
int detacher_group
Definition: RigDef_File.h:1333
RigDef::TriggerOption::B_TRIGGER_BLOCKER
@ B_TRIGGER_BLOCKER
Blocker that enable/disable other triggers.
RigDef::Engturbo::param6
float param6
Definition: RigDef_File.h:844
RigDef::Animator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:582
RigDef::Particle
Definition: RigDef_File.h:1067
RigDef::Keyword::RIGIDIFIERS
@ RIGIDIFIERS
RigDef::ManagedMaterialType::MESH_TRANSPARENT
@ MESH_TRANSPARENT
RigDef::Engine::shift_down_rpm
float shift_down_rpm
Definition: RigDef_File.h:808
RigDef::CabOption::b_BUOYANT
@ b_BUOYANT
RigDef::AntiLockBrakes::AntiLockBrakes
AntiLockBrakes()
Definition: RigDef_File.cpp:55
RigDef::Texcoord::v
float v
Definition: RigDef_File.h:1317
RigDef::Animation::MODE_EVENT_LOCK
static const BitMask_t MODE_EVENT_LOCK
Definition: RigDef_File.h:543
RigDef::NodeDefaults::friction
float friction
Definition: RigDef_File.h:1061
RigDef::Animator::OPTION_SPEEDO
static const BitMask_t OPTION_SPEEDO
Definition: RigDef_File.h:574
RigDef::CameraRail
Definition: RigDef_File.h:733
RigDef::Animator::detacher_group
int detacher_group
Definition: RigDef_File.h:597
RigDef::CabOption::D_CONTACT_BUOYANT
@ D_CONTACT_BUOYANT
RigDef::Document::Module::axles
std::vector< Axle > axles
Definition: RigDef_File.h:1496
RigDef::ShadowOptions
Definition: RigDef_File.h:1182
RigDef::Keyword::FILEINFO
@ FILEINFO
RigDef::Keyword::SET_NODE_DEFAULTS
@ SET_NODE_DEFAULTS
RigDef::Engoption::braking_torque
float braking_torque
Definition: RigDef_File.h:829
RigDef::Keyword::SET_MANAGEDMATERIALS_OPTIONS
@ SET_MANAGEDMATERIALS_OPTIONS
RigDef::SkeletonSettings::beam_thickness_meters
float beam_thickness_meters
Definition: RigDef_File.h:1261
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:904
RigDef::WheelPropulsion
WheelPropulsion
Definition: RigDef_File.h:251
RigDef::BeamDefaults::breaking_threshold
float breaking_threshold
Definition: RigDef_File.h:694
RigDef::Keyword::AIRBRAKES
@ AIRBRAKES
RigDef::ManagedMaterialType
ManagedMaterialType
Definition: RigDef_File.h:207
RigDef::Document::Module::author
std::vector< Author > author
Definition: RigDef_File.h:1495
RigDef::Animator::OPTION_BRAKES
static const BitMask_t OPTION_BRAKES
Definition: RigDef_File.h:571
RigDef::Animator::short_limit
float short_limit
Definition: RigDef_File.h:592
RigDef::Animation::SOURCE_SHIFTERLIN
static const BitMask64_t SOURCE_SHIFTERLIN
Definition: RigDef_File.h:515
RigDef::SlideNode::_tolerance_set
bool _tolerance_set
Definition: RigDef_File.h:1278
RigDef::TriggerOption::t_CONTINUOUS
@ t_CONTINUOUS
this trigger sends values between 0 and 1
RigDef::Wheel::damping
float damping
Definition: RigDef_File.h:1448
RigDef::Animation::SOURCE_AIR_RUDDER
static const BitMask64_t SOURCE_AIR_RUDDER
Definition: RigDef_File.h:524
RigDef::Shock2::long_bound
float long_bound
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1224
RigDef::WingControlSurface
WingControlSurface
Definition: RigDef_File.h:258
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:1489
RigDef::Keyword::SET_COLLISION_RANGE
@ SET_COLLISION_RANGE
RigDef::BeamDefaults::_is_plastic_deform_coef_user_defined
bool _is_plastic_deform_coef_user_defined
Definition: RigDef_File.h:699
RigDef::Rotator::axis_nodes
Node::Ref axis_nodes[2]
Definition: RigDef_File.h:1150
RigDef::Trigger::options
BitMask_t options
Definition: RigDef_File.h:1393
RigDef::BeamDefaultsScale
Definition: RigDef_File.h:641
RigDef::Animation::SOURCE_AIRSPEED
static const BitMask64_t SOURCE_AIRSPEED
Definition: RigDef_File.h:495
RigDef::Keyword::EXTCAMERA
@ EXTCAMERA
RigDef::NodeDefaults
Definition: RigDef_File.h:1056
RigDef::Hook
Definition: RigDef_File.h:960
RigDef::Hydro::options
BitMask_t options
Definition: RigDef_File.h:999
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:1082
RigDef::Document::Module::submeshes
std::vector< Submesh > submeshes
Definition: RigDef_File.h:1556
RigDef::Trigger::OPTION_B_TRIGGER_BLOCKER
static const BitMask_t OPTION_B_TRIGGER_BLOCKER
Definition: RigDef_File.h:1382
RigDef::AntiLockBrakes
Definition: RigDef_File.h:600
RigDef::InterAxle::a1
int a1
Definition: RigDef_File.h:1008
RigDef::Tie::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1332
RigDef::Keyword::SLIDENODE_CONNECT_INSTANTLY
@ SLIDENODE_CONNECT_INSTANTLY
RigDef::Document::Module::guisettings
std::vector< GuiSettings > guisettings
Definition: RigDef_File.h:1524
RigDef::WheelPropulsion::BACKWARD
@ BACKWARD
RigDef::Animation::SOURCE_ELEVATOR
static const BitMask64_t SOURCE_ELEVATOR
Definition: RigDef_File.h:523
RigDef::TorqueCurve::Sample
Definition: RigDef_File.h:1339
RigDef::Ropable::has_multilock
bool has_multilock
Definition: RigDef_File.h:1136
RigDef::Ropable::node
Node::Ref node
Definition: RigDef_File.h:1134
RigDef::TractionControl::pulse_per_sec
float pulse_per_sec
Definition: RigDef_File.h:1361
RigDef::TorqueCurve::predefined_func_name
Ogre::String predefined_func_name
Definition: RigDef_File.h:1351
RigDef::Animation::SOURCE_ROLL
static const BitMask64_t SOURCE_ROLL
Definition: RigDef_File.h:503
RigDef::Animation::MotorSource::SOURCE_GEAR_FORWARD
static const BitMask_t SOURCE_GEAR_FORWARD
Definition: RigDef_File.h:488
RigDef::Animator::OPTION_INVISIBLE
static const BitMask_t OPTION_INVISIBLE
Definition: RigDef_File.h:560
RigDef::Shock3::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1241
RigDef::Shock2::damp_out
float damp_out
damping value applied when shock extending
Definition: RigDef_File.h:1220
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:823
RigDef::Shock3::spring_out
float spring_out
Spring value applied when shock extending.
Definition: RigDef_File.h:1242
RigDef::Brakes
Definition: RigDef_File.h:704
RigDef::Command2
Definition: RigDef_File.h:764
RigDef::Tie::max_stress
float max_stress
Definition: RigDef_File.h:1331
RigDef::ShockOption::L_ACTIVE_LEFT
@ L_ACTIVE_LEFT
RigDef::SlideNode::max_attach_dist
float max_attach_dist
Definition: RigDef_File.h:1281
RigDef::Engturbo::param9
float param9
Definition: RigDef_File.h:847
RigDef::Animation::MODE_ROTATION_Y
static const BitMask_t MODE_ROTATION_Y
Definition: RigDef_File.h:535
RigDef::SoundSource2
Definition: RigDef_File.h:1290
RigDef::CabOption
CabOption
Definition: RigDef_File.h:289
RigDef::AeroAnimator::OPTION_RPM
static const BitMask_t OPTION_RPM
Definition: RigDef_File.h:395
RigDef::Keyword::WHEELS
@ WHEELS
RigDef::Document::disable_default_sounds
bool disable_default_sounds
Definition: RigDef_File.h:1581
RigDef::TriggerOption::i_INVISIBLE
@ i_INVISIBLE
invisible
RigDef::Particle::emitter_node
Node::Ref emitter_node
Definition: RigDef_File.h:1069
RigDef::Author::name
Ogre::String name
Definition: RigDef_File.h:616
RigDef::Animation::SOURCE_AILERON
static const BitMask64_t SOURCE_AILERON
Definition: RigDef_File.h:522
RigDef::Hydro::OPTION_g_INPUT_ELEVATOR_RUDDER
static const BitMask_t OPTION_g_INPUT_ELEVATOR_RUDDER
Definition: RigDef_File.h:992
RigDef::Command2::option_r_rope
bool option_r_rope
Definition: RigDef_File.h:783
RigDef::VideoCamera::camera_role
RoR::VideoCamRole camera_role
Definition: RigDef_File.h:1438
RigDef::BaseMeshWheel::rim_radius
float rim_radius
Definition: RigDef_File.h:428
RigDef::FlexBodyWheel::tyre_mesh_name
Ogre::String tyre_mesh_name
Definition: RigDef_File.h:922
RigDef::Keyword::FLARES2
@ FLARES2
RigDef::Fileinfo
Definition: RigDef_File.h:870
RigDef::Document::Module::meshwheels2
std::vector< MeshWheel2 > meshwheels2
Definition: RigDef_File.h:1533
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:1197
RigDef::Document::Module::set_skeleton_settings
std::vector< SkeletonSettings > set_skeleton_settings
Definition: RigDef_File.h:1550
RigDef::Shock2::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1211
RigDef::BeamDefaults::damping_constant
float damping_constant
Definition: RigDef_File.h:692
RigDef::Keyword::SHOCKS2
@ SHOCKS2
RigDef::BaseMeshWheel::spring
float spring
Definition: RigDef_File.h:430
RigDef::VideoCamera::alt_reference_node
Node::Ref alt_reference_node
Definition: RigDef_File.h:1429
RigDef::AeroAnimator::flags
BitMask_t flags
Definition: RigDef_File.h:400
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:1195
RigDef::Fileinfo::unique_id
Ogre::String unique_id
Definition: RigDef_File.h:872
RigDef::Engoption::max_idle_mixture
float max_idle_mixture
Definition: RigDef_File.h:827
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:698
RigDef::Document::Module::turbojets
std::vector< Turbojet > turbojets
Definition: RigDef_File.h:1562
RigDef::Keyword::NODECOLLISION
@ NODECOLLISION
RigDef::Command2::option_p_1press
bool option_p_1press
Definition: RigDef_File.h:786
RigDef::Document::Module::ties
std::vector< Tie > ties
Definition: RigDef_File.h:1557
RigDef::Command2::inertia
Inertia inertia
Definition: RigDef_File.h:774
RigDef::ManagedMaterial::type
ManagedMaterialType type
Definition: RigDef_File.h:1031
RigDef::Animation::MODE_AUTO_ANIMATE
static const BitMask_t MODE_AUTO_ANIMATE
Definition: RigDef_File.h:540
RigDef::Command2::plays_sound
bool plays_sound
Definition: RigDef_File.h:777
RigDef::ManagedMaterial::options
ManagedMaterialsOptions options
Definition: RigDef_File.h:1032
RigDef::ManagedMaterial::name
Ogre::String name
Definition: RigDef_File.h:1030
RigDef::Prop::special
SpecialProp special
Definition: RigDef_File.h:1121
RigDef::ManagedMaterialType::FLEXMESH_STANDARD
@ FLEXMESH_STANDARD
RigDef::Keyword::CONTACTERS
@ CONTACTERS
RigDef::Screwprop::top_node
Node::Ref top_node
Definition: RigDef_File.h:1173
RigDef::Document::import_commands
bool import_commands
Definition: RigDef_File.h:1578
RigDef::AntiLockBrakes::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:609
RigDef::Flare2::material_name
Ogre::String material_name
Definition: RigDef_File.h:888
RigDef::Wheel2::rim_damping
float rim_damping
Definition: RigDef_File.h:1456
RigDef::BaseWheel::mass
float mass
Definition: RigDef_File.h:418
RigDef::Keyword::TRANSFERCASE
@ TRANSFERCASE
RigDef::AeroAnimator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:396
RigDef::Camera::back_node
Node::Ref back_node
Definition: RigDef_File.h:729
RigDef::NodeOption::y_EXHAUST_DIRECTION
@ y_EXHAUST_DIRECTION
RigDef::Document::Module::contacters
std::vector< Node::Ref > contacters
Definition: RigDef_File.h:1505
RigDef::Keyword::BEAMS
@ BEAMS
RigDef::Document::Module::cinecam
std::vector< Cinecam > cinecam
Definition: RigDef_File.h:1502
RigDef::Keyword::TRIGGERS
@ TRIGGERS
RigDef::Pistonprop::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:1079
DEFAULT_MINIMASS
static const float DEFAULT_MINIMASS
minimum node mass in Kg
Definition: SimConstants.h:54
RigDef::ManagedMaterialType::INVALID
@ INVALID
RigDef::Keyword::MANAGEDMATERIALS
@ MANAGEDMATERIALS
RigDef::Flare2::dashboard_link
std::string dashboard_link
Only 'd' type flares.
Definition: RigDef_File.h:885
RigDef::Document::Module::wheels2
std::vector< Wheel2 > wheels2
Definition: RigDef_File.h:1567
RigDef::Engoption
Definition: RigDef_File.h:817
RigDef::Shock2::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1209
RigDef::Animator::OPTION_LONG_LIMIT
static const BitMask_t OPTION_LONG_LIMIT
Definition: RigDef_File.h:587
BitFlags.h
Bit operations.
RigDef::Turbojet::front_node
Node::Ref front_node
Definition: RigDef_File.h:1403
RigDef::Trigger::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1378
RigDef::Turbojet::back_diameter
float back_diameter
Definition: RigDef_File.h:1410
RigDef::Beam::_has_extension_break_limit
bool _has_extension_break_limit
Definition: RigDef_File.h:636
RigDef::Animation::SOURCE_BOAT_THROTTLE
static const BitMask64_t SOURCE_BOAT_THROTTLE
Definition: RigDef_File.h:520
RigDef::CruiseControl::min_speed
float min_speed
Definition: RigDef_File.h:792
RigDef::Author::_has_forum_account
bool _has_forum_account
Definition: RigDef_File.h:618
RigDef::Turboprop2::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:1421
RigDef::AntiLockBrakes::min_speed
unsigned int min_speed
Definition: RigDef_File.h:605
RigDef::Animator::OPTION_ACCEL
static const BitMask_t OPTION_ACCEL
Definition: RigDef_File.h:572
RigDef::Keyword::END_COMMENT
@ END_COMMENT
RigDef::VideoCamera::texture_height
unsigned int texture_height
Definition: RigDef_File.h:1435
RigDef::SlideNode::spring_rate
float spring_rate
Definition: RigDef_File.h:1276
RigDef::Globals::dry_mass
float dry_mass
Definition: RigDef_File.h:939
RigDef::Document::Module::transfercase
std::vector< TransferCase > transfercase
Definition: RigDef_File.h:1560
RigDef::Wheel2::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1458
RigDef::Shock2
Definition: RigDef_File.h:1205
RigDef::Animation::SOURCE_DIFFLOCK
static const BitMask64_t SOURCE_DIFFLOCK
Definition: RigDef_File.h:518
SimData.h
Core data structures for simulation; Everything affected by by either physics, network or user intera...
RigDef::Animation::SOURCE_AIR_BRAKE
static const BitMask64_t SOURCE_AIR_BRAKE
Definition: RigDef_File.h:502
RigDef::NodeOption::c_NO_GROUND_CONTACT
@ c_NO_GROUND_CONTACT
RigDef::BaseWheel::num_rays
unsigned int num_rays
Definition: RigDef_File.h:412
RigDef::Shock2::OPTION_M_ABSOLUTE_METRIC
static const BitMask_t OPTION_M_ABSOLUTE_METRIC
Definition: RigDef_File.h:1212
RigDef::WingControlSurface::e_ELEVATOR
@ e_ELEVATOR
RoR::ExtCameraMode
ExtCameraMode
Definition: SimData.h:56
RigDef::Inertia::stop_delay_factor
float stop_delay_factor
Definition: RigDef_File.h:450
RigDef::Keyword::FUSEDRAG
@ FUSEDRAG
RigDef::Keyword::COLLISIONBOXES
@ COLLISIONBOXES
RigDef::WingControlSurface::U_RIGHT_HAND_TAILERON
@ U_RIGHT_HAND_TAILERON
RigDef::DefaultMinimass
Definition: RigDef_File.h:796
RigDef::Document::Module::rotators2
std::vector< Rotator2 > rotators2
Definition: RigDef_File.h:1543
RigDef::Pistonprop::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:1077
RigDef::BaseWheel::rigidity_node
Node::Ref rigidity_node
Definition: RigDef_File.h:414
RigDef::Document::Module::description
std::vector< Ogre::String > description
Definition: RigDef_File.h:1507
RigDef::Hydro::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:997
RigDef::FileFormatVersion
Definition: RigDef_File.h:865
keyword
static int keyword
Definition: Bench_TruckParser_IdentifyKeyword.cpp:1448
RigDef::Keyword::HYDROS
@ HYDROS
RigDef
Definition: ForwardDeclarations.h:276
RigDef::Keyword
Keyword
Definition: RigDef_File.h:65
RigDef::Keyword::DETACHER_GROUP
@ DETACHER_GROUP
RigDef::NodeOption
NodeOption
Definition: RigDef_File.h:373
RigDef::Prop::BeaconSpecial
Definition: RigDef_File.h:1102
RigDef::Trigger::OPTION_x_START_DISABLED
static const BitMask_t OPTION_x_START_DISABLED
Definition: RigDef_File.h:1380
RigDef::BeamDefaults::BeamDefaults
BeamDefaults()
Definition: RigDef_File.h:658
RigDef::Wheel2
Definition: RigDef_File.h:1453
RigDef::CruiseControl::autobrake
int autobrake
Definition: RigDef_File.h:793
RigDef::BeamDefaults::GetScaledDeformThreshold
float GetScaledDeformThreshold() const
Definition: RigDef_File.h:686
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:985
RigDef::DifferentialType::o_OPEN
@ o_OPEN
RigDef::TractionControl
Definition: RigDef_File.h:1354
RigDef::Animation::MODE_OFFSET_Z
static const BitMask_t MODE_OFFSET_Z
Definition: RigDef_File.h:539
RigDef::Document::enable_advanced_deformation
bool enable_advanced_deformation
Definition: RigDef_File.h:1574
RigDef::Keyword::SOUNDSOURCES2
@ SOUNDSOURCES2
RigDef::BeamDefaults::GetScaledBreakingThreshold
float GetScaledBreakingThreshold()
Definition: RigDef_File.h:681
RigDef::SlideNode::slide_node
Node::Ref slide_node
Definition: RigDef_File.h:1271
RigDef::Rotator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:1157
RigDef::Help::material
std::string material
Definition: RigDef_File.h:957
RigDef::Document::Module::animators
std::vector< Animator > animators
Definition: RigDef_File.h:1492
RigDef::Wing::max_deflection
float max_deflection
Definition: RigDef_File.h:1474
RigDef::Document::Module::turboprops2
std::vector< Turboprop2 > turboprops2
Definition: RigDef_File.h:1563
RigDef::Cab::OPTION_c_CONTACT
static const BitMask_t OPTION_c_CONTACT
Definition: RigDef_File.h:712
RigDef::VideoCamera::alt_orientation_node
Node::Ref alt_orientation_node
Definition: RigDef_File.h:1430
RigDef::VideoCamera::bottom_node
Node::Ref bottom_node
Definition: RigDef_File.h:1428
RigDef::Engine::torque
float torque
Definition: RigDef_File.h:810
RigDef::Document::Module::triggers
std::vector< Trigger > triggers
Definition: RigDef_File.h:1561
RigDef::Document::Module::Module
Module(Ogre::String const &name)
Definition: RigDef_File.cpp:285
RigDef::Keyword::FLEXBODIES
@ FLEXBODIES
RigDef::Flare2::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:879
RigDef::Trigger::detacher_group
int detacher_group
Definition: RigDef_File.h:1396
RigDef::Tie::max_length
float max_length
Definition: RigDef_File.h:1329
RigDef::Shock2Option
Shock2Option
Definition: RigDef_File.h:354
RigDef::Guid::guid
std::string guid
Definition: RigDef_File.h:946
RigDef::ManagedMaterial::specular_map
Ogre::String specular_map
Definition: RigDef_File.h:1035
RigDef::Cinecam
Definition: RigDef_File.h:743
RigDef::Lockgroup::LOCKGROUP_NOLOCK
static const int LOCKGROUP_NOLOCK
Definition: RigDef_File.h:1017
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:882
RigDef::Fileinfo::file_version
int file_version
Definition: RigDef_File.h:874
RigDef::Animator::OPTION_ALTIMETER_10K
static const BitMask_t OPTION_ALTIMETER_10K
Definition: RigDef_File.h:564
RigDef::Airbrake::Airbrake
Airbrake()
Definition: RigDef_File.cpp:43
RigDef::SlideNode::railgroup_id
int railgroup_id
Definition: RigDef_File.h:1280
RigDef::CameraSettings
Definition: RigDef_File.h:738
RigDef::AeroAnimator::OPTION_STATUS
static const BitMask_t OPTION_STATUS
Definition: RigDef_File.h:398
RigDef::Shock2::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1223
RigDef::Prop::DashboardSpecial
Definition: RigDef_File.h:1087
RigDef::FlexBodyWheel::rim_mesh_name
Ogre::String rim_mesh_name
Definition: RigDef_File.h:921
RigDef::Animator::OPTION_ROLL
static const BitMask_t OPTION_ROLL
Definition: RigDef_File.h:569
RigDef::Keyword::SHOCKS3
@ SHOCKS3
RigDef::Airbrake::height
float height
Definition: RigDef_File.h:468
RigDef::Shock3::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1240
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:1225
RigDef::Keyword::BACKMESH
@ BACKMESH
RigDef::Tie::max_reach_length
float max_reach_length
Definition: RigDef_File.h:1326
RigDef::Prop::DashboardSpecial::_offset_is_set
bool _offset_is_set
Definition: RigDef_File.h:1097
RigDef::Document::Module::minimass
std::vector< Minimass > minimass
Definition: RigDef_File.h:1534
RigDef::Animation::MODE_OFFSET_X
static const BitMask_t MODE_OFFSET_X
Definition: RigDef_File.h:537
RigDef::Animator::OPTION_BOAT_RUDDER
static const BitMask_t OPTION_BOAT_RUDDER
Definition: RigDef_File.h:584
RigDef::Document
Definition: RigDef_File.h:1482
RigDef::Wing::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:1469
RigDef::Engturbo::param11
float param11
Definition: RigDef_File.h:849
RigDef::Airbrake::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:462
RigDef::Animation::MODE_ROTATION_Z
static const BitMask_t MODE_ROTATION_Z
Definition: RigDef_File.h:536
RigDef::Engturbo::param1
float param1
Definition: RigDef_File.h:839
RigDef::AeroAnimator::OPTION_THROTTLE
static const BitMask_t OPTION_THROTTLE
Definition: RigDef_File.h:394
RigDef::Document::Module::extcamera
std::vector< ExtCamera > extcamera
Definition: RigDef_File.h:1512
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:989
RigDef::TorqueCurve::samples
std::vector< Sample > samples
Definition: RigDef_File.h:1350
RigDef::Keyword::FORWARDCOMMANDS
@ FORWARDCOMMANDS
RigDef::Flexbody::node_list_to_import
std::vector< Node::Range > node_list_to_import
Definition: RigDef_File.h:911
RigDef::Guid
Definition: RigDef_File.h:944
RigDef::WingControlSurface::V_LEFT_HAND_TAILERON
@ V_LEFT_HAND_TAILERON
RigDef::MeshWheel
Definition: RigDef_File.h:1050
RigDef::Animation::SOURCE_STEERING_WHEEL
static const BitMask64_t SOURCE_STEERING_WHEEL
Definition: RigDef_File.h:521
RigDef::Animator::OPTION_TURBO
static const BitMask_t OPTION_TURBO
Definition: RigDef_File.h:576
RigDef::ManagedMaterial
Definition: RigDef_File.h:1028
RigDef::Prop::DashboardSpecial::DashboardSpecial
DashboardSpecial()
Definition: RigDef_File.h:1089
RigDef::TransferCase::a1
int a1
Definition: RigDef_File.h:1369
RigDef::Document::Module::rotators
std::vector< Rotator > rotators
Definition: RigDef_File.h:1542
RigDef::Airbrake::aditional_node
Node::Ref aditional_node
Definition: RigDef_File.h:465
RigDef::ShockOption::n_DUMMY
@ n_DUMMY
RigDef::Keyword::FLARES3
@ FLARES3
RigDef::BeamDefaults::scale
BeamDefaultsScale scale
Definition: RigDef_File.h:701
RigDef::InterAxle
Definition: RigDef_File.h:1006
RigDef::WingControlSurface::c_RIGHT_ELEVON
@ c_RIGHT_ELEVON
RigDef::BaseWheel
Definition: RigDef_File.h:409
RigDef::Keyword::CRUISECONTROL
@ CRUISECONTROL
RigDef::NodeOption::n_DUMMY
@ n_DUMMY
RigDef::Prop::BeaconSpecial::BeaconSpecial
BeaconSpecial()
Definition: RigDef_File.h:1104
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:1221
RigDef::Engoption::clutch_force
float clutch_force
Definition: RigDef_File.h:821
RigDef::Trigger::expansion_trigger_limit
float expansion_trigger_limit
Definition: RigDef_File.h:1392
RigDef::TriggerOption::A_INV_TRIGGER_BLOCKER
@ A_INV_TRIGGER_BLOCKER
Blocker that enable/disable other triggers, reversed activation method (inverted Blocker style,...
RigDef::Keyword::END_DESCRIPTION
@ END_DESCRIPTION
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:1251
RigDef::Keyword::SUBMESH_GROUNDMODEL
@ SUBMESH_GROUNDMODEL
RigDef::SlideNode::_break_force_set
bool _break_force_set
Definition: RigDef_File.h:1277
RigDef::Turbojet::wet_thrust
float wet_thrust
Definition: RigDef_File.h:1408
RigDef::Animator::flags
BitMask_t flags
Definition: RigDef_File.h:591
RigDef::Flexbody::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:909
RigDef::TorqueCurve::Sample::torque_percent
float torque_percent
Definition: RigDef_File.h:1347
RigDef::Screwprop::prop_node
Node::Ref prop_node
Definition: RigDef_File.h:1171
RigDef::AntiLockBrakes::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:607
RigDef::Engturbo::param4
float param4
Definition: RigDef_File.h:842
RigDef::DefaultSkin
Definition: RigDef_File.h:801
RigDef::Keyword::INVALID
@ INVALID
RigDef::Animation::SOURCE_SHIFT_LEFT_RIGHT
static const BitMask64_t SOURCE_SHIFT_LEFT_RIGHT
Definition: RigDef_File.h:512
RigDef::Shock3::detacher_group
int detacher_group
Definition: RigDef_File.h:1255
RigDef::Engturbo::param2
float param2
Definition: RigDef_File.h:840
RigDef::TransferCase::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:1373
RigDef::Flare3::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:893
RigDef::Submesh
Definition: RigDef_File.h:1306
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:1246
RigDef::Keyword::PROP_CAMERA_MODE
@ PROP_CAMERA_MODE
RigDef::NodeOption::m_NO_MOUSE_GRAB
@ m_NO_MOUSE_GRAB
RigDef::Shock3::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1239
RigDef::Document::Module::flares2
std::vector< Flare2 > flares2
Definition: RigDef_File.h:1516
RigDef::Hook::flag_no_disable
bool flag_no_disable
Definition: RigDef_File.h:974
RigDef::Animation::ratio
float ratio
Definition: RigDef_File.h:545
RigDef::Airbrake::max_inclination_angle
float max_inclination_angle
Definition: RigDef_File.h:469
RigDef::Wing::min_deflection
float min_deflection
Definition: RigDef_File.h:1473
RigDef::Inertia
Definition: RigDef_File.h:442
RigDef::Animator::aero_animator
AeroAnimator aero_animator
Definition: RigDef_File.h:594
RigDef::Trigger::OPTION_s_CMD_NUM_SWITCH
static const BitMask_t OPTION_s_CMD_NUM_SWITCH
Definition: RigDef_File.h:1384
RigDef::Animation::mode
BitMask_t mode
Definition: RigDef_File.h:550
RigDef::Animation::SOURCE_HEADING
static const BitMask64_t SOURCE_HEADING
Definition: RigDef_File.h:517
RigDef::Axle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:624
RigDef::BaseMeshWheel::damping
float damping
Definition: RigDef_File.h:431
RigDef::Document::Module::shocks
std::vector< Shock > shocks
Definition: RigDef_File.h:1546
RigDef::Shock
Definition: RigDef_File.h:1187
RigDef::Command2::lengthen_rate
float lengthen_rate
Definition: RigDef_File.h:768
RigDef::BaseMeshWheel
Definition: RigDef_File.h:423
RigDef::TorqueCurve::Sample::Sample
Sample()
Definition: RigDef_File.h:1341
RigDef::TorqueCurve::Sample::power
float power
Definition: RigDef_File.h:1346
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:1217
RigDef::Document::Module::cameras
std::vector< Camera > cameras
Definition: RigDef_File.h:1499
RigDef::Document::hide_in_chooser
bool hide_in_chooser
Definition: RigDef_File.h:1573
RigDef::Trigger::shortbound_trigger_action
int shortbound_trigger_action
Definition: RigDef_File.h:1397
RigDef::Keyword::ENABLE_ADVANCED_DEFORMATION
@ ENABLE_ADVANCED_DEFORMATION
RigDef::Hydro::OPTION_y_INPUT_InvAILERON_RUDDER
static const BitMask_t OPTION_y_INPUT_InvAILERON_RUDDER
Definition: RigDef_File.h:991
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:525
RigDef::Keyword::PISTONPROPS
@ PISTONPROPS
RigDef::Beam::OPTION_s_SUPPORT
static const BitMask_t OPTION_s_SUPPORT
Definition: RigDef_File.h:631
RigDef::Rotator::engine_coupling
float engine_coupling
Definition: RigDef_File.h:1158
RigDef::Hook::option_hook_range
float option_hook_range
Definition: RigDef_File.h:965
RigDef::Hydro::detacher_group
int detacher_group
Definition: RigDef_File.h:1003
RigDef::BeamDefaults::visual_beam_diameter
float visual_beam_diameter
Definition: RigDef_File.h:695
RigDef::WingControlSurface::d_LEFT_ELEVON
@ d_LEFT_ELEVON
RigDef::Keyword::SET_BEAM_DEFAULTS_SCALE
@ SET_BEAM_DEFAULTS_SCALE
RigDef::BaseWheel2::tyre_damping
float tyre_damping
Definition: RigDef_File.h:439
RigDef::SpecialProp::MIRROR_LEFT
@ MIRROR_LEFT
RigDef::Shock3::options
BitMask_t options
Definition: RigDef_File.h:1253
RigDef::Engturbo::param5
float param5
Definition: RigDef_File.h:843
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::Trigger::OPTION_b_KEY_BLOCKER
static const BitMask_t OPTION_b_KEY_BLOCKER
Definition: RigDef_File.h:1381
RigDef::Animator::OPTION_AIRSPEED
static const BitMask_t OPTION_AIRSPEED
Definition: RigDef_File.h:561
RigDef::SpecialProp::BEACON
@ BEACON
RigDef::Engoption::stall_rpm
float stall_rpm
Definition: RigDef_File.h:826
RigDef::Cab
Definition: RigDef_File.h:710
RigDef::Engturbo::tinertiaFactor
float tinertiaFactor
Definition: RigDef_File.h:837
RigDef::MaterialFlareBinding
Definition: RigDef_File.h:1038
RigDef::Keyword::FLARES
@ FLARES
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:629
RigDef::Animation::SOURCE_ALTIMETER_1K
static const BitMask64_t SOURCE_ALTIMETER_1K
Definition: RigDef_File.h:499
RigDef::Prop::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:1118
RigDef::HydroOption::r_INPUT_RUDDER
@ r_INPUT_RUDDER
RigDef::VideoCamera::field_of_view
float field_of_view
Definition: RigDef_File.h:1433
RigDef::Document::Module::engine
std::vector< Engine > engine
Definition: RigDef_File.h:1508
RigDef::Rope::invisible
bool invisible
Definition: RigDef_File.h:1143
RigDef::SpeedLimiter
Definition: RigDef_File.h:1298
RigDef::Beam::defaults
std::shared_ptr< BeamDefaults > defaults
Definition: RigDef_File.h:638
RigDef::Lockgroup
Definition: RigDef_File.h:1013
RigDef::Hook::option_max_force
float option_max_force
Definition: RigDef_File.h:967
RigDef::BaseWheel2::tyre_springiness
float tyre_springiness
Definition: RigDef_File.h:438
RigDef::Document::Module::name
Ogre::String name
Definition: RigDef_File.h:1488
RigDef::Flare2::node_axis_x
Node::Ref node_axis_x
Definition: RigDef_File.h:880
RigDef::Keyword::SLIDENODES
@ SLIDENODES
RigDef::Animator
Definition: RigDef_File.h:557
RigDef::Document::Module::exhausts
std::vector< Exhaust > exhausts
Definition: RigDef_File.h:1511
RigDef::ShockOption::m_METRIC
@ m_METRIC
RigDef::FileFormatVersion::version
int version
Definition: RigDef_File.h:867
RigDef::Turbojet::front_diameter
float front_diameter
Definition: RigDef_File.h:1409
RigDef::Wheel2::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1457
RigDef::SpeedLimiter::max_speed
float max_speed
Definition: RigDef_File.h:1300
RigDef::TriggerOption::H_LOCKS_HOOK_GROUP
@ H_LOCKS_HOOK_GROUP
RigDef::DefaultSkin::skin_name
std::string skin_name
Definition: RigDef_File.h:803
RigDef::Brakes::parking_brake_force
float parking_brake_force
Definition: RigDef_File.h:707
RigDef::NodeDefaults::load_weight
float load_weight
Definition: RigDef_File.h:1060
RigDef::Keyword::SET_SHADOWS
@ SET_SHADOWS
RigDef::Author::email
Ogre::String email
Definition: RigDef_File.h:617
RigDef::Rope::end_node
Node::Ref end_node
Definition: RigDef_File.h:1142
RigDef::Flexbody
Definition: RigDef_File.h:902
RigDef::Document::Module::railgroups
std::vector< RailGroup > railgroups
Definition: RigDef_File.h:1539
RigDef::Hook::option_min_range_meters
float option_min_range_meters
Definition: RigDef_File.h:971
RigDef::SpecialProp::DASHBOARD_RIGHT
@ DASHBOARD_RIGHT
RigDef::Engturbo::param10
float param10
Definition: RigDef_File.h:848
RigDef::Command2::option_i_invisible
bool option_i_invisible
Definition: RigDef_File.h:782
RigDef::Trigger::OPTION_h_UNLOCKS_HOOK_GROUP
static const BitMask_t OPTION_h_UNLOCKS_HOOK_GROUP
Definition: RigDef_File.h:1385
RigDef::VideoCamera
Definition: RigDef_File.h:1424
RigDef::Cab::OPTION_D_CONTACT_BUOYANT
static const BitMask_t OPTION_D_CONTACT_BUOYANT
Definition: RigDef_File.h:718
RigDef::TriggerOption::h_UNLOCKS_HOOK_GROUP
@ h_UNLOCKS_HOOK_GROUP
RigDef::Shock2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1214
RigDef::TransferCase
Definition: RigDef_File.h:1367
RigDef::Rotator::inertia
Inertia inertia
Definition: RigDef_File.h:1156
RigDef::Trigger::OPTION_t_CONTINUOUS
static const BitMask_t OPTION_t_CONTINUOUS
Definition: RigDef_File.h:1387
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:700
RigDef::Keyword::FLEXBODY_CAMERA_MODE
@ FLEXBODY_CAMERA_MODE
RoR::ExtCameraMode::CLASSIC
@ CLASSIC
RigDef::FlexBodyWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:918
RigDef::Submesh::texcoords
std::vector< Texcoord > texcoords
Definition: RigDef_File.h:1309
RigDef::Animation::SOURCE_GEAR_NEUTRAL
static const BitMask64_t SOURCE_GEAR_NEUTRAL
Definition: RigDef_File.h:530
RigDef::Animation::SOURCE_ACCEL
static const BitMask64_t SOURCE_ACCEL
Definition: RigDef_File.h:506
RigDef::Keyword::SET_BEAM_DEFAULTS
@ SET_BEAM_DEFAULTS
RigDef::WheelBraking::FOOT_HAND_SKID_LEFT
@ FOOT_HAND_SKID_LEFT
RigDef::Wing::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1475
RigDef::HydroOption::n_INPUT_NORMAL
@ n_INPUT_NORMAL
RigDef::Keyword::BRAKES
@ BRAKES
RigDef::Submesh::cab_triangles
std::vector< Cab > cab_triangles
Definition: RigDef_File.h:1310
RigDef::Animator::OPTION_VISIBLE
static const BitMask_t OPTION_VISIBLE
Definition: RigDef_File.h:559
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:1199
RigDef::Shock2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1227
RigDef::Turboprop2
Definition: RigDef_File.h:1414
RigDef::TractionControl::wheel_slip
float wheel_slip
Definition: RigDef_File.h:1359
RigDef::Cinecam::node_mass
float node_mass
Definition: RigDef_File.h:749
RigDef::Document::Module::props
std::vector< Prop > props
Definition: RigDef_File.h:1538
RigDef::Keyword::TORQUECURVE
@ TORQUECURVE
RigDef::Inertia::start_delay_factor
float start_delay_factor
Definition: RigDef_File.h:449
RigDef::Prop::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:1115
RigDef::TractionControl::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:1362
RigDef::Fusedrag::front_node
Node::Ref front_node
Definition: RigDef_File.h:930
RigDef::SpecialProp::DRIVER_SEAT_2
@ DRIVER_SEAT_2
RigDef::Keyword::SET_DEFAULT_MINIMASS
@ SET_DEFAULT_MINIMASS
RigDef::Cab::OPTION_s_BUOYANT_NO_DRAG
static const BitMask_t OPTION_s_BUOYANT_NO_DRAG
Definition: RigDef_File.h:716
RigDef::BaseMeshWheel::tyre_radius
float tyre_radius
Definition: RigDef_File.h:429
RigDef::Script
Definition: RigDef_File.h:1177
RigDef::Keyword::LOCKGROUPS
@ LOCKGROUPS
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:1046
RigDef::VideoCamera::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1431
RigDef::Keyword::COMMANDS
@ COMMANDS
RigDef::Keyword::EXHAUSTS
@ EXHAUSTS
RigDef::Hydro::OPTION_s_DISABLE_ON_HIGH_SPEED
static const BitMask_t OPTION_s_DISABLE_ON_HIGH_SPEED
Definition: RigDef_File.h:983
RigDef::Engine::reverse_gear_ratio
float reverse_gear_ratio
Definition: RigDef_File.h:812
RigDef::Document::Module::fileinfo
std::vector< Fileinfo > fileinfo
Definition: RigDef_File.h:1515
RigDef::Trigger::OPTION_E_ENGINE_TRIGGER
static const BitMask_t OPTION_E_ENGINE_TRIGGER
Definition: RigDef_File.h:1388
RigDef::BeamDefaultsScale::deformation_threshold_constant
float deformation_threshold_constant
Definition: RigDef_File.h:652
RigDef::Keyword::PARTICLES
@ PARTICLES
RigDef::Inertia::Inertia
Inertia()
Definition: RigDef_File.h:444
RigDef::ManagedMaterialsOptions::double_sided
bool double_sided
Definition: RigDef_File.h:1025
RigDef::Engturbo::nturbos
int nturbos
Definition: RigDef_File.h:838
RigDef::Animation::SOURCE_TURBO
static const BitMask64_t SOURCE_TURBO
Definition: RigDef_File.h:510
RigDef::Exhaust::direction_node
Node::Ref direction_node
Definition: RigDef_File.h:855
RigDef::Rotator::rotating_plate_nodes
Node::Ref rotating_plate_nodes[4]
Definition: RigDef_File.h:1152
RigDef::Keyword::HOOKGROUP
@ HOOKGROUP
RigDef::NodeDefaults::NodeDefaults
NodeDefaults()
Definition: RigDef_File.cpp:102
RigDef::Script::filename
std::string filename
Definition: RigDef_File.h:1179
RigDef::Globals::material_name
Ogre::String material_name
Definition: RigDef_File.h:941
RigDef::CabOption::r_BUOYANT_ONLY_DRAG
@ r_BUOYANT_ONLY_DRAG
RigDef::Flexbody::node_list
std::vector< Node::Ref > node_list
Definition: RigDef_File.h:912
RigDef::Keyword::HOOKS
@ HOOKS
RigDef::Document::Module::shocks3
std::vector< Shock3 > shocks3
Definition: RigDef_File.h:1548
RigDef::Document::Module::default_skin
std::vector< DefaultSkin > default_skin
Definition: RigDef_File.h:1506
RigDef::Document::Module::submesh_groundmodel
std::vector< Ogre::String > submesh_groundmodel
Definition: RigDef_File.h:1555
RigDef::BaseWheel::propulsion
WheelPropulsion propulsion
Definition: RigDef_File.h:416
RigDef::SkeletonSettings::visibility_range_meters
float visibility_range_meters
Definition: RigDef_File.h:1260
RigDef::EngineType::t_TRUCK
@ t_TRUCK
RigDef::Keyword::WHEELS2
@ WHEELS2
RigDef::HydroOption::j_INVISIBLE
@ j_INVISIBLE
RigDef::Exhaust::particle_name
Ogre::String particle_name
Definition: RigDef_File.h:856
RigDef::Exhaust::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:854
RigDef::Shock2Option::v_DUMMY
@ v_DUMMY
RigDef::Tie
Definition: RigDef_File.h:1320
RigDef::SlideNode::CONSTRAINT_ATTACH_NONE
static const BitMask_t CONSTRAINT_ATTACH_NONE
Definition: RigDef_File.h:1269
RigDef::Animator::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:596
RigDef::Animator::OPTION_ALTIMETER_100K
static const BitMask_t OPTION_ALTIMETER_100K
Definition: RigDef_File.h:563
RigDef::Hydro::OPTION_h_INPUT_InvELEVATOR_RUDDER
static const BitMask_t OPTION_h_INPUT_InvELEVATOR_RUDDER
Definition: RigDef_File.h:993
RigDef::Flare2::size
float size
Definition: RigDef_File.h:887
RigDef::WheelBraking::NONE
@ NONE
RigDef::Keyword::FLEXBODYWHEELS
@ FLEXBODYWHEELS
RoR::VideoCamRole
VideoCamRole
Definition: Application.h:373
RigDef::WheelDetacher
Definition: RigDef_File.h:1461
RigDef::Document::Module::flexbodywheels
std::vector< FlexBodyWheel > flexbodywheels
Definition: RigDef_File.h:1520
RoR::WheelSide::INVALID
@ INVALID
RigDef::ManagedMaterialType::FLEXMESH_TRANSPARENT
@ FLEXMESH_TRANSPARENT
RigDef::Document::Module::materialflarebindings
std::vector< MaterialFlareBinding > materialflarebindings
Definition: RigDef_File.h:1531
RigDef::BeamDefaults::plastic_deform_coef
float plastic_deform_coef
Definition: RigDef_File.h:697
RigDef::Rotator2::tolerance
float tolerance
Definition: RigDef_File.h:1165
RigDef::Rotator
Definition: RigDef_File.h:1148
RigDef::WingControlSurface::f_FLAP
@ f_FLAP
RigDef::Turbojet::side_node
Node::Ref side_node
Definition: RigDef_File.h:1405
RigDef::Animation::MotorSource::SOURCE_AERO_THROTTLE
static const BitMask_t SOURCE_AERO_THROTTLE
Definition: RigDef_File.h:482
RigDef::Document::Document
Document()
Definition: RigDef_File.cpp:289
RigDef::Minimass::option
MinimassOption option
Definition: RigDef_File.h:1047
RigDef::Keyword::FIXES
@ FIXES
RigDef::TransferCase::has_2wd
bool has_2wd
Definition: RigDef_File.h:1371
RigDef::Keyword::DISABLEDEFAULTSOUNDS
@ DISABLEDEFAULTSOUNDS
RigDef::NodeOption::f_NO_SPARKS
@ f_NO_SPARKS
RigDef::Keyword::MATERIALFLAREBINDINGS
@ MATERIALFLAREBINDINGS
RigDef::Keyword::ADD_ANIMATION
@ ADD_ANIMATION
RigDef::Fusedrag
Definition: RigDef_File.h:925
RigDef::Trigger::boundary_timer
float boundary_timer
Definition: RigDef_File.h:1394
RigDef::Keyword::ROPABLES
@ ROPABLES
RigDef::Animation::SOURCE_BRAKES
static const BitMask64_t SOURCE_BRAKES
Definition: RigDef_File.h:505
RigDef::DifferentialType::s_SPLIT
@ s_SPLIT
RigDef::Globals::cargo_mass
float cargo_mass
Definition: RigDef_File.h:940
RigDef::Document::Module::videocameras
std::vector< VideoCamera > videocameras
Definition: RigDef_File.h:1564
RigDef::Wheel::springiness
float springiness
Definition: RigDef_File.h:1447
RigDef::BaseWheel2
Definition: RigDef_File.h:434
RigDef::Airbrake::texcoord_y2
float texcoord_y2
Definition: RigDef_File.h:473
RigDef::Engine
Definition: RigDef_File.h:806
RigDef::Trigger::contraction_trigger_limit
float contraction_trigger_limit
Definition: RigDef_File.h:1391
RigDef::TriggerOption::E_ENGINE_TRIGGER
@ E_ENGINE_TRIGGER
this trigger is used to control an engine
RigDef::Keyword::SECTION
@ SECTION
RigDef::Texcoord
Definition: RigDef_File.h:1313
RigDef::Document::lockgroup_default_nolock
bool lockgroup_default_nolock
Definition: RigDef_File.h:1579
RigDef::Author::type
Ogre::String type
Definition: RigDef_File.h:614
RigDef::WheelBraking::FOOT_HAND
@ FOOT_HAND
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:1245
RigDef::WingControlSurface::g_RIGHT_FLAPERON
@ g_RIGHT_FLAPERON
RigDef::Beam::detacher_group
int detacher_group
Definition: RigDef_File.h:637
RigDef::TractionControl::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:1364
RigDef::Wheel::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1450
RigDef::Document::user_modules
std::map< Ogre::String, std::shared_ptr< Module > > user_modules
Definition: RigDef_File.h:1589
RigDef::Turbojet::dry_thrust
float dry_thrust
Definition: RigDef_File.h:1407
RigDef::Beam::options
BitMask_t options
Definition: RigDef_File.h:634
GfxData.h
RigDef::Document::Module::antilockbrakes
std::vector< AntiLockBrakes > antilockbrakes
Definition: RigDef_File.h:1493
RigDef::HydroOption
HydroOption
Definition: RigDef_File.h:325
RigDef::Hydro::OPTION_j_INVISIBLE
static const BitMask_t OPTION_j_INVISIBLE
Definition: RigDef_File.h:981
RigDef::Texcoord::u
float u
Definition: RigDef_File.h:1316
RigDef::Camera::center_node
Node::Ref center_node
Definition: RigDef_File.h:728
RigDef::Animation::source
BitMask64_t source
Definition: RigDef_File.h:548
RigDef::FlexBodyWheel::rim_damping
float rim_damping
Definition: RigDef_File.h:920
RigDef::Shock3::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1250
RigDef::CabOption::s_BUOYANT_NO_DRAG
@ s_BUOYANT_NO_DRAG
RigDef::Engturbo::param7
float param7
Definition: RigDef_File.h:845
RigDef::Engoption::idle_rpm
float idle_rpm
Definition: RigDef_File.h:825
RigDef::AeroAnimator::engine_idx
unsigned int engine_idx
Definition: RigDef_File.h:401
RigDef::BaseWheel2::tyre_radius
float tyre_radius
Definition: RigDef_File.h:437
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:1218
RigDef::Animator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:595
RigDef::Shock3::OPTION_M_ABSOLUTE_METRIC
static const BitMask_t OPTION_M_ABSOLUTE_METRIC
Definition: RigDef_File.h:1237
RigDef::BeamDefaultsScale::springiness
float springiness
Definition: RigDef_File.h:650
RigDef::BaseWheel::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:420
RoR::CAMERA_MODE_ALWAYS_VISIBLE
static CameraMode_t CAMERA_MODE_ALWAYS_VISIBLE
Definition: GfxData.h:125
RigDef::SpecialProp::REDBEACON
@ REDBEACON
RigDef::Rotator2
Definition: RigDef_File.h:1162
RigDef::Shock::options
BitMask_t options
Definition: RigDef_File.h:1200
RigDef::DifferentialType::l_LOCKED
@ l_LOCKED
RigDef::Command2::affect_engine
float affect_engine
Definition: RigDef_File.h:775
RigDef::Shock2::detacher_group
int detacher_group
Definition: RigDef_File.h:1228
RigDef::Lockgroup::LOCKGROUP_DEFAULT
static const int LOCKGROUP_DEFAULT
Definition: RigDef_File.h:1016
RigDef::Author::forum_account_id
unsigned int forum_account_id
Definition: RigDef_File.h:615
RigDef::Document::slide_nodes_connect_instantly
bool slide_nodes_connect_instantly
Definition: RigDef_File.h:1575
RigDef::BaseMeshWheel::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:426
RigDef::SlideNode::CONSTRAINT_ATTACH_ALL
static const BitMask_t CONSTRAINT_ATTACH_ALL
Definition: RigDef_File.h:1266
RigDef::Shock3
Definition: RigDef_File.h:1231
RigDef::Exhaust
Definition: RigDef_File.h:852
RigDef::Document::Module::flexbodies
std::vector< Flexbody > flexbodies
Definition: RigDef_File.h:1519
RigDef::Airbrake::width
float width
Definition: RigDef_File.h:467
RigDef::Animation::MODE_ROTATION_X
static const BitMask_t MODE_ROTATION_X
Definition: RigDef_File.h:534
RigDef::Document::Module::hydros
std::vector< Hydro > hydros
Definition: RigDef_File.h:1527
RigDef::VideoCamera::max_clip_distance
float max_clip_distance
Definition: RigDef_File.h:1437
RigDef::CabOption::u_INVULNERABLE
@ u_INVULNERABLE
RigDef::Document::Module::ropables
std::vector< Ropable > ropables
Definition: RigDef_File.h:1540
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:549
RigDef::Document::Module::managedmaterials
std::vector< ManagedMaterial > managedmaterials
Definition: RigDef_File.h:1530
RigDef::Prop::special_prop_dashboard
DashboardSpecial special_prop_dashboard
Definition: RigDef_File.h:1123
RigDef::Animation::SOURCE_DASHBOARD
static const BitMask64_t SOURCE_DASHBOARD
Definition: RigDef_File.h:527
RigDef::Animation::SOURCE_GEAR_REVERSE
static const BitMask64_t SOURCE_GEAR_REVERSE
Definition: RigDef_File.h:531
RigDef::SpecialProp::DASHBOARD_LEFT
@ DASHBOARD_LEFT
RigDef::CollisionRange::node_collision_range
float node_collision_range
Definition: RigDef_File.h:761
RigDef::Keyword::RAILGROUPS
@ RAILGROUPS
RigDef::Pistonprop::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:1078
RigDef::Beam::OPTION_r_ROPE
static const BitMask_t OPTION_r_ROPE
Definition: RigDef_File.h:630
RigDef::Animation::SOURCE_CLUTCH
static const BitMask64_t SOURCE_CLUTCH
Definition: RigDef_File.h:507
RigDef::Animation::MODE_OFFSET_Y
static const BitMask_t MODE_OFFSET_Y
Definition: RigDef_File.h:538
RigDef::Fusedrag::airfoil_name
Ogre::String airfoil_name
Definition: RigDef_File.h:933
RigDef::BeamDefaultsScale::damping_constant
float damping_constant
Definition: RigDef_File.h:651
RigDef::Animation::SOURCE_SIGNALSTALK
static const BitMask64_t SOURCE_SIGNALSTALK
Definition: RigDef_File.h:528
RigDef::Cab::OPTION_F_10xTOUGHER_BUOYANT
static const BitMask_t OPTION_F_10xTOUGHER_BUOYANT
Definition: RigDef_File.h:719
RigDef::Flare2::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:884
RigDef::Turbojet::nozzle_length
float nozzle_length
Definition: RigDef_File.h:1411
RigDef::Shock2::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1216
RigDef::Lockgroup::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:1020
RigDef::Tie::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1322
BitMask_t
uint32_t BitMask_t
Definition: BitFlags.h:7
RigDef::Axle
Definition: RigDef_File.h:621
RigDef::Shock2::options
BitMask_t options
Definition: RigDef_File.h:1226
RigDef::BeamOption::v_DUMMY
@ v_DUMMY
RigDef::Fusedrag::area_coefficient
float area_coefficient
Definition: RigDef_File.h:934
RigDef::Keyword::SCRIPTS
@ SCRIPTS
RigDef::SlideNode::_attachment_rate_set
bool _attachment_rate_set
Definition: RigDef_File.h:1279
Ogre
Definition: ExtinguishableFireAffector.cpp:35
RigDef::Document::Module::collisionboxes
std::vector< CollisionBox > collisionboxes
Definition: RigDef_File.h:1501
RigDef::Shock::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1194
RigDef::HydroOption::x_INPUT_AILERON_RUDDER
@ x_INPUT_AILERON_RUDDER
RigDef::ShockOption
ShockOption
Definition: RigDef_File.h:344
RigDef::Cinecam::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:750
RigDef::Tie::root_node
Node::Ref root_node
Definition: RigDef_File.h:1325
RigDef::WingControlSurface::b_LEFT_AILERON
@ b_LEFT_AILERON
RigDef::TransferCase::has_2wd_lo
bool has_2wd_lo
Definition: RigDef_File.h:1372
RigDef::EngineType
EngineType
Definition: RigDef_File.h:219
RigDef::Lockgroup::number
int number
Definition: RigDef_File.h:1019
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:717
RigDef::BaseWheel::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:413
RigDef::VideoCamera::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1426
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:1588
RigDef::Document::Module::flaregroups_no_import
std::vector< FlaregroupNoImport > flaregroups_no_import
Definition: RigDef_File.h:1518
RigDef::Keyword::DESCRIPTION
@ DESCRIPTION
RigDef::SoundSource
Definition: RigDef_File.h:1284
RigDef::RailGroup::node_list
std::vector< Node::Range > node_list
Definition: RigDef_File.h:1129
RigDef::Shock3::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1236
RigDef::Document::Module::wheeldetachers
std::vector< WheelDetacher > wheeldetachers
Definition: RigDef_File.h:1565
RigDef::Keyword::INTERAXLES
@ INTERAXLES
RigDef::Document::Module::torquecurve
std::vector< TorqueCurve > torquecurve
Definition: RigDef_File.h:1558
RigDef::Document::Module::speedlimiter
std::vector< SpeedLimiter > speedlimiter
Definition: RigDef_File.h:1554
RigDef::Keyword::ROLLON
@ ROLLON
RigDef::BaseWheel::braking
WheelBraking braking
Definition: RigDef_File.h:415
RigDef::Animator::OPTION_PARKING
static const BitMask_t OPTION_PARKING
Definition: RigDef_File.h:577
RoR::WheelSide
WheelSide
Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation.
Definition: GfxData.h:115
RigDef::Keyword::SET_INERTIA_DEFAULTS
@ SET_INERTIA_DEFAULTS
RigDef::Keyword::VIDEOCAMERA
@ VIDEOCAMERA
RigDef::HydroOption::h_INPUT_InvELEVATOR_RUDDER
@ h_INPUT_InvELEVATOR_RUDDER
RigDef::Turbojet::is_reversable
int is_reversable
Definition: RigDef_File.h:1406
RigDef::BaseWheel::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:419
RigDef::Airbrake::texcoord_x2
float texcoord_x2
Definition: RigDef_File.h:471
RigDef::Animation::SOURCE_SHIFT_BACK_FORTH
static const BitMask64_t SOURCE_SHIFT_BACK_FORTH
Definition: RigDef_File.h:513
RigDef::Hook::option_lockgroup
int option_lockgroup
Definition: RigDef_File.h:969
RigDef::Hook::flag_no_rope
bool flag_no_rope
Definition: RigDef_File.h:975
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:586
RigDef::Keyword::AXLES
@ AXLES
RigDef::AntiLockBrakes::regulation_force
float regulation_force
Definition: RigDef_File.h:604
RigDef::Trigger::OPTION_H_LOCKS_HOOK_GROUP
static const BitMask_t OPTION_H_LOCKS_HOOK_GROUP
Definition: RigDef_File.h:1386
RigDef::WingControlSurface::r_RUDDER
@ r_RUDDER
RigDef::Keyword::ENVMAP
@ ENVMAP
RigDef::Assetpack
Definition: RigDef_File.h:404
RigDef::Cab::OPTION_S_INVULNERABLE_BUOYANT
static const BitMask_t OPTION_S_INVULNERABLE_BUOYANT
Definition: RigDef_File.h:720
RigDef::Shock::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1189
RigDef::Document::Module::fileformatversion
std::vector< FileFormatVersion > fileformatversion
Definition: RigDef_File.h:1513
RigDef::WingControlSurface::T_LEFT_HAND_STABILATOR
@ T_LEFT_HAND_STABILATOR
RigDef::Keyword::MESHWHEELS2
@ MESHWHEELS2
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:1196
RigDef::Animator::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:590
RigDef::Rotator2::description
Ogre::String description
Definition: RigDef_File.h:1166
RigDef::Document::Module::soundsources
std::vector< SoundSource > soundsources
Definition: RigDef_File.h:1552
RigDef::Prop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1113
RigDef::ShadowOptions::shadow_mode
int shadow_mode
Definition: RigDef_File.h:1184
RigDef::SlideNode::_max_attach_dist_set
bool _max_attach_dist_set
Definition: RigDef_File.h:1281
RigDef::Hydro::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1002
RigDef::Rotator::base_plate_nodes
Node::Ref base_plate_nodes[4]
Definition: RigDef_File.h:1151
RigDef::Flexbody::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:905
RigDef::Animation::event_name
Ogre::String event_name
Definition: RigDef_File.h:551
RigDef::Airbrake::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:463
RigDef::Pistonprop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1076
RigDef::Particle::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1070
RigDef::Shock3::damp_out
float damp_out
Damping value applied when shock extending.
Definition: RigDef_File.h:1243
RigDef::Command2::option_c_auto_center
bool option_c_auto_center
Definition: RigDef_File.h:784
RigDef::Rotator::spin_left_key
unsigned int spin_left_key
Definition: RigDef_File.h:1154
RigDef::Keyword::SECTIONCONFIG
@ SECTIONCONFIG
RigDef::Minimass
Definition: RigDef_File.h:1044
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:1244
RigDef::BeamDefaults::beam_material_name
Ogre::String beam_material_name
Definition: RigDef_File.h:696
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:1401
RigDef::Keyword::CAMERAS
@ CAMERAS
RigDef::CameraSettings::mode
int mode
0 and higher = cinecam index
Definition: RigDef_File.h:740
RigDef::Hook::Hook
Hook()
Definition: RigDef_File.cpp:87
RigDef::Hydro::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:998
RigDef::VideoCamera::material_name
Ogre::String material_name
Definition: RigDef_File.h:1440
BitMask64_t
uint64_t BitMask64_t
Definition: BitFlags.h:8
RigDef::Command2::max_contraction
float max_contraction
Definition: RigDef_File.h:769
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:575
RigDef::WingControlSurface::h_LEFT_FLAPERON
@ h_LEFT_FLAPERON
RigDef::Command2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:766
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:606
RigDef::Keyword::SET_SKELETON_SETTINGS
@ SET_SKELETON_SETTINGS
RigDef::Document::name
Ogre::String name
Definition: RigDef_File.h:1582
RigDef::Beam
Definition: RigDef_File.h:627
RigDef::Keyword::ROTATORS2
@ ROTATORS2
RigDef::Rotator2::rotating_force
float rotating_force
Definition: RigDef_File.h:1164
RigDef::Screwprop
Definition: RigDef_File.h:1169
RigDef::Hook::option_timer
float option_timer
Definition: RigDef_File.h:970
RigDef::GuiSettings::value
std::string value
Definition: RigDef_File.h:952
RigDef::Animation::SOURCE_TORQUE
static const BitMask64_t SOURCE_TORQUE
Definition: RigDef_File.h:516
RigDef::Shock2Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Document::Module::camerarail
std::vector< CameraRail > camerarail
Definition: RigDef_File.h:1500
RigDef::Prop::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:1114
RigDef::Animation::upper_limit
float upper_limit
Definition: RigDef_File.h:547
RigDef::Keyword::CINECAM
@ CINECAM
RigDef::Cab::options
BitMask_t options
Definition: RigDef_File.h:723
RigDef::ExtCamera::mode
RoR::ExtCameraMode mode
Definition: RigDef_File.h:861
RigDef::Tie::OPTION_s_DISABLE_SELF_LOCK
static const BitMask_t OPTION_s_DISABLE_SELF_LOCK
Definition: RigDef_File.h:1323
RigDef::Inertia::stop_function
Ogre::String stop_function
Definition: RigDef_File.h:452
RigDef::Animation::SOURCE_ALTIMETER_100K
static const BitMask64_t SOURCE_ALTIMETER_100K
Definition: RigDef_File.h:497
RigDef::Prop::DashboardSpecial::rotation_angle
float rotation_angle
Definition: RigDef_File.h:1098
RigDef::Document::Module::particles
std::vector< Particle > particles
Definition: RigDef_File.h:1536
RigDef::Engoption::inertia
float inertia
Definition: RigDef_File.h:819
RigDef::Keyword::TURBOJETS
@ TURBOJETS
RigDef::Document::Module::beams
std::vector< Beam > beams
Definition: RigDef_File.h:1497
RigDef::CruiseControl
Definition: RigDef_File.h:790
RigDef::WheelBraking
WheelBraking
Definition: RigDef_File.h:242
RigDef::BaseMeshWheel::material_name
Ogre::String material_name
Definition: RigDef_File.h:427
RigDef::Rope::detacher_group
int detacher_group
Definition: RigDef_File.h:1145
RigDef::Hydro::OPTION_r_INPUT_RUDDER
static const BitMask_t OPTION_r_INPUT_RUDDER
Definition: RigDef_File.h:986
RigDef::Animation::MODE_NO_FLIP
static const BitMask_t MODE_NO_FLIP
Definition: RigDef_File.h:541
RigDef::Wing
Definition: RigDef_File.h:1467
RigDef::BaseWheel::reference_arm_node
Node::Ref reference_arm_node
Definition: RigDef_File.h:417
RigDef::Animation::dash_link_name
Ogre::String dash_link_name
Definition: RigDef_File.h:552
RigDef::SpecialProp::MIRROR_RIGHT
@ MIRROR_RIGHT
RigDef::ManagedMaterialsOptions
Definition: RigDef_File.h:1023
RigDef::Keyword::GUID
@ GUID
RigDef::Hook::flag_visible
bool flag_visible
Definition: RigDef_File.h:976
RigDef::Keyword::ENGTURBO
@ ENGTURBO
RigDef::Document::Module::interaxles
std::vector< InterAxle > interaxles
Definition: RigDef_File.h:1528
RigDef::Fusedrag::rear_node
Node::Ref rear_node
Definition: RigDef_File.h:931
RigDef::Globals
Definition: RigDef_File.h:937
RigDef::Prop::special_prop_beacon
BeaconSpecial special_prop_beacon
Definition: RigDef_File.h:1122
RigDef::Command2::needs_engine
bool needs_engine
Definition: RigDef_File.h:776
RigDef::Pistonprop::pitch
float pitch
Definition: RigDef_File.h:1081
RigDef::ExtCamera
Definition: RigDef_File.h:859
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:1222
RigDef::Flexbody::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:906
RigDef::Keyword::SLOPE_BRAKE
@ SLOPE_BRAKE
RigDef::Shock3Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Rope
Definition: RigDef_File.h:1139
RigDef::Cinecam::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:746
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:1235
RigDef::Airbrake::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:466
RigDef::Wheel2::rim_springiness
float rim_springiness
Definition: RigDef_File.h:1455
RigDef::Hook::option_speed_coef
float option_speed_coef
Definition: RigDef_File.h:966
RigDef::Trigger::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1395
RigDef::Ropable::group
int group
Definition: RigDef_File.h:1135
RigDef::Wheel::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1449
RigDef::Cab::OPTION_b_BUOYANT
static const BitMask_t OPTION_b_BUOYANT
Definition: RigDef_File.h:713
RigDef::Wing::efficacy_coef
float efficacy_coef
Definition: RigDef_File.h:1476
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:990
RigDef::SpecialProp::LIGHTBAR
@ LIGHTBAR
RigDef::SlideNode
Definition: RigDef_File.h:1264
RigDef::Cinecam::damping
float damping
Definition: RigDef_File.h:748
RigDef::TractionControl::regulation_force
float regulation_force
Definition: RigDef_File.h:1358
RigDef::Shock2Option::n_DUMMY
@ n_DUMMY
RigDef::TransferCase::a2
int a2
Definition: RigDef_File.h:1370
RigDef::MeshWheel2
Definition: RigDef_File.h:1053
RigDef::Hook::flag_self_lock
bool flag_self_lock
Definition: RigDef_File.h:972
RigDef::Document::Module::meshwheels
std::vector< MeshWheel > meshwheels
Definition: RigDef_File.h:1532
RigDef::Document::Module::engoption
std::vector< Engoption > engoption
Definition: RigDef_File.h:1509
RigDef::SoundSource::sound_script_name
Ogre::String sound_script_name
Definition: RigDef_File.h:1287
RigDef::BeamDefaults::GetScaledDamping
float GetScaledDamping()
Definition: RigDef_File.h:676
RigDef::HydroOption::v_INPUT_InvAILERON_ELEVATOR
@ v_INPUT_InvAILERON_ELEVATOR
RigDef::Pistonprop::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:1080
RigDef::Document::Module::tractioncontrol
std::vector< TractionControl > tractioncontrol
Definition: RigDef_File.h:1559
RigDef::Animation::MotorSource::source
BitMask_t source
Definition: RigDef_File.h:490
RigDef::CabOption::c_CONTACT
@ c_CONTACT
RigDef::Keyword::END_SECTION
@ END_SECTION
RigDef::WheelDetacher::detacher_group
int detacher_group
Definition: RigDef_File.h:1464
RigDef::TorqueCurve
Definition: RigDef_File.h:1337
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:1247
RigDef::Prop::BeaconSpecial::flare_material_name
Ogre::String flare_material_name
Definition: RigDef_File.h:1109
RigDef::Keyword::PROPS
@ PROPS
RigDef::Keyword::SCREWPROPS
@ SCREWPROPS
RigDef::DifferentialTypeVec
std::vector< DifferentialType > DifferentialTypeVec
Definition: RigDef_File.h:234
RigDef::ShockOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Turboprop2::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1416
RigDef::Document::Module::fixes
std::vector< Node::Ref > fixes
Definition: RigDef_File.h:1514
RigDef::Keyword::SPEEDLIMITER
@ SPEEDLIMITER
RigDef::Prop::animations
std::list< Animation > animations
Definition: RigDef_File.h:1119
RigDef::Hook::node
Node::Ref node
Definition: RigDef_File.h:964
RigDef::WheelPropulsion::NONE
@ NONE
RigDef::Document::Module::soundsources2
std::vector< SoundSource2 > soundsources2
Definition: RigDef_File.h:1553
RigDef::Beam::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:633
RigDef::Document::Module::guid
std::vector< Guid > guid
Definition: RigDef_File.h:1523
RigDef::Rope::root_node
Node::Ref root_node
Definition: RigDef_File.h:1141
RigDef::VideoCamera::camera_name
Ogre::String camera_name
Definition: RigDef_File.h:1441
RigDef::Fileinfo::category_id
int category_id
Definition: RigDef_File.h:873
RigDef::Submesh::backmesh
bool backmesh
Definition: RigDef_File.h:1308
RigDef::Keyword::COMMENT
@ COMMENT
RigDef::Animator::OPTION_VERTICAL_VELOCITY
static const BitMask_t OPTION_VERTICAL_VELOCITY
Definition: RigDef_File.h:562
RigDef::Turbojet::back_node
Node::Ref back_node
Definition: RigDef_File.h:1404
RigDef::Animator::OPTION_GEAR_SELECT
static const BitMask_t OPTION_GEAR_SELECT
Definition: RigDef_File.h:581
RigDef::Animation::SOURCE_SEQUENTIAL_SHIFT
static const BitMask64_t SOURCE_SEQUENTIAL_SHIFT
Definition: RigDef_File.h:514
RigDef::Cab::nodes
Node::Ref nodes[3]
Definition: RigDef_File.h:722
RigDef::BeamOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Animation::SOURCE_SPEEDO
static const BitMask64_t SOURCE_SPEEDO
Definition: RigDef_File.h:508
RigDef::Keyword::NODES
@ NODES
RigDef::WingControlSurface::i_RIGHT_RUDDERVATOR
@ i_RIGHT_RUDDERVATOR
RigDef::Prop::BeaconSpecial::color
Ogre::ColourValue color
Definition: RigDef_File.h:1110
RigDef::TieOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Keyword::GLOBALS
@ GLOBALS