Axeface wrote: ↑Wed, 17. Feb 21, 04:00
Did you adjust the <size> attribute? Now I dont actually know what this attribute does, I think it has something to do with a ships 'bounding box'. Whatever it does its something invisible and when messing with it the 3rd person camera distance changes, to get my cyclops working properly I had to fiddle around with this value. My guess would be that its possible the fighters dont think they are in range? Try making the values somewhere near the size of the ship. I may be completely wrong of course.
PS: - You have new engines there, how hard was it to get animations etc working for them? I would like to make some new engines but its really daunting.
The collision box has perfect siz. The XR converter always gives the right dimensions for the collision model.
To the engines, I just use the khaak medium engine and placed them inside the model so you dont see them. The trail effects are just cosmetic
.
aurumgallente wrote: ↑Wed, 17. Feb 21, 08:03
Does it have proper collision model? What ship did you take as a template to make your khaak ship? I would recommend you to take component file and macro file of existing XL ship and put there your node of "part_main" connection. Also check first lines of your component file and macro file and make sure you have proper class of your ship
Code: Select all
<component name="ship_arg_xl_carrier_01" class="ship_xl">
Code: Select all
<macro name="ship_arg_xl_carrier_01_a_macro" class="ship_xl">
As said the collision model is perfect. I sure tested that when I attacked the ship myself in a fighter. Also all other ship classes can attack it properly.
I also gave it the right ship class in macro and component xml.
Nothing helped
.
Another idea I had was that maybe because I placed the engines inside the model, the fighter want to target them but dont have a direct los to them and therefore cancel their attack. But I now made them unittable without any effect (but maybe that tag does not wort).
Edit:
Ok it seems that the ships wanted to target something that was inside the model. I removed all modules except the weapons and now they attack the ship at the weapons positions. Now I need to find out what module was causing the problem.
Thank you both for your help!
XR Ship Pack (adds several ships from XR)
Link
Weapon Pack (adds several new weapons)
Link
Economy Overhaul (expands the X4 economy with many new buildings)
Link
X4 Editor (view stats of objects and make your own mod within a few clicks)
Link