codenamecpp / carnage3d

Reimplementation of Grand Theft Auto 1 [GTA1]
MIT License
470 stars 38 forks source link

Incorrect rate of fire and ammo consumption #58

Closed MiroslavR closed 3 years ago

MiroslavR commented 3 years ago

Here's a table illustrating the timing differences of weapons being emptied from full (99) ammo:

Weapon Original game Carnage3D
Pistol ~42s ~50s
Machine gun ~21s ~13s
Flamethrower ~21s ~7.5s
Rocket launcher ~84s ~98s

MG and flamethrower empty way too fast in Carnage3D. They also seem to produce fewer projectiles - Carnage3D considers 1 ammo = 1 projectile, whereas the original game has several projectiles (5?) for 1 ammo.

codenamecpp commented 3 years ago

Wow, that's an exhaustive comparison, thanks! :)

codenamecpp commented 3 years ago

It should be pretty close now, although not 100% accurate. These weapon timings can be configured via gamedata/entities/weapons.json so it is possible to play with.