Page 1 of 1
Turret Aiming [Solved]
Posted: Sat Mar 14, 2015 9:08 am
by Lorul1
I've made a new space ship model using softimage and I want some "rep_prop_shipturrets" to shoot at it, but for some reason when they aim to shoot at my new model they shoot above it. They think they are shooting at the model but they are missing so my new ship doesn't take damage. It's almost like there is a invisible dot above my model that they all want to shoot at. How do I getting tireets to shoot at the ship ?
Re: Turret Aiming
Posted: Sat Mar 14, 2015 2:22 pm
by jedimoose32
Add this to the ship's odf:
This is taken directly from the odf for my fortified gate in Darda: Beach. The bounding box centre of that model was above the actual gate, so the AT-TEs were consistently shooting over the gate.
Strangely, these things are usually in the format "X Y Z" but I'm pretty sure Y is the third value in this case. Here's an example from the stock assets, kas2_prop_sea_walldoor_2.odf:
(It may be that the values are in the order "X Y Z" but making the Z value negative moves the targeting point toward the 'back' of the model, which would decrease angle θ by lengthening the adjacent and hypotenuse sides of the invisible right triangle formed between the aimer and the target point, but keeping the opposite side constant. However this depends on which way the object is facing, or from which side the aimer is approaching... if they are approaching from 'behind' then decreasing Z would increase θ. Maybe try decreasing the second number instead of the third and report back with your findings?) 
Re: Turret Aiming
Posted: Thu Mar 19, 2015 9:59 pm
by Lorul1
It worked
Thanks Jedimoose32
Re: Turret Aiming [Solved]
Posted: Thu Mar 19, 2015 10:00 pm
by jedimoose32
Did you use the second or third value?