Menu

#18 [2.1.0 Test-1] Problem with projectiles horizontal flying trajectory

Non-Fatal
closed
nobody
None
5
2016-08-20
2016-07-17
No

Found a wierd problem with projectiles horizontal flying trajectory. It's not actually horizontal, it raises on few degrees, making a bit "diagonal" instead of "horizontal" trajectory.

Tested with r-launcher, plasmagun and BFG, as shown on video: https://www.youtube.com/watch?v=iCPCfb7EJqY
Problem does not seems to affect bullet attacks, even by greatly increasing DDF's ATTACKRANGE.

Also, tested this case on 2.0.4 - same problem there.

Discussion

  • Corbin

    Corbin - 2016-07-17

    Try commenting out the following line in DDFWEAP:

    [ROCKET_LAUNCHER]
    <...>
    //KICK=0.15;
    <...>
    

    Try now, make sure to have Weapon Kick "disabled" in the options menu as well.

    PS: I have added the ability for ANYONE to comment and reply on these bug reports now =)

     

    Last edit: Corbin 2016-07-17
  • Julian Nechaevsky

    Done as you said. Also tried to play around with much higher/zero/commenting “KICK=”, and both ON/OFF in menu options. No effect, trajectory still same :(

    Also tried r_vsync 0,1,2 on 2.0.4 – no effect. Finally, loaded 1.3.5 and doh, this problem found even there.

     
  • Chilly Willy

    Chilly Willy - 2016-08-19
    • status: open --> closed
     
  • Chilly Willy

    Chilly Willy - 2016-08-19

    Not a bug - this is working as intended. The height of attacks is controlled through the attacks.ddf file. The player has a nominal attack height of 32. The pistol has an attack height of 32, matching precisely. Projectiles, however, have a height associated with the projectile itself, and the attack height is the projectile height + the attack height. Looking at attack.ddf, the missile projectile height is 8 and the attack height is 32, making the final attack height 40. This does not match the player height, so missiles are high by the amount of the projectile height. To make the missiles or plasma match the player height to line up with the crosshairs, reduce the attack height for them in attack.ddf to 24.

    So if this is a bug in anything, it's a bug in the default attack.ddf file, not the code.

     
  • Corbin

    Corbin - 2016-08-20
    • Group: Non-Fatal --> Fixed Bugs
     
  • Corbin

    Corbin - 2016-08-20
    • Group: Fixed Bugs --> Non-Fatal
     

Log in to post a comment.