登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
509
圖層數
17
fox
代碼 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": 137.4522613065,"height": 480.9045226131001,"width": 462,"asset": "Circle","selectable": true,"left": 157,"fill": "#FBAF5C"},{"opacity": 1,"angle": 10.147934599,"flipX": false,"flipY": false,"top": 306,"height": 224,"width": 406,"asset": "Circle","selectable": true,"left": 230,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 277,"height": 234,"width": 182,"asset": "Circle","selectable": true,"left": 17,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 158.44265625,"height": 50.885312500000005,"width": 58,"asset": "Eye2","selectable": true,"left": 186,"fill": "#000000"},{"opacity": 1,"angle": -0.5928487516,"flipX": false,"flipY": false,"top": 158.5047175244,"height": 35.0128012565,"width": 36.8044687239,"asset": "Circle","selectable": true,"left": 186.2532291135,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.5280523927,"height": 32.9438952146,"width": 28.948710058399996,"asset": "Circle","selectable": true,"left": 191.4023834552,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 210.1155778894,"height": 53.7688442211,"width": 51,"asset": "Circle","selectable": true,"left": 123.5,"fill": "#FDC68A"},{"opacity": 0.36,"angle": 12.4160651134,"flipX": false,"flipY": false,"top": 259.2539018973,"height": 20.507365986999996,"width": 115.0884002327,"asset": "Pentagon","selectable": true,"left": 101.7645187358,"fill": "#626262"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.44265625,"height": 42.8853125,"width": 51,"asset": "Eye2","selectable": true,"left": 72.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 150.5,"height": 37,"width": 33.4560099993,"asset": "Circle","selectable": true,"left": 73.7280049997,"fill": "#FFFFFF"},{"opacity": 1,"angle": 13.4020749368,"flipX": false,"flipY": false,"top": 215.8891554115,"height": 56.6333433263,"width": 79.4474890642,"asset": "Circle","selectable": true,"left": 103.2881392735,"fill": "#F9AD81"},{"opacity": 1,"angle": 8.0841774494,"flipX": false,"flipY": false,"top": 212.7050482392,"height": 28.6843147033,"width": 48.3013115076,"asset": "Shield","selectable": true,"left": 95.5010697272,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 150,"height": 34,"width": 31.1557788945,"asset": "Circle","selectable": true,"left": 77.5778894472,"fill": "#000000"},{"opacity": 1,"angle": 10.3792139894,"flipX": false,"flipY": false,"top": 147.2278418301,"height": 100,"width": 80.3270930632,"asset": "Triangle","selectable": true,"left": 118.3245014466,"fill": "#FDC68A"},{"opacity": 1,"angle": 13.1115039937,"flipX": false,"flipY": false,"top": 254.7118104793,"height": 6.9304000985,"width": 86.9345507931,"asset": "Triangle","selectable": true,"left": 98.3672176245,"fill": "#000000"},{"opacity": 0.77,"angle": -15.9154216533,"flipX": false,"flipY": true,"top": 264.8865198357,"height": 4.7143561774,"width": 53.72293441,"asset": "Triangle","selectable": true,"left": 162.4731336983,"fill": "#000000"},{"opacity": 1,"angle": 9.345336325,"flipX": false,"flipY": false,"top": 200.5704382851,"height": 27.4535666488,"width": 48.09535140370001,"asset": "Circle","selectable": true,"left": 97.8515337918,"fill": "#000000"}]'},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": 137.4522613065,"height": 480.9045226131001,"width": 462,"asset": "Circle","selectable": true,"left": 157,"fill": "#FBAF5C"},{"opacity": 1,"angle": 10.147934599,"flipX": false,"flipY": false,"top": 306,"height": 224,"width": 406,"asset": "Circle","selectable": true,"left": 230,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 277,"height": 234,"width": 182,"asset": "Circle","selectable": true,"left": 17,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 158.44265625,"height": 50.885312500000005,"width": 58,"asset": "Eye2","selectable": true,"left": 186,"fill": "#000000"},{"opacity": 1,"angle": -0.5928487516,"flipX": false,"flipY": false,"top": 158.5047175244,"height": 35.0128012565,"width": 36.8044687239,"asset": "Circle","selectable": true,"left": 186.2532291135,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.5280523927,"height": 32.9438952146,"width": 28.948710058399996,"asset": "Circle","selectable": true,"left": 191.4023834552,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 210.1155778894,"height": 53.7688442211,"width": 51,"asset": "Circle","selectable": true,"left": 123.5,"fill": "#FDC68A"},{"opacity": 0.36,"angle": 12.4160651134,"flipX": false,"flipY": false,"top": 259.2539018973,"height": 20.507365986999996,"width": 115.0884002327,"asset": "Pentagon","selectable": true,"left": 101.7645187358,"fill": "#626262"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.44265625,"height": 42.8853125,"width": 51,"asset": "Eye2","selectable": true,"left": 72.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 150.5,"height": 37,"width": 33.4560099993,"asset": "Circle","selectable": true,"left": 73.7280049997,"fill": "#FFFFFF"},{"opacity": 1,"angle": 13.4020749368,"flipX": false,"flipY": false,"top": 215.8891554115,"height": 56.6333433263,"width": 79.4474890642,"asset": "Circle","selectable": true,"left": 103.2881392735,"fill": "#F9AD81"},{"opacity": 1,"angle": 8.0841774494,"flipX": false,"flipY": false,"top": 212.7050482392,"height": 28.6843147033,"width": 48.3013115076,"asset": "Shield","selectable": true,"left": 95.5010697272,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 150,"height": 34,"width": 31.1557788945,"asset": "Circle","selectable": true,"left": 77.5778894472,"fill": "#000000"},{"opacity": 1,"angle": 10.3792139894,"flipX": false,"flipY": false,"top": 147.2278418301,"height": 100,"width": 80.3270930632,"asset": "Triangle","selectable": true,"left": 118.3245014466,"fill": "#FDC68A"},{"opacity": 1,"angle": 13.1115039937,"flipX": false,"flipY": false,"top": 254.7118104793,"height": 6.9304000985,"width": 86.9345507931,"asset": "Triangle","selectable": true,"left": 98.3672176245,"fill": "#000000"},{"opacity": 0.77,"angle": -15.9154216533,"flipX": false,"flipY": true,"top": 264.8865198357,"height": 4.7143561774,"width": 53.72293441,"asset": "Triangle","selectable": true,"left": 162.4731336983,"fill": "#000000"},{"opacity": 1,"angle": 9.345336325,"flipX": false,"flipY": false,"top": 200.5704382851,"height": 27.4535666488,"width": 48.09535140370001,"asset": "Circle","selectable": true,"left": 97.8515337918,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告