登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
9
圖層數
40
mick
作者:
Alex
»
代碼 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":143.1989253356,"flipX":true,"flipY":true,"top":146.46675,"left":95.99175,"height":302.92962249019996,"width":227.9857805411915,"asset":"Romb","fill":"#000000","selectable":false},{"opacity":1,"angle":143.1989253356,"flipX":true,"flipY":true,"top":181.96675,"left":223.49175,"height":302.92962249019996,"width":227.9857805411915,"asset":"Romb","fill":"#000000","selectable":false},{"opacity":1,"angle":37.8695840667,"flipX":true,"flipY":true,"top":130.154175,"left":218.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":136.85,"left":27.85,"height":22.703688215,"width":113.6953110282,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":142.1735495016,"flipX":true,"flipY":true,"top":80.154175,"left":28.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":143.5119103757,"flipX":true,"flipY":true,"top":185.654175,"left":27.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":180.65,"left":251.65,"height":25.2963359274,"width":115.73381066827982,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":37.8695840667,"flipX":true,"flipY":true,"top":211.154175,"left":143.6625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":79.1942285634,"flipX":true,"flipY":true,"top":113.35,"left":61.85,"height":22.703688215,"width":92.4598160829,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":-143.0904779172,"flipX":true,"flipY":true,"top":229.8,"left":221.654175,"height":41.59938514975495,"width":31.307827261778908,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":102.807945712,"flipX":true,"flipY":true,"top":150.85,"left":71.85,"height":22.703688215,"width":136.42532538263754,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":37.8695840667,"flipX":true,"flipY":true,"top":204.654175,"left":107.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":150.85,"left":144.35,"height":22.703688215,"width":110.32918727480443,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":168.85,"left":181.85,"height":22.703688215,"width":116.67301373419342,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":216.825,"left":192.529175,"height":68.23097455780913,"width":20.054954313789345,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":114.879175,"left":191.320825,"height":73.63194963056984,"width":21.642448982320683,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":174.85,"left":161.85,"height":22.703688215,"width":138.3602661153,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":106.716675,"left":175.4375,"height":47.2050659676,"width":13.8748632494,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":145.5238686583,"flipX":true,"flipY":true,"top":226.154175,"left":182.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":79.1942285634,"flipX":true,"flipY":true,"top":146.85,"left":46.35,"height":22.703688215,"width":154.4405881521,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":66.604175,"left":40.729175,"height":49.1892779503,"width":14.4580775581,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":141.65,"left":107.65,"height":25.2963359274,"width":117.70971071311813,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":157.35,"left":91.35,"height":22.703688215,"width":141.68535569255732,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":142.1735495016,"flipX":true,"flipY":true,"top":130.654175,"left":195.6625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":87.81834801618979,"flipX":true,"flipY":true,"top":82.716675,"left":99.4375,"height":47.2050659676,"width":13.8748632494,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":142.1735495016,"flipX":true,"flipY":true,"top":127.154175,"left":182.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":167.35,"left":125.35,"height":22.703688215,"width":147.3107091383,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":95.1125,"left":135.983325,"height":44.11284883042961,"width":12.965975844282543,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":189.85,"left":228.85,"height":22.703688215,"width":135.69544343124772,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-143.0904779172,"flipX":true,"flipY":true,"top":237.3,"left":252.154175,"height":41.59938514975495,"width":31.307827261778908,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":63.39757389051083,"flipX":true,"flipY":true,"top":214.8,"left":272.8,"height":21.600441239429777,"width":109.2084865780719,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":-52.54113164878127,"flipX":true,"flipY":true,"top":169.8,"left":273.3,"height":21.600441239429777,"width":92.03397222974449,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":63.39757389051083,"flipX":true,"flipY":true,"top":221.85,"left":254.35,"height":21.600441239429777,"width":124.27896891869293,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-52.54113164878127,"flipX":true,"flipY":true,"top":173.8,"left":255.3,"height":21.600441239429777,"width":87.4054332317172,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":16.0735741647,"flipX":true,"flipY":true,"top":242,"left":151.5,"height":24.9983040067,"width":301.7899299242965,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":122.604175,"left":240.729175,"height":49.1892779503,"width":14.4580775581,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":138.654175,"left":289.0125,"height":44.31903653737178,"width":13.02658006496883,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-134.58780725859768,"flipX":false,"flipY":false,"top":129.041675,"left":278.041675,"height":27.083014988348783,"width":27.083014988348783,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-47.59275268607611,"flipX":true,"flipY":true,"top":129.041675,"left":301.041675,"height":27.083014988348783,"width":27.083014988348783,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":143.5119103757,"flipX":true,"flipY":true,"top":230.654175,"left":197.6625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":143.1989253356,"flipX":true,"flipY":true,"top":146.46675,"left":95.99175,"height":302.92962249019996,"width":227.9857805411915,"asset":"Romb","fill":"#000000","selectable":false},{"opacity":1,"angle":143.1989253356,"flipX":true,"flipY":true,"top":181.96675,"left":223.49175,"height":302.92962249019996,"width":227.9857805411915,"asset":"Romb","fill":"#000000","selectable":false},{"opacity":1,"angle":37.8695840667,"flipX":true,"flipY":true,"top":130.154175,"left":218.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":136.85,"left":27.85,"height":22.703688215,"width":113.6953110282,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":142.1735495016,"flipX":true,"flipY":true,"top":80.154175,"left":28.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":143.5119103757,"flipX":true,"flipY":true,"top":185.654175,"left":27.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":180.65,"left":251.65,"height":25.2963359274,"width":115.73381066827982,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":37.8695840667,"flipX":true,"flipY":true,"top":211.154175,"left":143.6625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":79.1942285634,"flipX":true,"flipY":true,"top":113.35,"left":61.85,"height":22.703688215,"width":92.4598160829,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":-143.0904779172,"flipX":true,"flipY":true,"top":229.8,"left":221.654175,"height":41.59938514975495,"width":31.307827261778908,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":102.807945712,"flipX":true,"flipY":true,"top":150.85,"left":71.85,"height":22.703688215,"width":136.42532538263754,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":37.8695840667,"flipX":true,"flipY":true,"top":204.654175,"left":107.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":150.85,"left":144.35,"height":22.703688215,"width":110.32918727480443,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":168.85,"left":181.85,"height":22.703688215,"width":116.67301373419342,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":216.825,"left":192.529175,"height":68.23097455780913,"width":20.054954313789345,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":114.879175,"left":191.320825,"height":73.63194963056984,"width":21.642448982320683,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":174.85,"left":161.85,"height":22.703688215,"width":138.3602661153,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":106.716675,"left":175.4375,"height":47.2050659676,"width":13.8748632494,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":145.5238686583,"flipX":true,"flipY":true,"top":226.154175,"left":182.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":79.1942285634,"flipX":true,"flipY":true,"top":146.85,"left":46.35,"height":22.703688215,"width":154.4405881521,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":66.604175,"left":40.729175,"height":49.1892779503,"width":14.4580775581,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":141.65,"left":107.65,"height":25.2963359274,"width":117.70971071311813,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":90.2759004975,"flipX":true,"flipY":true,"top":157.35,"left":91.35,"height":22.703688215,"width":141.68535569255732,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":142.1735495016,"flipX":true,"flipY":true,"top":130.654175,"left":195.6625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":87.81834801618979,"flipX":true,"flipY":true,"top":82.716675,"left":99.4375,"height":47.2050659676,"width":13.8748632494,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":142.1735495016,"flipX":true,"flipY":true,"top":127.154175,"left":182.1625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":167.35,"left":125.35,"height":22.703688215,"width":147.3107091383,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":95.1125,"left":135.983325,"height":44.11284883042961,"width":12.965975844282543,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.2592551515,"flipX":true,"flipY":true,"top":189.85,"left":228.85,"height":22.703688215,"width":135.69544343124772,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-143.0904779172,"flipX":true,"flipY":true,"top":237.3,"left":252.154175,"height":41.59938514975495,"width":31.307827261778908,"asset":"Romb","fill":"#434343","selectable":false},{"opacity":1,"angle":63.39757389051083,"flipX":true,"flipY":true,"top":214.8,"left":272.8,"height":21.600441239429777,"width":109.2084865780719,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":-52.54113164878127,"flipX":true,"flipY":true,"top":169.8,"left":273.3,"height":21.600441239429777,"width":92.03397222974449,"asset":"Square","fill":"#434343","selectable":false},{"opacity":1,"angle":63.39757389051083,"flipX":true,"flipY":true,"top":221.85,"left":254.35,"height":21.600441239429777,"width":124.27896891869293,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-52.54113164878127,"flipX":true,"flipY":true,"top":173.8,"left":255.3,"height":21.600441239429777,"width":87.4054332317172,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":16.0735741647,"flipX":true,"flipY":true,"top":242,"left":151.5,"height":24.9983040067,"width":301.7899299242965,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":122.604175,"left":240.729175,"height":49.1892779503,"width":14.4580775581,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90.4993421126,"flipX":true,"flipY":true,"top":138.654175,"left":289.0125,"height":44.31903653737178,"width":13.02658006496883,"asset":"Romb","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-134.58780725859768,"flipX":false,"flipY":false,"top":129.041675,"left":278.041675,"height":27.083014988348783,"width":27.083014988348783,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-47.59275268607611,"flipX":true,"flipY":true,"top":129.041675,"left":301.041675,"height":27.083014988348783,"width":27.083014988348783,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":143.5119103757,"flipX":true,"flipY":true,"top":230.654175,"left":197.6625,"height":36.3122461298,"width":28.8821995312,"asset":"Romb","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告