登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
169
圖層數
17
GAMER
作者:
Sgt_FR0Z3N
»
代碼 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": 176.5,"height": 133,"width": 278,"asset": "Circle","selectable": true,"left": 156,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 176.5,"height": 125,"width": 270,"asset": "Circle","selectable": true,"left": 156,"fill": "#7D7D7D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.0439100013,"height": 212.0878200025,"width": 212.0878200025,"asset": "Circle","selectable": true,"left": 159.0439100013,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.2538755944,"height": 198.5077511888,"width": 198.5077511888,"asset": "Circle","selectable": true,"left": 160.2538755944,"fill": "#0054A6"},{"opacity": 1,"angle": 90.2360146796,"flipX": false,"flipY": false,"top": 66.6024717969,"height": 192.9788357151,"width": 30,"asset": "StrokeBent","selectable": true,"left": 158.4876183898,"fill": "#000000"},{"opacity": 1,"angle": 2.2738617288,"flipX": false,"flipY": false,"top": 103.2411056821,"height": 58.1874647377,"width": 5.8272322179,"asset": "Stroke","selectable": true,"left": 64.1527488946,"fill": "#000000"},{"opacity": 1,"angle": -4.7660192301,"flipX": true,"flipY": false,"top": 108.8644793153,"height": 60.2710413695,"width": 5.9111982882,"asset": "Stroke","selectable": true,"left": 254.0444008559,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.5,"height": 71,"width": 155,"asset": "Circle","selectable": true,"left": 158.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 132.5,"height": 61,"width": 38,"asset": "Circle","selectable": true,"left": 135,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 133,"height": 62,"width": 39,"asset": "Circle","selectable": true,"left": 183.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120,"height": 64,"width": 100,"asset": "Circle","selectable": true,"left": 159,"fill": "#0054A6"},{"opacity": 1,"angle": -54.9706591655,"flipX": false,"flipY": false,"top": 211.3474810827,"height": 106.6367864169,"width": 24.5472880999,"asset": "StrokeBent","selectable": true,"left": 76.6724594541,"fill": "#000000"},{"opacity": 1,"angle": 230.7374581003,"flipX": false,"flipY": false,"top": 232.4881680797,"height": 43.3225158106,"width": 30,"asset": "StrokeBent","selectable": true,"left": 180.3931780689,"fill": "#0054A6"},{"opacity": 1,"angle": 228.0758269247,"flipX": false,"flipY": false,"top": 226.21553739,"height": 47.06480609430001,"width": 31.5179652323,"asset": "StrokeBent","selectable": true,"left": 186.2103744026,"fill": "#0054A6"},{"opacity": 1,"angle": 245.3956500469,"flipX": false,"flipY": false,"top": 240.9711571903,"height": 61.70932814289999,"width": 30,"asset": "StrokeBent","selectable": true,"left": 185.592974382,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235.5,"height": 25,"width": 55.549275658,"asset": "Circle","selectable": true,"left": 137.225362171,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235.5,"height": 21,"width": 49,"asset": "Circle","selectable": true,"left": 137.5,"fill": "#7D7D7D"}]'},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": 176.5,"height": 133,"width": 278,"asset": "Circle","selectable": true,"left": 156,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 176.5,"height": 125,"width": 270,"asset": "Circle","selectable": true,"left": 156,"fill": "#7D7D7D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.0439100013,"height": 212.0878200025,"width": 212.0878200025,"asset": "Circle","selectable": true,"left": 159.0439100013,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.2538755944,"height": 198.5077511888,"width": 198.5077511888,"asset": "Circle","selectable": true,"left": 160.2538755944,"fill": "#0054A6"},{"opacity": 1,"angle": 90.2360146796,"flipX": false,"flipY": false,"top": 66.6024717969,"height": 192.9788357151,"width": 30,"asset": "StrokeBent","selectable": true,"left": 158.4876183898,"fill": "#000000"},{"opacity": 1,"angle": 2.2738617288,"flipX": false,"flipY": false,"top": 103.2411056821,"height": 58.1874647377,"width": 5.8272322179,"asset": "Stroke","selectable": true,"left": 64.1527488946,"fill": "#000000"},{"opacity": 1,"angle": -4.7660192301,"flipX": true,"flipY": false,"top": 108.8644793153,"height": 60.2710413695,"width": 5.9111982882,"asset": "Stroke","selectable": true,"left": 254.0444008559,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.5,"height": 71,"width": 155,"asset": "Circle","selectable": true,"left": 158.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 132.5,"height": 61,"width": 38,"asset": "Circle","selectable": true,"left": 135,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 133,"height": 62,"width": 39,"asset": "Circle","selectable": true,"left": 183.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120,"height": 64,"width": 100,"asset": "Circle","selectable": true,"left": 159,"fill": "#0054A6"},{"opacity": 1,"angle": -54.9706591655,"flipX": false,"flipY": false,"top": 211.3474810827,"height": 106.6367864169,"width": 24.5472880999,"asset": "StrokeBent","selectable": true,"left": 76.6724594541,"fill": "#000000"},{"opacity": 1,"angle": 230.7374581003,"flipX": false,"flipY": false,"top": 232.4881680797,"height": 43.3225158106,"width": 30,"asset": "StrokeBent","selectable": true,"left": 180.3931780689,"fill": "#0054A6"},{"opacity": 1,"angle": 228.0758269247,"flipX": false,"flipY": false,"top": 226.21553739,"height": 47.06480609430001,"width": 31.5179652323,"asset": "StrokeBent","selectable": true,"left": 186.2103744026,"fill": "#0054A6"},{"opacity": 1,"angle": 245.3956500469,"flipX": false,"flipY": false,"top": 240.9711571903,"height": 61.70932814289999,"width": 30,"asset": "StrokeBent","selectable": true,"left": 185.592974382,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235.5,"height": 25,"width": 55.549275658,"asset": "Circle","selectable": true,"left": 137.225362171,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235.5,"height": 21,"width": 49,"asset": "Circle","selectable": true,"left": 137.5,"fill": "#7D7D7D"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告