登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
198
圖層數
23
Zomba13
作者:
Zomba13
代碼 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": 255.852767784,"flipX": false,"flipY": false,"top": 91.1718013088,"height": 61.8850470743,"width": 112.1227618426,"asset": "Eye2","selectable": true,"left": 49.6535593786,"fill": "#000000"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 249.9706140468,"height": 106.7656841874,"width": 119.9412280935,"asset": "Heart","selectable": true,"left": 45.8753420937,"fill": "#000000"},{"opacity": 1,"angle": 255.852767784,"flipX": false,"flipY": false,"top": 93.3730878896,"height": 54.54190848719999,"width": 107.3708360389,"asset": "Eye2","selectable": true,"left": 50.6740652915,"fill": "#ABCEED"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 293.5577889447,"height": 133.1155778894,"width": 282.2058187903,"asset": "Circle","selectable": true,"left": 130.8970906049,"fill": "#ABCEED"},{"opacity": 1,"angle": 270.8400734189,"flipX": false,"flipY": false,"top": 239.7529340176,"height": 186.2292534955,"width": 225.540814144,"asset": "Heart","selectable": true,"left": 313.9816281059,"fill": "#000000"},{"opacity": 1,"angle": 270.8400734189,"flipX": false,"flipY": false,"top": 242.6030028197,"height": 186.2292534955,"width": 219.8400637895,"asset": "Heart","selectable": true,"left": 318.9398372681,"fill": "#E32C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 178.0767097967,"height": 236.1534195933,"width": 308,"asset": "Circle","selectable": true,"left": 141,"fill": "#000000"},{"opacity": 1,"angle": 30.2529703981,"flipX": false,"flipY": false,"top": 281.9205668561,"height": 110.1824061646,"width": 73.1503207376,"asset": "Circle","selectable": true,"left": 282.4848711054,"fill": "#000000"},{"opacity": 1,"angle": 30.2529703981,"flipX": false,"flipY": false,"top": 281.4710115292,"height": 100.91850778760002,"width": 67,"asset": "Circle","selectable": true,"left": 282.8075605995,"fill": "#343C6D"},{"opacity": 1,"angle": 214.6395658382,"flipX": false,"flipY": false,"top": 234.2577837034,"height": 115.8704623047,"width": 25.5516681259,"asset": "StrokeBent","selectable": true,"left": 264.8205702872,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 182.0577889447,"height": 234.1155778894,"width": 300,"asset": "Circle","selectable": true,"left": 140,"fill": "#ABCEED"},{"opacity": 1,"angle": -70.7193209113,"flipX": false,"flipY": false,"top": 81.9681774602,"height": 60.7257468733,"width": 103.8797674221,"asset": "Eye2","selectable": true,"left": 216.6426165397,"fill": "#000000"},{"opacity": 1,"angle": -70.7193209113,"flipX": false,"flipY": false,"top": 86.7783179616,"height": 54.54190848719999,"width": 100,"asset": "Eye2","selectable": true,"left": 215.0835737644,"fill": "#ABCEED"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.1665187421,"height": 41.5404826386,"width": 31.9389378252,"asset": "Circle","selectable": true,"left": 192.9694689126,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.0063782608,"height": 32.170829599,"width": 24.7349587939,"asset": "Circle","selectable": true,"left": 193.367479397,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199.7806196991,"height": 41.5612393982,"width": 41.5612393982,"asset": "Shield","selectable": true,"left": 119.7806196991,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199.5879396985,"height": 35.175879397,"width": 35.175879397,"asset": "Shield","selectable": true,"left": 120.5879396985,"fill": "#AA4145"},{"opacity": 1,"angle": 38.59643447,"flipX": false,"flipY": false,"top": 205.188530972,"height": 28.7528696371,"width": 15.0531014414,"asset": "Circle","selectable": true,"left": 127.6507406531,"fill": "#EF999A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 168.0822809683,"height": 42.8504380635,"width": 48.1384464006,"asset": "Heart","selectable": true,"left": 119.9307767997,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 164.0822809683,"height": 42.8504380635,"width": 48.1384464006,"asset": "Heart","selectable": true,"left": 119.9307767997,"fill": "#ABCEED"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.1665187421,"height": 41.5404826386,"width": 31.9389378252,"asset": "Circle","selectable": true,"left": 65.9694689126,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.0063782608,"height": 32.170829599,"width": 24.7349587939,"asset": "Circle","selectable": true,"left": 65.367479397,"fill": "#FFFFFF"},{"opacity": 1,"angle": 20.5494857787,"flipX": false,"flipY": false,"top": 107.1187824502,"height": 30.8653001715,"width": 100,"asset": "Circle","selectable": true,"left": 205.2685596903,"fill": "#ABCEED"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": 255.852767784,"flipX": false,"flipY": false,"top": 91.1718013088,"height": 61.8850470743,"width": 112.1227618426,"asset": "Eye2","selectable": true,"left": 49.6535593786,"fill": "#000000"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 249.9706140468,"height": 106.7656841874,"width": 119.9412280935,"asset": "Heart","selectable": true,"left": 45.8753420937,"fill": "#000000"},{"opacity": 1,"angle": 255.852767784,"flipX": false,"flipY": false,"top": 93.3730878896,"height": 54.54190848719999,"width": 107.3708360389,"asset": "Eye2","selectable": true,"left": 50.6740652915,"fill": "#ABCEED"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 293.5577889447,"height": 133.1155778894,"width": 282.2058187903,"asset": "Circle","selectable": true,"left": 130.8970906049,"fill": "#ABCEED"},{"opacity": 1,"angle": 270.8400734189,"flipX": false,"flipY": false,"top": 239.7529340176,"height": 186.2292534955,"width": 225.540814144,"asset": "Heart","selectable": true,"left": 313.9816281059,"fill": "#000000"},{"opacity": 1,"angle": 270.8400734189,"flipX": false,"flipY": false,"top": 242.6030028197,"height": 186.2292534955,"width": 219.8400637895,"asset": "Heart","selectable": true,"left": 318.9398372681,"fill": "#E32C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 178.0767097967,"height": 236.1534195933,"width": 308,"asset": "Circle","selectable": true,"left": 141,"fill": "#000000"},{"opacity": 1,"angle": 30.2529703981,"flipX": false,"flipY": false,"top": 281.9205668561,"height": 110.1824061646,"width": 73.1503207376,"asset": "Circle","selectable": true,"left": 282.4848711054,"fill": "#000000"},{"opacity": 1,"angle": 30.2529703981,"flipX": false,"flipY": false,"top": 281.4710115292,"height": 100.91850778760002,"width": 67,"asset": "Circle","selectable": true,"left": 282.8075605995,"fill": "#343C6D"},{"opacity": 1,"angle": 214.6395658382,"flipX": false,"flipY": false,"top": 234.2577837034,"height": 115.8704623047,"width": 25.5516681259,"asset": "StrokeBent","selectable": true,"left": 264.8205702872,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 182.0577889447,"height": 234.1155778894,"width": 300,"asset": "Circle","selectable": true,"left": 140,"fill": "#ABCEED"},{"opacity": 1,"angle": -70.7193209113,"flipX": false,"flipY": false,"top": 81.9681774602,"height": 60.7257468733,"width": 103.8797674221,"asset": "Eye2","selectable": true,"left": 216.6426165397,"fill": "#000000"},{"opacity": 1,"angle": -70.7193209113,"flipX": false,"flipY": false,"top": 86.7783179616,"height": 54.54190848719999,"width": 100,"asset": "Eye2","selectable": true,"left": 215.0835737644,"fill": "#ABCEED"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.1665187421,"height": 41.5404826386,"width": 31.9389378252,"asset": "Circle","selectable": true,"left": 192.9694689126,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.0063782608,"height": 32.170829599,"width": 24.7349587939,"asset": "Circle","selectable": true,"left": 193.367479397,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199.7806196991,"height": 41.5612393982,"width": 41.5612393982,"asset": "Shield","selectable": true,"left": 119.7806196991,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199.5879396985,"height": 35.175879397,"width": 35.175879397,"asset": "Shield","selectable": true,"left": 120.5879396985,"fill": "#AA4145"},{"opacity": 1,"angle": 38.59643447,"flipX": false,"flipY": false,"top": 205.188530972,"height": 28.7528696371,"width": 15.0531014414,"asset": "Circle","selectable": true,"left": 127.6507406531,"fill": "#EF999A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 168.0822809683,"height": 42.8504380635,"width": 48.1384464006,"asset": "Heart","selectable": true,"left": 119.9307767997,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 164.0822809683,"height": 42.8504380635,"width": 48.1384464006,"asset": "Heart","selectable": true,"left": 119.9307767997,"fill": "#ABCEED"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.1665187421,"height": 41.5404826386,"width": 31.9389378252,"asset": "Circle","selectable": true,"left": 65.9694689126,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.0063782608,"height": 32.170829599,"width": 24.7349587939,"asset": "Circle","selectable": true,"left": 65.367479397,"fill": "#FFFFFF"},{"opacity": 1,"angle": 20.5494857787,"flipX": false,"flipY": false,"top": 107.1187824502,"height": 30.8653001715,"width": 100,"asset": "Circle","selectable": true,"left": 205.2685596903,"fill": "#ABCEED"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
catbug
bravest warriors
sugar peas
广告