[HUD] Player-specific messages

dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

[HUD] Player-specific messages

Post by dbzao »

Yes, we are removing all the spam :)

We were able to tweak our code to send messages to each player individually. Messages like rules about using vehicles, kits, rally points and commander assets, that currently are displayed at the top of the screen for all team members, will now be displayed only to the player that needs that information. :D

Image

In the screenshot you can see a sequence of three actions that were responsible for those messages in my screen. First, I tried placing a bunker, but I didn't have the officer kit. So I requested it, getting the confirmation, and tried again, getting a new alert that I needed a build order from the commander. ;)

We are using BF2's medals, badges and ribbons HUD events to send those messages. Basically we made the decision of removing support for these types of awards from the mod. They are just shiny awards that don't bring anything useful to the mod.

Servers that use stats systems will hopefully not have any problems since our code will try to disable these specific awards, but if a system is using a different method we can help them remove it from the in-game stats python code. Ranks and general stats can still be active, it's just those specific awards that are removed.

Notice that we will not be giving any medals, badges or ribbons to players all the time, we are just using the HUD events to display information, while the current stats of the players remain unaltered.

Servers that don't use any stats systems won't have anything to worry about.

The benefits added to the mod with this new message system are way more interesting than any problems we may have with stats, so we are really happy bringing this feature to BF2 that many thought it wasn't possible. ;)

Now the only ones responsible for spam will be the servers with their messages (that we hope they put in longer intervals), game modes messages (that are really rare) and normal player chat.

We will give some tips on how to send player-specific messages in PR to anybody that wants to use the system in their custom scripts once the patch is released. ;)
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Post by Outlawz7 »

Can you throw the text chat on another part of the screen?
Since the QM has been revised, I think maybe putting the text chat, where the kill messages were would put all the spam into one spot, where it doesn't bother anyone.
Image
DeePsix
Posts: 2202
Joined: 2007-07-29 19:22

Post by DeePsix »

Nicely done DEVs! While the **QM** and I are good friends by now after sharing all those lemonades, vodkas, tea, and beers, and being locked in the brig.

I assume Fearosius that when you request a kit, the message will appear as in the screenshot. Will Server messages and such be broadcast at the top still? Will servers have the option to put their messages down at the bottom? Will we see the same messages from the QM in that lower area aswell? (IE DeePsix I have Issued 2 of 4 Automatic Rifleman Kits)

Again, nicely done! This will clean up the screen quite well!
Image
PR Testing Team: Serious Business.
[R-DEV]LeadMagnet: I guess that's what you get when an Irishman drinks light beer.....bad advice.
[R-DEV]dbzao: I'm Oscar Mike, OSCAR MIKE!!!!
Spearhead
Retired PR Developer
Posts: 1785
Joined: 2007-06-01 00:53

Post by Spearhead »

Team-related messages are put on to of the screen as usual. QM messages will not be customized so you will not see your name or how many kits were issued out of how many. All messages you see there are addressed to you and you will receive a small sound notification when you receive one.
Image
DeePsix
Posts: 2202
Joined: 2007-07-29 19:22

Post by DeePsix »

Interesting. I agree with everything. On the other hand I did actually find it helpful seeing the number of kits available at the top under the old QM system. Would you consider useful to retain or do you have reasons for not having it? (IE- Realism, Extraneous Information, etc)

The new message could read:

"Issued Marksman Kit 1 of 2" or something to that nature.
Image
PR Testing Team: Serious Business.
[R-DEV]LeadMagnet: I guess that's what you get when an Irishman drinks light beer.....bad advice.
[R-DEV]dbzao: I'm Oscar Mike, OSCAR MIKE!!!!
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Post by dbzao »

Yeah, the only "problem" with this system is that you can't have dynamic data in them. They are just static messages that can be used. But 100% better than all that spam. If we need to send dynamic information like the number of caches left to be destroyed in an Insurgency map, we just use the current system of team messages at the top.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Post by Rudd »

Excellent! Lovin it.

What's the sound notification like? a beep or somthing?
Image
DeePsix
Posts: 2202
Joined: 2007-07-29 19:22

Post by DeePsix »

Sounds good! Thanks for sharing your work and for dealing with all my questions.

~DeePsix
Image
PR Testing Team: Serious Business.
[R-DEV]LeadMagnet: I guess that's what you get when an Irishman drinks light beer.....bad advice.
[R-DEV]dbzao: I'm Oscar Mike, OSCAR MIKE!!!!
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Post by dbzao »

Dr2B Rudd wrote:Excellent! Lovin it.

What's the sound notification like? a beep or somthing?
Yep, just a small beep.
MAINERROR
Retired PR Developer
Posts: 1873
Joined: 2007-07-22 17:54

Post by MAINERROR »

Wasome very good improvement!
Waaah_Wah
Posts: 3167
Joined: 2007-07-26 13:55

Post by Waaah_Wah »

Meh.. I kinda liked being able to see how many kits are available out of how many when other ppl are requesting kits.

We need a way to check what kits are available ;)
Never argue with an idiot, he will just drag you down to his level and beat you by experience ;)

Killing for peace is like f*cking for virginity

I :33_love: Jaymz
marcoelnk
Retired PR Developer
Posts: 1581
Joined: 2007-03-03 11:30

Post by marcoelnk »

gud gud :)
=Romagnolo=
Posts: 4765
Joined: 2006-12-29 14:52

Post by =Romagnolo= »

SOrry for my vocabullary, but what I'll say express exactly what I feeling...



FUCKING FANTASTIC ! DEV'S YOU ARE GENIUS!
[R-DEV]OkitaMakoto:"Cheers, you're the man, Okita"
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Adriaan:"Damned classy Roma, if I may say so."
[R-DEV]Chuc:"Pro man, pro."
(yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
Ablack77
Posts: 209
Joined: 2007-06-06 09:48

Post by Ablack77 »

Excellent work chaps - less spam the better.

Which without trying to high jack a thread brings me to this question:

Do you guys plan on do anything about the audio spam coming from players trying (and failing)
to spot enemy troops (which as you might agree can become extremely annoying)

or is it not an issue as far as you (the devs) are concerned?

sorry for off topic question
There he goes. One of God's own prototypes.
A high-powered mutant of some kind never even considered for mass production.
Too weird to live, and too rare to die.
Masaq
Retired PR Developer
Posts: 10043
Joined: 2006-09-23 16:29

Post by Masaq »

Now *that* is nice... very nice.

"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
Sabre_tooth_tigger
Posts: 1922
Joined: 2007-06-01 20:14

Post by Sabre_tooth_tigger »

well done
TeRR0R
Posts: 451
Joined: 2007-10-20 10:33

Post by TeRR0R »

Great work!
But why only a beep? I want the siren sound! :mrgreen:
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Post by BloodBane611 »

Sweet. Spam begone!
[R-CON]creepin - "because on the internet 0=1"
Locked

Return to “2008”