登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
13
圖層數
17
eill-finale
作者:
xAcce
代碼 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":152.1558605919003,"height":365.0632788161994,"width":365.0632788161994,"asset":"Square","selectable":true,"left":158.4058605919003,"fill":"#FFFFFF"},{"opacity":1,"angle":319.95028952095794,"flipX":false,"flipY":false,"top":188.79725072483882,"height":34.304093037383105,"width":60.9638862726142,"asset":"Circle","selectable":true,"left":68.98757581147233,"fill":"#000000"},{"opacity":1,"angle":319.95028952095794,"flipX":false,"flipY":false,"top":190.0267225722545,"height":36.944766455474834,"width":65.65678731413786,"asset":"Circle","selectable":true,"left":112.4341786340265,"fill":"#000000"},{"opacity":1,"angle":314.81546850711015,"flipX":false,"flipY":false,"top":169.31868792268943,"height":36.944766455474834,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":175.97047450279177,"fill":"#000000"},{"opacity":1,"angle":318.42503534939084,"flipX":false,"flipY":false,"top":184.9630395037737,"height":25.551043798670925,"width":62.031686493471,"asset":"Circle","selectable":true,"left":74.49585503627914,"fill":"#FFFFFF"},{"opacity":1,"angle":56.22761290784628,"flipX":false,"flipY":false,"top":179.79907789739556,"height":37.07115852094464,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":67.8622746634461,"fill":"#000000"},{"opacity":1,"angle":116.13263009897189,"flipX":false,"flipY":false,"top":181.04907789739556,"height":37.07115852094464,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":49.7372746634461,"fill":"#000000"},{"opacity":1,"angle":315.43978339478593,"flipX":false,"flipY":false,"top":185.92070448775348,"height":30.197191550632496,"width":66.27163627863567,"asset":"Circle","selectable":true,"left":120.39487872767043,"fill":"#FFFFFF"},{"opacity":1,"angle":221.84871339825568,"flipX":false,"flipY":false,"top":154.03041658953245,"height":11.773832899089388,"width":6.727904513765366,"asset":"Drop","selectable":true,"left":123.77148161058898,"fill":"#000000"},{"opacity":1,"angle":319.3950412705115,"flipX":false,"flipY":false,"top":166.37013596569597,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":184.58459822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":314.81546850711015,"flipX":false,"flipY":false,"top":168.125,"height":36.944766455474834,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":225.97047450279177,"fill":"#000000"},{"opacity":1,"angle":315.97742987286284,"flipX":false,"flipY":false,"top":163.24513596569597,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":182.70959822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":50.058955547266585,"flipX":false,"flipY":false,"top":170.99966999104186,"height":135.56817060448768,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":160.88507473441456,"fill":"#000000"},{"opacity":1,"angle":310.53764420358124,"flipX":false,"flipY":false,"top":187.51637160375097,"height":28.307198168887332,"width":57.10962418154026,"asset":"Circle","selectable":true,"left":115.0106430078909,"fill":"#FFFFFF"},{"opacity":1,"angle":320.8008158743598,"flipX":false,"flipY":false,"top":165.74513596569597,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":237.70959822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":317.1876342834854,"flipX":false,"flipY":false,"top":161.25,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":233.95959822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":51.56707288699246,"flipX":false,"flipY":false,"top":154.88686000935752,"height":85.73593629108133,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":231.02777531972436,"fill":"#000000"}]'},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":152.1558605919003,"height":365.0632788161994,"width":365.0632788161994,"asset":"Square","selectable":true,"left":158.4058605919003,"fill":"#FFFFFF"},{"opacity":1,"angle":319.95028952095794,"flipX":false,"flipY":false,"top":188.79725072483882,"height":34.304093037383105,"width":60.9638862726142,"asset":"Circle","selectable":true,"left":68.98757581147233,"fill":"#000000"},{"opacity":1,"angle":319.95028952095794,"flipX":false,"flipY":false,"top":190.0267225722545,"height":36.944766455474834,"width":65.65678731413786,"asset":"Circle","selectable":true,"left":112.4341786340265,"fill":"#000000"},{"opacity":1,"angle":314.81546850711015,"flipX":false,"flipY":false,"top":169.31868792268943,"height":36.944766455474834,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":175.97047450279177,"fill":"#000000"},{"opacity":1,"angle":318.42503534939084,"flipX":false,"flipY":false,"top":184.9630395037737,"height":25.551043798670925,"width":62.031686493471,"asset":"Circle","selectable":true,"left":74.49585503627914,"fill":"#FFFFFF"},{"opacity":1,"angle":56.22761290784628,"flipX":false,"flipY":false,"top":179.79907789739556,"height":37.07115852094464,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":67.8622746634461,"fill":"#000000"},{"opacity":1,"angle":116.13263009897189,"flipX":false,"flipY":false,"top":181.04907789739556,"height":37.07115852094464,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":49.7372746634461,"fill":"#000000"},{"opacity":1,"angle":315.43978339478593,"flipX":false,"flipY":false,"top":185.92070448775348,"height":30.197191550632496,"width":66.27163627863567,"asset":"Circle","selectable":true,"left":120.39487872767043,"fill":"#FFFFFF"},{"opacity":1,"angle":221.84871339825568,"flipX":false,"flipY":false,"top":154.03041658953245,"height":11.773832899089388,"width":6.727904513765366,"asset":"Drop","selectable":true,"left":123.77148161058898,"fill":"#000000"},{"opacity":1,"angle":319.3950412705115,"flipX":false,"flipY":false,"top":166.37013596569597,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":184.58459822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":314.81546850711015,"flipX":false,"flipY":false,"top":168.125,"height":36.944766455474834,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":225.97047450279177,"fill":"#000000"},{"opacity":1,"angle":315.97742987286284,"flipX":false,"flipY":false,"top":163.24513596569597,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":182.70959822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":50.058955547266585,"flipX":false,"flipY":false,"top":170.99966999104186,"height":135.56817060448768,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":160.88507473441456,"fill":"#000000"},{"opacity":1,"angle":310.53764420358124,"flipX":false,"flipY":false,"top":187.51637160375097,"height":28.307198168887332,"width":57.10962418154026,"asset":"Circle","selectable":true,"left":115.0106430078909,"fill":"#FFFFFF"},{"opacity":1,"angle":320.8008158743598,"flipX":false,"flipY":false,"top":165.74513596569597,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":237.70959822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":317.1876342834854,"flipX":false,"flipY":false,"top":161.25,"height":26.205913850659357,"width":122.25163741603114,"asset":"Circle","selectable":true,"left":233.95959822940895,"fill":"#FFFFFF"},{"opacity":1,"angle":51.56707288699246,"flipX":false,"flipY":false,"top":154.88686000935752,"height":85.73593629108133,"width":11.603908259010916,"asset":"CrescentMoon","selectable":true,"left":231.02777531972436,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告