登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
27
複製總數
230
圖層數
13
Emblem 505
作者:
Hit8Run
»
代碼 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": 154.26342716,"height": 346.5268543201,"width": 339.5268543201,"asset": "Square","selectable": false,"left": 153.76342716,"fill": "#363636"},{"opacity": 1,"angle": 259.7278542501,"flipX": true,"flipY": false,"top": 91.5293432565,"height": 36.9019071394,"width": 1.4329720525,"asset": "Stroke","selectable": false,"left": 218.5791412705,"fill": "#C2C2C2"},{"opacity": 1,"angle": 244.2663850453,"flipX": true,"flipY": false,"top": 78.159809246,"height": 36.9019071394,"width": 1.28,"asset": "Stroke","selectable": false,"left": 215.5220919054,"fill": "#C2C2C2"},{"opacity": 1,"angle": 260.2959044405,"flipX": true,"flipY": false,"top": 109.45408316,"height": 36.9019071394,"width": 1.28,"asset": "Stroke","selectable": false,"left": 72.5655019856,"fill": "#C2C2C2"},{"opacity": 1,"angle": -81.1370380908,"flipX": false,"flipY": false,"top": 88.8510129631,"height": 36.9019071394,"width": 1.2908699592,"asset": "Stroke","selectable": false,"left": 72.2337340033,"fill": "#C2C2C2"},{"opacity": 1,"angle": 4.816901763,"flipX": false,"flipY": false,"top": 62.5300474234,"height": 37.0600948468,"width": 30.6148811017,"asset": "PlayerMarker","selectable": false,"left": 182.0030655509,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 63.5300474234,"height": 37.0600948468,"width": 30.6148811017,"asset": "PlayerMarker","selectable": false,"left": 113.0030655509,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 105.514579273,"height": 91.029158546,"width": 120.76535033780002,"asset": "Circle","selectable": false,"left": 147.3826751689,"fill": "#C2C2C2"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 184.4188825282,"height": 84.9989898319,"width": 247.0190390509,"asset": "Eye2","selectable": false,"left": 156.502042201,"fill": "#363636"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 185.4195442818,"height": 80.0656704293,"width": 247.0190390509,"asset": "Eye2","selectable": false,"left": 156.3663077606,"fill": "#C2C2C2"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 81.5260088805,"height": 37.0044355768,"width": 156.911941164,"asset": "Eye2","selectable": false,"left": 158.5050021575,"fill": "#363636"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 237.2171096338,"height": 35.7165319228,"width": 140.3199465792,"asset": "Eye2","selectable": false,"left": 157.1311413705,"fill": "#363636"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 81.5276299358,"height": 29.7182914174,"width": 156.911941164,"asset": "Eye2","selectable": false,"left": 158.1725022112,"fill": "#C2C2C2"}]'},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": 154.26342716,"height": 346.5268543201,"width": 339.5268543201,"asset": "Square","selectable": false,"left": 153.76342716,"fill": "#363636"},{"opacity": 1,"angle": 259.7278542501,"flipX": true,"flipY": false,"top": 91.5293432565,"height": 36.9019071394,"width": 1.4329720525,"asset": "Stroke","selectable": false,"left": 218.5791412705,"fill": "#C2C2C2"},{"opacity": 1,"angle": 244.2663850453,"flipX": true,"flipY": false,"top": 78.159809246,"height": 36.9019071394,"width": 1.28,"asset": "Stroke","selectable": false,"left": 215.5220919054,"fill": "#C2C2C2"},{"opacity": 1,"angle": 260.2959044405,"flipX": true,"flipY": false,"top": 109.45408316,"height": 36.9019071394,"width": 1.28,"asset": "Stroke","selectable": false,"left": 72.5655019856,"fill": "#C2C2C2"},{"opacity": 1,"angle": -81.1370380908,"flipX": false,"flipY": false,"top": 88.8510129631,"height": 36.9019071394,"width": 1.2908699592,"asset": "Stroke","selectable": false,"left": 72.2337340033,"fill": "#C2C2C2"},{"opacity": 1,"angle": 4.816901763,"flipX": false,"flipY": false,"top": 62.5300474234,"height": 37.0600948468,"width": 30.6148811017,"asset": "PlayerMarker","selectable": false,"left": 182.0030655509,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 63.5300474234,"height": 37.0600948468,"width": 30.6148811017,"asset": "PlayerMarker","selectable": false,"left": 113.0030655509,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 105.514579273,"height": 91.029158546,"width": 120.76535033780002,"asset": "Circle","selectable": false,"left": 147.3826751689,"fill": "#C2C2C2"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 184.4188825282,"height": 84.9989898319,"width": 247.0190390509,"asset": "Eye2","selectable": false,"left": 156.502042201,"fill": "#363636"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 185.4195442818,"height": 80.0656704293,"width": 247.0190390509,"asset": "Eye2","selectable": false,"left": 156.3663077606,"fill": "#C2C2C2"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 81.5260088805,"height": 37.0044355768,"width": 156.911941164,"asset": "Eye2","selectable": false,"left": 158.5050021575,"fill": "#363636"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 237.2171096338,"height": 35.7165319228,"width": 140.3199465792,"asset": "Eye2","selectable": false,"left": 157.1311413705,"fill": "#363636"},{"opacity": 1,"angle": 89.7206649502,"flipX": false,"flipY": false,"top": 81.5276299358,"height": 29.7182914174,"width": 156.911941164,"asset": "Eye2","selectable": false,"left": 158.1725022112,"fill": "#C2C2C2"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告