Jump to content
Korean Random

Leaderboard


Popular Content

Showing content with the highest reputation on 12/11/2017 in all areas

  1. 2 points
    PhysicsFS отлично подойдет в качестве замены ResMgr. 5 утра - самое время писать на Си) Также в Qt 3D добавили Shader graphs: dynamically generate fragment shaders from graph based description Найти бы свой старый код и интегрировать в него это...
  2. 1 point
    Начиная с версии XVM 7.8.5 данный hitLog входит в его состав. Для тех кому хочется иметь шапку hitLog "как раньше" необходимо (данный пример подходит для конфига default): В battleLabelsTemplates.xc в секции "hitLogBackground" прописать: "hitLogBackground": { "enabled": true, "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED", "y": "{{py:sum({{pp.mode=0?90|{{py:xvm.hitLog.log.y}}}}, -20)}}", "$ref": { "path":"def.hitLogBody" }, "format": "{{py:xvm.hitLog.log.bg|{{l10n:Hits}}: <font size='13'>#0</font>}}" }, В файле hitLog.xc в секции "logBackground" прописываем: "logBackground": { "$ref": { "path":"hitLog.log" }, "lines": 1, "scrollLog": false, "formatHistory": "{{l10n:Hits}}: <font size='13'>#{{py:xvm.numberHitsDealt}}</font> {{l10n:Total}}: <b>{{py:xvm.totalDamage}}</b> {{l10n:Last}}: <font color='{{c:dmg-kind}}'><b>{{dmg}}</b></font> <font face='xvm' size='21'>{{alive? |{{blownup?(|)}}}}</font>" }, Поддерживаемые макросы перечислены в файл hitLog.xc.
  3. 1 point
    I would call this addon a script that is "just for fun". It does not add much of anything important to improve or enhance game play, but it might make you smile. =D Over the years, I have found myself here often and have learned quite a lot. (Unfortunately, I have not yet learned Russian though!) =). So it only seems fair to share with everyone a little something I wrote. A simple python script. I have been using it in my own config since about a year ago and without any issue. No slowing the game down or worries about new versions. The nature of the script doesn't rely much on the game itself. Just how you use it in the config. Though there has been some significant changes to help make things easier and simplify it's use for other languages. Just drop it in and away you go if your config is close to default. If not, no sweat! Below is a step by step install process. Easy! Very small sample of what it does: Images: What it does, is it simply randomizes text that is stored in a config file and is displayed as part of the OTM's when dealing damage or destroying another player via markers.xc section. Both as yourself and the other players in the battle. I use it to add a little humour to the game. You can now enable and disable certain sections of the config. Enabling the default section for markers_ahmUTData.xc will turn on the built-in counter and override any settings or arguments you have passed on to the macro. {{py:ahm.deathMSG('{{vtype-key}}', '{{squad}}', 'top|bottom')}}: Use to display custom randomized text from config file for upper and/or lower OTM while checking if squad and vehicle type. Currently Only NA and a very rough RU - (needs a Russian speaker to correct my horrible attempt!). You can see how languages are added by simply looking at markers_ahmData.xc {{py:ahm.utMsg('{{my-frags}}', 'counter|random')}}: Use to display frag message dependent on how many kills you have. Works well with UT Announcer mods. Change config file to match your audio mod if you use one. 2nd argument is for static messages - 'counter' or randomized messages - 'random' Known Issue: {{my-frags}} does not seem to keep track of "blind shot kills". A kill when the destroyed vehicle was invisible at the time. I can't help this. Bug the XVM devs ;) Currently Only NA and a very rough RU - (needs a Russian speaker to correct my horrible attempt!). You can see how languages are added by simply looking at markers_ahmUTData.xc As long as a language is in the config, it should work seemlessly, right out of the box. {{py:ahm.sDmg('{{ally?E|A}}dmg_kind', '{{py:ahm.dmg-kind-key('{{dmg-kind}}')}}')}} Used to display which texts from the proper config section for damage types. Tip: Leave shot blank as it can be annoying! =) I cannot see what other uses one might have other than what it was intended for. But here it is. It is meant to simplify the config. Texts found in markers_ahmData.xc, specialDamage section. {{py:ahm.dmg-kind-key('{{dmg-kind}}')}} There is no {{dmg-kind-key}} macro in xvm, similar to say, {{vtype-key}}. This again, simplifies the config and keeps icons to a minimum. (naming schemes) {{py:ahm.medals('{{frags}}')}} Another exclusive/dependant macro to AHM. Used to pick and display medals achieved by other players. This again, simplifies the config. I see no other use outside this addon. Installation: In @xvm.xc file, add the following somewhere after "markers": ${"markers.xc":"markers"}, @xvm.xc In markersAliveNormal.xc file, change: def.damageText section: ally.damageText section: enemy.damageText section: markersAliveNormal.xc In markersDeadNormal.xc file, change: def.damageText section: ally.damageText section: enemy.damageText section: markersDeadNormal.xc Then add these .xc files to res_mods/configs/xvm/default (or to your own config folder if that is what you are doing) markers_ahmUTData.xc markers_ahmData.xc markers_AdvancedHitMarkers.xc Then add these python scripts to res_mods/configs/xvm/py_macro collection.py by Ktulho - from THIS post. advancedHitMarkers.py And then add the icon files to res_mods/mods/shared_resources/xvm/res/icons ahm_icons.zip To give you an idea of what and how many random messages you can have, here is my own markers_ahmData.xc file. ( included in the archive ) Just by looking at it, many of you can easily figure out how the script works. If you happen to know more than one language and have an itch to help out, please by all means, fix an existing or add a new language and share here! This is a work in progress and a learning experience for me. There is a lot of talent here, so any recommendations or changes are welcome! The Russian frag counter has been made to synchronize with night_dragon_on's frags announcer audio config for XVM. Found here: https://koreanrandom.com/forum/topic/18955-замена-звуков-sound-changing-звуки-на-различные-события/ ToDo: I would like to add a {{hit-by-shellType}} macro. That would actually be useful and informative. Until then, I'm learning though. Unless someone beats me to it. ;) (hint, hint) The entire archive: advancedHitMarkers_v2.5.zip Enjoy! Changelog:
  4. 1 point
    Ога Паш, а то чето на какую-то мешковину похожа сетка) И разводы маскировочные на сетке поярче сделать - будет ваще красота.
  5. 1 point
    на выходных доделал текстуры для масксетей, но пока что они засвечиваюстя, буду дорабатывать. выкачу через полмесяца-месяц. сниму видео по возможности.
  6. 1 point
    Есть магия DAAPI Если получить спрайт из питона, то можно вызывать все методы из graphics этого спрайта. graphics = sprite.graphics graphics.beginFill(0x00FF00, 1) graphics.drawCircle(300, 300, 300) graphics.endFill() Примерно так
  7. 1 point
    Привет Дима! Не забудь про своих поклонников твоих иконок.
  8. 1 point
    Насколько я помню в этих вкладках "hideMessagePatterns" не работает...когда мод писался не было этого разделения.
  9. 1 point
    Обновлено для клиента версии: v.0.9.21.0 #675 Обновление пока что без файла lobby.swf, т.к. на релизе и тестовом клиенте этот файл с большой долей вероятности совпадать не будет. Как выйдет обновление на основной сервер, перезалью архивы для ангарной части.
  10. 1 point
    Он действительно был там изначально :)
  11. 1 point
    Поправка: папки для модов с НГ-микропатчем будут называться /mods/0.9.21.0.1/ и/res_mods/0.9.21.0.1/ В первом посте поправил.
  12. 1 point
    Сейчас на портале есть ряд проблем с аутентификацией, которые тянутся еще с первого релиза. Мы часть из них уже починили, но некоторые пропустили. Конкретно у тебя, очевидно, баг, будем чинить.
  13. 1 point
    @_The_Last_Knight_ @_The_Last_Knight_ в colors.xc // Dynamic color by vehicle type. // Динамический цвет по типу техники. "vtype": { // Цвет для легких танков. "LT": "0xA2FF9A", // Цвет для средних танков. "MT": "0xFFF198", // Цвет для тяжелых танков. "HT": "0xFFACAC", // Цвет для арты. "SPG": "0xEFAEFF", // Цвет для ПТ. "TD": "0xA0CFFF", // Цвет для премиумной техники. "premium": "0xFFCC66", // Включить/выключить использование премиумного цвета. "usePremiumColor": false },
  14. 1 point
    // Подложка под заголовок хитлога "fonDefaultHeader": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED", "x": 1, "y": "{{py:math.sub({{py:xvm.screenHeight}},750)}}", "width": 310, "height": 68, "bgColor": "0x000000", "alpha": "{{hitlog.n>0?100|0}}" }, если шапка не привязана в ушам, событие "ON_PANEL_MODE_CHANGED" вписывать не нужно. >если есть желание, можешь ещё сюда заглянуть.
  15. 1 point
    Попросить юзера через Process Monitor, поставив фильтр на нужный процесс, узнать, какой именно модуль не найден.
  16. 1 point
    My knowledge of python is novice at best. The way I did it was the way I knew how. And it worked. I did try to keep the modules used as part of the default built-in library offered by python. Not everyone (probably most) will have i18n installed. Is i18n part of python install or a separate library? I do like it but am trying to stay away from external libraries/modules. Unless there is an easy way to make it part of the package? I'm not sure. Perhaps you know? Ah, it is also for python 3. Python 2 is needed. However, the provided gettext module looks like it will do the trick. In any case, how it is done isn't too much of a problem. Getting a proper and coherent translations is. We would need that first. I will work on a pseudo translation/locale system for the script tonight. It is mid afternoon here now and need to go shopping first! Cheers from Canada! Before I go, I'll mention that I use the term "translation" loosely. Some of the "sayings" I am using are culturally or regionally specific and may not have any relevant meaning in another country. For instance, "Clickity Click! Piece of sh..." is a reference to an old cartoon called Barba Papa and Barba Mamma - "Clickity Click! Barba Trick!". Also, in English, the swear word for "poop" rhymes with "click". Of which might not rhyme in a different language. Let alone a different country knowing about that cartoon. Some "sayings" might be able to be directly translated while others may not... We just need somewhere to start with new languages is all that I'm thinking right now.
  17. 1 point
  18. 1 point
    Добавил возможность создавать "кнопки-вкладки". Работают только на тесте, или в следующем патче.
  19. 1 point
    Не помню где именно и кто(большое спасибо ему за плагин),но как то дали вариант плагина Compare 2.0,лично мне очень зашел,может еще кому зайдет...не без недостатков,но получше обычного Два архива,под х86 и х64. ComparePlugin_v2.0.0_X64.zip ComparePlugin_v2.0.0_x86.zip
  20. 1 point
    i can try translate, and i tell something.
×
×
  • Create New...