preister / Celts_Altis_Life

Celts Clan Arma 3 Altis Life RPG Multiplayer mission
6 stars 5 forks source link

Show the player the bounty which is currently on his or her head #30

Closed preister closed 9 years ago

preister commented 9 years ago

General idea is to display it together with hunger, thirst and health.

preister commented 9 years ago

Implementation is relatively easy, number updates are handled in fn_hudUpdate.sqf and the number fields and icons are defined in ui.hpp. More difficult is to find a nice icon which is descriptive and a nice way to display the numbers - current ideas are a sheriff star and and money in k.

However there are 2 issues I see here, rounding of numbers is a frnk mess in sqf and I wander what we achieve with displaying just a number, is that really a good way to let a player know how much they are wanted?

PS. On a second though numbers are definitely the most generic solution with the most robustness towards future changes, lets just go with numbers first.

preister commented 9 years ago

Icon ideas:

preister commented 9 years ago

Dubbz suggested kk for displaying the numbers which sounds quite sensible.

Duubz commented 9 years ago

Did you get anywhere with this one mate or have you put it on the back burner?

preister commented 9 years ago

Not really, but was focusing on bugs. So this is the next on the development list.

Currently in the pipeline ahead of this:

... what's next after this @CeltS-Dubbz261 tell me your wish list :) ?

preister commented 9 years ago

@CeltS-Dubbz261 Icon? http://oyster.ignimgs.com/mediawiki/apis.ign.com/ratings/6/67/Cero_crime.gif

Duubz commented 9 years ago

Yeah that looks ok. I also like this one, what do you think?

http://www.clipartlord.com/wp-content/uploads/2014/02/police-badge2.png

preister commented 9 years ago

yeah, I can see that work ... I'm gona try to make a 40x40 icon out of it tonight and we can give it a shot.

preister commented 9 years ago

OK this is now definitely working (oh yes I managed to fix up my local dev server \o/) but I ran into one small issue ... I dont seem to be able to convert the image correctly into a paa (for the transparent background) - this is essentially the result when I display it in the client: untitled3

Duubz commented 9 years ago

hmm, strange one. I assume it looks ok as a .paa file out of game?

preister commented 9 years ago

Yes :( capture

preister commented 9 years ago

Gave it another try still no luck - I'm doing something wrong untitled4

... it looks stretched as well.

preister commented 9 years ago

Ups didn't want to close that.

preister commented 9 years ago

Also done