Перейти к содержимому
Korean Random

elektrosmoker

Пользователь
  • Публикации

    7
  • Зарегистрирован

  • Посещение

Репутация

0 Нуп
  1. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    @Ress i figured it out! it was only a little less thinking and a typo and yes, it´s now 1:35, so i´m a little out of brain today too... ;) gn8!
  2. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    edited: done!
  3. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    @konrad509 found the error in xvm.log. there was a hidden \ufeff character that caused that (maybe forum copy/paste problem). now it works just fine! great, thank you again! all 3 of you!
  4. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    another big thx goes out to heliomalt! ;) I just got one problem: before i wanted to make a patchfile that implements the code into playerspanel.xc, i tested it by doing it manually. after starting wot, it seems that the backup/standard-xvm-config was loaded - my whole config was gone. this happened to me sometimes when i saved a configfile with wrong character encoding (ansi/utf), or false textformatting, but i can exclude both ( #1 checked that, #2 the code is yours ;) ) ... and it also happens when i want to create any new entry in the def-section. you may have a clue what i´ve done wrong this time? if not - no problem! thx anyways for poviding the code!
  5. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    wow, thats a service! i´m impressed again of the quick reactions to my post and about this very good "manual"! just in case nobody else does - BIG THX !! i will trial and error it out to get it to work, thanks again!
  6. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    thank you for your quick answer! as i said, i´m new in xvm, coding isnt my profession ;) but i will try that out! and if i want to add a picture for that instead of colorizing the name, will that following do the trick? "{{friend?<img src='cfg://res_mods/mods/shared_resources/xvm/res/clanicons/EU/friend.png'>|<img src='cfg://res_mods/mods/shared_resources/xvm/res/clanicons/EU/nofriend.png'>}}" if added to (e.g.) this lines (showing only vehicle name right now) "vehicleFormatLeft": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>", "vehicleFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>", or did i just mess it all up? edited: "vehicleFormatLeft": "{{friend?<img src='cfg://res_mods/mods/shared_resources/xvm/res/clanicons/EU/friend.png'>|<img src='cfg://res_mods/mods/shared_resources/xvm/res/clanicons/EU/nofriend.png'>}}<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>", "vehicleFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>{{friend?<img src='cfg://res_mods/mods/shared_resources/xvm/res/clanicons/EU/friend.png'>|<img src='cfg://res_mods/mods/shared_resources/xvm/res/clanicons/EU/nofriend.png'>}}", i also tried this one: "vehicleFormatLeft": "<img src='cfg:default//icons/{{friend?friend}}.png'><font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>", "vehicleFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font><img src='cfg:default//icons/{{friend?friend}}.png'>", what i want to do is only adding the friend/nofriend picture to the config, not changing anything else if possible. this is my players panel, but i cant get the changes to work playersPanel.xc if possible, can you give me another hint please?
  7. elektrosmoker

    How to add {{friend}} and {{ignored}} in PlayersPanel

    hello, i´m new to xvm editing and have a question related to the markers: if i want a friendmarker on my playerspanel, do i have to enter it somewhere in this rows? "nickFormatLeft": "<font face='mono' size='{{xvm-stat?13|0}}' color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{r}}</font> {{name%.15s~..}}<font alpha='#A0'>{{clan}}</font>", "nickFormatRight": "<font alpha='#A0'>{{clan}}</font>{{name%.15s~..}} <font face='mono' size='{{xvm-stat?13|0}}' color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{r}}</font>", and paste something like this: <font color='{{friend?#AAAAAA|#BBBBBB}}>{{nick}}</font> or this: {{friend?<img src='cfg://xxx/xxx/friend.png'>}} i would be very greatful if someone can help me out and may provide me a working sample! thx in advance
×