You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
On my personal clone, I've hardcoded in local site reference, with these placed in /assets/images/markers. It requires an update to the function below to make it return a static array of compatible marker names (see end of desc.).
It also required an update here for the JS player to use the new icons accordingly.
replaced with iconUrl: '/assets/images/markers/' + markerType + '_black.png',
Please update the source site (https://r3icons.titanmods.xyz/) with additional "mil" and "hd" icons, both in JSON reference & with the source image files. Images included in the attached .zip below. This will let anyone still using the server reference expand what editor-placed markers are displayed in the JS player without needing to make the same changes to their source code. markers.zip
Marker References:
R3-Web/dist/inc/classes/Replays.php
Line 298 in ac92ae0
On my personal clone, I've hardcoded in local site reference, with these placed in /assets/images/markers. It requires an update to the function below to make it return a static array of compatible marker names (see end of desc.).
It also required an update here for the JS player to use the new icons accordingly.
R3-Web/dist/assets/app.js
Lines 1180 to 1185 in ac92ae0
replaced with
iconUrl: '/assets/images/markers/' + markerType + '_black.png',
Please update the source site (https://r3icons.titanmods.xyz/) with additional "mil" and "hd" icons, both in JSON reference & with the source image files. Images included in the attached .zip below. This will let anyone still using the server reference expand what editor-placed markers are displayed in the JS player without needing to make the same changes to their source code.
markers.zip
The text was updated successfully, but these errors were encountered: