Closed kai-li-wop closed 4 months ago
@mgerhardy: To apply assist medal for BB please have a look at g_trigger.c, search for comment: "// FIXME: If some players come "later", they will also be calculated for the full time."
We need to distinguish between first player and others coming later.
AddBalloonScores simply gives everyone a PadStar award near the balloon.
e41bf0401750d5ff47174bef87cb3a9e4a0e52f7 should apply the assist medal (PadAce) to Big Balloon. Would be good to test this a little. I could not debug this, but it seems that always the same player receives PadStar, even if he is coming later to raise the balloon.
PadAce (assist) should work in BB now as intended.
PadAce (assist) should work in BB now as intended.
I can confirm this. Just played a round of BB because of a different issue. The Medal triggered just fine! 👍
Some more info on how the Assist award could work also in the game mode Spray Your Color Team:
\g_gametype 10
\devmap wop_jail
\give ammo_spray
\give ammo_spray
\give ammo_spray
\give ammo_spray
\give ammo_spray
Drop all cartridges with Backspace or F-key directly to another player. If he scores min 5 cartridges in a row (25 points) he will achieve SprayKiller. So the cartridge giver will receive PadAce award.
Due to unforeseen difficulties and limited capacity, we will not be implementing WatchPad for the SYC team.
Tasks
Apply the Assist award also to the game mode Spray Your Color Team. It should be awarded for helping someone to achieve SprayKiller or SprayGod by actively giving (throwing) cartridges to that player. So we need to track who gave how many cartridges to another player before scoring SprayKiller or SprayGod afterwards. Like in CTL we could set a 10 seconds counter in which the player who receives the carts must score.Note to myself and testers: whatever is written in online wikis about the Assist medal in CTF/CTL, there are 2 ways to get it:
If there are two teammates involved, one killing the opposing lolly carrier and the other returning the lolly, both will receive the Assist medal as long as a third teammate scores within 10 seconds.