YOU ARE GENIUS POCK, JA!'[USF wrote:Doc.Pock;1804050']Well its just the thing of turning wind towards the ground and add the right speed so that the bullets gravitational acceleration is aroumd 9.81. I dont know how you do the deflection but i suppose every tick the bullet gets x percent of windspeed in winddirection right?
Wind affected projectiles!
-
spawncaptain
- Posts: 466
- Joined: 2009-05-22 20:11
Re: Wind affected projectiles!
User Ubaydah: "I used to play Call of Duty a lot and Battlefield 3. I am really good at those games 10th prestige, High K/d., I can kill people easily, etc. But on PR, for me, to be honest, I kind of suck."
User Not_able_to_kill: "Frontliner, you like evil man who comes to family house during christmas, takes out tree because it's too happy, so they can be just as sad as you"
User Not_able_to_kill: "Frontliner, you like evil man who comes to family house during christmas, takes out tree because it's too happy, so they can be just as sad as you"
-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
Actually it's a bit of a secret about how it's done now'[USF wrote:Doc.Pock;1804050']Well its just the thing of turning wind towards the ground and add the right speed so that the bullets gravitational acceleration is aroumd 9.81. I dont know how you do the deflection but i suppose every tick the bullet gets x percent of windspeed in winddirection right?
Last edited by dodek96_pl on 2012-08-16 16:27, edited 1 time in total.
If you think something is impossible, let someone who doesn't know that do it 
-
ShockUnitBlack
- Posts: 2100
- Joined: 2010-01-27 20:59
Re: Wind affected projectiles!
If ye has tracer and normal round drop working properly, ye shalt be revered as a god and receive a virgin goat for sacrifice on every second Tuesday for the rest of your life, precluding us running out of virgin goats.
-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
Thanks... I guess?ShockUnitBlack wrote:If ye has tracer and normal round drop working properly, ye shalt be revered as a god and receive a virgin goat for sacrifice on every second Tuesday for the rest of your life, precluding us running out of virgin goats.
I've made my projectile use current PR physics and it drops much less. The weapon in previous video used 700 m/s muzzle velocity and in this new video it uses M4 velocity (884 m/s) so this is what shooting M4 would be like. Since you don't usually engage at 800m or so, implementing this wouldn't make any sense at all without other changes made to projectile physics.
Wind Affected Projectiles on PR Physics - YouTube
Last edited by dodek96_pl on 2012-08-16 18:58, edited 1 time in total.
If you think something is impossible, let someone who doesn't know that do it 
-
BroCop
- Posts: 4155
- Joined: 2008-03-08 12:28
Re: Wind affected projectiles!
Thats awesome but I do have a question. To my understanding the tracer round is somewhat bugged (as in its dropping faster than it should). Would the wind actually make the tracer unpredictable or is my memory shit?

-
Moszeusz6Pl
- Retired PR Developer
- Posts: 939
- Joined: 2010-06-24 13:41
-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
I wasn't aware of that, but I can make the non-tracer have same physics like tracer roundsCroCop wrote:Thats awesome but I do have a question. To my understanding the tracer round is somewhat bugged (as in its dropping faster than it should). Would the wind actually make the tracer unpredictable or is my memory shit?
I thought it was quite obvious that they move in a compass direction (north only ATM), you can see that in the videoMoszeusz6Pl wrote:Did this affect bullets to move for example to west, or to the left?
If you think something is impossible, let someone who doesn't know that do it 
-
Pvt.LHeureux
- Posts: 4796
- Joined: 2009-04-03 15:45
Re: Wind affected projectiles!
Wtf are you guys about tracers not having bullet drop? FH2 has tracer rounds with bullet drops, so does Project Normandy currently
??:

Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: Wind affected projectiles!
Haven't read this thread or been able to watch the videos so forgive me if its mentioned somewhere but how is this done? Is it though Python code or some other external coding system or have you been able to do it with BF2's code?
That's my understanding of it anyways I haven't dealt with ballistics at all its just going off what I've been told, and can remember
The problem is tracers have a different trajectory to normal rounds, for some unknown reason that hasn't been able to be worked out or countered. In PR we don't have much of a bullet drop so its hardly noticeable but give a much bigger bullet drop, and its very, very noticeable the difference.Pvt.LHeureux wrote:Wtf are you guys about tracers not having bullet drop? FH2 has tracer rounds with bullet drops, so does Project Normandy currently??:
That's my understanding of it anyways I haven't dealt with ballistics at all its just going off what I've been told, and can remember
-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
BF2 code[R-DEV]Rhino wrote:Haven't read this thread or been able to watch the videos so forgive me if its mentioned somewhere but how is this done? Is it though Python code or some other external coding system or have you been able to do it with BF2's code?
I'll test and see if tracers really affect the projectiles but I doubt so.[R-DEV]Rhino wrote:The problem is tracers have a different trajectory to normal rounds, for some unknown reason that hasn't been able to be worked out or countered. In PR we don't have much of a bullet drop so its hardly noticeable but give a much bigger bullet drop, and its very, very noticeable the difference.
That's my understanding of it anyways I haven't dealt with ballistics at all its just going off what I've been told, and can remember![]()
EDIT: Yes they do! But there is a workaround for that. I've just deleted the whole tracer code bit from the projectile and it wasn't affected by wind or gravity at all. However, when I added it back but set everything (except for tracerInterval) to 0, the tracer wasn't visible but the bullet was affected
Last edited by dodek96_pl on 2012-08-17 06:25, edited 2 times in total.
If you think something is impossible, let someone who doesn't know that do it 
-
Alek-say
- Posts: 349
- Joined: 2010-11-27 20:17
Re: Wind affected projectiles!
What about this animation of crawling?
G3SG1 Animations - BF2 Airsoft - YouTube
Nice work! I think it should be used in PR too.
G3SG1 Animations - BF2 Airsoft - YouTube
Nice work! I think it should be used in PR too.

-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
HeheheAlek-say wrote:What about this animation of crawling?
G3SG1 Animations - BF2 Airsoft - YouTube
Nice work! I think it should be used in PR too.
I've taken a bit of code from FH2, added more code and now you have prone animations different for all crawling directions
If you think something is impossible, let someone who doesn't know that do it 
-
Chuc
- Retired PR Developer
- Posts: 7016
- Joined: 2007-02-11 03:14
Re: Wind affected projectiles!
What about this animation of crawling?
I think it should be used in PR too.
-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
The master has spoken[R-DEV]Chuc wrote:.......
EDIT: I've done some more testing. I've set tracerInterval to 3 and two rounds have different physics than the third one. This is really strange. Still, if tracerInterval is set to 1, it has the same physics as the one with visible tracer.
Last edited by dodek96_pl on 2012-08-17 07:16, edited 2 times in total.
If you think something is impossible, let someone who doesn't know that do it 
-
Alek-say
- Posts: 349
- Joined: 2010-11-27 20:17
Re: Wind affected projectiles!
That's nice![R-DEV]Chuc wrote:.......
dodek96_pl, you have so many interesting works in BF2. New animations, scripting etc. Great models! Are you modeler too?

-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
No, I usually use models from other mods. I can only do the "mesh-hacking", that is editing existing meshes to have parts from other meshes.Alek-say wrote:That's nice!
dodek96_pl, you have so many interesting works in BF2. New animations, scripting etc. Great models! Are you modeler too?
Thanks to Antol22, I've came up with an idea on how to make the wind change its direction or strenght
If you think something is impossible, let someone who doesn't know that do it 
-
Alek-say
- Posts: 349
- Joined: 2010-11-27 20:17
Re: Wind affected projectiles!
Anton? Something from Russian names.Antol.PL wrote:No problemAnd i am Antol. So well did not you call me Anton like other players in PR
![]()
So, I suppose that normal ballistics in PR is possible. And the directions of the wind will be random or permanent?
By the way, this animation of crawling with SVD is awesome!
http://www.youtube.com/watch?v=hnage-VpdbU&feature=plcp
Last edited by Alek-say on 2012-08-17 09:44, edited 1 time in total.

-
dodek96_pl
- Posts: 45
- Joined: 2010-11-19 15:14
Re: Wind affected projectiles!
The wind direction will have a forecast. That means after x period of time, it will change in strenght and direction. The only problem is that it doesn't work ATM. I'm trying to find out why
If you think something is impossible, let someone who doesn't know that do it 



