o-0-0-0 77 Posted September 26, 2014 Всю голову сломал так и не могу найти где редактировать данный параметр что бы сделать вот так . Помогите ! За ранее спасибо ! Quote Share this post Link to post Short link Share on other sites
Evgeny 15 #216458 Posted September 26, 2014 Эта фишка со сборки модов от ПРОтанки. И ты что-то путаешь. Обращайся к создателям сборки 7 Quote Share this post Link to post Short link Share on other sites
Hawk1983x 203 #216459 Posted September 26, 2014 (edited) Помогите ! знак классности: { "x": -1.3, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" }, процент побед: { "x": 20, "y": 12, "format": "<font color='{{v.c_winrate}}'>{{v.winrate%.2d~%}}</font>", "shadow": {} }, уровни боев: { "x": 54, "y": -2, "align": "center", "format": "<font color='#777777'>{{v.battletiermin}}</font>..<font color='#D9A300'>{{v.battletiermax}}</font>", "shadow": {} }, Все это вставляешь в extraFields в carousel.хс Синтаксис extraFields : // Set of formats for left panel // Набор форматов для левой панели // example: // "format": [ // // simple format (just a text) // "{{nick}}", // "<img src='xvm://res/img/panel-bg-l-{{alive|dead}}.png' width='318' height='28'>", // // extended format // { "x": 20, "y": 10, "border": 1, "borderColor": "0xFFFFFF", "format": "{{nick}}" }, // { "x": 200, "src": "xvm://res/contour/{{vehiclename}}.png" } // ] // // types of formats available for extended format: // - MovieClip (for loading image) // - TextField (for writing text and creating rectangles) // if "src" field is present, MovieClip format will be used // if "src" field is absent, TextField format will be used // // fields available for extended format: // "src" - resource path ("xvm://res/contour/{{vehiclename}}.png") // "format" - text format (macros allowed) // // fields available for both MovieClip and TextField formats: // "x" - x position (macros allowed) // "y" - y position (macros allowed) // "w" - width (macros allowed) // "h" - height (macros allowed) // "alpha" - transparency in percents (0..100) (macros allowed) // "rotation" - rotation in degrees (0..360) (macros allowed) // "align" - horizontal alignment ("left", "center", "right") // for left panel default value is "left" // for right panel default value is "right" // // fields available for TextField format only: // "valign" - vertical alignment ("top", "center", "bottom") // default value is "top" // "borderColor" - if set, draw border with specified color (macros allowed) // "bgColor" - if set, draw background with specified color (macros allowed) // "antiAliasType" - anti aliasing mode ("advanced" or "normal") // "shadow": { // "distance" (in pixels) // "angle" (0.0 .. 360.0) // "color" "0xXXXXXX" // "alpha" (0.0 .. 1.0) // "blur" (0.0 .. 255.0) // "strength" (0.0 .. 255.0) // } // // * all fields are optional // макросы для карусели танков: Macros available in hangarLegend: TC - tank carousel SQ - squad window 'X' - available ' ' - not available (can return wrong value - '', 'NaN', 'undefined', ...) '.' - TODO '-' - Obsoleted (will be replaced with other macro) ┌────────────────────────────┬───┬───┬───────────────────────────────── │ macro │ TC│ SQ│ Description ├────────────────────────────┼───┼───┼───────────────────────────────── │ {{v.vehId}} │ X │ . │ vehicle id │ {{v.battles}} │ X │ . │ total battles count for current vehicle │ {{v.c_battles}} │ X │ . │ color for battles count │ {{v.kb}} │ X │ . │ number of kilo-battles for current vehicle │ {{v.hb}} │ X │ . │ number of hecto-battles for current vehicle (hecto = 100) │ {{v.wins}} │ X │ . │ total wins count for current vehicle │ {{v.mastery}} │ X │ . │ mastery sign for current vehicle │ {{v.xp}} │ X │ . │ average XP gained on current vehicle │ {{v.fullname}} │ X │ . │ localized full vehicle name │ {{v.name}} │ X │ . │ localized compact vehicle name │ {{v.sysname}} │ X │ . │ vehicle system name (usa-M24_Chaffee) │ {{v.shortname}} │ X │ . │ localized short vehicle name │ {{v.type}} │ X │ . │ vehicle type (text substitution from config) │ {{v.c_type}} │ X │ . │ color for vehicle type │ {{v.level}} │ X │ . │ vehicle level (Arabic numerals) │ {{v.rlevel}} │ X │ . │ vehicle level (Roman numerals) │ {{v.battletiermin}} │ X │ . │ minimal vehicle battle tier │ {{v.battletiermax}} │ X │ . │ maximal vehicle battle tier │ {{v.nation}} │ X │ . │ vehicle nation │ {{v.premium}} │ X │ . │ 'premium' for premium, empty for normal vehicle │ {{v.elite}} │ X │ . │ 'elite' for elite, empty for normal vehicle │ {{v.maxHP}} │ X │ . │ maximum vehicle health points │ {{v.winrate}} │ X │ . │ vehicle win rate (percent of wins on this vehicle) │ {{v.hitsRatio}} │ X │ . │ percent of hits │ {{v.c_winrate}} │ X │ . │ color for win rate │ {{v.tdb}} │ X │ . │ average damage - damage / battles │ {{v.c_tdb}} │ X │ . │ dynamic color for this macro │ {{v.tdv}} │ X │ . │ average damage efficiency - damage / (battles * maxHP) │ {{v.c_tdv}} │ X │ . │ dynamic color for this macro │ {{v.tfb}} │ X │ . │ average frags per battle │ {{v.c_tfb}} │ X │ . │ dynamic color for this macro │ {{v.tsb}} │ X │ . │ average number of spotted enemies per battle │ {{v.c_tsb}} │ X │ . │ dynamic color for this macro │ {{v.wn8expd}} │ X │ . │ WN8 expected tank damage │ {{v.wn8effd}} │ X │ . │ WN8 effective tank damage (avgdmg / expected_dmg) │ {{v.c_wn8effd}} │ X │ . │ dynamic color for this macro │ {{v.marksOnGun}} │ X │ . │ marks on gun │ {{v.damageRating}} │ X │ . │ damage rating in percents for marks on gun │ {{v.c_damageRating}} │ X │ . │ dynamic color for this macro │ {{v.teff}}, {{v.e}} │ . │ . │ player's per-vehicle efficiency: http://www.koreanrandom.com/forum/topic/1643- │ {{v.c_e}} │ . │ . │ dynamic color for this macro │ {{v.equipment1}} │ . │ . │ small icon of equipment in 1st slot │ {{v.equipment2}} │ . │ . │ small icon of equipment in 2nd slot │ {{v.equipment3}} │ . │ . │ small icon of equipment in 3rd slot │ {{v.consumable1}} │ . │ . │ small icon of consumable in 1st slot │ {{v.consumable2}} │ . │ . │ small icon of consumable in 2nd slot │ {{v.consumable3}} │ . │ . │ small icon of consumable in 3rd slot │ {{v.xpForTop}} │ . │ . │ XP points required for top tank │ {{v.xpForExpert}} │ . │ . │ XP points required for expert tank │ {{v.shootRange}} │ . │ . │ actual shoot range │ {{v.viewRange}} │ . │ . │ actual view range │ {{v.dpm}} │ . │ . │ actual damage per minute │ {{v.gunAvgDamage}} │ . │ . │ average damage for current gun AP/CR/HE │ {{v.gunAvgHit}} │ . │ . │ average penetration for current gun AP/CR/HE │ {{v.gunDispersion}} │ . │ . │ base dispersion at 100 m for current gun │ {{v.gunAimingTime}} │ . │ . │ base aiming time for current gun │ {{l10n:ID}} │ . │ . │ localizated text, see en.xc for id └────────────────────────────┴───┴───┴───────────────────────────────── Edited September 27, 2014 by Hawk1983x 4 Quote Share this post Link to post Short link Share on other sites
o-0-0-0 77 #216470 Posted September 26, 2014 знак классности: { "x": -1.3, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" }, процент побед: { "x": 20, "y": 12, "format": "<font color='{{v.c_winrate}}'>{{v.winrate%.2d~%}}</font>", "shadow": {} }, уровни боев: { "x": 54, "y": -2, "valign": "left", "align": "center", "format": "<font color='#777777'>{{v.battletiermin}}</font>..<font color='#D9A300'>{{v.battletiermax}}</font>", "shadow": {} }, Все это вставляешь в extraFields в carousel.хс Синтаксис extraFields : // Set of formats for left panel // Набор форматов для левой панели // example: // "format": [ // // simple format (just a text) // "{{nick}}", // "<img src='xvm://res/img/panel-bg-l-{{alive|dead}}.png' width='318' height='28'>", // // extended format // { "x": 20, "y": 10, "border": 1, "borderColor": "0xFFFFFF", "format": "{{nick}}" }, // { "x": 200, "src": "xvm://res/contour/{{vehiclename}}.png" } // ] // // types of formats available for extended format: // - MovieClip (for loading image) // - TextField (for writing text and creating rectangles) // if "src" field is present, MovieClip format will be used // if "src" field is absent, TextField format will be used // // fields available for extended format: // "src" - resource path ("xvm://res/contour/{{vehiclename}}.png") // "format" - text format (macros allowed) // // fields available for both MovieClip and TextField formats: // "x" - x position (macros allowed) // "y" - y position (macros allowed) // "w" - width (macros allowed) // "h" - height (macros allowed) // "alpha" - transparency in percents (0..100) (macros allowed) // "rotation" - rotation in degrees (0..360) (macros allowed) // "align" - horizontal alignment ("left", "center", "right") // for left panel default value is "left" // for right panel default value is "right" // // fields available for TextField format only: // "valign" - vertical alignment ("top", "center", "bottom") // default value is "top" // "borderColor" - if set, draw border with specified color (macros allowed) // "bgColor" - if set, draw background with specified color (macros allowed) // "antiAliasType" - anti aliasing mode ("advanced" or "normal") // "shadow": { // "distance" (in pixels) // "angle" (0.0 .. 360.0) // "color" "0xXXXXXX" // "alpha" (0.0 .. 1.0) // "blur" (0.0 .. 255.0) // "strength" (0.0 .. 255.0) // } // // * all fields are optional // макросы для карусели танков: Macros available in hangarLegend: TC - tank carousel SQ - squad window 'X' - available ' ' - not available (can return wrong value - '', 'NaN', 'undefined', ...) '.' - TODO '-' - Obsoleted (will be replaced with other macro) ┌────────────────────────────┬───┬───┬───────────────────────────────── │ macro │ TC│ SQ│ Description ├────────────────────────────┼───┼───┼───────────────────────────────── │ {{v.vehId}} │ X │ . │ vehicle id │ {{v.battles}} │ X │ . │ total battles count for current vehicle │ {{v.c_battles}} │ X │ . │ color for battles count │ {{v.kb}} │ X │ . │ number of kilo-battles for current vehicle │ {{v.hb}} │ X │ . │ number of hecto-battles for current vehicle (hecto = 100) │ {{v.wins}} │ X │ . │ total wins count for current vehicle │ {{v.mastery}} │ X │ . │ mastery sign for current vehicle │ {{v.xp}} │ X │ . │ average XP gained on current vehicle │ {{v.fullname}} │ X │ . │ localized full vehicle name │ {{v.name}} │ X │ . │ localized compact vehicle name │ {{v.sysname}} │ X │ . │ vehicle system name (usa-M24_Chaffee) │ {{v.shortname}} │ X │ . │ localized short vehicle name │ {{v.type}} │ X │ . │ vehicle type (text substitution from config) │ {{v.c_type}} │ X │ . │ color for vehicle type │ {{v.level}} │ X │ . │ vehicle level (Arabic numerals) │ {{v.rlevel}} │ X │ . │ vehicle level (Roman numerals) │ {{v.battletiermin}} │ X │ . │ minimal vehicle battle tier │ {{v.battletiermax}} │ X │ . │ maximal vehicle battle tier │ {{v.nation}} │ X │ . │ vehicle nation │ {{v.premium}} │ X │ . │ 'premium' for premium, empty for normal vehicle │ {{v.elite}} │ X │ . │ 'elite' for elite, empty for normal vehicle │ {{v.maxHP}} │ X │ . │ maximum vehicle health points │ {{v.winrate}} │ X │ . │ vehicle win rate (percent of wins on this vehicle) │ {{v.hitsRatio}} │ X │ . │ percent of hits │ {{v.c_winrate}} │ X │ . │ color for win rate │ {{v.tdb}} │ X │ . │ average damage - damage / battles │ {{v.c_tdb}} │ X │ . │ dynamic color for this macro │ {{v.tdv}} │ X │ . │ average damage efficiency - damage / (battles * maxHP) │ {{v.c_tdv}} │ X │ . │ dynamic color for this macro │ {{v.tfb}} │ X │ . │ average frags per battle │ {{v.c_tfb}} │ X │ . │ dynamic color for this macro │ {{v.tsb}} │ X │ . │ average number of spotted enemies per battle │ {{v.c_tsb}} │ X │ . │ dynamic color for this macro │ {{v.wn8expd}} │ X │ . │ WN8 expected tank damage │ {{v.wn8effd}} │ X │ . │ WN8 effective tank damage (avgdmg / expected_dmg) │ {{v.c_wn8effd}} │ X │ . │ dynamic color for this macro │ {{v.marksOnGun}} │ X │ . │ marks on gun │ {{v.damageRating}} │ X │ . │ damage rating in percents for marks on gun │ {{v.c_damageRating}} │ X │ . │ dynamic color for this macro │ {{v.teff}}, {{v.e}} │ . │ . │ player's per-vehicle efficiency: http://www.koreanrandom.com/forum/topic/1643- │ {{v.c_e}} │ . │ . │ dynamic color for this macro │ {{v.equipment1}} │ . │ . │ small icon of equipment in 1st slot │ {{v.equipment2}} │ . │ . │ small icon of equipment in 2nd slot │ {{v.equipment3}} │ . │ . │ small icon of equipment in 3rd slot │ {{v.consumable1}} │ . │ . │ small icon of consumable in 1st slot │ {{v.consumable2}} │ . │ . │ small icon of consumable in 2nd slot │ {{v.consumable3}} │ . │ . │ small icon of consumable in 3rd slot │ {{v.xpForTop}} │ . │ . │ XP points required for top tank │ {{v.xpForExpert}} │ . │ . │ XP points required for expert tank │ {{v.shootRange}} │ . │ . │ actual shoot range │ {{v.viewRange}} │ . │ . │ actual view range │ {{v.dpm}} │ . │ . │ actual damage per minute │ {{v.gunAvgDamage}} │ . │ . │ average damage for current gun AP/CR/HE │ {{v.gunAvgHit}} │ . │ . │ average penetration for current gun AP/CR/HE │ {{v.gunDispersion}} │ . │ . │ base dispersion at 100 m for current gun │ {{v.gunAimingTime}} │ . │ . │ base aiming time for current gun │ {{l10n:ID}} │ . │ . │ localizated text, see en.xc for id └────────────────────────────┴───┴───┴───────────────────────────────── ОГРОМНОЕ СПАСИБО ! Разобрался что к чему , добавил carousel.хс и разобрался . Quote Share this post Link to post Short link Share on other sites
RomKa 2 #216587 Posted September 26, 2014 Помогите пожалуйста не могу вставить эти строки в карусель. carousel.xc Quote Share this post Link to post Short link Share on other sites
Lexus_RS 1 #216906 Posted September 27, 2014 знак классности: { "x": -1.3, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" }, процент побед: { "x": 20, "y": 12, "format": "<font color='{{v.c_winrate}}'>{{v.winrate%.2d~%}}</font>", "shadow": {} }, уровни боев: { "x": 54, "y": -2, "valign": "left", "align": "center", "format": "<font color='#777777'>{{v.battletiermin}}</font>..<font color='#D9A300'>{{v.battletiermax}}</font>", "shadow": {} }, Все это вставляешь в extraFields в carousel.хс Синтаксис extraFields : // Set of formats for left panel // Набор форматов для левой панели // example: // "format": [ // // simple format (just a text) // "{{nick}}", // "<img src='xvm://res/img/panel-bg-l-{{alive|dead}}.png' width='318' height='28'>", // // extended format // { "x": 20, "y": 10, "border": 1, "borderColor": "0xFFFFFF", "format": "{{nick}}" }, // { "x": 200, "src": "xvm://res/contour/{{vehiclename}}.png" } // ] // // types of formats available for extended format: // - MovieClip (for loading image) // - TextField (for writing text and creating rectangles) // if "src" field is present, MovieClip format will be used // if "src" field is absent, TextField format will be used // // fields available for extended format: // "src" - resource path ("xvm://res/contour/{{vehiclename}}.png") // "format" - text format (macros allowed) // // fields available for both MovieClip and TextField formats: // "x" - x position (macros allowed) // "y" - y position (macros allowed) // "w" - width (macros allowed) // "h" - height (macros allowed) // "alpha" - transparency in percents (0..100) (macros allowed) // "rotation" - rotation in degrees (0..360) (macros allowed) // "align" - horizontal alignment ("left", "center", "right") // for left panel default value is "left" // for right panel default value is "right" // // fields available for TextField format only: // "valign" - vertical alignment ("top", "center", "bottom") // default value is "top" // "borderColor" - if set, draw border with specified color (macros allowed) // "bgColor" - if set, draw background with specified color (macros allowed) // "antiAliasType" - anti aliasing mode ("advanced" or "normal") // "shadow": { // "distance" (in pixels) // "angle" (0.0 .. 360.0) // "color" "0xXXXXXX" // "alpha" (0.0 .. 1.0) // "blur" (0.0 .. 255.0) // "strength" (0.0 .. 255.0) // } // // * all fields are optional // макросы для карусели танков: Macros available in hangarLegend: TC - tank carousel SQ - squad window 'X' - available ' ' - not available (can return wrong value - '', 'NaN', 'undefined', ...) '.' - TODO '-' - Obsoleted (will be replaced with other macro) ┌────────────────────────────┬───┬───┬───────────────────────────────── │ macro │ TC│ SQ│ Description ├────────────────────────────┼───┼───┼───────────────────────────────── │ {{v.vehId}} │ X │ . │ vehicle id │ {{v.battles}} │ X │ . │ total battles count for current vehicle │ {{v.c_battles}} │ X │ . │ color for battles count │ {{v.kb}} │ X │ . │ number of kilo-battles for current vehicle │ {{v.hb}} │ X │ . │ number of hecto-battles for current vehicle (hecto = 100) │ {{v.wins}} │ X │ . │ total wins count for current vehicle │ {{v.mastery}} │ X │ . │ mastery sign for current vehicle │ {{v.xp}} │ X │ . │ average XP gained on current vehicle │ {{v.fullname}} │ X │ . │ localized full vehicle name │ {{v.name}} │ X │ . │ localized compact vehicle name │ {{v.sysname}} │ X │ . │ vehicle system name (usa-M24_Chaffee) │ {{v.shortname}} │ X │ . │ localized short vehicle name │ {{v.type}} │ X │ . │ vehicle type (text substitution from config) │ {{v.c_type}} │ X │ . │ color for vehicle type │ {{v.level}} │ X │ . │ vehicle level (Arabic numerals) │ {{v.rlevel}} │ X │ . │ vehicle level (Roman numerals) │ {{v.battletiermin}} │ X │ . │ minimal vehicle battle tier │ {{v.battletiermax}} │ X │ . │ maximal vehicle battle tier │ {{v.nation}} │ X │ . │ vehicle nation │ {{v.premium}} │ X │ . │ 'premium' for premium, empty for normal vehicle │ {{v.elite}} │ X │ . │ 'elite' for elite, empty for normal vehicle │ {{v.maxHP}} │ X │ . │ maximum vehicle health points │ {{v.winrate}} │ X │ . │ vehicle win rate (percent of wins on this vehicle) │ {{v.hitsRatio}} │ X │ . │ percent of hits │ {{v.c_winrate}} │ X │ . │ color for win rate │ {{v.tdb}} │ X │ . │ average damage - damage / battles │ {{v.c_tdb}} │ X │ . │ dynamic color for this macro │ {{v.tdv}} │ X │ . │ average damage efficiency - damage / (battles * maxHP) │ {{v.c_tdv}} │ X │ . │ dynamic color for this macro │ {{v.tfb}} │ X │ . │ average frags per battle │ {{v.c_tfb}} │ X │ . │ dynamic color for this macro │ {{v.tsb}} │ X │ . │ average number of spotted enemies per battle │ {{v.c_tsb}} │ X │ . │ dynamic color for this macro │ {{v.wn8expd}} │ X │ . │ WN8 expected tank damage │ {{v.wn8effd}} │ X │ . │ WN8 effective tank damage (avgdmg / expected_dmg) │ {{v.c_wn8effd}} │ X │ . │ dynamic color for this macro │ {{v.marksOnGun}} │ X │ . │ marks on gun │ {{v.damageRating}} │ X │ . │ damage rating in percents for marks on gun │ {{v.c_damageRating}} │ X │ . │ dynamic color for this macro │ {{v.teff}}, {{v.e}} │ . │ . │ player's per-vehicle efficiency: http://www.koreanrandom.com/forum/topic/1643- │ {{v.c_e}} │ . │ . │ dynamic color for this macro │ {{v.equipment1}} │ . │ . │ small icon of equipment in 1st slot │ {{v.equipment2}} │ . │ . │ small icon of equipment in 2nd slot │ {{v.equipment3}} │ . │ . │ small icon of equipment in 3rd slot │ {{v.consumable1}} │ . │ . │ small icon of consumable in 1st slot │ {{v.consumable2}} │ . │ . │ small icon of consumable in 2nd slot │ {{v.consumable3}} │ . │ . │ small icon of consumable in 3rd slot │ {{v.xpForTop}} │ . │ . │ XP points required for top tank │ {{v.xpForExpert}} │ . │ . │ XP points required for expert tank │ {{v.shootRange}} │ . │ . │ actual shoot range │ {{v.viewRange}} │ . │ . │ actual view range │ {{v.dpm}} │ . │ . │ actual damage per minute │ {{v.gunAvgDamage}} │ . │ . │ average damage for current gun AP/CR/HE │ {{v.gunAvgHit}} │ . │ . │ average penetration for current gun AP/CR/HE │ {{v.gunDispersion}} │ . │ . │ base dispersion at 100 m for current gun │ {{v.gunAimingTime}} │ . │ . │ base aiming time for current gun │ {{l10n:ID}} │ . │ . │ localizated text, see en.xc for id └────────────────────────────┴───┴───┴───────────────────────────────── Вай спасибо тебе. Вставил как описано. Всё получилось. Мелочь, а приятно Quote Share this post Link to post Short link Share on other sites
sergey252525 1 #216915 Posted September 27, 2014 знак классности: { "x": -1.3, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" }, процент побед: { "x": 20, "y": 12, "format": "<font color='{{v.c_winrate}}'>{{v.winrate%.2d~%}}</font>", "shadow": {} }, уровни боев: { "x": 54, "y": -2, "valign": "left", "align": "center", "format": "<font color='#777777'>{{v.battletiermin}}</font>..<font color='#D9A300'>{{v.battletiermax}}</font>", "shadow": {} }, Все это вставляешь в extraFields в carousel.хс Синтаксис extraFields : // Set of formats for left panel // Набор форматов для левой панели // example: // "format": [ // // simple format (just a text) // "{{nick}}", // "<img src='xvm://res/img/panel-bg-l-{{alive|dead}}.png' width='318' height='28'>", // // extended format // { "x": 20, "y": 10, "border": 1, "borderColor": "0xFFFFFF", "format": "{{nick}}" }, // { "x": 200, "src": "xvm://res/contour/{{vehiclename}}.png" } // ] // // types of formats available for extended format: // - MovieClip (for loading image) // - TextField (for writing text and creating rectangles) // if "src" field is present, MovieClip format will be used // if "src" field is absent, TextField format will be used // // fields available for extended format: // "src" - resource path ("xvm://res/contour/{{vehiclename}}.png") // "format" - text format (macros allowed) // // fields available for both MovieClip and TextField formats: // "x" - x position (macros allowed) // "y" - y position (macros allowed) // "w" - width (macros allowed) // "h" - height (macros allowed) // "alpha" - transparency in percents (0..100) (macros allowed) // "rotation" - rotation in degrees (0..360) (macros allowed) // "align" - horizontal alignment ("left", "center", "right") // for left panel default value is "left" // for right panel default value is "right" // // fields available for TextField format only: // "valign" - vertical alignment ("top", "center", "bottom") // default value is "top" // "borderColor" - if set, draw border with specified color (macros allowed) // "bgColor" - if set, draw background with specified color (macros allowed) // "antiAliasType" - anti aliasing mode ("advanced" or "normal") // "shadow": { // "distance" (in pixels) // "angle" (0.0 .. 360.0) // "color" "0xXXXXXX" // "alpha" (0.0 .. 1.0) // "blur" (0.0 .. 255.0) // "strength" (0.0 .. 255.0) // } // // * all fields are optional // макросы для карусели танков: Macros available in hangarLegend: TC - tank carousel SQ - squad window 'X' - available ' ' - not available (can return wrong value - '', 'NaN', 'undefined', ...) '.' - TODO '-' - Obsoleted (will be replaced with other macro) ┌────────────────────────────┬───┬───┬───────────────────────────────── │ macro │ TC│ SQ│ Description ├────────────────────────────┼───┼───┼───────────────────────────────── │ {{v.vehId}} │ X │ . │ vehicle id │ {{v.battles}} │ X │ . │ total battles count for current vehicle │ {{v.c_battles}} │ X │ . │ color for battles count │ {{v.kb}} │ X │ . │ number of kilo-battles for current vehicle │ {{v.hb}} │ X │ . │ number of hecto-battles for current vehicle (hecto = 100) │ {{v.wins}} │ X │ . │ total wins count for current vehicle │ {{v.mastery}} │ X │ . │ mastery sign for current vehicle │ {{v.xp}} │ X │ . │ average XP gained on current vehicle │ {{v.fullname}} │ X │ . │ localized full vehicle name │ {{v.name}} │ X │ . │ localized compact vehicle name │ {{v.sysname}} │ X │ . │ vehicle system name (usa-M24_Chaffee) │ {{v.shortname}} │ X │ . │ localized short vehicle name │ {{v.type}} │ X │ . │ vehicle type (text substitution from config) │ {{v.c_type}} │ X │ . │ color for vehicle type │ {{v.level}} │ X │ . │ vehicle level (Arabic numerals) │ {{v.rlevel}} │ X │ . │ vehicle level (Roman numerals) │ {{v.battletiermin}} │ X │ . │ minimal vehicle battle tier │ {{v.battletiermax}} │ X │ . │ maximal vehicle battle tier │ {{v.nation}} │ X │ . │ vehicle nation │ {{v.premium}} │ X │ . │ 'premium' for premium, empty for normal vehicle │ {{v.elite}} │ X │ . │ 'elite' for elite, empty for normal vehicle │ {{v.maxHP}} │ X │ . │ maximum vehicle health points │ {{v.winrate}} │ X │ . │ vehicle win rate (percent of wins on this vehicle) │ {{v.hitsRatio}} │ X │ . │ percent of hits │ {{v.c_winrate}} │ X │ . │ color for win rate │ {{v.tdb}} │ X │ . │ average damage - damage / battles │ {{v.c_tdb}} │ X │ . │ dynamic color for this macro │ {{v.tdv}} │ X │ . │ average damage efficiency - damage / (battles * maxHP) │ {{v.c_tdv}} │ X │ . │ dynamic color for this macro │ {{v.tfb}} │ X │ . │ average frags per battle │ {{v.c_tfb}} │ X │ . │ dynamic color for this macro │ {{v.tsb}} │ X │ . │ average number of spotted enemies per battle │ {{v.c_tsb}} │ X │ . │ dynamic color for this macro │ {{v.wn8expd}} │ X │ . │ WN8 expected tank damage │ {{v.wn8effd}} │ X │ . │ WN8 effective tank damage (avgdmg / expected_dmg) │ {{v.c_wn8effd}} │ X │ . │ dynamic color for this macro │ {{v.marksOnGun}} │ X │ . │ marks on gun │ {{v.damageRating}} │ X │ . │ damage rating in percents for marks on gun │ {{v.c_damageRating}} │ X │ . │ dynamic color for this macro │ {{v.teff}}, {{v.e}} │ . │ . │ player's per-vehicle efficiency: http://www.koreanrandom.com/forum/topic/1643- │ {{v.c_e}} │ . │ . │ dynamic color for this macro │ {{v.equipment1}} │ . │ . │ small icon of equipment in 1st slot │ {{v.equipment2}} │ . │ . │ small icon of equipment in 2nd slot │ {{v.equipment3}} │ . │ . │ small icon of equipment in 3rd slot │ {{v.consumable1}} │ . │ . │ small icon of consumable in 1st slot │ {{v.consumable2}} │ . │ . │ small icon of consumable in 2nd slot │ {{v.consumable3}} │ . │ . │ small icon of consumable in 3rd slot │ {{v.xpForTop}} │ . │ . │ XP points required for top tank │ {{v.xpForExpert}} │ . │ . │ XP points required for expert tank │ {{v.shootRange}} │ . │ . │ actual shoot range │ {{v.viewRange}} │ . │ . │ actual view range │ {{v.dpm}} │ . │ . │ actual damage per minute │ {{v.gunAvgDamage}} │ . │ . │ average damage for current gun AP/CR/HE │ {{v.gunAvgHit}} │ . │ . │ average penetration for current gun AP/CR/HE │ {{v.gunDispersion}} │ . │ . │ base dispersion at 100 m for current gun │ {{v.gunAimingTime}} │ . │ . │ base aiming time for current gun │ {{l10n:ID}} │ . │ . │ localizated text, see en.xc for id └────────────────────────────┴───┴───┴───────────────────────────────── Просто сказка, спасибо, все работает!!! Quote Share this post Link to post Short link Share on other sites
Urbylco 0 #216982 Posted September 27, 2014 (edited) @Hawk1983x, Спасибо, конечно, искал подобное, и по первой же ссылке в гугле нашел эту тему с решением. Но вот это: "valign": "left" явно бред какой-то. Edited September 27, 2014 by Urbylco Quote Share this post Link to post Short link Share on other sites
Hawk1983x 203 #217011 Posted September 27, 2014 явно бред какой-то. ну да согласен=) Quote Share this post Link to post Short link Share on other sites
seriych 2,178 #217016 Posted September 27, 2014 (edited) явно бред какой-то. ну да согласен=) монитор в портретном режиме :-) шутка, конечно Edited September 27, 2014 by seriych Quote Share this post Link to post Short link Share on other sites
noBeJIuTeJIb_Myx 0 #217041 Posted September 27, 2014 (edited) + Edited September 27, 2014 by noBeJIuTeJIb_Myx Quote Share this post Link to post Short link Share on other sites
Hawk1983x 203 #217044 Posted September 27, 2014 (edited) А количество боев можно вывести так же как проценты? напр: { "x": 128, "y": 55, "align": "center", "format": "<font color='{{v.c_battles}}'>{{v.battles}}</font>", "shadow": { } }, {{v.battles}} │ X │ . │ total battles count for current vehicle {{v.kb}} │ X │ . │ number of kilo-battles for current vehicle │ {{v.hb}} │ X │ . │ number of hecto-battles for current vehicle (hecto = 100) Edited September 27, 2014 by Hawk1983x Quote Share this post Link to post Short link Share on other sites
noBeJIuTeJIb_Myx 0 #217227 Posted September 27, 2014 Большое спасибо. Quote Share this post Link to post Short link Share on other sites
blavin 1 #217258 Posted September 28, 2014 Читая тему подчеркнул для себя как убрать процент побед и уровень боев. Подскажите пожалуйста координаты для того чтобы знак классности отображался на краю справа. Там где сейчас находиться процент побед на изображении у ТС. Quote Share this post Link to post Short link Share on other sites
blavin 1 #217900 Posted September 29, 2014 HELP!!! 1 Quote Share this post Link to post Short link Share on other sites
SEREGA_SF 611 #217905 Posted September 29, 2014 х в районе 130, y - в районе 12-15...вручную подгонять надо Quote Share this post Link to post Short link Share on other sites
Вера 27 0 #218054 Posted September 29, 2014 знак классности: { "x": -1.3, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" }, процент побед: { "x": 20, "y": 12, "format": "<font color='{{v.c_winrate}}'>{{v.winrate%.2d~%}}</font>", "shadow": {} }, уровни боев: { "x": 54, "y": -2, "align": "center", "format": "<font color='#777777'>{{v.battletiermin}}</font>..<font color='#D9A300'>{{v.battletiermax}}</font>", "shadow": {} }, Все это вставляешь в extraFields в carousel.хс Синтаксис extraFields : // Set of formats for left panel // Набор форматов для левой панели // example: // "format": [ // // simple format (just a text) // "{{nick}}", // "<img src='xvm://res/img/panel-bg-l-{{alive|dead}}.png' width='318' height='28'>", // // extended format // { "x": 20, "y": 10, "border": 1, "borderColor": "0xFFFFFF", "format": "{{nick}}" }, // { "x": 200, "src": "xvm://res/contour/{{vehiclename}}.png" } // ] // // types of formats available for extended format: // - MovieClip (for loading image) // - TextField (for writing text and creating rectangles) // if "src" field is present, MovieClip format will be used // if "src" field is absent, TextField format will be used // // fields available for extended format: // "src" - resource path ("xvm://res/contour/{{vehiclename}}.png") // "format" - text format (macros allowed) // // fields available for both MovieClip and TextField formats: // "x" - x position (macros allowed) // "y" - y position (macros allowed) // "w" - width (macros allowed) // "h" - height (macros allowed) // "alpha" - transparency in percents (0..100) (macros allowed) // "rotation" - rotation in degrees (0..360) (macros allowed) // "align" - horizontal alignment ("left", "center", "right") // for left panel default value is "left" // for right panel default value is "right" // // fields available for TextField format only: // "valign" - vertical alignment ("top", "center", "bottom") // default value is "top" // "borderColor" - if set, draw border with specified color (macros allowed) // "bgColor" - if set, draw background with specified color (macros allowed) // "antiAliasType" - anti aliasing mode ("advanced" or "normal") // "shadow": { // "distance" (in pixels) // "angle" (0.0 .. 360.0) // "color" "0xXXXXXX" // "alpha" (0.0 .. 1.0) // "blur" (0.0 .. 255.0) // "strength" (0.0 .. 255.0) // } // // * all fields are optional // макросы для карусели танков: Macros available in hangarLegend: TC - tank carousel SQ - squad window 'X' - available ' ' - not available (can return wrong value - '', 'NaN', 'undefined', ...) '.' - TODO '-' - Obsoleted (will be replaced with other macro) ┌────────────────────────────┬───┬───┬───────────────────────────────── │ macro │ TC│ SQ│ Description ├────────────────────────────┼───┼───┼───────────────────────────────── │ {{v.vehId}} │ X │ . │ vehicle id │ {{v.battles}} │ X │ . │ total battles count for current vehicle │ {{v.c_battles}} │ X │ . │ color for battles count │ {{v.kb}} │ X │ . │ number of kilo-battles for current vehicle │ {{v.hb}} │ X │ . │ number of hecto-battles for current vehicle (hecto = 100) │ {{v.wins}} │ X │ . │ total wins count for current vehicle │ {{v.mastery}} │ X │ . │ mastery sign for current vehicle │ {{v.xp}} │ X │ . │ average XP gained on current vehicle │ {{v.fullname}} │ X │ . │ localized full vehicle name │ {{v.name}} │ X │ . │ localized compact vehicle name │ {{v.sysname}} │ X │ . │ vehicle system name (usa-M24_Chaffee) │ {{v.shortname}} │ X │ . │ localized short vehicle name │ {{v.type}} │ X │ . │ vehicle type (text substitution from config) │ {{v.c_type}} │ X │ . │ color for vehicle type │ {{v.level}} │ X │ . │ vehicle level (Arabic numerals) │ {{v.rlevel}} │ X │ . │ vehicle level (Roman numerals) │ {{v.battletiermin}} │ X │ . │ minimal vehicle battle tier │ {{v.battletiermax}} │ X │ . │ maximal vehicle battle tier │ {{v.nation}} │ X │ . │ vehicle nation │ {{v.premium}} │ X │ . │ 'premium' for premium, empty for normal vehicle │ {{v.elite}} │ X │ . │ 'elite' for elite, empty for normal vehicle │ {{v.maxHP}} │ X │ . │ maximum vehicle health points │ {{v.winrate}} │ X │ . │ vehicle win rate (percent of wins on this vehicle) │ {{v.hitsRatio}} │ X │ . │ percent of hits │ {{v.c_winrate}} │ X │ . │ color for win rate │ {{v.tdb}} │ X │ . │ average damage - damage / battles │ {{v.c_tdb}} │ X │ . │ dynamic color for this macro │ {{v.tdv}} │ X │ . │ average damage efficiency - damage / (battles * maxHP) │ {{v.c_tdv}} │ X │ . │ dynamic color for this macro │ {{v.tfb}} │ X │ . │ average frags per battle │ {{v.c_tfb}} │ X │ . │ dynamic color for this macro │ {{v.tsb}} │ X │ . │ average number of spotted enemies per battle │ {{v.c_tsb}} │ X │ . │ dynamic color for this macro │ {{v.wn8expd}} │ X │ . │ WN8 expected tank damage │ {{v.wn8effd}} │ X │ . │ WN8 effective tank damage (avgdmg / expected_dmg) │ {{v.c_wn8effd}} │ X │ . │ dynamic color for this macro │ {{v.marksOnGun}} │ X │ . │ marks on gun │ {{v.damageRating}} │ X │ . │ damage rating in percents for marks on gun │ {{v.c_damageRating}} │ X │ . │ dynamic color for this macro │ {{v.teff}}, {{v.e}} │ . │ . │ player's per-vehicle efficiency: http://www.koreanrandom.com/forum/topic/1643- │ {{v.c_e}} │ . │ . │ dynamic color for this macro │ {{v.equipment1}} │ . │ . │ small icon of equipment in 1st slot │ {{v.equipment2}} │ . │ . │ small icon of equipment in 2nd slot │ {{v.equipment3}} │ . │ . │ small icon of equipment in 3rd slot │ {{v.consumable1}} │ . │ . │ small icon of consumable in 1st slot │ {{v.consumable2}} │ . │ . │ small icon of consumable in 2nd slot │ {{v.consumable3}} │ . │ . │ small icon of consumable in 3rd slot │ {{v.xpForTop}} │ . │ . │ XP points required for top tank │ {{v.xpForExpert}} │ . │ . │ XP points required for expert tank │ {{v.shootRange}} │ . │ . │ actual shoot range │ {{v.viewRange}} │ . │ . │ actual view range │ {{v.dpm}} │ . │ . │ actual damage per minute │ {{v.gunAvgDamage}} │ . │ . │ average damage for current gun AP/CR/HE │ {{v.gunAvgHit}} │ . │ . │ average penetration for current gun AP/CR/HE │ {{v.gunDispersion}} │ . │ . │ base dispersion at 100 m for current gun │ {{v.gunAimingTime}} │ . │ . │ base aiming time for current gun │ {{l10n:ID}} │ . │ . │ localizated text, see en.xc for id └────────────────────────────┴───┴───┴───────────────────────────────── пожалуйста, подскажите как его выключить(( или лучше подскажите путь к файлу я удалила файл карусель и удалилось все, все нормально Quote Share this post Link to post Short link Share on other sites
Hawk1983x 203 #218075 Posted September 29, 2014 я удалила файл карусель и удалилось все, все нормально не стоит так делать для выключения достаточно в carousel.хс "enabled": false, Quote Share this post Link to post Short link Share on other sites
Prosubaru 354 #218080 Posted September 29, 2014 (edited) Все это вставляешь в extraFields в carousel.хс вставил чёт не пашет...тоже хочу эту фишку ВСЁ НЕ НУЖНО ПОЛУЧИЛОСЬ Edited September 29, 2014 by Prosubaru Quote Share this post Link to post Short link Share on other sites
Вера 27 0 #218085 Posted September 29, 2014 (edited) не стоит так делать для выключения достаточно в carousel.хс "enabled": false, ну если будет что-то не так переустановлю моды. Спасибо большое. Можно еще вопрос один, я хотела отредактировать фаил iamspotted (меня засветили), но что-то не работает(( моды от протанки . Подскажите , что в этом файле не так. Спасибо заранее, вы очень умен! пс. по поводу карусели и правда)) пропали % на танках в достижениях, сейчас скопирую фаил из 0.9.2)) iamspotted.xml Edited September 29, 2014 by Вера 27 Quote Share this post Link to post Short link Share on other sites