9 additional questions that i have for the editor

Damn :frowning:

There another one problem. Probably attached objects will be around map after that soldier died.


1 Like

:skull:

oh no…

that’s actually kinda funny.
but… not ideal

so… i suppose no custom weapons yet

1 Like

I noted that tank decorators disappears after that you remove tank. So… After some time I found way how you can remove attached objects after soldier death/main object disappears. For that just extend your custom rendinst and add some properties.

myRendinst{
  _extends:t="game_rendinst"
  _extends:t="base_vehicle_decor"
  ri_extra__name:t="is_table_a"
  animchar__res:t="sandbag_single_decor_c_char"
  collres__res:t="sandbag_single_decor_c_collision"
  animchar_render__enabled:b=no
}

It should work.

1 Like

can you elaborate a bit on what do you mean?

i’m not following

also, why did you added the sandbags res.

what’s the hidden secret behind

1 Like

Hard to tell, but…


This tank have many decorators/special base_vehicle_decor entities. They usually used for attach to vehicles and will disappears after that you remove tank/main object.

So I added _extends:t=“base_vehicle_decor” to my rendinst to make it disappear after destroying main object.

Because base_vehicle_decor entity can’t be without animchar__res and collres__res. So I added it. They’re from random decor object. And then I hide them by editing animchar_render__enabled:b=no.

2 Likes

ahhhhh i seeeeeee :slight_smile:

good stuff!

because i only now just realized:


( quite an ugly police car, i know… but that will do )

2 Likes