About node_attach? How can i know the node names in a model?

For example, I want to add something to the car body, but I don’t know the name of the node

I tried using the Warthunder CDK will read Enlisted’s grp model, but I’ve been unsuccessful in doing this so

2 Likes

well, current it does not work.

so… you don’t really need to know the nodes.
( which you can find by dm attach parts category )

for example, put one of the premium tanks with decorations, select the decoration it self, and it will roughly give you an idea how it works ( as i did it to put decorations on vehicles )

but the problem is, node attach parameter it self does not work.

once i gave the entity id ( the vehicle that i want the machinegun to attach ) and the position plus the node it want to attach it, each time that i restart, it doesn’t save the parameters for some reason. i believe it’s because currently it’s not implemented.

2 Likes

sorry, forgot to finish what i had to say,

so, as you can see, i managed to attach decorations. which they can move when you are in MP as well. problem is, this only works on halftrucks. because the second issue that i have encountered ( specifically with tanks ) nodes are not exactly where they say they are.

for example, i wanted to put a flag on a tank, double checked the node, and each time i restart, the flag it’s somewhere else but the turret.

i wanted to share the way of attaching decorations ( and kinda works for machineguns ) but nodes ids might be wrong or simply different from the halftruck ( as the halftruck it’s the only one that i managed to attach decorations the way i wanted.

and, doesn’t help the fact that it’s a quite time consuming task.

to make this halftruck, it took me at least 2 hours. because of having to copy each time the ids of the entities, position them, giving them the right timeplate etc.

but, if those issue will get fixed, as you can see, we can have a weaponized halftruck ( the bottom one ). ( i simply attached the machinegun to the decoration, attached it, and i managed to make a weaponized normal halftruck. didn’t managed to get rid of the aa turret though… so kinda looks wacky. and regarding the auto turret, unfortunately it’s controlled by AI.

3 Likes

I note that here some attachable zones.

entity{
  _template:t="germ_pzkpfw_iv_ausf_g_tunisia_premium"
  transform:m=[[0.986051, 0, 0.166445] [0, 1, 0] [-0.166445, 0, 0.986051] [-75.446, 4.99878, -177.206]]

  "attach_decorators__templates:array"{
    "attach_decorators__templates:object"{
      relativeTm:m=[[1, -0, 0] [0, -0, -1] [0, 1, -0] [-0.00111389, -1.58914, 0.0607093]]
      template:t="gaz_67"
      nodeName:t="bone_turret"
    }
  }
}

I think it’s nodeName.

Yeah. I attached gaz_67 to tank lol
It’s will be invisible, but still usable.

As result found way how to make bad teleports.

2 Likes

i’m well aware that the panzer iv has a flag on it’s turret. but it doesn’t work if you try to do the same on others tanks.

that’s what i’m trying to say.

2 Likes