Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ammo from vehicles #1322

Closed
Monegaskeren opened this issue Jun 10, 2014 · 5 comments
Closed

Remove ammo from vehicles #1322

Monegaskeren opened this issue Jun 10, 2014 · 5 comments
Milestone

Comments

@Monegaskeren
Copy link

I was wondering if you could implement the possibility to remove ammo that you have added to vehicle's guns. I really like the vehicles with a special weapon that requires the rare ammo only found in black crates, especially the black hawk and the armored SUV, but when the weapons on these vehicles are used only as defence, it is hard to know when to load the ammo into the guns if you do not want to waste it without even firing a single round. I have read the issue about magazines filling at server restarts and understands that this is not fair either. A suggestion could be to allow unloading of ammo from a vehicle if the clip is still unused.

@vbawol
Copy link
Member

vbawol commented Jun 10, 2014

The only way this would work is if you did not fire a single bullet, I think that we could allow it in this case only.

@vbawol vbawol added this to the 1.0.6 milestone Jun 10, 2014
@Namindu
Copy link
Contributor

Namindu commented Jun 29, 2014

@vbawol anybody tried the "setVehicleAmmo"? It uses a precent system tho. So we could put it to use the database, so it would save the ammo after restart.

@vbawol
Copy link
Member

vbawol commented Jun 29, 2014

setVehicleAmmo does not work for JIP so it causes many issues with ammo count differences between players.

@Namindu
Copy link
Contributor

Namindu commented Jun 29, 2014

hmmm. What if we make another column called "Vehicle ammo" make it a array if theirs more then one mounted gun, and use "addMagazine". At the start of the server, run a hive call gets the array convert that into a number and us addMagazine, to load it into the game?

@AirwavesMan
Copy link
Contributor

As Merlijn mentioned in discord this would need a DB call everytime the gun shots. This will not be added to save performace and the network traffic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants