登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
57
圖層數
26
Cart4Shot
作者:
yokke_2
»
代碼 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":180.0979544946,"height":235.5238725786,"width":271.2763088287,"asset":"Circle","selectable":true,"left":164.3736892942,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":101.6469184096,"height":76.9944225792,"width":190.8167126667,"asset":"Eye2","selectable":true,"left":164.9046219394,"fill":"#00A99D"},{"opacity":1,"angle":270.1537521936,"flipX":true,"flipY":false,"top":142.8577938995,"height":260.4210022601,"width":14.2508964098,"asset":"StrokeBent","selectable":true,"left":163.8690657022,"fill":"#00A99D"},{"opacity":1,"angle":26.3096923189,"flipX":false,"flipY":false,"top":100.8484251257,"height":64.1870577144,"width":143.6656592293,"asset":"Eye2","selectable":true,"left":203.3134703469,"fill":"#00A99D"},{"opacity":1,"angle":324.7116389839,"flipX":false,"flipY":false,"top":102.857054816,"height":54.9566294758,"width":129.5987277212,"asset":"Eye2","selectable":true,"left":108.9754144828,"fill":"#00A99D"},{"opacity":1,"angle":43.2167135379,"flipX":false,"flipY":false,"top":110.1650988761,"height":81.3793641783,"width":30.606027163500002,"asset":"Eye2","selectable":true,"left":74.2924357974,"fill":"#00A99D"},{"opacity":1,"angle":37.7297500086,"flipX":false,"flipY":false,"top":112.7124933848,"height":46.2736167086,"width":91.9540229885,"asset":"Eye2","selectable":true,"left":244.7146998124,"fill":"#00A99D"},{"opacity":1,"angle":356.3902762918,"flipX":false,"flipY":false,"top":120,"height":40.2488505747,"width":91.9540229885,"asset":"Eye2","selectable":true,"left":117,"fill":"#00A99D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.8625183105,"height":40.2488505747,"width":63.6780116045,"asset":"Eye2","selectable":true,"left":202.8619637904,"fill":"#00A99D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":60.5710377217,"height":25.8960862248,"width":48.7745878554,"asset":"Circle","selectable":true,"left":161.4102519159,"fill":"#FFFE00"},{"opacity":1,"angle":315.7766680671,"flipX":false,"flipY":false,"top":183.0739984969,"height":79.9536777145,"width":71.7581357992,"asset":"Circle","selectable":true,"left":200.6225599811,"fill":"#FFFFFF"},{"opacity":1,"angle":327.5011477253,"flipX":false,"flipY":false,"top":113.7509927808,"height":40.2488505747,"width":94.74943123079998,"asset":"Eye2","selectable":true,"left":80.8211427397,"fill":"#00A99D"},{"opacity":1,"angle":42.6119241303,"flipX":false,"flipY":false,"top":113.5516297217,"height":28.8492626682,"width":99.7781065635,"asset":"Eye2","selectable":true,"left":256.4650337203,"fill":"#00A99D"},{"opacity":1,"angle":314.6052816631,"flipX":false,"flipY":false,"top":115.3952307838,"height":24.0615628078,"width":91.9540229885,"asset":"Eye2","selectable":true,"left":67.0248921372,"fill":"#00A99D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":178.1094772247,"height":4.9729652308,"width":4.9729652308,"asset":"Circle","selectable":true,"left":180.5094406036,"fill":"#000000"},{"opacity":1,"angle":269.9501307934,"flipX":false,"flipY":false,"top":286.219950766,"height":105.5353118347,"width":5.1344759544,"asset":"StrokeBent","selectable":true,"left":162.8004126393,"fill":"#000000"},{"opacity":1,"angle":90.7056876711,"flipX":false,"flipY":false,"top":144.7978237105,"height":263.5843395298,"width":25.0696761493,"asset":"StrokeBent","selectable":true,"left":164.5614706037,"fill":"#FFFE00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":150.6498369966,"height":21.8940642257,"width":72.8495894869,"asset":"Emblem88","selectable":true,"left":123.5524017073,"fill":"#000000"},{"opacity":1,"angle":65.2379158392,"flipX":false,"flipY":false,"top":131.7448746567,"height":57.9412129322,"width":5.0169754366,"asset":"Stroke","selectable":true,"left":198.3647225372,"fill":"#000000"},{"opacity":1,"angle":63.2988982069,"flipX":false,"flipY":false,"top":258.6829386221,"height":60.3292323786,"width":3.4047890378,"asset":"Stroke","selectable":true,"left":196.6846454668,"fill":"#000000"},{"opacity":1,"angle":152.4891694244,"flipX":false,"flipY":false,"top":242.2293165864,"height":25.4402770175,"width":34.1380144319,"asset":"Shield","selectable":true,"left":198.9175572998,"fill":"#ED1C24"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.9420483644,"height":22.3647538459,"width":73.846278495,"asset":"Eye2","selectable":true,"left":125.0538722467,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":183.7934520177,"height":59.54092702380001,"width":59.54092702380001,"asset":"KitRecon","selectable":true,"left":124.7934520177,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.1605610835,"height":4.2751451556,"width":4.2751451556,"asset":"Circle","selectable":true,"left":125.1605610835,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":50,"height":91.5471698113,"width":84.6889056604,"asset":"Emblem130","selectable":true,"left":46,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":49.0140525964,"height":63.0696420539,"width":73.692867622,"asset":"Emblem129","selectable":true,"left":44.6689280978,"fill":"#FFFE00"}]'},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":180.0979544946,"height":235.5238725786,"width":271.2763088287,"asset":"Circle","selectable":true,"left":164.3736892942,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":101.6469184096,"height":76.9944225792,"width":190.8167126667,"asset":"Eye2","selectable":true,"left":164.9046219394,"fill":"#00A99D"},{"opacity":1,"angle":270.1537521936,"flipX":true,"flipY":false,"top":142.8577938995,"height":260.4210022601,"width":14.2508964098,"asset":"StrokeBent","selectable":true,"left":163.8690657022,"fill":"#00A99D"},{"opacity":1,"angle":26.3096923189,"flipX":false,"flipY":false,"top":100.8484251257,"height":64.1870577144,"width":143.6656592293,"asset":"Eye2","selectable":true,"left":203.3134703469,"fill":"#00A99D"},{"opacity":1,"angle":324.7116389839,"flipX":false,"flipY":false,"top":102.857054816,"height":54.9566294758,"width":129.5987277212,"asset":"Eye2","selectable":true,"left":108.9754144828,"fill":"#00A99D"},{"opacity":1,"angle":43.2167135379,"flipX":false,"flipY":false,"top":110.1650988761,"height":81.3793641783,"width":30.606027163500002,"asset":"Eye2","selectable":true,"left":74.2924357974,"fill":"#00A99D"},{"opacity":1,"angle":37.7297500086,"flipX":false,"flipY":false,"top":112.7124933848,"height":46.2736167086,"width":91.9540229885,"asset":"Eye2","selectable":true,"left":244.7146998124,"fill":"#00A99D"},{"opacity":1,"angle":356.3902762918,"flipX":false,"flipY":false,"top":120,"height":40.2488505747,"width":91.9540229885,"asset":"Eye2","selectable":true,"left":117,"fill":"#00A99D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.8625183105,"height":40.2488505747,"width":63.6780116045,"asset":"Eye2","selectable":true,"left":202.8619637904,"fill":"#00A99D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":60.5710377217,"height":25.8960862248,"width":48.7745878554,"asset":"Circle","selectable":true,"left":161.4102519159,"fill":"#FFFE00"},{"opacity":1,"angle":315.7766680671,"flipX":false,"flipY":false,"top":183.0739984969,"height":79.9536777145,"width":71.7581357992,"asset":"Circle","selectable":true,"left":200.6225599811,"fill":"#FFFFFF"},{"opacity":1,"angle":327.5011477253,"flipX":false,"flipY":false,"top":113.7509927808,"height":40.2488505747,"width":94.74943123079998,"asset":"Eye2","selectable":true,"left":80.8211427397,"fill":"#00A99D"},{"opacity":1,"angle":42.6119241303,"flipX":false,"flipY":false,"top":113.5516297217,"height":28.8492626682,"width":99.7781065635,"asset":"Eye2","selectable":true,"left":256.4650337203,"fill":"#00A99D"},{"opacity":1,"angle":314.6052816631,"flipX":false,"flipY":false,"top":115.3952307838,"height":24.0615628078,"width":91.9540229885,"asset":"Eye2","selectable":true,"left":67.0248921372,"fill":"#00A99D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":178.1094772247,"height":4.9729652308,"width":4.9729652308,"asset":"Circle","selectable":true,"left":180.5094406036,"fill":"#000000"},{"opacity":1,"angle":269.9501307934,"flipX":false,"flipY":false,"top":286.219950766,"height":105.5353118347,"width":5.1344759544,"asset":"StrokeBent","selectable":true,"left":162.8004126393,"fill":"#000000"},{"opacity":1,"angle":90.7056876711,"flipX":false,"flipY":false,"top":144.7978237105,"height":263.5843395298,"width":25.0696761493,"asset":"StrokeBent","selectable":true,"left":164.5614706037,"fill":"#FFFE00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":150.6498369966,"height":21.8940642257,"width":72.8495894869,"asset":"Emblem88","selectable":true,"left":123.5524017073,"fill":"#000000"},{"opacity":1,"angle":65.2379158392,"flipX":false,"flipY":false,"top":131.7448746567,"height":57.9412129322,"width":5.0169754366,"asset":"Stroke","selectable":true,"left":198.3647225372,"fill":"#000000"},{"opacity":1,"angle":63.2988982069,"flipX":false,"flipY":false,"top":258.6829386221,"height":60.3292323786,"width":3.4047890378,"asset":"Stroke","selectable":true,"left":196.6846454668,"fill":"#000000"},{"opacity":1,"angle":152.4891694244,"flipX":false,"flipY":false,"top":242.2293165864,"height":25.4402770175,"width":34.1380144319,"asset":"Shield","selectable":true,"left":198.9175572998,"fill":"#ED1C24"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.9420483644,"height":22.3647538459,"width":73.846278495,"asset":"Eye2","selectable":true,"left":125.0538722467,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":183.7934520177,"height":59.54092702380001,"width":59.54092702380001,"asset":"KitRecon","selectable":true,"left":124.7934520177,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.1605610835,"height":4.2751451556,"width":4.2751451556,"asset":"Circle","selectable":true,"left":125.1605610835,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":50,"height":91.5471698113,"width":84.6889056604,"asset":"Emblem130","selectable":true,"left":46,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":49.0140525964,"height":63.0696420539,"width":73.692867622,"asset":"Emblem129","selectable":true,"left":44.6689280978,"fill":"#FFFE00"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告