登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
4
複製總數
72
圖層數
20
paopao
作者:
FANXW
»
代碼 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": 162.5012647566,"height": 297.0025295132,"width": 297.0025295132,"asset": "Circle","selectable": false,"left": 159.5012647566,"fill": "#FBAF5C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.260716433,"height": 228.5214328661,"width": 228.5214328661,"asset": "Circle","selectable": false,"left": 160.260716433,"fill": "#F68E55"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 172.2368198433,"height": 216.4736396866,"width": 216.4736396866,"asset": "Circle","selectable": false,"left": 160.2368198433,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 186.5,"height": 225,"width": 19,"asset": "StrokeBent","selectable": false,"left": 160.5,"fill": "#F68E55"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 161.5,"height": 57,"width": 275,"asset": "Circle","selectable": false,"left": 160.5,"fill": "#FBAF5C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 118.94265625,"height": 135.8853125,"width": 251,"asset": "Eye2","selectable": false,"left": 158.5,"fill": "#FBAF5C"},{"opacity": 0.65,"angle": 0,"flipX": false,"flipY": false,"top": 104.5,"height": 155,"width": 229,"asset": "Circle","selectable": false,"left": 158.5,"fill": "#FDC68A"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 224.5458736378,"height": 190.3926948536,"width": 19.0917472757,"asset": "StrokeBent","selectable": false,"left": 160.8036525732,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 227.7012258549,"height": 68.7887405566,"width": 5.3645258966,"asset": "Stroke","selectable": false,"left": 101.3177370517,"fill": "#C2C2C2"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": false,"top": 238.3056273542,"height": 83.9803746318,"width": 5.2923876977,"asset": "Stroke","selectable": false,"left": 158.3538061512,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 228.8795426604,"height": 69.5348086178,"width": 5.4227084044,"asset": "Stroke","selectable": false,"left": 216.5654931364,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 87.7750069874,"height": 89.5500139747,"width": 89.5500139747,"asset": "Circle","selectable": false,"left": 203.7750069874,"fill": "#F68E55"},{"opacity": 1,"angle": 106.37574956,"flipX": false,"flipY": false,"top": 85.890761082,"height": 92.1054376598,"width": 31.923684547499995,"asset": "StrokeBent","selectable": false,"left": 101.5276405165,"fill": "#A0410D"},{"opacity": 1,"angle": 76.8060413359,"flipX": false,"flipY": false,"top": 109.8076738577,"height": 92.1054376598,"width": 30,"asset": "StrokeBent","selectable": false,"left": 93.2371039071,"fill": "#A0410D"},{"opacity": 0.84,"angle": 0,"flipX": false,"flipY": false,"top": 143.5,"height": 29,"width": 82,"asset": "Circle","selectable": false,"left": 247,"fill": "#F26C4F"},{"opacity": 0.84,"angle": 0,"flipX": false,"flipY": false,"top": 144.5,"height": 29,"width": 82,"asset": "Circle","selectable": false,"left": 70,"fill": "#F26C4F"},{"opacity": 1,"angle": 69.5418013903,"flipX": false,"flipY": false,"top": 43.2929764551,"height": 80.7348660681,"width": 6.4920776299,"asset": "Stroke","selectable": false,"left": 92.8256614546,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 87.2010050251,"height": 80.4020100503,"width": 80.4020100503,"asset": "Circle","selectable": false,"left": 204.2010050251,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 89.9161240441,"height": 41.4843348263,"width": 41.4843348263,"asset": "Circle","selectable": false,"left": 182.7421674131,"fill": "#790000"},{"opacity": 1,"angle": 119.732478001,"flipX": false,"flipY": false,"top": 31.2055037448,"height": 80.1746949023,"width": 6.4470329686,"asset": "Stroke","selectable": false,"left": 215.1542341705,"fill": "#363636"}]'},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": 162.5012647566,"height": 297.0025295132,"width": 297.0025295132,"asset": "Circle","selectable": false,"left": 159.5012647566,"fill": "#FBAF5C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.260716433,"height": 228.5214328661,"width": 228.5214328661,"asset": "Circle","selectable": false,"left": 160.260716433,"fill": "#F68E55"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 172.2368198433,"height": 216.4736396866,"width": 216.4736396866,"asset": "Circle","selectable": false,"left": 160.2368198433,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 186.5,"height": 225,"width": 19,"asset": "StrokeBent","selectable": false,"left": 160.5,"fill": "#F68E55"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 161.5,"height": 57,"width": 275,"asset": "Circle","selectable": false,"left": 160.5,"fill": "#FBAF5C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 118.94265625,"height": 135.8853125,"width": 251,"asset": "Eye2","selectable": false,"left": 158.5,"fill": "#FBAF5C"},{"opacity": 0.65,"angle": 0,"flipX": false,"flipY": false,"top": 104.5,"height": 155,"width": 229,"asset": "Circle","selectable": false,"left": 158.5,"fill": "#FDC68A"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 224.5458736378,"height": 190.3926948536,"width": 19.0917472757,"asset": "StrokeBent","selectable": false,"left": 160.8036525732,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 227.7012258549,"height": 68.7887405566,"width": 5.3645258966,"asset": "Stroke","selectable": false,"left": 101.3177370517,"fill": "#C2C2C2"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": false,"top": 238.3056273542,"height": 83.9803746318,"width": 5.2923876977,"asset": "Stroke","selectable": false,"left": 158.3538061512,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 228.8795426604,"height": 69.5348086178,"width": 5.4227084044,"asset": "Stroke","selectable": false,"left": 216.5654931364,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 87.7750069874,"height": 89.5500139747,"width": 89.5500139747,"asset": "Circle","selectable": false,"left": 203.7750069874,"fill": "#F68E55"},{"opacity": 1,"angle": 106.37574956,"flipX": false,"flipY": false,"top": 85.890761082,"height": 92.1054376598,"width": 31.923684547499995,"asset": "StrokeBent","selectable": false,"left": 101.5276405165,"fill": "#A0410D"},{"opacity": 1,"angle": 76.8060413359,"flipX": false,"flipY": false,"top": 109.8076738577,"height": 92.1054376598,"width": 30,"asset": "StrokeBent","selectable": false,"left": 93.2371039071,"fill": "#A0410D"},{"opacity": 0.84,"angle": 0,"flipX": false,"flipY": false,"top": 143.5,"height": 29,"width": 82,"asset": "Circle","selectable": false,"left": 247,"fill": "#F26C4F"},{"opacity": 0.84,"angle": 0,"flipX": false,"flipY": false,"top": 144.5,"height": 29,"width": 82,"asset": "Circle","selectable": false,"left": 70,"fill": "#F26C4F"},{"opacity": 1,"angle": 69.5418013903,"flipX": false,"flipY": false,"top": 43.2929764551,"height": 80.7348660681,"width": 6.4920776299,"asset": "Stroke","selectable": false,"left": 92.8256614546,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 87.2010050251,"height": 80.4020100503,"width": 80.4020100503,"asset": "Circle","selectable": false,"left": 204.2010050251,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 89.9161240441,"height": 41.4843348263,"width": 41.4843348263,"asset": "Circle","selectable": false,"left": 182.7421674131,"fill": "#790000"},{"opacity": 1,"angle": 119.732478001,"flipX": false,"flipY": false,"top": 31.2055037448,"height": 80.1746949023,"width": 6.4470329686,"asset": "Stroke","selectable": false,"left": 215.1542341705,"fill": "#363636"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告