I rarely do anything other than infantry, but sometimes I really enjoy doing armor stuff (especially light/medium armor like BDRM and BMP's). I was wondering how the devs managed to get the coaxil weapons (MG's and Autocannon) to fire to the side of the gunners view? AFAIK, the bullets always come from the center of your screen, and never the weapon itself. Is this a trick of the camera, or are the rounds actually coming out of the space to our right?
M.
Re: Question about the coaxil
Posted: 2009-03-09 03:23
by Cassius
I think they were talking about soldia models with bullet coming out of the center of the screen.
Re: Question about the coaxil
Posted: 2009-03-09 04:46
by Cyrax-Sektor
This is speculation here, but in vanilla BF2, when something was too close to the M1A2 tank and it blocked the turret, the cannon would blast the obstruction.
So with vehicles, modders and developers have the ability to change where the camera is positioned on the vehicle, even though the fire is coming from a different set location.
That's my reasoning. It may be wrong, but that's how I think it's done.
Re: Question about the coaxil
Posted: 2009-03-09 05:02
by nick20404
I am pretty sure it changes every level of zoom.
Re: Question about the coaxil
Posted: 2009-03-09 05:29
by ReaperMAC
Might be best to ask/PM Falkun, since he was the one that made this possible.
Re: Question about the coaxil
Posted: 2009-03-09 05:40
by crazy11
All I know is it took a lot of work to get it to work.
PS. Reaper as an R-CON what has the world come to??????
Re: Question about the coaxil
Posted: 2009-03-09 08:03
by Scot
crazyasian11 wrote:PS. Reaper as an R-CON what has the world come to??????
Hookers and blow.
Congrats though dude.
Re: Question about the coaxil
Posted: 2009-03-09 13:53
by McBumLuv
Just noticed that now Congrats Reaper.
But yea, I don't think the bullets-from-centre-of-camera affects vehicles. As I've learned when shooting TOWs, where a friendly's head was in the way, but not on screen
Re: Question about the coaxil
Posted: 2009-03-09 16:26
by Alex6714
Because these weapons fire out of a barrel, and the barrel is positioned where it is in real life, not in the camera.
However there is a setting "fireInCameraDof"
As far as I know,
If set to 1, bullets come from the centre of your screen (easier to fire basically, cos it doesnt matter if your barrel is blocked, you just have to see the target.
If set to 0, bullets come from the barrel so you have to make sure you have a clear shot, looks better and in the end is more realistic.
So if the barrels are already there then its a matter of changing this setting really. Same has been done to the attack heli cannons if you check now.
Here you can see it set on the tank main gun. Crosshair/barrel could do with slight tweaking to make aiming more precise, but I only missed 1 target out of the many I fired so... (if it flashes, its hit).
Re: Question about the coaxil
Posted: 2009-03-09 16:36
by Jaymz
Alex, do you know if setting fireInCameraDof 0 fixes the problem with the Commander seeing the round go "up and to the left" of where it actually does?
Re: Question about the coaxil
Posted: 2009-03-09 16:49
by Alex6714
I never thought of that, but it might be worth trying. I know that if you look closely in BR files or even 3rd person you can visually see tracers coming from the screen (for example A10, you can see tracers coming from the pilots head rather than the cannon) so maybe it affects it.
Re: Question about the coaxil
Posted: 2009-03-09 16:51
by Jaymz
Alex6714 wrote:you can see tracers coming from the pilots head rather than the cannon
But yeah, something that'll be worth testing.
Re: Question about the coaxil
Posted: 2009-03-09 16:55
by Alex6714
'[R-DEV wrote:Jaymz;958536']
But yeah, something that'll be worth testing.
Awesome.
But yeah, I will try testing when I can, I just have a mess of files on my laptop and a fail wifi atm so I will when I can. Maybe it has something to do with dedicated also I don´t know but I guess this problem also occurs on local? Or it might be harder to test.
Re: Question about the coaxil
Posted: 2009-03-09 17:31
by Zimmer
Alex6714 wrote:Awesome.
But yeah, I will try testing when I can, I just have a mess of files on my laptop and a fail wifi atm so I will when I can. Maybe it has something to do with dedicated also I don´t know but I guess this problem also occurs on local? Or it might be harder to test.
Talk with afterdood about .:iGi:. test server or whatever he uses to test his admin script if you can use that to see.
Re: Question about the coaxil
Posted: 2009-03-09 17:51
by Alex6714
I did manage to test it on local, it didnt fix it, it just seems to be something network related, wont happen for the host, but will for anyone else.