登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
71
圖層數
20
Bad Big
作者:
nark0z44
代碼 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": 172.6614699332,"height": 201.32293986640002,"width": 259,"asset": "Circle","selectable": true,"left": 157.5,"fill": "#3BB878"},{"opacity": 1,"angle": 1.465944824,"flipX": false,"flipY": false,"top": 85.2689743618,"height": 95.11462047410001,"width": 67.7274837687,"asset": "Clubs","selectable": true,"left": 152.997357506,"fill": "#3BB878"},{"opacity": 1,"angle": -13.5657227975,"flipX": false,"flipY": false,"top": 90.2689743618,"height": 95.11462047410001,"width": 67.7274837687,"asset": "Clubs","selectable": true,"left": 115.997357506,"fill": "#3BB878"},{"opacity": 1,"angle": -59.1422076461,"flipX": false,"flipY": false,"top": 137.2165244787,"height": 47.446238851900006,"width": 17.5914538226,"asset": "Comma","selectable": true,"left": 261.7953748603,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 202.5,"height": 69,"width": 93.9698492462,"asset": "Circle","selectable": true,"left": 154.0150753769,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 178.1750127924,"height": 93.8671262641,"width": 116.6634283569,"asset": "Circle","selectable": true,"left": 154.966329563,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 177.6889033468,"height": 88.8393451552,"width": 110.4146146929,"asset": "Circle","selectable": true,"left": 154.8419227311,"fill": "#82CA9D"},{"opacity": 1,"angle": -6.5909653837,"flipX": false,"flipY": false,"top": 183.9927641031,"height": 30.327236749,"width": 17.9019894574,"asset": "Circle","selectable": true,"left": 132.7801404574,"fill": "#005826"},{"opacity": 1,"angle": 13.3975908556,"flipX": false,"flipY": false,"top": 183.9927641031,"height": 30.327236749,"width": 17.9019894574,"asset": "Circle","selectable": true,"left": 171.7801404574,"fill": "#005826"},{"opacity": 1,"angle": -5.0601562054,"flipX": false,"flipY": false,"top": 168.0591354124,"height": 56.510414639,"width": 53.206265207,"asset": "Circle","selectable": true,"left": 71.7937701105,"fill": "#000000"},{"opacity": 1,"angle": 3.1723696079,"flipX": false,"flipY": false,"top": 170.8297402567,"height": 57.4897326852,"width": 52.123570083,"asset": "Circle","selectable": true,"left": 242.9627998165,"fill": "#000000"},{"opacity": 1,"angle": -5.0601562054,"flipX": false,"flipY": false,"top": 168,"height": 52,"width": 48.95957335360001,"asset": "Circle","selectable": true,"left": 72.4797866768,"fill": "#FFFFFF"},{"opacity": 1,"angle": 3.1723696079,"flipX": false,"flipY": false,"top": 171,"height": 54,"width": 48.95957335360001,"asset": "Circle","selectable": true,"left": 243.4797866768,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 168.7989949749,"height": 19.5979899497,"width": 19.5979899497,"asset": "Circle","selectable": true,"left": 85.7989949749,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170.7989949749,"height": 19.5979899497,"width": 19.5979899497,"asset": "Circle","selectable": true,"left": 253.7989949749,"fill": "#000000"},{"opacity": 1,"angle": 607.8235914822,"flipX": false,"flipY": true,"top": 128.2165244787,"height": 47.446238851900006,"width": 17.5914538226,"asset": "Comma","selectable": true,"left": 63.7953748603,"fill": "#005826"},{"opacity": 1,"angle": -20.7223851857,"flipX": false,"flipY": false,"top": 120.2639612167,"height": 29.2647946135,"width": 29.2647946135,"asset": "Square","selectable": true,"left": 78.9237228334,"fill": "#3BB878"},{"opacity": 1,"angle": 27.0556109233,"flipX": false,"flipY": false,"top": 125.2639612167,"height": 29.2647946135,"width": 29.2647946135,"asset": "Square","selectable": true,"left": 247.9237228334,"fill": "#3BB878"},{"opacity": 1,"angle": -16.0800124106,"flipX": false,"flipY": false,"top": 64.9919978339,"height": 32.0463896578,"width": 22.057205367,"asset": "Circle","selectable": true,"left": 109.8932083499,"fill": "#82CA9D"},{"opacity": 1,"angle": 0.1444652688,"flipX": false,"flipY": false,"top": 59.9919978339,"height": 32.0463896578,"width": 22.057205367,"asset": "Circle","selectable": true,"left": 153.8932083499,"fill": "#82CA9D"}]'},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": 172.6614699332,"height": 201.32293986640002,"width": 259,"asset": "Circle","selectable": true,"left": 157.5,"fill": "#3BB878"},{"opacity": 1,"angle": 1.465944824,"flipX": false,"flipY": false,"top": 85.2689743618,"height": 95.11462047410001,"width": 67.7274837687,"asset": "Clubs","selectable": true,"left": 152.997357506,"fill": "#3BB878"},{"opacity": 1,"angle": -13.5657227975,"flipX": false,"flipY": false,"top": 90.2689743618,"height": 95.11462047410001,"width": 67.7274837687,"asset": "Clubs","selectable": true,"left": 115.997357506,"fill": "#3BB878"},{"opacity": 1,"angle": -59.1422076461,"flipX": false,"flipY": false,"top": 137.2165244787,"height": 47.446238851900006,"width": 17.5914538226,"asset": "Comma","selectable": true,"left": 261.7953748603,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 202.5,"height": 69,"width": 93.9698492462,"asset": "Circle","selectable": true,"left": 154.0150753769,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 178.1750127924,"height": 93.8671262641,"width": 116.6634283569,"asset": "Circle","selectable": true,"left": 154.966329563,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 177.6889033468,"height": 88.8393451552,"width": 110.4146146929,"asset": "Circle","selectable": true,"left": 154.8419227311,"fill": "#82CA9D"},{"opacity": 1,"angle": -6.5909653837,"flipX": false,"flipY": false,"top": 183.9927641031,"height": 30.327236749,"width": 17.9019894574,"asset": "Circle","selectable": true,"left": 132.7801404574,"fill": "#005826"},{"opacity": 1,"angle": 13.3975908556,"flipX": false,"flipY": false,"top": 183.9927641031,"height": 30.327236749,"width": 17.9019894574,"asset": "Circle","selectable": true,"left": 171.7801404574,"fill": "#005826"},{"opacity": 1,"angle": -5.0601562054,"flipX": false,"flipY": false,"top": 168.0591354124,"height": 56.510414639,"width": 53.206265207,"asset": "Circle","selectable": true,"left": 71.7937701105,"fill": "#000000"},{"opacity": 1,"angle": 3.1723696079,"flipX": false,"flipY": false,"top": 170.8297402567,"height": 57.4897326852,"width": 52.123570083,"asset": "Circle","selectable": true,"left": 242.9627998165,"fill": "#000000"},{"opacity": 1,"angle": -5.0601562054,"flipX": false,"flipY": false,"top": 168,"height": 52,"width": 48.95957335360001,"asset": "Circle","selectable": true,"left": 72.4797866768,"fill": "#FFFFFF"},{"opacity": 1,"angle": 3.1723696079,"flipX": false,"flipY": false,"top": 171,"height": 54,"width": 48.95957335360001,"asset": "Circle","selectable": true,"left": 243.4797866768,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 168.7989949749,"height": 19.5979899497,"width": 19.5979899497,"asset": "Circle","selectable": true,"left": 85.7989949749,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170.7989949749,"height": 19.5979899497,"width": 19.5979899497,"asset": "Circle","selectable": true,"left": 253.7989949749,"fill": "#000000"},{"opacity": 1,"angle": 607.8235914822,"flipX": false,"flipY": true,"top": 128.2165244787,"height": 47.446238851900006,"width": 17.5914538226,"asset": "Comma","selectable": true,"left": 63.7953748603,"fill": "#005826"},{"opacity": 1,"angle": -20.7223851857,"flipX": false,"flipY": false,"top": 120.2639612167,"height": 29.2647946135,"width": 29.2647946135,"asset": "Square","selectable": true,"left": 78.9237228334,"fill": "#3BB878"},{"opacity": 1,"angle": 27.0556109233,"flipX": false,"flipY": false,"top": 125.2639612167,"height": 29.2647946135,"width": 29.2647946135,"asset": "Square","selectable": true,"left": 247.9237228334,"fill": "#3BB878"},{"opacity": 1,"angle": -16.0800124106,"flipX": false,"flipY": false,"top": 64.9919978339,"height": 32.0463896578,"width": 22.057205367,"asset": "Circle","selectable": true,"left": 109.8932083499,"fill": "#82CA9D"},{"opacity": 1,"angle": 0.1444652688,"flipX": false,"flipY": false,"top": 59.9919978339,"height": 32.0463896578,"width": 22.057205367,"asset": "Circle","selectable": true,"left": 153.8932083499,"fill": "#82CA9D"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告