Damn
There another one problem. Probably attached objects will be around map after that soldier died.
Damn
There another one problem. Probably attached objects will be around map after that soldier died.
oh no…
that’s actually kinda funny.
but… not ideal
so… i suppose no custom weapons yet
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.
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
Hard to tell, but…
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.