Thoughts in new reward/medal system?

General discussion of the port and Doom-related chat.

Good?

 
Total votes: 0

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

Thoughts in new reward/medal system?

#1

Post by Dark-Assassin » Tue Jun 19, 2012 5:44 am

I have quickly thought up of a nice customizable reward system.
  • My idea on how it will work
  • Template:

    Reward Number or Identifier
    {
    type: RWD_KILL / RWD_FIRSTKILL / RWD_DEATH / RWD_ACCURACY / RWD_PICKUP / RWD_DROP / RWD_CAPTURE / RWD_DENIED / RWD_ASSIST / RWD_DEFEND / RWD_WIN / RWD_LOSE / RWD_CUSTOM
    spree: True/False, Sprees are for things that happen in a row. Usually without deaths. Usable with all types. RWD_WIN and RWD_LOSE aren't affected by deaths but their opposite.
    name: Used for easy formatting. Also good for printing to console without having the broadcast message set. "%o gained %n!"
    amount: Amount required to achieve. Not for Accuracy and similar types.
    threshold: Threshold of how often or how many is required to earn this reward. RWD_ACCURACY will instead count from the center of the hitbox out in units, not percentage.
    theiritem: Used so either your ally (For defensive/assistance types) or enemy must have an Inventory object. Multiple objects separated with commas, group objects in brackets.
    youritem: Used so you require an Inventory object. Multiple objects separated with commas, group objects in brackets.
    broadcast: True/False
    message: Message shown to you.
    broadcastmessage: Message shown to other players. Best not used with RWD_LOSE.
    sound: Sound played to you.
    broadcastsound: Sound broadcasted to other players. Best not used with RWD_LOSE.
    icon: The icon to show above someone's head.
    reward: Can be used to reward points or an inventory object, or take them or even execute an ACS script on the player. Points: points($1), Give/Take: give($1) / take($1), ACS: execute($1). Separate multiple definitions with commas.
    punishment: Same as above but affects the victim, not the rewarded.
    rewardglobal: True/False, Affects all team players, or execute an ACS script globally.
    punishglobal: True/False, Same as above but also used for all enemy players in non team games.
    gametype: To be used in which hard coded gametypes. Separated with a comma for each.
    spawn: Spawns the defined actors at the player. Each separated by commas. Heights and offsets can be used in brackets. otherwise spawn at default height. Ie. (Actor,X,Y,Z,Angle,Pitch,Absolute/Relative(0/1 thing))
    }

    RWD_KILL: Multiple kills in a short amount of time.
    RWD_FIRSTKILL: First Kill of the match/round.
    RWD_DEATH: When you die. Reward and Punishment identifiers are reversed when this type is used.
    RWD_ACCURACY: Accuracy to your firing.
    RWD_PICKUP: Pickup an item, get a reward.
    RWD_CAPTURE: Capture the flag or skull.
    RWD_DENIED: Die when close to a capture or just lose the match.
    RWD_ASSIST: Assist the flag, skull or stone carrier. Could also be used with the "item" parameter.
    RWD_DEFEND: Kill the enemy flag, skull or stone carrier. Or kill your ally flag, skull or stone carrier's attaker. Could also be used with the "item" parameter.
    RWD_WIN: When you win the round or match. Best just for the announcement that you won the match.
    RWD_LOSE: Same as above but when you lose.
    RWD_CUSTOM: Used for when calling via ACS or Decorate. Local inventory items, requirements and messages will be applied to the caller or the defined TID.

    RWD_CAPTURE, RWD_DENIED, RWD_ASSIST and RWD_DEFEND would only mainly apply to CTF, Skulltag and Posession. RWD_ASSIST for Posession could apply for Team Posession.
    RWD_ASSIST and RWD_DEFEND could also probably be applied to Team Deathmatch.
    The "Random" function may also be useful with the "reward" and "punishment" parameters.

    %n = Name of the reward, defined in the "Name" parameter. If not defined, use the Type's default.
    %o = The one who got the reward.
    %k = The victim.
    %r = The points or inventory item they got/taken.
    %a = The amount of points or inventory items they got/taken.
    %p = The points or inventory item the victim got/taken.
    %c = The amount of points or inventory items the victim got/taken.
    %w = The weapon used.

    cl_rewards = Replaces cl_medals. If False, will disable all sounds, icons and messages, but not any other identifiers.
    cl_rewardbroadcast = If False, disables receiving of all broadcast messages and sounds.
    sv_forcerewards = If True, indirectly forces cl_rewards true.
    sv_forcerewardbroadcast = If True, indirectly forces cl_rewardbroadcast true.
    The force svars can be useful in some mods that perhaps should use it, such as WDI.

    This could also be allowed client side, as in loading via autoexec.cfg or your skins directory. This can be done by disabling all inventory checks and broadcasting to other players.
    This makes it so it's just extra sounds and messages shown to the client. Should still pick up on other player sprees/deaths on the client because the server sends the kill/death data anyway.
Formatting of this post be changed if needed.
  • A stupid Idea
  • Also stupid idea, but what if this also applied to monsters?
    "A Cyberdemon is on a Killing Spree"
    Or
    "Player is on a Rampage" after killing a few monsters, but have the spree thresholds perhaps 2-10x bigger than defined by default.
    Or
    "A Zombieman defended a Shotgunguy from Player"

I would like some thoughts on this before I suggest it on the tracker.
Last edited by Dark-Assassin on Fri Jul 20, 2012 10:35 pm, edited 1 time in total.

User avatar
Ivan
Addicted to Zandronum
Posts: 2228
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Thoughts in new reward system?

#2

Post by Ivan » Tue Jun 19, 2012 9:01 am

First of all here's the part I don't agree with, the player getting sprees from monsters. This can be done in mods if wanted or as an additional mod for survivals, it's not necessary.

Customizable medals however, are a big necessity. You can't possibly override them with ACS so it's most handy they are removed and replaced with something we have full control over. Makes way for interesting stuff too ! I support this.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Thoughts in new reward system?

#3

Post by Dark-Assassin » Tue Jun 19, 2012 9:31 am

Yea, the monster idea was just a stupid random thing I thought of. Although it could just be there for the hell of it, adds something different.

User avatar
Disguise
Retired Staff / Community Team Member
Posts: 359
Joined: Thu May 24, 2012 10:00 pm
Location: Romania
Contact:

RE: Thoughts in new reward system?

#4

Post by Disguise » Tue Jun 19, 2012 10:11 am

What about a MEDALDEF? Otherwise the idea is pretty cool.
Image

Catastrophe
Retired Staff / Community Team Member
Posts: 2568
Joined: Sat Jun 02, 2012 2:44 am

RE: Thoughts in new reward system?

#5

Post by Catastrophe » Tue Jun 19, 2012 10:29 am

.
Last edited by Catastrophe on Fri May 11, 2018 7:28 pm, edited 1 time in total.

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Thoughts in new reward system?

#6

Post by Dark-Assassin » Tue Jun 19, 2012 11:43 am

Well, updated the OP. Now has an idea for client sided reward system and some commands.

Synert
Forum Regular
Posts: 228
Joined: Mon Jun 04, 2012 12:54 pm
Contact:

RE: Thoughts in new reward system?

#7

Post by Synert » Tue Jun 19, 2012 12:25 pm

This would be awesome if added.

Catastrophe
Retired Staff / Community Team Member
Posts: 2568
Joined: Sat Jun 02, 2012 2:44 am

RE: Thoughts in new reward system?

#8

Post by Catastrophe » Sat Jun 23, 2012 12:38 am

.
Last edited by Catastrophe on Fri May 11, 2018 7:31 pm, edited 1 time in total.

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Thoughts in new reward system?

#9

Post by Dark-Assassin » Sat Jun 23, 2012 8:39 am

Who says it won't use the current medal icon system? Or an improved one for that matter.

Hmm, but also spawning custom actors for SFX medals could also be nice.
Last edited by Dark-Assassin on Sat Jun 23, 2012 8:40 am, edited 1 time in total.

User avatar
Ivan
Addicted to Zandronum
Posts: 2228
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Thoughts in new reward system?

#10

Post by Ivan » Sat Jun 23, 2012 10:19 am

-=Dark-Assassin=- wrote: Who says it won't use the current medal icon system? Or an improved one for that matter.

Hmm, but also spawning custom actors for SFX medals could also be nice.
Well their position is registered dynamically, where as spawning something to move over you is not as smooth... I have no idea why this happens but being able to use the same mechanic for other purposes would be great.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Guest

RE: Thoughts in new reward system?

#11

Post by Guest » Sat Jun 23, 2012 11:10 am

Add to the "stupid idea" some sort of achievements. Like complete the level under par time, complete level without die (coop), used all weapons (Rambo!), killing x monsters in a row, etc.. Using cool/funny names.

User avatar
Dusk
Developer
Posts: 581
Joined: Thu May 24, 2012 9:59 pm
Location: Turku

RE: Thoughts in new reward system?

#12

Post by Dusk » Sat Jun 23, 2012 11:19 am

I was thinking about doing a MEDALDEF with the current medals defined as "natives" and custom ones to be called with ACS but I have other endeavors at the moment. Maybe after that :P

I think everything else could be done with a PWAD.

Xaser
 
Posts: 34
Joined: Mon Jun 04, 2012 11:19 pm
Location: 25 Miles From The Outskirts of Space-Dallas
Contact:

RE: Thoughts in new reward system?

#13

Post by Xaser » Sun Jun 24, 2012 2:54 am

Hmm, some way to mess with the medals would be nice so it'd be possible to disable "You Fail It" in CTF. That one really has no place in that context. :P

NeuralStunner
 
Posts: 42
Joined: Mon Jun 04, 2012 6:14 pm
Location: Plain Sight
Contact:

RE: Thoughts in new reward system?

#14

Post by NeuralStunner » Sun Jun 24, 2012 5:48 am

I say it has no place in the port, but opinions be opinions. :P
Blzut3 wrote:Only in the Doom community does one find something so obviously broken and then claim it's a feature.

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Thoughts in new reward system?

#15

Post by Dark-Assassin » Sun Jun 24, 2012 6:09 am

Xaser wrote: Hmm, some way to mess with the medals would be nice so it'd be possible to disable "You Fail It" in CTF. That one really has no place in that context. :P
That could be easy. Create a new wad, with a REWDDEF (or MEDALDEF) keeping the parameters for the ID of the "You Fail It" one blank, or just have it not apply to the CTF games.
To have a command to blacklist a whole set of ones would be fairly messy.

Edit: Also, if anyone can figure out a better way to format anything here, lemme know. I'd like for this to be ready before I post it on the tracker.
Last edited by Dark-Assassin on Sun Jun 24, 2012 9:10 am, edited 1 time in total.

User avatar
Ivan
Addicted to Zandronum
Posts: 2228
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Thoughts in new reward system?

#16

Post by Ivan » Sun Jun 24, 2012 11:36 am

I also noticed that medals interfere with the Flag icon the player has when the player carries a flag, probably a medal taken before the flag was picked up. It briefly stops the flag from displaying, and from what I saw until the medal icon disappears. A bit annoying to see that happen :P
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Catastrophe
Retired Staff / Community Team Member
Posts: 2568
Joined: Sat Jun 02, 2012 2:44 am

RE: Thoughts in new reward system?

#17

Post by Catastrophe » Sun Jun 24, 2012 11:58 am

.
Last edited by Catastrophe on Fri May 11, 2018 7:36 pm, edited 1 time in total.

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: Thoughts in new reward system?

#18

Post by Dark-Assassin » Sun Jun 24, 2012 12:18 pm

Well, as this is completely new, and shouldn't be a modified version of the current Medal system, it shouldn't conflict with things that should always display such as flags.

User avatar
Ivan
Addicted to Zandronum
Posts: 2228
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Thoughts in new reward system?

#19

Post by Ivan » Sun Jun 24, 2012 12:20 pm

-=Dark-Assassin=- wrote: Well, as this is completely new, and shouldn't be a modified version of the current Medal system, it shouldn't conflict with things that should always display such as flags.
Speaking of which, have you suggested this yet ? :P
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Catastrophe
Retired Staff / Community Team Member
Posts: 2568
Joined: Sat Jun 02, 2012 2:44 am

RE: Thoughts in new reward system?

#20

Post by Catastrophe » Sun Jun 24, 2012 2:37 pm

.
Last edited by Catastrophe on Fri May 11, 2018 7:37 pm, edited 1 time in total.

Post Reply