Jump to content
Korean Random
minooz

Маскрос {{frags}} в "DamageText"

Recommended Posts

@Slava7572, Возможно я неправильно выразился. Хотелось бы привязать звук к попаданиям по своему танку, а то бывают случаи, когда очухиваешься только после третьей плюхи. Спасибо  что обратил внимание.

Share this post


Link to post

Short link
Share on other sites

I use this for damage text on vehicle markers.

 

"DamageMessage": "<img src = 'cfg: //blackd0g/img/otm/boom.png' width = '60 'height = '56'> \ n <font color = '# FE4302'> {{my- frags = 1? FIRST BLOOD | {{my-frags = 2? DOUBLE KILL | {{my-frags = 3? TRIPLE KILL | {{my-frags = 4? ULTRA KILL | {{my-frags = 5? MULTI KILL | {{my-frags = 6? MONSTER KILL | {{my-frags = 7? KILLING SPREE|{{my-frags=8?RAMPAGE|{{my-frags=9?UNSTOPPABLE|{{my-frags=10?GOD-LIKE}}}}}}}}}}}}}}}}}}}}</font>",

 

The intention is for the {{my-frags}} messages to appear for my kills only, but they also appear for other players' kills.

 

I tried adding {{player}}, but I realized {{player}} not active for vehicle markers.

 

"DamageMessage": "<img src = 'cfg: //blackd0g/img/otm/boom.png' width = '60 'height = '56'> \ n <font color = '# FE4302'> {{Player? {{my-frags = 1? FIRST BLOOD | {{my-frags = 2? DOUBLE KILL | {{my-frags = 3? TRIPLE KILL | {{my-frags = 4? ULTRA KILL | {{my-frags = 5? MULTI KILL | {{my-frags = 6? MONSTER KILL | {{my-frags = 7? KILLING SPREE|{{my-frags=8?RAMPAGE|{{my-frags=9?UNSTOPPABLE|{{my-frags=10?GOD-LIKE}}}}}}}}}}}}}}}}}}}} }} </font>",

 

How can I make the {{my-frags}} messages appear only for my kills?

Edited by nmdelrio

Share this post


Link to post

Short link
Share on other sites

I use this for damage text on vehicle markers.

 

"DamageMessage": "<img src = 'cfg: //blackd0g/img/otm/boom.png' width = '60 'height = '56'> \ n <font color = '# FE4302'> {{my- frags = 1? FIRST BLOOD | {{my-frags = 2? DOUBLE KILL | {{my-frags = 3? TRIPLE KILL | {{my-frags = 4? ULTRA KILL | {{my-frags = 5? MULTI KILL | {{my-frags = 6? MONSTER KILL | {{my-frags = 7? KILLING SPREE|{{my-frags=8?RAMPAGE|{{my-frags=9?UNSTOPPABLE|{{my-frags=10?GOD-LIKE}}}}}}}}}}}}}}}}}}}}</font>",

 

The intention is for the {{my-frags}} messages to appear for my kills only, but they also appear for other players' kills.

 

I tried adding {{player}}, but I realized {{player}} not active for vehicle markers.

 

"DamageMessage": "<img src = 'cfg: //blackd0g/img/otm/boom.png' width = '60 'height = '56'> \ n <font color = '# FE4302'> {{Player? {{my-frags = 1? FIRST BLOOD | {{my-frags = 2? DOUBLE KILL | {{my-frags = 3? TRIPLE KILL | {{my-frags = 4? ULTRA KILL | {{my-frags = 5? MULTI KILL | {{my-frags = 6? MONSTER KILL | {{my-frags = 7? KILLING SPREE|{{my-frags=8?RAMPAGE|{{my-frags=9?UNSTOPPABLE|{{my-frags=10?GOD-LIKE}}}}}}}}}}}}}}}}}}}} }} </font>",

 

How can I make the {{my-frags}} messages appear only for my kills?

Use "damageTextPlayer" parameter

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

I know this is a problem only if using the intent of "FIRST BLOOD" (a video game classic!), but too bad there was no way to check for global frags to determine {{my-frags}} macro replacement.

 

example


{{my-frags=1?{{g-frags>=2?NOT FIRST BLOOD|FIRST BLOOD}}}}

I know this is silly and a small thing.

But might be useful when using Locastan's UT_announcer "any" option or when sounds.xc is expanded in the future.

 

 

Cheers!

 

 

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...