CarlitosMelis 0 Posted April 18, 2018 Hello, I would like to change the color of the writing with the damage inflicted on the enemy on the markers, how can I do? p.s.: Sorry for my english! Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #428084 Posted April 18, 2018 File markersAliveNormal.xc "def"->"damageText"->"textFormat"->"color". For example: "def": { // Floating damage values. // Всплывающий урон. "damageText": { // false - disable / не отображать. "enabled": true, // Axis field coordinates // Положение поля по осям "x": 0, "y": -67, // Opacity (dynamic transparency allowed, see macros.txt). // Прозрачность (допускается использование динамической прозрачности, см. macros.txt) "alpha": 100, "align": "center", // Font options. // Параметры шрифта. "textFormat": { "font": "$FieldFont", // Font name / Название "size": 18, // Font size / Размер // Color (dynamic colors allowed, see macros.txt). // Цвет (допускается использование динамического цвета, см. macros.txt) "color": "0xFF0000", // red "bold": false, // True - bold / Жирный. "italic": false // True - italic / Курсив. }, 1 Quote Share this post Link to post Short link Share on other sites
Golfer 3 #428103 Posted April 18, 2018 (edited) bookmark this page too https://htmlcolorcodes.com/. Edited April 18, 2018 by Golfer Quote Share this post Link to post Short link Share on other sites
CarlitosMelis 0 #428104 Posted April 18, 2018 (edited) 6 hours ago, ktulho said: File markersAliveNormal.xc "def"->"damageText"->"textFormat"->"color". For example: "def": { // Floating damage values. // Всплывающий урон. "damageText": { // false - disable / не отображать. "enabled": true, // Axis field coordinates // Положение поля по осям "x": 0, "y": -67, // Opacity (dynamic transparency allowed, see macros.txt). // Прозрачность (допускается использование динамической прозрачности, см. macros.txt) "alpha": 100, "align": "center", // Font options. // Параметры шрифта. "textFormat": { "font": "$FieldFont", // Font name / Название "size": 18, // Font size / Размер // Color (dynamic colors allowed, see macros.txt). // Цвет (допускается использование динамического цвета, см. macros.txt) "color": "0xFF0000", // red "bold": false, // True - bold / Жирный. "italic": false // True - italic / Курсив. }, Ok, but I want to change the color of when I do damage on the enemies, now it's yellow and I want to differentiate it from the color of the shots of the platoon friends. In my config i have: Quote "def": { // Floating damage values. // Всплывающий урон. "damageText": { // false - disable / не отображать. "enabled": true, // Axis field coordinates // Положение поля по осям "x": 0, "y": -90, // Opacity (dynamic transparency allowed, see macros.txt). // Прозрачность (допускается использование динамической прозрачности, см. macros.txt) "alpha": 100, "align": "center", // Font options. // Параметры шрифта. "textFormat": { "font": "$FieldFont", // Font name / Название "size": 18, // Font size / Размер // Color (dynamic colors allowed, see macros.txt). // Цвет (допускается использование динамического цвета, см. macros.txt) "color": null, "bold": true, // True - bold / Жирный. "italic": false // True - italic / Курсив. }, Edited April 18, 2018 by CarlitosMelis Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #428107 Posted April 18, 2018 @CarlitosMelis add definition: "damageTextSquad": { "$ref": { "path":"def.damageText" }, "textFormat": { "color": "0x00FF00", // green } }, and change "enemy"->"damageTextSquadman": "damageTextSquadman": { "$ref": { "path":"def.damageTextSquad" } }, Quote Share this post Link to post Short link Share on other sites
Golfer 3 #428109 Posted April 18, 2018 (edited) this is what you are Looking for. and can be found in Colors.xc "squadman_enemy_hit": ${"def.sq"}, "squadman_enemy_kill": ${"def.sq"}, "squadman_enemy_blowup": ${"def.sq"}, example: "squadman_enemy_hit": "0x0d77ca", Edited April 18, 2018 by Golfer Quote Share this post Link to post Short link Share on other sites
CarlitosMelis 0 #428115 Posted April 18, 2018 57 minutes ago, ktulho said: @CarlitosMelis add definition: "damageTextSquad": { "$ref": { "path":"def.damageText" }, "textFormat": { "color": "0x00FF00", // green } }, and change "enemy"->"damageTextSquadman": "damageTextSquadman": { "$ref": { "path":"def.damageTextSquad" } }, I tried as you told me, but now all the pop-up damage on the markers you see green, I would like only when I hit come out green, if he shoots a red ally, and if he shoots a platoon mate in yellow. is it possible to differentiate the color for the three different situations? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #428116 Posted April 18, 2018 @CarlitosMelis attached markersAliveNormal.xc Quote Share this post Link to post Short link Share on other sites
CarlitosMelis 0 #428117 Posted April 18, 2018 markersAliveNormal.xc Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #428122 Posted April 18, 2018 @CarlitosMelis markersAliveNormal.xc 1 Quote Share this post Link to post Short link Share on other sites
CarlitosMelis 0 #428123 Posted April 18, 2018 1 hour ago, ktulho said: @CarlitosMelis markersAliveNormal.xc TNX man, thank you so much!!! Quote Share this post Link to post Short link Share on other sites