CarlitosMelis Posted April 18, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 18, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Golfer Posted April 18, 2018 Share Posted April 18, 2018 (edited) bookmark this page too https://htmlcolorcodes.com/. Edited April 18, 2018 by Golfer @ Quote Link to comment Short link Share on other sites More sharing options...
CarlitosMelis Posted April 18, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 18, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Golfer Posted April 18, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
CarlitosMelis Posted April 18, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 18, 2018 Share Posted April 18, 2018 @CarlitosMelis attached markersAliveNormal.xc @ Quote Link to comment Short link Share on other sites More sharing options...
CarlitosMelis Posted April 18, 2018 Author Share Posted April 18, 2018 markersAliveNormal.xc @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 18, 2018 Share Posted April 18, 2018 @CarlitosMelis markersAliveNormal.xc 1 @ Quote Link to comment Short link Share on other sites More sharing options...
CarlitosMelis Posted April 18, 2018 Author Share Posted April 18, 2018 1 hour ago, ktulho said: @CarlitosMelis markersAliveNormal.xc TNX man, thank you so much!!! @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.