Page 1 of 2

Weapon sway in FH2

Posted: 2009-09-20 21:23
by Gosu-Rizzle
Hey Guys

Lately i'we been playing a bit of Forgotten hope 2 (great mod, lots of fun :-) ) but i noticed something today. They have added weapon sway to their sniper rifles!
Correct me if im wrong, but i believe the PR devs have said weapon sway could not be done with the BF2 engine? Am i missing some obstical here?
The proof! :o YouTube - FH2 Weapon Sway

Re: Weapon sway in FH2

Posted: 2009-09-20 21:24
by z0MbA
i noticed that too and thought the very same thing

Re: Weapon sway in FH2

Posted: 2009-09-20 21:25
by bosco_
The bullets still come out from the middle of the screen, it's just artificial etc.

Re: Weapon sway in FH2

Posted: 2009-09-20 21:25
by Scot
It can be animated, however your bullets will still go dead straight from the centre of your screen.

So say your weapon has swayed slightly to the left, if you shoot at that point, you will still shoot as if your irons are pointing dead straight in your screen.

Damn ninjas.

Re: Weapon sway in FH2

Posted: 2009-09-20 21:26
by spawncaptain
Has been discussed before. Position of the reticule does not influence where the bullet will go.

Re: Weapon sway in FH2

Posted: 2009-09-20 21:28
by Gosu-Rizzle
Damn, you just ruined my day :(
Too bad, cant say i wasnt expecting this kind of answer though. I know you are good at what do ;)

Re: Weapon sway in FH2

Posted: 2009-09-20 23:24
by Naruto-kun
they added sway so it will be a bit harder to hit with it if you are standing, crouch will reduce the sway and prone will remove it ;)

Re: Weapon sway in FH2

Posted: 2009-09-20 23:48
by ZZEZ
Jonny wrote:They dont have to. Add a barrel object and they can come from the barrel.
Can you provide an example of such code?I know this works in vehicles..

Re: Weapon sway in FH2

Posted: 2009-09-21 00:05
by Gosu-Rizzle
Sounds like we are on to something :smile: Fingers crossed!

Re: Weapon sway in FH2

Posted: 2009-09-21 13:37
by sakils2
I really hope Jonny is right and DEV's are looking into this. I hope one day *cough* 0.9 *cough* we'll have weapon sway!

Re: Weapon sway in FH2

Posted: 2009-09-21 13:57
by Truism
The perceived center of the screen can be moved using the camerabone. It's possible to make weapon sway that functions completely by throwing the sight picture off so the sights are unusable during certain animations by moving the camerabone and the sights. On irons, the iron sights can simply be moved out of alignment, and then small camerabone tweaks can be thrown in to confuse the situation a little further.

In principle it's the same thing that's done with the LAT sights, AT kits when being set up and most reload animations.

The idea isn't without it's problems, nor is it without it's merits.

Re: Weapon sway in FH2

Posted: 2009-09-21 15:24
by gazzthompson
sakils2 wrote:I really hope Jonny is right and DEV's are looking into this. I hope one day *cough* 0.9 *cough* we'll have weapon sway!
i wouldnt get ur hopes up, surely we would of heard about this on the various other bf2 mods or bf2 editor forums, or this forum?

Re: Weapon sway in FH2

Posted: 2009-09-21 15:34
by thebeanie
Is there no chance of getting scopes like that? more realistic and you can see a blurred image of the rest of the terrain rather then just Black?

Re: Weapon sway in FH2

Posted: 2009-09-21 15:43
by Nebsif
thebeanie wrote:Is there no chance of getting scopes like that? more realistic and you can see a blurred image of the rest of the terrain rather then just Black?
Agree! Thats epic, hope to see it in PR.

Re: Weapon sway in FH2

Posted: 2009-09-21 15:53
by sakils2
[quote=""'[R-DEV"]bosco;1141993']The bullets still come out from the middle of the screen, it's just artificial etc.[/quote]

[quote="Jonny""]They dont have to. Add a barrel object and they can come from the barrel.[/quote]
[R-DEV]ZZEZ wrote:Can you provide an example of such code?I know this works in vehicles..
I just heared it here gazz.

Re: Weapon sway in FH2

Posted: 2009-09-21 16:03
by bearking19
thebeanie wrote:Is there no chance of getting scopes like that? more realistic and you can see a blurred image of the rest of the terrain rather then just Black?
I sort of like the FH2 style of sniper scope with the blurred background. Doesn't really let you see much but it gives you the impression that you know whats going on beside. Could save you from a careless guy trying to knife you from the side.

Re: Weapon sway in FH2

Posted: 2009-09-21 16:06
by AquaticPenguin
It would be nice to have a similar slight weapon sway... Yes the bullets still come out of the center of the screen, but it does make it more difficult to aim without having to rely entirely on deviation.

I've heard you can use a barrel too, but I'm no modder so I can't be sure, although if it is possible then the guns would have to be properly zeroed. Overall it's quite a lot of work to do both so I'm not sure it would be very high priority.

The blurring effect on scopes in FH2 is achieved through shaders iirc. I think the reason Pr doesn't use custom shaders is because there was some issue with crashing/conflicting. I'm not sure if this is still the case.

Re: Weapon sway in FH2

Posted: 2009-09-21 16:27
by $pyker
Personally I don't like it. It looks really weird to be honest. The current PR animation style is the best in my opinion. (Great Work Chuck!!)