登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
3
圖層數
14
PACMAN with partyhat
作者:
DonBastiano91
代碼 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:'[{"angle":0,"left":163.784494086728,"height":354.4529132617444,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":354.4529132617444,"top":166.30749014454665,"flipY":false},{"angle":0,"left":160,"height":159.50155763239874,"flipX":false,"fill":"#edec03","opacity":1,"asset":"Circle","width":159.50155763239874,"top":160,"flipY":false},{"angle":271.1411736690825,"left":207.095926412615,"height":120.08223551004082,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":120.08223551004082,"top":158.3180026281209,"flipY":false},{"angle":0,"left":148.64651773981603,"height":27.304424431258216,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":27.304424431258216,"top":117.1090670170828,"flipY":false},{"angle":89.24314812223218,"left":136.03153745072274,"height":29.956452954073715,"flipX":false,"fill":"#edec03","opacity":1,"asset":"Triangle","width":29.956452954073715,"top":117.1090670170828,"flipY":false},{"angle":308.7865581921234,"left":82.6281208935611,"height":50.29061763759127,"flipX":false,"fill":"#e24040","opacity":1,"asset":"Triangle","width":50.29061763759127,"top":95.66360052562419,"flipY":false},{"angle":134.32849936188563,"left":91.45860709592642,"height":24.326188569525772,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"ArrowBent","width":92.77775340783174,"top":92.72010512483575,"flipY":false},{"angle":134.32849936188563,"left":76.74113009198425,"height":21.905832154188136,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"ArrowBent","width":92.77775340783174,"top":80.52562417871222,"flipY":false},{"angle":13.843196598578796,"left":101.55059132720106,"height":52.38047998476089,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":45.34123042015382,"top":61.60315374507228,"flipY":false},{"angle":358.41915532911054,"left":60.97240473061761,"height":52.38047998476089,"flipX":true,"fill":"#000000","opacity":1,"asset":"Triangle","width":45.34123042015382,"top":101.55059132720106,"flipY":false},{"angle":0,"left":62.65440210249672,"height":17.428703584018848,"flipX":false,"fill":"#e24040","opacity":1,"asset":"Star3","width":16.575677472978526,"top":80.52562417871222,"flipY":false},{"angle":0,"left":108.69908015768726,"height":55.05738106726347,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":55.05738106726347,"top":51.931668856767416,"flipY":false},{"angle":0,"left":35.11169513797635,"height":55.05738106726347,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":55.05738106726347,"top":121.31406044678056,"flipY":false},{"angle":53.99340658503867,"left":114.16557161629436,"height":42.9438893630341,"flipX":false,"fill":"#f6f681","opacity":1,"asset":"Eye2","width":98.4729418197705,"top":191.95795006570305,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":163.784494086728,"height":354.4529132617444,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":354.4529132617444,"top":166.30749014454665,"flipY":false},{"angle":0,"left":160,"height":159.50155763239874,"flipX":false,"fill":"#edec03","opacity":1,"asset":"Circle","width":159.50155763239874,"top":160,"flipY":false},{"angle":271.1411736690825,"left":207.095926412615,"height":120.08223551004082,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":120.08223551004082,"top":158.3180026281209,"flipY":false},{"angle":0,"left":148.64651773981603,"height":27.304424431258216,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":27.304424431258216,"top":117.1090670170828,"flipY":false},{"angle":89.24314812223218,"left":136.03153745072274,"height":29.956452954073715,"flipX":false,"fill":"#edec03","opacity":1,"asset":"Triangle","width":29.956452954073715,"top":117.1090670170828,"flipY":false},{"angle":308.7865581921234,"left":82.6281208935611,"height":50.29061763759127,"flipX":false,"fill":"#e24040","opacity":1,"asset":"Triangle","width":50.29061763759127,"top":95.66360052562419,"flipY":false},{"angle":134.32849936188563,"left":91.45860709592642,"height":24.326188569525772,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"ArrowBent","width":92.77775340783174,"top":92.72010512483575,"flipY":false},{"angle":134.32849936188563,"left":76.74113009198425,"height":21.905832154188136,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"ArrowBent","width":92.77775340783174,"top":80.52562417871222,"flipY":false},{"angle":13.843196598578796,"left":101.55059132720106,"height":52.38047998476089,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":45.34123042015382,"top":61.60315374507228,"flipY":false},{"angle":358.41915532911054,"left":60.97240473061761,"height":52.38047998476089,"flipX":true,"fill":"#000000","opacity":1,"asset":"Triangle","width":45.34123042015382,"top":101.55059132720106,"flipY":false},{"angle":0,"left":62.65440210249672,"height":17.428703584018848,"flipX":false,"fill":"#e24040","opacity":1,"asset":"Star3","width":16.575677472978526,"top":80.52562417871222,"flipY":false},{"angle":0,"left":108.69908015768726,"height":55.05738106726347,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":55.05738106726347,"top":51.931668856767416,"flipY":false},{"angle":0,"left":35.11169513797635,"height":55.05738106726347,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":55.05738106726347,"top":121.31406044678056,"flipY":false},{"angle":53.99340658503867,"left":114.16557161629436,"height":42.9438893630341,"flipX":false,"fill":"#f6f681","opacity":1,"asset":"Eye2","width":98.4729418197705,"top":191.95795006570305,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
pacman
emblem
party
hat
cool
DonBastiano91
广告