Page 1 of 1
How does the bomb turning works?
Posted: Wed Jul 03, 2013 2:14 am
by ERYL
Hi bfmods guys!
Last weeks I readed a lot of code from bf1942 and bfv and started testing some code lines.
Recently I saw that the models of the heatseeking missiles and bombs from bfv doesn't turn with the projectile's trajectory. Such thing doesn't happen in 1942 (I could only test the bombs, because there is no seeker code...), and I would like to change that to start making a bfv mod.
Does someone knows how the bf1942's bomb turning works?
Re: How does the bomb turning works?
Posted: Wed Jul 03, 2013 3:15 am
by Swaffy
What do you mean by "turn"?
Re: How does the bomb turning works?
Posted: Wed Jul 03, 2013 4:50 am
by Vilespring
I think he is talking about smart missiles that automatically select a target and fly at it.
Re: How does the bomb turning works?
Posted: Wed Jul 03, 2013 1:10 pm
by ERYL
I meant that the bombs point to the ground some time after relase.
Re: How does the bomb turning works?
Posted: Wed Jul 03, 2013 6:10 pm
by Vilespring
Ohhhh.... That is different. this is it.
Code: Select all
ObjectTemplate.gravityModifier 0.0
as it is, it has no gravity effect. increase it, and it will hit the ground faster. Note a higher velocity does not effect time to hitting the ground. This is also true in real life. a bullet is fire horizontally and at the same time another bullet is dropped from the same height, the bullets hit the ground at the same time. The velocity will just change the max range of the gun.
Re: How does the bomb turning works?
Posted: Thu Jul 04, 2013 1:38 am
by ERYL
had to edit... the image was too big to post as img.
Re: How does the bomb turning works?
Posted: Thu Jul 04, 2013 3:00 pm
by Swaffy
Have you tried to attach a wing far behind the projectile? Or something to drag the back end so that the front end will drop...
Re: How does the bomb turning works?
Posted: Thu Jul 04, 2013 6:38 pm
by ERYL
Have you tried to attach a wing far behind the projectile? Or something to drag the back end so that the front end will drop...
I will try that. Thanks.