登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
12
圖層數
34
RANGER
作者:
Chris
»
代碼 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":89.90750974768095,"flipX":true,"flipY":true,"top":50.1797,"left":163.6797,"height":183.36553616698797,"width":44.63834741371239,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-179.48383577023517,"flipX":true,"flipY":true,"top":29.28125,"left":160.78125,"height":14.568115533564434,"width":128.45424674781086,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90.56471986013904,"flipX":false,"flipY":false,"top":22.831999999999994,"left":164,"height":194.00173143705425,"width":21.345738590525897,"asset":"StrokeBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":1.2280122350880165,"flipX":true,"flipY":true,"top":73.96485,"left":241.46485,"height":11.167914802306173,"width":27.215607757597898,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-7.5345367571750606,"flipX":true,"flipY":true,"top":73.582025,"left":84.582025,"height":11.167914802306173,"width":27.215607757597898,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90.64686320999893,"flipX":false,"flipY":true,"top":80.21475000000001,"left":164.164075,"height":193.69981696741257,"width":20.42454815630603,"asset":"StrokeBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-0.5846305207051731,"flipX":true,"flipY":true,"top":56,"left":70,"height":60.98662093744855,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0.6365935759634793,"flipX":true,"flipY":true,"top":58,"left":258.5,"height":60.01851748980366,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-177.78943182624667,"flipX":true,"flipY":false,"top":46.14075,"left":181,"height":36.331644233713746,"width":21.655299559961463,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-7.441405489743709,"flipX":false,"flipY":false,"top":51.28125,"left":90.5,"height":36.73587243086619,"width":21.367115904241757,"asset":"Number8","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-92.2025981617658,"flipX":true,"flipY":true,"top":33,"left":118,"height":8.993350571681828,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-1.151233937568611,"flipX":true,"flipY":true,"top":46.238275,"left":142.238275,"height":34.858137174990745,"width":5.537737081342848,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-1.176980411665447,"flipX":true,"flipY":true,"top":45.765625,"left":160.265625,"height":34.858137174990745,"width":5.537737081342848,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":4.8558225698595585,"flipX":false,"flipY":true,"top":48.078125,"left":209.22265,"height":35.30919700675116,"width":22.136413899071346,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-31.36703626186292,"flipX":true,"flipY":true,"top":46.019525,"left":151.019525,"height":35.943951791253966,"width":7.088252393618054,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":5.861842132803907,"flipX":false,"flipY":true,"top":51.96095,"left":238,"height":36.718500000000006,"width":20.708839599745367,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-177.53836601257123,"flipX":false,"flipY":true,"top":42.695325,"left":185.695325,"height":14.568115533564434,"width":17.587851741267905,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-8.546851136675553,"flipX":false,"flipY":true,"top":51.078125,"left":90.22265,"height":37.15603178549762,"width":21.64941661923806,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":4.371497894127073,"flipX":true,"flipY":true,"top":52.4336,"left":238.6797,"height":36.73587243086619,"width":21.367115904241757,"asset":"Number8","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-8.006974077696619,"flipX":true,"flipY":true,"top":62.4375,"left":99.9375,"height":11.167914802306173,"width":5.754093471350301,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":89.34297083774072,"flipX":true,"flipY":true,"top":50.46485,"left":187.96485,"height":11.167914802306173,"width":5.9514381346465814,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":172.14668669802177,"flipX":true,"flipY":true,"top":62.5,"left":92,"height":14.568115533564434,"width":8.471518622495923,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":95.4605368576199,"flipX":true,"flipY":true,"top":41.3047,"left":214.3047,"height":16.388263714065193,"width":7.562868049931142,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":95.58906117889096,"flipX":true,"flipY":true,"top":35.1797,"left":213.6797,"height":16.388263714065193,"width":7.364078368932001,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-92.00955381302113,"flipX":true,"flipY":true,"top":50,"left":119.5,"height":17.026892787282165,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-7.062962494951088,"flipX":true,"flipY":true,"top":63.46485,"left":84.46485,"height":15.15739985246909,"width":7.139695619621678,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":159.78294246975426,"flipX":true,"flipY":true,"top":48.300775,"left":125.800775,"height":35.57485206903481,"width":6.602545091664806,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-171.09200873522408,"flipX":true,"flipY":true,"top":49.300775,"left":113.300775,"height":35.57485206903481,"width":6.602545091664806,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":95.4605368576199,"flipX":true,"flipY":true,"top":55.28125,"left":213.28125,"height":16.388263714065193,"width":7.562868049931142,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":94.60291095139902,"flipX":true,"flipY":true,"top":62.6797,"left":211.1797,"height":16.388263714065193,"width":7.364078368932001,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":94.60291095139902,"flipX":true,"flipY":true,"top":48.1797,"left":211.6797,"height":16.388263714065193,"width":7.364078368932001,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-175.31516951061874,"flipX":true,"flipY":true,"top":63.734375,"left":237.734375,"height":14.568115533564434,"width":8.546137135607879,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-176.11710143963634,"flipX":true,"flipY":true,"top":65.875,"left":244.875,"height":11.167914802306173,"width":6.1375151372094265,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-176.25235502523395,"flipX":true,"flipY":true,"top":62.875,"left":229.875,"height":12.935162407139286,"width":6.205921300572671,"asset":"Square","fill":"#f1c232","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":89.90750974768095,"flipX":true,"flipY":true,"top":50.1797,"left":163.6797,"height":183.36553616698797,"width":44.63834741371239,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-179.48383577023517,"flipX":true,"flipY":true,"top":29.28125,"left":160.78125,"height":14.568115533564434,"width":128.45424674781086,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90.56471986013904,"flipX":false,"flipY":false,"top":22.831999999999994,"left":164,"height":194.00173143705425,"width":21.345738590525897,"asset":"StrokeBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":1.2280122350880165,"flipX":true,"flipY":true,"top":73.96485,"left":241.46485,"height":11.167914802306173,"width":27.215607757597898,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-7.5345367571750606,"flipX":true,"flipY":true,"top":73.582025,"left":84.582025,"height":11.167914802306173,"width":27.215607757597898,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90.64686320999893,"flipX":false,"flipY":true,"top":80.21475000000001,"left":164.164075,"height":193.69981696741257,"width":20.42454815630603,"asset":"StrokeBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-0.5846305207051731,"flipX":true,"flipY":true,"top":56,"left":70,"height":60.98662093744855,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0.6365935759634793,"flipX":true,"flipY":true,"top":58,"left":258.5,"height":60.01851748980366,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-177.78943182624667,"flipX":true,"flipY":false,"top":46.14075,"left":181,"height":36.331644233713746,"width":21.655299559961463,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-7.441405489743709,"flipX":false,"flipY":false,"top":51.28125,"left":90.5,"height":36.73587243086619,"width":21.367115904241757,"asset":"Number8","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-92.2025981617658,"flipX":true,"flipY":true,"top":33,"left":118,"height":8.993350571681828,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-1.151233937568611,"flipX":true,"flipY":true,"top":46.238275,"left":142.238275,"height":34.858137174990745,"width":5.537737081342848,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-1.176980411665447,"flipX":true,"flipY":true,"top":45.765625,"left":160.265625,"height":34.858137174990745,"width":5.537737081342848,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":4.8558225698595585,"flipX":false,"flipY":true,"top":48.078125,"left":209.22265,"height":35.30919700675116,"width":22.136413899071346,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-31.36703626186292,"flipX":true,"flipY":true,"top":46.019525,"left":151.019525,"height":35.943951791253966,"width":7.088252393618054,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":5.861842132803907,"flipX":false,"flipY":true,"top":51.96095,"left":238,"height":36.718500000000006,"width":20.708839599745367,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-177.53836601257123,"flipX":false,"flipY":true,"top":42.695325,"left":185.695325,"height":14.568115533564434,"width":17.587851741267905,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-8.546851136675553,"flipX":false,"flipY":true,"top":51.078125,"left":90.22265,"height":37.15603178549762,"width":21.64941661923806,"asset":"Number6","fill":"#f1c232","selectable":false},{"opacity":1,"angle":4.371497894127073,"flipX":true,"flipY":true,"top":52.4336,"left":238.6797,"height":36.73587243086619,"width":21.367115904241757,"asset":"Number8","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-8.006974077696619,"flipX":true,"flipY":true,"top":62.4375,"left":99.9375,"height":11.167914802306173,"width":5.754093471350301,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":89.34297083774072,"flipX":true,"flipY":true,"top":50.46485,"left":187.96485,"height":11.167914802306173,"width":5.9514381346465814,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":172.14668669802177,"flipX":true,"flipY":true,"top":62.5,"left":92,"height":14.568115533564434,"width":8.471518622495923,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":95.4605368576199,"flipX":true,"flipY":true,"top":41.3047,"left":214.3047,"height":16.388263714065193,"width":7.562868049931142,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":95.58906117889096,"flipX":true,"flipY":true,"top":35.1797,"left":213.6797,"height":16.388263714065193,"width":7.364078368932001,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-92.00955381302113,"flipX":true,"flipY":true,"top":50,"left":119.5,"height":17.026892787282165,"width":6,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-7.062962494951088,"flipX":true,"flipY":true,"top":63.46485,"left":84.46485,"height":15.15739985246909,"width":7.139695619621678,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":159.78294246975426,"flipX":true,"flipY":true,"top":48.300775,"left":125.800775,"height":35.57485206903481,"width":6.602545091664806,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-171.09200873522408,"flipX":true,"flipY":true,"top":49.300775,"left":113.300775,"height":35.57485206903481,"width":6.602545091664806,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":95.4605368576199,"flipX":true,"flipY":true,"top":55.28125,"left":213.28125,"height":16.388263714065193,"width":7.562868049931142,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":94.60291095139902,"flipX":true,"flipY":true,"top":62.6797,"left":211.1797,"height":16.388263714065193,"width":7.364078368932001,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":94.60291095139902,"flipX":true,"flipY":true,"top":48.1797,"left":211.6797,"height":16.388263714065193,"width":7.364078368932001,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-175.31516951061874,"flipX":true,"flipY":true,"top":63.734375,"left":237.734375,"height":14.568115533564434,"width":8.546137135607879,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-176.11710143963634,"flipX":true,"flipY":true,"top":65.875,"left":244.875,"height":11.167914802306173,"width":6.1375151372094265,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-176.25235502523395,"flipX":true,"flipY":true,"top":62.875,"left":229.875,"height":12.935162407139286,"width":6.205921300572671,"asset":"Square","fill":"#f1c232","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告