登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
24
圖層數
40
NICESHOT
作者:
B0LD1
代碼 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":7.9598650437,"flipX":false,"flipY":false,"top":113.25,"height":233.7271739689,"width":159.1700373161,"asset":"Wing1","selectable":false,"left":72.25,"fill":"#000000"},{"opacity":1,"angle":-8.5625369208,"flipX":true,"flipY":false,"top":110.5,"height":238.9831684278,"width":154.4454580136,"asset":"Wing1","selectable":false,"left":245.5,"fill":"#000000"},{"opacity":1,"angle":137.4419296806,"flipX":true,"flipY":false,"top":277.25,"height":142.766118449,"width":73.1421668925,"asset":"Wing4","selectable":false,"left":258,"fill":"#000000"},{"opacity":1,"angle":226.0899881367,"flipX":false,"flipY":false,"top":274.75,"height":144.9503810542,"width":73.1886186363,"asset":"Wing4","selectable":false,"left":61,"fill":"#000000"},{"opacity":1,"angle":137.4419296806,"flipX":true,"flipY":false,"top":273.75,"height":142.766118449,"width":63.8953125,"asset":"Wing4","selectable":false,"left":254,"fill":"#790000"},{"opacity":1,"angle":226.0899881367,"flipX":false,"flipY":false,"top":271,"height":144.9503810542,"width":63.8953125,"asset":"Wing4","selectable":false,"left":64.5,"fill":"#0d004c"},{"opacity":1,"angle":-36.265443121,"flipX":true,"flipY":true,"top":97,"height":106.1039343396,"width":111.5646766206,"asset":"Star","selectable":false,"left":256.75,"fill":"#FFFFFF"},{"opacity":1,"angle":-147.5516985507,"flipX":true,"flipY":true,"top":100.5,"height":82.99799959,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":242.25,"fill":"#000000"},{"opacity":1,"angle":-53.9377008164,"flipX":true,"flipY":true,"top":101,"height":94.6751946138,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":237.25,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":90.5,"height":106.1039343396,"width":111.5646766206,"asset":"Star","selectable":false,"left":59.25,"fill":"#FFFFFF"},{"opacity":1,"angle":615.2861463042,"flipX":false,"flipY":true,"top":92,"height":99.6608294207,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":65.5,"fill":"#000000"},{"opacity":1,"angle":21.345985714,"flipX":false,"flipY":false,"top":95.5,"height":94.6751946138,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":44.25,"fill":"#000000"},{"opacity":1,"angle":7.9598650437,"flipX":false,"flipY":false,"top":115.5,"height":224.0270400343,"width":152.5641700816,"asset":"Wing1","selectable":false,"left":70.75,"fill":"#0D004C"},{"opacity":1,"angle":-8.5625369208,"flipX":true,"flipY":false,"top":115,"height":230.6441100918,"width":152.1360512993,"asset":"Wing1","selectable":false,"left":244.5,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.5,"height":94.9748743719,"width":94.9748743719,"asset":"Circle","selectable":false,"left":159.5,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.5,"height":101,"width":100,"asset":"Circle","selectable":false,"left":159,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.5,"height":96.1770586321,"width":95.2248105268,"asset":"Circle","selectable":false,"left":158.5,"fill":"#790000"},{"opacity":1,"angle":-55.5789903102,"flipX":false,"flipY":false,"top":257.75,"height":101.5883573141,"width":6.1165063016,"asset":"StrokeBent","selectable":false,"left":161.75,"fill":"#000000"},{"opacity":1,"angle":-41.1251639435,"flipX":false,"flipY":false,"top":269.5,"height":99.0548171266,"width":5.323641467,"asset":"StrokeBent","selectable":false,"left":154.25,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5,"height":159,"width":131.588157272,"asset":"Shield6","selectable":false,"left":157.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5,"height":151,"width":124.4270378723,"asset":"Shield6","selectable":false,"left":157.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204,"height":146.0000000001,"width":121.3218359983,"asset":"Shield6","selectable":false,"left":157.5,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":243,"height":74,"width":58.2565789474,"asset":"Sprint","selectable":false,"left":158.5,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.75,"height":43.727621153,"width":117.9834634819,"asset":"Eagle","selectable":false,"left":158,"fill":"#F7941D"},{"opacity":1,"angle":180,"flipX":true,"flipY":false,"top":211.75,"height":63.3647129531,"width":218.560832338,"asset":"Dogtag","selectable":false,"left":157,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":210.25,"height":63.3647129531,"width":218.5692975523,"asset":"Dogtag","selectable":false,"left":157,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":214.25,"height":44.5875,"width":190,"asset":"Banner","selectable":false,"left":157.5,"fill":"#a90f0f"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.75,"height":41.7710585286,"width":112.7043737702,"asset":"Eagle","selectable":false,"left":160.25,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":212.25,"height":51.3080168776,"width":38,"asset":"Number8","selectable":false,"left":179.5,"fill":"#ffffff"},{"opacity":1,"angle":-63.2853518273,"flipX":false,"flipY":true,"top":207,"height":17.2953295157,"width":7.0818308395,"asset":"Stroke","selectable":false,"left":191.75,"fill":"#000000"},{"opacity":1,"angle":-61.4768813937,"flipX":false,"flipY":false,"top":217.5,"height":13.8096852265,"width":7,"asset":"Stroke","selectable":false,"left":167.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":211,"height":51,"width":10.2,"asset":"Stroke","selectable":false,"left":120,"fill":"#ffffff"},{"opacity":1,"angle":-152.3005271919,"flipX":false,"flipY":true,"top":219,"height":7.171723013,"width":14.5869304493,"asset":"Wingpart","selectable":false,"left":170.5,"fill":"#a90f0f"},{"opacity":1,"angle":145.8564133481,"flipX":true,"flipY":true,"top":209.25,"height":7.171723013,"width":14.5869304493,"asset":"Wingpart","selectable":false,"left":198.75,"fill":"#a90f0f"},{"opacity":1,"angle":-32.0053832081,"flipX":true,"flipY":true,"top":210.5,"height":54.1658916683,"width":10.2,"asset":"Stroke","selectable":false,"left":134.5,"fill":"#ffffff"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":211,"height":51,"width":10.2,"asset":"Stroke","selectable":false,"left":149.5,"fill":"#ffffff"},{"opacity":1,"angle":617.9816692608,"flipX":false,"flipY":false,"top":215,"height":195.0255672054,"width":5.323641467,"asset":"StrokeBent","selectable":false,"left":158.25,"fill":"#000000"},{"opacity":1,"angle":-56.5375212652,"flipX":false,"flipY":false,"top":212.5,"height":97.6787522061,"width":6.0557399689,"asset":"StrokeBent","selectable":false,"left":146.25,"fill":"#000000"},{"opacity":1,"angle":55.91283937,"flipX":false,"flipY":false,"top":212.25,"height":99.9445519469,"width":5.0599721403,"asset":"StrokeBent","selectable":false,"left":152.5,"fill":"#000000"},{"opacity":1,"angle":123.7758395869,"flipX":false,"flipY":false,"top":202,"height":87.5987730648,"width":5.323641467,"asset":"StrokeBent","selectable":false,"left":168.5,"fill":"#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":7.9598650437,"flipX":false,"flipY":false,"top":113.25,"height":233.7271739689,"width":159.1700373161,"asset":"Wing1","selectable":false,"left":72.25,"fill":"#000000"},{"opacity":1,"angle":-8.5625369208,"flipX":true,"flipY":false,"top":110.5,"height":238.9831684278,"width":154.4454580136,"asset":"Wing1","selectable":false,"left":245.5,"fill":"#000000"},{"opacity":1,"angle":137.4419296806,"flipX":true,"flipY":false,"top":277.25,"height":142.766118449,"width":73.1421668925,"asset":"Wing4","selectable":false,"left":258,"fill":"#000000"},{"opacity":1,"angle":226.0899881367,"flipX":false,"flipY":false,"top":274.75,"height":144.9503810542,"width":73.1886186363,"asset":"Wing4","selectable":false,"left":61,"fill":"#000000"},{"opacity":1,"angle":137.4419296806,"flipX":true,"flipY":false,"top":273.75,"height":142.766118449,"width":63.8953125,"asset":"Wing4","selectable":false,"left":254,"fill":"#790000"},{"opacity":1,"angle":226.0899881367,"flipX":false,"flipY":false,"top":271,"height":144.9503810542,"width":63.8953125,"asset":"Wing4","selectable":false,"left":64.5,"fill":"#0d004c"},{"opacity":1,"angle":-36.265443121,"flipX":true,"flipY":true,"top":97,"height":106.1039343396,"width":111.5646766206,"asset":"Star","selectable":false,"left":256.75,"fill":"#FFFFFF"},{"opacity":1,"angle":-147.5516985507,"flipX":true,"flipY":true,"top":100.5,"height":82.99799959,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":242.25,"fill":"#000000"},{"opacity":1,"angle":-53.9377008164,"flipX":true,"flipY":true,"top":101,"height":94.6751946138,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":237.25,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":90.5,"height":106.1039343396,"width":111.5646766206,"asset":"Star","selectable":false,"left":59.25,"fill":"#FFFFFF"},{"opacity":1,"angle":615.2861463042,"flipX":false,"flipY":true,"top":92,"height":99.6608294207,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":65.5,"fill":"#000000"},{"opacity":1,"angle":21.345985714,"flipX":false,"flipY":false,"top":95.5,"height":94.6751946138,"width":4.4642560299,"asset":"StrokeBent","selectable":false,"left":44.25,"fill":"#000000"},{"opacity":1,"angle":7.9598650437,"flipX":false,"flipY":false,"top":115.5,"height":224.0270400343,"width":152.5641700816,"asset":"Wing1","selectable":false,"left":70.75,"fill":"#0D004C"},{"opacity":1,"angle":-8.5625369208,"flipX":true,"flipY":false,"top":115,"height":230.6441100918,"width":152.1360512993,"asset":"Wing1","selectable":false,"left":244.5,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.5,"height":94.9748743719,"width":94.9748743719,"asset":"Circle","selectable":false,"left":159.5,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.5,"height":101,"width":100,"asset":"Circle","selectable":false,"left":159,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.5,"height":96.1770586321,"width":95.2248105268,"asset":"Circle","selectable":false,"left":158.5,"fill":"#790000"},{"opacity":1,"angle":-55.5789903102,"flipX":false,"flipY":false,"top":257.75,"height":101.5883573141,"width":6.1165063016,"asset":"StrokeBent","selectable":false,"left":161.75,"fill":"#000000"},{"opacity":1,"angle":-41.1251639435,"flipX":false,"flipY":false,"top":269.5,"height":99.0548171266,"width":5.323641467,"asset":"StrokeBent","selectable":false,"left":154.25,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5,"height":159,"width":131.588157272,"asset":"Shield6","selectable":false,"left":157.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5,"height":151,"width":124.4270378723,"asset":"Shield6","selectable":false,"left":157.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204,"height":146.0000000001,"width":121.3218359983,"asset":"Shield6","selectable":false,"left":157.5,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":243,"height":74,"width":58.2565789474,"asset":"Sprint","selectable":false,"left":158.5,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.75,"height":43.727621153,"width":117.9834634819,"asset":"Eagle","selectable":false,"left":158,"fill":"#F7941D"},{"opacity":1,"angle":180,"flipX":true,"flipY":false,"top":211.75,"height":63.3647129531,"width":218.560832338,"asset":"Dogtag","selectable":false,"left":157,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":210.25,"height":63.3647129531,"width":218.5692975523,"asset":"Dogtag","selectable":false,"left":157,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":214.25,"height":44.5875,"width":190,"asset":"Banner","selectable":false,"left":157.5,"fill":"#a90f0f"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.75,"height":41.7710585286,"width":112.7043737702,"asset":"Eagle","selectable":false,"left":160.25,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":212.25,"height":51.3080168776,"width":38,"asset":"Number8","selectable":false,"left":179.5,"fill":"#ffffff"},{"opacity":1,"angle":-63.2853518273,"flipX":false,"flipY":true,"top":207,"height":17.2953295157,"width":7.0818308395,"asset":"Stroke","selectable":false,"left":191.75,"fill":"#000000"},{"opacity":1,"angle":-61.4768813937,"flipX":false,"flipY":false,"top":217.5,"height":13.8096852265,"width":7,"asset":"Stroke","selectable":false,"left":167.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":211,"height":51,"width":10.2,"asset":"Stroke","selectable":false,"left":120,"fill":"#ffffff"},{"opacity":1,"angle":-152.3005271919,"flipX":false,"flipY":true,"top":219,"height":7.171723013,"width":14.5869304493,"asset":"Wingpart","selectable":false,"left":170.5,"fill":"#a90f0f"},{"opacity":1,"angle":145.8564133481,"flipX":true,"flipY":true,"top":209.25,"height":7.171723013,"width":14.5869304493,"asset":"Wingpart","selectable":false,"left":198.75,"fill":"#a90f0f"},{"opacity":1,"angle":-32.0053832081,"flipX":true,"flipY":true,"top":210.5,"height":54.1658916683,"width":10.2,"asset":"Stroke","selectable":false,"left":134.5,"fill":"#ffffff"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":211,"height":51,"width":10.2,"asset":"Stroke","selectable":false,"left":149.5,"fill":"#ffffff"},{"opacity":1,"angle":617.9816692608,"flipX":false,"flipY":false,"top":215,"height":195.0255672054,"width":5.323641467,"asset":"StrokeBent","selectable":false,"left":158.25,"fill":"#000000"},{"opacity":1,"angle":-56.5375212652,"flipX":false,"flipY":false,"top":212.5,"height":97.6787522061,"width":6.0557399689,"asset":"StrokeBent","selectable":false,"left":146.25,"fill":"#000000"},{"opacity":1,"angle":55.91283937,"flipX":false,"flipY":false,"top":212.25,"height":99.9445519469,"width":5.0599721403,"asset":"StrokeBent","selectable":false,"left":152.5,"fill":"#000000"},{"opacity":1,"angle":123.7758395869,"flipX":false,"flipY":false,"top":202,"height":87.5987730648,"width":5.323641467,"asset":"StrokeBent","selectable":false,"left":168.5,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告