登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
20
複製總數
2532
圖層數
19
)
作者:
OffLineI13I
»
代碼 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": 160.5013588359,"height": 321.0171547756,"width": 321.0171547756,"asset": "Circle","selectable": false,"left": 159.4986411641,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.2487440864,"height": 300.5041668814,"width": 300.5041668814,"asset": "Circle","selectable": false,"left": 159.7512415305,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.5,"height": 219,"width": 219.84887893159998,"asset": "Circle","selectable": false,"left": 149.5865991877,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 174.6470211426,"height": 199.2940422852,"width": 206.71760259949997,"asset": "Circle","selectable": false,"left": 150.3588012998,"fill": "#9E005D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 160.4787438161,"height": 9.8487139183,"width": 222.0437319759,"asset": "Square","selectable": false,"left": 143.520769671,"fill": "#000000"},{"opacity": 1,"angle": -11.1563055628,"flipX": false,"flipY": false,"top": 261.7612690429,"height": 80.9345632444,"width": 101.359191599,"asset": "Circle","selectable": false,"left": 166.8888235417,"fill": "#F06EA9"},{"opacity": 1,"angle": 260.7981363963,"flipX": false,"flipY": false,"top": 267.1661567838,"height": 124.8328490112,"width": 25.8713915763,"asset": "StrokeBent","selectable": true,"left": 163.9230013596,"fill": "#000000"},{"opacity": 1,"angle": 254.0248907198,"flipX": false,"flipY": false,"top": 280.1013037891,"height": 142.897152092,"width": 40.2063983671,"asset": "StrokeBent","selectable": false,"left": 183.464774658,"fill": "#FFF200"},{"opacity": 1,"angle": 262.2208252039,"flipX": false,"flipY": false,"top": 273.8305083531,"height": 140.9909231561,"width": 33.846106446,"asset": "StrokeBent","selectable": false,"left": 165.0561095286,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 94.8653295129,"height": 66.2693409742,"width": 170.40687679080003,"asset": "Square","selectable": true,"left": 138.2034383954,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102.5,"height": 95,"width": 87,"asset": "Circle","selectable": false,"left": 84.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102.7635571424,"height": 82.92592438919999,"width": 75.9426886512,"asset": "Circle","selectable": false,"left": 84.7413628567,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.7335473788,"height": 6.5329052424,"width": 72.5878360268,"asset": "Square","selectable": false,"left": 83.9653412458,"fill": "#000000"},{"opacity": 1,"angle": 49.563462215,"flipX": false,"flipY": false,"top": 80.8743398534,"height": 29.7027636367,"width": 32.4604891955,"asset": "Circle","selectable": false,"left": 101.5879936805,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 101.9899497487,"height": 95.9798994975,"width": 93,"asset": "Circle","selectable": false,"left": 216.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 101.9961909684,"height": 83.73387982539998,"width": 81.1341839753,"asset": "Circle","selectable": false,"left": 216.5060474478,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.2753648543,"height": 7.449270291500001,"width": 80.2760297924,"asset": "Square","selectable": false,"left": 217.5978341604,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 79.189512529,"height": 32.379025058,"width": 32.379025058,"asset": "Circle","selectable": false,"left": 238.189512529,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.5,"height": 35,"width": 259,"asset": "Square","selectable": true,"left": 150.5,"fill": "#FFF200"}]'},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": 160.5013588359,"height": 321.0171547756,"width": 321.0171547756,"asset": "Circle","selectable": false,"left": 159.4986411641,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.2487440864,"height": 300.5041668814,"width": 300.5041668814,"asset": "Circle","selectable": false,"left": 159.7512415305,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 173.5,"height": 219,"width": 219.84887893159998,"asset": "Circle","selectable": false,"left": 149.5865991877,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 174.6470211426,"height": 199.2940422852,"width": 206.71760259949997,"asset": "Circle","selectable": false,"left": 150.3588012998,"fill": "#9E005D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 160.4787438161,"height": 9.8487139183,"width": 222.0437319759,"asset": "Square","selectable": false,"left": 143.520769671,"fill": "#000000"},{"opacity": 1,"angle": -11.1563055628,"flipX": false,"flipY": false,"top": 261.7612690429,"height": 80.9345632444,"width": 101.359191599,"asset": "Circle","selectable": false,"left": 166.8888235417,"fill": "#F06EA9"},{"opacity": 1,"angle": 260.7981363963,"flipX": false,"flipY": false,"top": 267.1661567838,"height": 124.8328490112,"width": 25.8713915763,"asset": "StrokeBent","selectable": true,"left": 163.9230013596,"fill": "#000000"},{"opacity": 1,"angle": 254.0248907198,"flipX": false,"flipY": false,"top": 280.1013037891,"height": 142.897152092,"width": 40.2063983671,"asset": "StrokeBent","selectable": false,"left": 183.464774658,"fill": "#FFF200"},{"opacity": 1,"angle": 262.2208252039,"flipX": false,"flipY": false,"top": 273.8305083531,"height": 140.9909231561,"width": 33.846106446,"asset": "StrokeBent","selectable": false,"left": 165.0561095286,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 94.8653295129,"height": 66.2693409742,"width": 170.40687679080003,"asset": "Square","selectable": true,"left": 138.2034383954,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102.5,"height": 95,"width": 87,"asset": "Circle","selectable": false,"left": 84.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102.7635571424,"height": 82.92592438919999,"width": 75.9426886512,"asset": "Circle","selectable": false,"left": 84.7413628567,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.7335473788,"height": 6.5329052424,"width": 72.5878360268,"asset": "Square","selectable": false,"left": 83.9653412458,"fill": "#000000"},{"opacity": 1,"angle": 49.563462215,"flipX": false,"flipY": false,"top": 80.8743398534,"height": 29.7027636367,"width": 32.4604891955,"asset": "Circle","selectable": false,"left": 101.5879936805,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 101.9899497487,"height": 95.9798994975,"width": 93,"asset": "Circle","selectable": false,"left": 216.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 101.9961909684,"height": 83.73387982539998,"width": 81.1341839753,"asset": "Circle","selectable": false,"left": 216.5060474478,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.2753648543,"height": 7.449270291500001,"width": 80.2760297924,"asset": "Square","selectable": false,"left": 217.5978341604,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 79.189512529,"height": 32.379025058,"width": 32.379025058,"asset": "Circle","selectable": false,"left": 238.189512529,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.5,"height": 35,"width": 259,"asset": "Square","selectable": true,"left": 150.5,"fill": "#FFF200"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告