登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
38
圖層數
20
Caution! Blind driver
作者:
Иван Пономаренко
»
代碼 BATTLEFIELD 1
复制到剪贴板
显示代码
var request=new XMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){var e=JSON.parse(request.responseText);e.result?window.location.href=window.location.href.replace("/new","/edit/")+e.result.slot:alert("Error")}},request.setRequestHeader("Content-Type","application/json;charset=UTF-8"),request.setRequestHeader("X-GatewaySession",localStorage.gatewaySessionId),data={jsonrpc:"2.0",method:"Emblems.newPrivateEmblem",params:{data:'[{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 115.5,"height": 245,"width": 308.3496912853,"asset": "PlayerMarker","selectable": true,"left": -337.3646418537,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 166.421875,"height": 100,"width": 56,"asset": "Romb","selectable": true,"left": -345,"fill": "#FFFFFF"},{"opacity": 1,"angle": 89.8421074452,"flipX": false,"flipY": false,"top": 229.3889245951,"height": 262.2294092433,"width": 35.5463967933,"asset": "Stroke","selectable": true,"left": -275.9724693816,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 154.3398209583,"height": 272.9127744674,"width": 309.5984108561,"asset": "Triangle","selectable": true,"left": 157.5646691228,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162.5615806426,"height": 217.4798537901,"width": 231,"asset": "Triangle","selectable": true,"left": 158.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.8704120795,"flipX": false,"flipY": false,"top": 196.2167306919,"height": 61.8661637649,"width": 6.0016711821,"asset": "Stroke","selectable": true,"left": 90.5636438217,"fill": "#000000"},{"opacity": 1,"angle": 90.7288441407,"flipX": false,"flipY": false,"top": 227.377620172,"height": 35.4846421,"width": 7.09692842,"asset": "Stroke","selectable": true,"left": 181.5694740181,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 223.815410219,"height": 16.772382938,"width": 50.6083047171,"asset": "ArrowBent","selectable": true,"left": 134.3041523585,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 230.784532319,"height": 51.5690646379,"width": 51.5690646379,"asset": "Circle","selectable": true,"left": 100.207412573,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 828,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 230.5167738579,"height": 47.033547715699996,"width": 47.033547715699996,"asset": "Circle","selectable": true,"left": 100.4123323463,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 230.2901881814,"height": 42.5803763628,"width": 42.5803763628,"asset": "Circle","selectable": true,"left": 100.2901881814,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 255,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 575,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.2125921645,"height": 51.4767828687,"width": 51.4767828687,"asset": "Circle","selectable": true,"left": 169.2125921645,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.7381522259,"height": 45.476304451900006,"width": 45.476304451900006,"asset": "Circle","selectable": true,"left": 169.7381522259,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.5,"height": 41,"width": 42.9451081522,"asset": "Circle","selectable": true,"left": 169.4725540761,"fill": "#000000"},{"opacity": 1,"angle": 26.6244353342,"flipX": false,"flipY": false,"top": 200.3758954319,"height": 61.6566066199,"width": 6.7082003294,"asset": "Stroke","selectable": true,"left": 210.5635093861,"fill": "#000000"},{"opacity": 1,"angle": 90.5566784615,"flipX": true,"flipY": false,"top": 169.9581180549,"height": 25.8678143046,"width": 5.902559616,"asset": "Stroke","selectable": true,"left": 117.6894628595,"fill": "#000000"},{"opacity": 1,"angle": 272.2540083956,"flipX": true,"flipY": false,"top": 171.5436231548,"height": 36.2990987393,"width": 4.8388125502,"asset": "Stroke","selectable": true,"left": 206.1083069356,"fill": "#000000"},{"opacity": 1,"angle": -28.2153427262,"flipX": false,"flipY": false,"top": 157.7602697938,"height": 100,"width": 13.0117564929,"asset": "Stroke","selectable": true,"left": 223.9604382714,"fill": "#FF0000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 115.5,"height": 245,"width": 308.3496912853,"asset": "PlayerMarker","selectable": true,"left": -337.3646418537,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 166.421875,"height": 100,"width": 56,"asset": "Romb","selectable": true,"left": -345,"fill": "#FFFFFF"},{"opacity": 1,"angle": 89.8421074452,"flipX": false,"flipY": false,"top": 229.3889245951,"height": 262.2294092433,"width": 35.5463967933,"asset": "Stroke","selectable": true,"left": -275.9724693816,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 154.3398209583,"height": 272.9127744674,"width": 309.5984108561,"asset": "Triangle","selectable": true,"left": 157.5646691228,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162.5615806426,"height": 217.4798537901,"width": 231,"asset": "Triangle","selectable": true,"left": 158.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.8704120795,"flipX": false,"flipY": false,"top": 196.2167306919,"height": 61.8661637649,"width": 6.0016711821,"asset": "Stroke","selectable": true,"left": 90.5636438217,"fill": "#000000"},{"opacity": 1,"angle": 90.7288441407,"flipX": false,"flipY": false,"top": 227.377620172,"height": 35.4846421,"width": 7.09692842,"asset": "Stroke","selectable": true,"left": 181.5694740181,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 223.815410219,"height": 16.772382938,"width": 50.6083047171,"asset": "ArrowBent","selectable": true,"left": 134.3041523585,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 230.784532319,"height": 51.5690646379,"width": 51.5690646379,"asset": "Circle","selectable": true,"left": 100.207412573,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 828,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 230.5167738579,"height": 47.033547715699996,"width": 47.033547715699996,"asset": "Circle","selectable": true,"left": 100.4123323463,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 230.2901881814,"height": 42.5803763628,"width": 42.5803763628,"asset": "Circle","selectable": true,"left": 100.2901881814,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 255,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 575,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.2125921645,"height": 51.4767828687,"width": 51.4767828687,"asset": "Circle","selectable": true,"left": 169.2125921645,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.7381522259,"height": 45.476304451900006,"width": 45.476304451900006,"asset": "Circle","selectable": true,"left": 169.7381522259,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.5,"height": 41,"width": 42.9451081522,"asset": "Circle","selectable": true,"left": 169.4725540761,"fill": "#000000"},{"opacity": 1,"angle": 26.6244353342,"flipX": false,"flipY": false,"top": 200.3758954319,"height": 61.6566066199,"width": 6.7082003294,"asset": "Stroke","selectable": true,"left": 210.5635093861,"fill": "#000000"},{"opacity": 1,"angle": 90.5566784615,"flipX": true,"flipY": false,"top": 169.9581180549,"height": 25.8678143046,"width": 5.902559616,"asset": "Stroke","selectable": true,"left": 117.6894628595,"fill": "#000000"},{"opacity": 1,"angle": 272.2540083956,"flipX": true,"flipY": false,"top": 171.5436231548,"height": 36.2990987393,"width": 4.8388125502,"asset": "Stroke","selectable": true,"left": 206.1083069356,"fill": "#000000"},{"opacity": 1,"angle": -28.2153427262,"flipX": false,"flipY": false,"top": 157.7602697938,"height": 100,"width": 13.0117564929,"asset": "Stroke","selectable": true,"left": 223.9604382714,"fill": "#FF0000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告