登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
208
圖層數
20
MIKU
作者:
YEAAAHSOYO
»
代碼 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": 147.6457286432,"height": 383.29145728640003,"width": 446,"asset": "Circle","selectable": true,"left": 155,"fill": "#FFF79A"},{"opacity": 1,"angle": 247.3810916759,"flipX": false,"flipY": false,"top": 141.213727703,"height": 69.9734277424,"width": 8.1395048916,"asset": "Stroke","selectable": true,"left": 53.2703061074,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 258,"height": 26,"width": 100,"asset": "Circle","selectable": true,"left": 8,"fill": "#F06EA9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262,"height": 26,"width": 100,"asset": "Circle","selectable": true,"left": 312,"fill": "#F06EA9"},{"opacity": 1,"angle": 15.7026759113,"flipX": false,"flipY": false,"top": 91.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 24.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": -7.8749649807,"flipX": true,"flipY": false,"top": 98.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 315.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": 55.4429723489,"flipX": false,"flipY": false,"top": 46.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 86.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": -37.8929788048,"flipX": true,"flipY": false,"top": 72.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 263.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": 39.0319398403,"flipX": false,"flipY": false,"top": 28.4065668905,"height": 126.2283956969,"width": 50.0495824035,"asset": "Stroke","selectable": true,"left": 20.0215855595,"fill": "#000000"},{"opacity": 1,"angle": -45.2392134811,"flipX": false,"flipY": false,"top": 14.9063317311,"height": 133.9342719721,"width": 48.0946508748,"asset": "Stroke","selectable": true,"left": 288.8049241082,"fill": "#000000"},{"opacity": 1,"angle": 39.0319398403,"flipX": false,"flipY": false,"top": 29.4838047035,"height": 100,"width": 27.9910480112,"asset": "Stroke","selectable": true,"left": 20.8962968394,"fill": "#FF0000"},{"opacity": 1,"angle": -45.6891169314,"flipX": false,"flipY": false,"top": 20.0066556559,"height": 100,"width": 28.3664377355,"asset": "Stroke","selectable": true,"left": 294.9221926242,"fill": "#FF0000"},{"opacity": 1,"angle": 15.7026759113,"flipX": true,"flipY": false,"top": 47.2137555106,"height": 259.6457312367,"width": 137.8069373421,"asset": "StrokeBent","selectable": true,"left": 164.7032284678,"fill": "#00FFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.706925422,"height": 67.413850844,"width": 67.413850844,"asset": "Circle","selectable": true,"left": 67.706925422,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.7797208956,"height": 53.5594417913,"width": 53.5594417913,"asset": "Circle","selectable": true,"left": 67.7797208956,"fill": "#FFFFFF"},{"opacity": 1,"angle": -57.0372778886,"flipX": false,"flipY": false,"top": 140.213727703,"height": 69.9734277424,"width": 8.1395048916,"asset": "Stroke","selectable": true,"left": 259.2703061074,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 308.783919598,"height": 86.432160804,"width": 119,"asset": "Square","selectable": true,"left": 158.5,"fill": "#F49AC2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 186.706925422,"height": 67.413850844,"width": 67.413850844,"asset": "Circle","selectable": true,"left": 241.706925422,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187.7797208956,"height": 53.5594417913,"width": 53.5594417913,"asset": "Circle","selectable": true,"left": 240.7797208956,"fill": "#FFFFFF"},{"opacity": 1,"angle": -3.6373609981,"flipX": true,"flipY": false,"top": 1.5864892978,"height": 259.6457312367,"width": 149.5574479767,"asset": "StrokeBent","selectable": true,"left": 129.8398084276,"fill": "#00FFFF"}]'},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": 147.6457286432,"height": 383.29145728640003,"width": 446,"asset": "Circle","selectable": true,"left": 155,"fill": "#FFF79A"},{"opacity": 1,"angle": 247.3810916759,"flipX": false,"flipY": false,"top": 141.213727703,"height": 69.9734277424,"width": 8.1395048916,"asset": "Stroke","selectable": true,"left": 53.2703061074,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 258,"height": 26,"width": 100,"asset": "Circle","selectable": true,"left": 8,"fill": "#F06EA9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262,"height": 26,"width": 100,"asset": "Circle","selectable": true,"left": 312,"fill": "#F06EA9"},{"opacity": 1,"angle": 15.7026759113,"flipX": false,"flipY": false,"top": 91.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 24.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": -7.8749649807,"flipX": true,"flipY": false,"top": 98.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 315.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": 55.4429723489,"flipX": false,"flipY": false,"top": 46.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 86.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": -37.8929788048,"flipX": true,"flipY": false,"top": 72.5891928703,"height": 288.1199614383,"width": 145.8508649761,"asset": "StrokeBent","selectable": true,"left": 263.6622415528,"fill": "#00FFFF"},{"opacity": 1,"angle": 39.0319398403,"flipX": false,"flipY": false,"top": 28.4065668905,"height": 126.2283956969,"width": 50.0495824035,"asset": "Stroke","selectable": true,"left": 20.0215855595,"fill": "#000000"},{"opacity": 1,"angle": -45.2392134811,"flipX": false,"flipY": false,"top": 14.9063317311,"height": 133.9342719721,"width": 48.0946508748,"asset": "Stroke","selectable": true,"left": 288.8049241082,"fill": "#000000"},{"opacity": 1,"angle": 39.0319398403,"flipX": false,"flipY": false,"top": 29.4838047035,"height": 100,"width": 27.9910480112,"asset": "Stroke","selectable": true,"left": 20.8962968394,"fill": "#FF0000"},{"opacity": 1,"angle": -45.6891169314,"flipX": false,"flipY": false,"top": 20.0066556559,"height": 100,"width": 28.3664377355,"asset": "Stroke","selectable": true,"left": 294.9221926242,"fill": "#FF0000"},{"opacity": 1,"angle": 15.7026759113,"flipX": true,"flipY": false,"top": 47.2137555106,"height": 259.6457312367,"width": 137.8069373421,"asset": "StrokeBent","selectable": true,"left": 164.7032284678,"fill": "#00FFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.706925422,"height": 67.413850844,"width": 67.413850844,"asset": "Circle","selectable": true,"left": 67.706925422,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.7797208956,"height": 53.5594417913,"width": 53.5594417913,"asset": "Circle","selectable": true,"left": 67.7797208956,"fill": "#FFFFFF"},{"opacity": 1,"angle": -57.0372778886,"flipX": false,"flipY": false,"top": 140.213727703,"height": 69.9734277424,"width": 8.1395048916,"asset": "Stroke","selectable": true,"left": 259.2703061074,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 308.783919598,"height": 86.432160804,"width": 119,"asset": "Square","selectable": true,"left": 158.5,"fill": "#F49AC2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 186.706925422,"height": 67.413850844,"width": 67.413850844,"asset": "Circle","selectable": true,"left": 241.706925422,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187.7797208956,"height": 53.5594417913,"width": 53.5594417913,"asset": "Circle","selectable": true,"left": 240.7797208956,"fill": "#FFFFFF"},{"opacity": 1,"angle": -3.6373609981,"flipX": true,"flipY": false,"top": 1.5864892978,"height": 259.6457312367,"width": 149.5574479767,"asset": "StrokeBent","selectable": true,"left": 129.8398084276,"fill": "#00FFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告