登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
150
圖層數
11
Mike Wazowski
作者:
Mondo100
代碼 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": -48.6586937963,"flipX": true,"flipY": false,"top": 86,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 208,"fill": "#F9AD81"},{"opacity": 1,"angle": 36.8698976458,"flipX": false,"flipY": false,"top": 83,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 110,"fill": "#F9AD81"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152.919293318,"height": 227.51697859579997,"width": 227.51697859579997,"asset": "Circle","selectable": true,"left": 155.919293318,"fill": "#8DC73F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.2763819095,"height": 110.5527638191,"width": 110.5527638191,"asset": "Circle","selectable": true,"left": 159.2763819095,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.7404871787,"height": 61.4809743574,"width": 61.4809743574,"asset": "Circle","selectable": true,"left": 156.7404871787,"fill": "#7CC576"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.9485120908,"height": 41.8970241815,"width": 41.8970241815,"asset": "Circle","selectable": true,"left": 155.9485120908,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 111,"height": 19.9008220072,"width": 19.9008220072,"asset": "Circle","selectable": true,"left": 178,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124,"height": 12.1390661586,"width": 12.1390661586,"asset": "Circle","selectable": true,"left": 168,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90.7878147778,"flipX": false,"flipY": false,"top": 85.1594752065,"height": 109.9208541416,"width": 42.0386962962,"asset": "StrokeBent","selectable": true,"left": 161.0459349831,"fill": "#598527"},{"opacity": 1,"angle": 264.2717877915,"flipX": false,"flipY": false,"top": 217.8645773159,"height": 104.8679508601,"width": 14.2926785981,"asset": "StrokeBent","selectable": true,"left": 167,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 202.7829457364,"height": 36.4341085271,"width": 10.9302325581,"asset": "StrokeBent","selectable": true,"left": 214.4651162791,"fill": "#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": -48.6586937963,"flipX": true,"flipY": false,"top": 86,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 208,"fill": "#F9AD81"},{"opacity": 1,"angle": 36.8698976458,"flipX": false,"flipY": false,"top": 83,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 110,"fill": "#F9AD81"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152.919293318,"height": 227.51697859579997,"width": 227.51697859579997,"asset": "Circle","selectable": true,"left": 155.919293318,"fill": "#8DC73F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.2763819095,"height": 110.5527638191,"width": 110.5527638191,"asset": "Circle","selectable": true,"left": 159.2763819095,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.7404871787,"height": 61.4809743574,"width": 61.4809743574,"asset": "Circle","selectable": true,"left": 156.7404871787,"fill": "#7CC576"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.9485120908,"height": 41.8970241815,"width": 41.8970241815,"asset": "Circle","selectable": true,"left": 155.9485120908,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 111,"height": 19.9008220072,"width": 19.9008220072,"asset": "Circle","selectable": true,"left": 178,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124,"height": 12.1390661586,"width": 12.1390661586,"asset": "Circle","selectable": true,"left": 168,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90.7878147778,"flipX": false,"flipY": false,"top": 85.1594752065,"height": 109.9208541416,"width": 42.0386962962,"asset": "StrokeBent","selectable": true,"left": 161.0459349831,"fill": "#598527"},{"opacity": 1,"angle": 264.2717877915,"flipX": false,"flipY": false,"top": 217.8645773159,"height": 104.8679508601,"width": 14.2926785981,"asset": "StrokeBent","selectable": true,"left": 167,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 202.7829457364,"height": 36.4341085271,"width": 10.9302325581,"asset": "StrokeBent","selectable": true,"left": 214.4651162791,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告