Repository navigation
Releases
Releases · RRimmer/PMM-WeaponPaints
PMM_WeaponPaints-0.1.1
English
What is new in 0.1.1
- Pistols, Rifles, Snipers, SMG and Heavy open only their own group again. When the locker command matched a WeaponPaints command (for example
"Commands": ["skins"]and"CommandSkinSelection": ["skins"]), a section click also ran!pws, which closed the locker and dropped the filter, so every weapon was listed. - Commands the locker sends to WeaponPaints no longer run
!pws. A shared command typed by the player opens the locker home page and closes it on the second try. The clash is reported in the console at load. - Section commands come from
configs/plugins/WeaponPaints/WeaponPaints.jsoninstead of fixedcss_knife/css_skins/ … "Debug": true(defaultfalse) writesaddons/counterstrikesharp/logs/log-PMM_WeaponPaints_debug_*.txt, the console ([PMM-DBG]) and the player chat.css_pmm_debugprints the state,css_pmm_debug 1/0switches the log.- The
css_wptesttest command is removed. - Only the server DLL changed. The client panorama is the same as 0.1.0: no addon rebuild.
You can read more on the site: https://genesis-cs.space/menuconstructor/index.html
Русский
Что нового в 0.1.1
- Pistols, Rifles, Snipers, SMG и Heavy снова открывают только свою группу. Если команда локера совпадала с командой WeaponPaints (например
"Commands": ["skins"]и"CommandSkinSelection": ["skins"]), клик по разделу запускал заодно!pws, тот закрывал локер и сбрасывал фильтр — показывалось всё оружие. - Команды, которые локер шлёт WeaponPaints сам, больше не запускают
!pws. Общая команда, набранная игроком, открывает главную локера, повторный ввод закрывает его. Совпадение команд пишется в консоль при загрузке. - Команды разделов берутся из
configs/plugins/WeaponPaints/WeaponPaints.json, а не жёсткоcss_knife/css_skins/ … "Debug": true(по умолчаниюfalse) пишетaddons/counterstrikesharp/logs/log-PMM_WeaponPaints_debug_*.txt, консоль ([PMM-DBG]) и чат игрока.css_pmm_debugпечатает состояние,css_pmm_debug 1/0включает и выключает лог.- Тестовая команда
css_wptestудалена. - Изменилась только серверная DLL. Клиентская панорама та же, что в 0.1.0: аддон пересобирать не нужно.
Вы можете ознакомиться с более подробной информацией на сайте: https://genesis-cs.space/menuconstructor/index.html
PMM_WeaponPaints-0.1.0
English
What is new in 0.1.0
- Needs MenuManager 1.2.03 (1.2.02 still works) and CounterStrikeSharp 1.0.376. Rebuild
wp.xmlandwp.cssin Workshop Tools. The client no longer needswp_layout.css. - Config
"Language": "ru"or"en"(defaulten). An old config is not updated by itself: add the field by hand. Titles, sections, buttons, hints, the badge, rarities and chat messages are translated. - Equipped items use the team colour: T gold, CT blue. Each card has T and CT dots.
!pwsopens only on T or CT. Spectators get a chat message. An open locker closes on a team change. - Rarity frames, agents, music and coins come from
pmm_items.jsonnext to the DLL. Agents are the full CS2 list for your team. Music shows the track and the artist. Coins are a new section and warn that a medal applies after a reconnect or a map change. - Gloves open as 8 types plus Default. Default equips at once. The grid is 5 cards wide. The window is 65% by 70% and fits 16:9, 16:10 and 4:3.
- Phantom pictures are fixed: a card no longer keeps another item's image. Default T/CT gloves, default agents, and "None" for music and coins have pictures. A card without a picture no longer collapses onto the T/CT dots.
- The only database write is the chosen agent, into
wp_player_agents. The database user needs INSERT and UPDATE on that table.
You can read more on the site: https://genesis-cs.space/menuconstructor/index.html
Русский
Что нового в 0.1.0
- Нужен MenuManager 1.2.03 (1.2.02 тоже подходит) и CounterStrikeSharp 1.0.376.
wp.xmlиwp.cssнужно заново собрать в Workshop Tools. Клиенту больше не нуженwp_layout.css. - В конфиге
"Language": "ru"или"en"(по умолчаниюen). Старый конфиг сам не дополняется: поле нужно дописать. Переводятся заголовки, разделы, кнопки, подсказки, бейдж, редкости и сообщения в чат. - Экипированное красится в цвет команды: T золотой, CT синий. На карточке кружки T и CT.
!pwsоткрывается только за T или CT. Наблюдателю пишется в чат. Открытый локер закрывается при смене команды. - Рамки редкости, агенты, музыка и значки берутся из
pmm_items.jsonрядом с DLL. Агенты — полный список CS2 вашей команды. У музыки крупно трек и ниже исполнитель. Значки — новый раздел, с предупреждением, что медаль применяется после перезахода или смены карты. - Перчатки открываются как 8 типов плюс «Стандарт». «Стандарт» надевается сразу. В строке 5 карточек. Окно 65% на 70% и встаёт на 16:9, 16:10 и 4:3.
- Фантомные картинки исправлены: карточка больше не оставляет чужое изображение. У стандартных перчаток T/CT, стандартных агентов и «Нет» у музыки и значков есть картинки. Карточка без картинки больше не схлопывается на кружки T/CT.
- В базу пишется только выбранный агент, в
wp_player_agents. Пользователю базы нужны INSERT и UPDATE на эту таблицу.
Вы можете ознакомиться с более подробной информацией на сайте: https://genesis-cs.space/menuconstructor/index.html
PMM_WeaponPaints-0.0.3
English
What is new in 0.0.3
- Left column: rifles, snipers, SMGs, heavy and music. Knives, gloves, pistols and agents stay. There is no pins section.
- Section icons are game images: AK-47, AWP, MAC-10, Nova and the music kit.
- The column has two pages, with arrows and numbers 1 and 2. Page 1 is Loadout, Knife, Gloves, Pistols, Rifles, Snipers. Page 2 is SMG, Heavy, Agents, Music.
- Loadout uses nine 144×170 tiles in the same 6×3 grid as the skin list. The first row has six sections. The second has heavy, agents and music.
- Equipped items are read from the WeaponPaints database on !pws and stay after a reconnect. DatabaseHost, DatabasePort, DatabaseUser, DatabasePassword and DatabaseName are the WeaponPaints database, not MenuManager. This plugin does not write to it.
- Without that database the locker does not draw: the server console and !pws in chat report the error.
- !pws opens only when !menu is set to mouse panorama. Otherwise chat explains: Select menu, then Panorama (mouse).
- A chosen finish shows on the weapon card and inside its skin list: image, name and a gold EQUIPPED frame. Until a finish is picked this session, the card keeps the base weapon image.
- A skin is stored for the team the player is on. The agent list is the one WeaponPaints opened.
- Config plugins/PMM_WeaponPaints/PMM_WeaponPaints.json: Commands (default ["pws"], chat !pws), OpenDelay (pause before the menu, 0.2), InputDelay (pause before the mouse, 0.2).
- Rebuild wp.xml and wp.css in Workshop Tools.
What was in 0.0.2
- Weapons are split into pistols, rifles, snipers, smg and heavy. A weapons:group trigger opens that group, not the whole css_skins list.
- Constructor buttons are resolved from wp_triggers.json next to the DLL. Without that file the plugin only knows the stock ids such as wp-cat-knife.
- A knife type saves the knife and opens its finishes. Picking a finish returns to the list. The equipped item is gold and labeled EQUIPPED.
- Back from a skin list returns to the list it came from.
- The locker does not draw a pins section. css_pins remains only as a fallback title match.
What was in 0.0.1
- Centered locker. !pws opens the home window.
- !knife opens the knife-type grid. !gloves, !agents, !music and the skin menu open their own lists. A click runs the original WeaponPaints callback.
- This archive has no MenuManager. Do not leave MenuManagerApi.dll in plugins/WeaponPaints.
- The player menu in !menu must be mouse panorama. WeaponPaints MenuType: selectable.
Русский
Что нового в 0.0.3
- Левая колонка: винтовки, снайперские, ПП, тяжёлое и музыка. Ножи, перчатки, пистолеты и агенты на месте. Пинов в меню нет.
- Иконки разделов — картинки игры: AK-47, AWP, MAC-10, Nova, музкит.
- Колонка на двух страницах: стрелки и номера 1 и 2. Первая — Loadout, Knife, Gloves, Pistols, Rifles, Snipers. Вторая — SMG, Heavy, Agents, Music.
- На Loadout девять плиток 144×170, сетка 6×3 как у списка скинов: первый ряд шесть разделов, второй — тяжёлое, агенты, музыка.
- Экипировка читается из базы WeaponPaints при !pws и не пропадает после перезахода. Поля DatabaseHost, DatabasePort, DatabaseUser, DatabasePassword и DatabaseName — это база плагина WeaponPaints, не MenuManager. Плагин базу не пишет.
- Без соединения с этой базой локер не рисуется: ошибка в консоли сервера и в чате на !pws.
- !pws открывается только если в !menu выбрана панорама мышью. Иначе в чат пишется, как её включить: Выбор меню → Панорама (мышь).
- Выбранная отделка видна и в списке оружия, и внутри его скинов: картинка, имя и золотая EQUIPPED. Пока отделку в этом заходе не выбирали, карточка показывает базовую картинку.
- Скин пишется в команду, в которой игрок стоит. Список агентов тот, что отдал WeaponPaints.
- Конфиг plugins/PMM_WeaponPaints/PMM_WeaponPaints.json: Commands (по умолчанию ["pws"], в чате !pws), OpenDelay (пауза до меню, 0.2), InputDelay (пауза до мыши, 0.2).
- Панораму wp.xml и wp.css нужно заново собрать в Workshop Tools.
Что было в 0.0.2
- Оружие делится на группы pistols, rifles, snipers, smg, heavy. Кнопка с триггером weapons:группа открывает только эту группу, а не весь список css_skins.
- Кнопки конструктора ищутся в wp_triggers.json рядом с DLL. Без этого файла плагин знает штатные id wp-cat-knife и соседние.
- Клик по типу ножа сохраняет нож и открывает его отделки. Выбор отделки возвращает к списку, выбранный предмет золотой, с надписью EQUIPPED.
- Назад из списка скинов возвращает к тому списку, из которого пришли.
- Раздел пинов в локере не рисуется. Строка css_pins остаётся только запасным разбором заголовка.
Что было в 0.0.1
- Окно локера по центру. !pws открывает главное окно.
- !knife открывает сетку типов ножей. !gloves, !agents, !music и меню скинов открывают свой список. Клик вызывает исходный callback WeaponPaints.
- Своей копии MenuManager нет. Нужен MenuManager. В plugins/WeaponPaints не должно быть MenuManagerApi.dll.
- У игрока в !menu панорама мышью. В конфиге WeaponPaints MenuType: selectable.