Ammo Indicator

Making or wanting help making your own asset? Check in here
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Ammo Indicator

Post by AfterDune »

Ah, it was a transparent image, alrighty!
Yes, I like that red border - in a split second you can see the mag is empty, looks nice :) .

I look forward to seeing a 3- or 4-level setup.
Image
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Ammo Indicator

Post by Mats391 »

Here is a 4 level setup similar to what turista suggested. How the different levels look can be changed.
Image
For 100round mag the levels are: 100-82, 81-19, 18-7, 6-0
For 30round: 30-25, 24-6, 5-2, 1-0
Image

Mineral: TIL that Wire-guided missiles actually use wire
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Ammo Indicator

Post by AfterDune »

I like this one even better! Great job, Mats.
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Ammo Indicator

Post by Rhino »

Nice work :D
Image
K4on
Retired PR Developer
Posts: 5055
Joined: 2009-05-08 19:48

Re: Ammo Indicator

Post by K4on »

cool beans
Onil
Posts: 1232
Joined: 2007-08-19 09:50

Re: Ammo Indicator

Post by Onil »

Great work as always Mats.

I think this will be quite useful.
Image
ElshanF
Posts: 357
Joined: 2008-07-22 12:34

Post by ElshanF »

Looks awesome man
titsmcgee852
Posts: 316
Joined: 2012-10-06 00:37

Re: Ammo Indicator

Post by titsmcgee852 »

Mats391 wrote:Here is a 4 level setup similar to what turista suggested. How the different levels look can be changed.
Image
For 100round mag the levels are: 100-82, 81-19, 18-7, 6-0
For 30round: 30-25, 24-6, 5-2, 1-0
This one is good, colourblind people might struggle with the other one.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Ammo Indicator

Post by Mats391 »

I now added some variables when it shows. I decided to show it after minimum of 2secs of reloading as that is the only way to force the player into an animation.
This would not work for vehicle mounted guns as those dont have a second weapon to switch to in order to cancel the reloading. So vehicles need another way to trigger it.
This is how it currently looks in game:
Image
Image

Mineral: TIL that Wire-guided missiles actually use wire
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Ammo Indicator

Post by Rhino »

Interesting, its a bit clunky but overall I like it since we can't code it directly to do a mag check, this seems like the best solution that we can do :)

Alternatively we could have it show up when you hold down the Q menu or something for a bit of time.
Image
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Ammo Indicator

Post by LITOralis.nMd »

I decided to show it after minimum of 2secs of reloading as that is the only way to force the player into an animation.
If you have to reload to see how much ammo was left in the PREVIOUS magazine, what's the use of the indicator, as you'll have to expend the previous partially full magazine anyway, which in practice is no different than the current situation.

Sorry if I am misunderstanding what you're working on, if I read you incorrectly please explain a bit more.
Onil
Posts: 1232
Joined: 2007-08-19 09:50

Re: Ammo Indicator

Post by Onil »

As he said, you can cancel the reload by switching to something else in your kit. That way you check your mag for weight/amount of bullets and don't actually reload.
Image
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Ammo Indicator

Post by Mats391 »

I changed the look of the indicator as the previous one was making too much trouble on some resolutions. Due to this the red frame when empty is gone for now as well. They just didnt overlap that well.
Example of problem:
Image

New design:
Image

I also moved it to show when keeping comorose open and made the way it shows up less clunky
[XFIRE]61b3bb[/XFIRE]
Indicator is in bottom right
Image

Mineral: TIL that Wire-guided missiles actually use wire
Gosu-Rizzle
Posts: 610
Joined: 2009-06-06 13:23

Re: Ammo Indicator

Post by Gosu-Rizzle »

Awesome! Using the commorose seems to be perfect.
My only critique would be that im not sure i like having it as the 3 bars. They do make it easier on the eyes to quickly see what your ammo lvl is at, but it also looks less like a real mag than your first design.
Bluedrake42
Posts: 1933
Joined: 2009-07-23 17:52

Re: Ammo Indicator

Post by Bluedrake42 »

dude why is this not in the game right now
UTurista
PR:BF2 Developer
Posts: 985
Joined: 2011-06-14 14:13

Re: Ammo Indicator

Post by UTurista »

Gosu-Rizzle wrote:My only critique would be that im not sure i like having it as the 3 bars. They do make it easier on the eyes to quickly see what your ammo lvl is at
I thinks that's the point, you can easily see (feel) the level (weight) without really knowing the meaning.

Although you can argue that the current system, 4 levels, gives to much information for a conventional rifle.
For a LMG its perfect.

Bluedrake42 wrote:dude why is this not in the game right now
+1
Image


Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
Onil
Posts: 1232
Joined: 2007-08-19 09:50

Re: Ammo Indicator

Post by Onil »

Give him R-CON already...

His laser fixes are already in game and this should be too.

Great work mate ;)
Image
sweedensniiperr
Posts: 2784
Joined: 2009-09-18 10:27

Re: Ammo Indicator

Post by sweedensniiperr »

that q menu is really noice
Image
Wheres_my_chili
Posts: 240
Joined: 2011-07-31 23:35

Re: Ammo Indicator

Post by Wheres_my_chili »

Freaking beautiful
Post Reply

Return to “PR:BF2 Community Modding”