Custom dynamic objects

Post suggestions regarding RVGL here in this subforum.
User avatar
rodik
Posts: 20
From: Russia

Custom dynamic objects

Unread post by rodik » Sat May 27, 2023 8:00 pm

Idk how possible this is, but I would like to suggest adding custom objects in the game that you can interact with (not only abcblock, cone, packet, etc.) In order for them to work, you need to export models in .m format to the custom folder, as well as a collision in .hul format. All properties could be specified in properties.txt. Here is an example of what it might look like:
OBJECT{
          Object ID          0                             ;ID to be displayed in the game
          Name               "Object Name"                 ;Object name
          Model              model_name                    ;The name of the model in .m format
          Static             true                          ;If the object is static before the collision with the car
          Hardness           0                             ;Object bounce
          Visible            true                          ;Visibility in multiplayer
          Speed              0-100                         ;Throw speed of the object. 0 for spawn
          NeedsTrigger       false                         ;Whether a trigger is needed to spawn
          }
In Objects mode in MIG it will have a separate model, like custom animations : D
User avatar
jeff.d.guile99
Posts: 7

Re: Custom dynamic objects

Unread post by jeff.d.guile99 » Wed Jun 07, 2023 10:45 pm

And don't forget the custom sound played upon collision.
          SFX                sfx_name                      ;The name of the sound in .wav format
:re-volt: Start your engines! :re-volt: Let's go racing! :re-volt:
Post Reply