Simple Parts Pack for Flan's Mod

Simple Parts Pack for Flan's Mod

903k Downloads

If a guns bullet speed is above the default of 3 makes bullets turn into raytraced bullets.

slyfoxD opened this issue ยท 2 comments

commented

Bug
This bug makes it impossible to have a bullet entity travel faster than the default speed of 3, which is about arrow speed.
You can still set the bullet speed between 3.0 to 0.01 to have the guns shoot the actual bullet entity, but if the number is made 3.1 instead of making the bullet entity travel faster the gun just shoots a raytraced bullet.
Turning on raytraced bullets was supposed to be an option if you set the bullet speed to 0.
What I think may be happening is any number larger than 3 is being read as invalid giving the bullet a speed of 0, thus the speed is now set to 0 witch is raytraced.
This is probably why the rockets from a rocket launcher are instat raytraced instead of having a bullet with a smoke trail be shot.

To Reproduce

  1. Open any weapons pack, best example is the nerf pack.
  2. Open the guns folder and pick the gun you want to have instant hitscan like properties.
  3. Edit the text file of the gun you want to, and scroll around and find the "BulletSpeed". Change the following number to any that's above 3 or not 0.

Expected behaviour
What I expected to do was to create a bullet that could you see travel through the air that is faster than an arrow and be affected by bullet drop.

Versions

  • Forge: forge-1.12.2-14.23.5.2838
  • Flan's Mod: 1.12.2-5.6.0-beta.7

Additional
I'm not sure that this is intentional given that this is the most obvious with the Nerf pack or the rocket launchers when you set their bullet speed above 3.
This probably would have been fixed a long time ago if there had been no option to have the bullets be raytraced.

commented

This seems to contradict #1116

commented

Well #1116 seems to be a previous version of the mod, but I did notice that when the gun is using the default speed of 3 witch fires the actual entity bullet the bullet seems to pass through mobs if your too close within 4 blocks. However the ray tracing bullets hit their targets at point blank. perhaps #1116 had a typo in the name because i see that in their instructions they said they set their bullets to 3 witch is when the bullets may pass through mobs at point blank.