My unit won't be targeted correctly. That is, it is hit correctly as long as it stays still, but when I move it, well
In case of projectile weapons they are shot at the general direction of my unit and then explode in mid air if the unit moves. The model has ref_target, ref_hardpoint, ref_damage, ref_origin, ref_center, ref_head and ref_overhead.
I have this problem fixed now. The problem was that some attachments have a 'volume' entry in the model files. As far as I can tell, these volumes are only used for the attachments 'Ref_Target' and 'Ref_Shield'. This volume is defined as a radius or 'spread' around the attachment point. I've fixed the exporter to support this now whenever you create a Ref_Target or Ref_Shield attachment and it'll be included in the next update. At the moment, the radius will have to be a number rather than a visual element (I envision a 'sphere' around the attachment would do the job if I were to make it a visual element) but that may change in future updates if I figure something out.
I've tested this out on the zealot as it has two hit regions, shield hit region and once shields are depleted a 'chassis' hit region. It works well. The next update to the tools will add this feature and should fix up your issue tFighterPilot.
My unit won't be targeted correctly. That is, it is hit correctly as long as it stays still, but when I move it, well
In case of projectile weapons they are shot at the general direction of my unit and then explode in mid air if the unit moves. The model has ref_target, ref_hardpoint, ref_damage, ref_origin, ref_center, ref_head and ref_overhead.
Bumping for being unsolved.
@tFighterPilot: Go
Going to be looking into this problem shortly. I have a fair idea where the problem is.
I have this problem fixed now. The problem was that some attachments have a 'volume' entry in the model files. As far as I can tell, these volumes are only used for the attachments 'Ref_Target' and 'Ref_Shield'. This volume is defined as a radius or 'spread' around the attachment point. I've fixed the exporter to support this now whenever you create a Ref_Target or Ref_Shield attachment and it'll be included in the next update. At the moment, the radius will have to be a number rather than a visual element (I envision a 'sphere' around the attachment would do the job if I were to make it a visual element) but that may change in future updates if I figure something out.
I've tested this out on the zealot as it has two hit regions, shield hit region and once shields are depleted a 'chassis' hit region. It works well. The next update to the tools will add this feature and should fix up your issue tFighterPilot.
@NiNtoxicated01: Go
Thank you very much, this will make exported models much more appealing to use.
@tFighterPilot: Go
Apparently you can set the radius in the data editor. So... no problem I guess.