登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
6
圖層數
36
dd
作者:
dd
代碼 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":125.5,"left":126.5,"height":411,"width":411,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":142,"left":160,"height":123,"width":305,"asset":"Square","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":141.5,"left":161,"height":110,"width":291,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":180.5,"left":56,"height":67,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":156.5,"left":81.5,"height":45,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.5,"left":31.25,"height":32,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":141.5,"left":56.25,"height":67,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":102.5,"left":56.25,"height":67,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":159.5,"left":103.75,"height":59,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":119,"left":104,"height":16,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-164.08000116280078,"flipX":true,"flipY":true,"top":141.5,"left":142.25,"height":105.90203139196352,"width":17.2367257105369,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":102,"left":205.5,"height":70,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":163.2347974917897,"flipX":true,"flipY":true,"top":141,"left":141.5,"height":209.567180201038,"width":17.2367257105369,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":false,"top":133.5,"left":204,"height":53,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":142.5,"left":179,"height":92,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-179.74074484849862,"flipX":true,"flipY":true,"top":131.25,"left":300.25,"height":16.483994145187772,"width":6.497671038289763,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":228.5,"left":160.5,"height":50,"width":50,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":31,"left":111,"height":50,"width":50,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":166.5,"left":196,"height":44,"width":12,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":166.5,"left":220.5,"height":44,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":false,"top":150.5,"left":208,"height":31,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":171,"left":208.5,"height":31,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":false,"top":182.5,"left":247,"height":36,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":150.5,"left":246.5,"height":36,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":42.91743472026912,"flipX":true,"flipY":true,"top":166.5,"left":247,"height":38.56968157432469,"width":12,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":166.5,"left":273.5,"height":44,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":182.5,"left":285.5,"height":25,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":150.5,"left":285.5,"height":25,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":166.5,"left":281,"height":25,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":192,"left":112.25,"height":67,"width":6,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":90.5,"left":172.5,"height":67,"width":6,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":19.59228189105153,"flipX":false,"flipY":false,"top":106.5,"left":245,"height":29,"width":21,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":16.79837178130529,"flipX":true,"flipY":true,"top":132,"left":230.5,"height":25.28790179436603,"width":10.548667605649825,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.5,"left":243,"height":2,"width":29,"asset":"Square","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":16.79837178130529,"flipX":true,"flipY":true,"top":177.25,"left":27,"height":25.28790179436603,"width":10.548667605649825,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":16.79837178130529,"flipX":true,"flipY":true,"top":103.25,"left":89.5,"height":25.28790179436603,"width":10.548667605649825,"asset":"Stroke","fill":"#000000","selectable":false}]'},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":125.5,"left":126.5,"height":411,"width":411,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":142,"left":160,"height":123,"width":305,"asset":"Square","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":141.5,"left":161,"height":110,"width":291,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":180.5,"left":56,"height":67,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":156.5,"left":81.5,"height":45,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.5,"left":31.25,"height":32,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":141.5,"left":56.25,"height":67,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":102.5,"left":56.25,"height":67,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":159.5,"left":103.75,"height":59,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":119,"left":104,"height":16,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-164.08000116280078,"flipX":true,"flipY":true,"top":141.5,"left":142.25,"height":105.90203139196352,"width":17.2367257105369,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":102,"left":205.5,"height":70,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":163.2347974917897,"flipX":true,"flipY":true,"top":141,"left":141.5,"height":209.567180201038,"width":17.2367257105369,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":false,"top":133.5,"left":204,"height":53,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":142.5,"left":179,"height":92,"width":17,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-179.74074484849862,"flipX":true,"flipY":true,"top":131.25,"left":300.25,"height":16.483994145187772,"width":6.497671038289763,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":228.5,"left":160.5,"height":50,"width":50,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":31,"left":111,"height":50,"width":50,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":166.5,"left":196,"height":44,"width":12,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":166.5,"left":220.5,"height":44,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":false,"top":150.5,"left":208,"height":31,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":171,"left":208.5,"height":31,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":false,"top":182.5,"left":247,"height":36,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":150.5,"left":246.5,"height":36,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":42.91743472026912,"flipX":true,"flipY":true,"top":166.5,"left":247,"height":38.56968157432469,"width":12,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":166.5,"left":273.5,"height":44,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":182.5,"left":285.5,"height":25,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":150.5,"left":285.5,"height":25,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":166.5,"left":281,"height":25,"width":11.999999999999998,"asset":"Stroke","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":192,"left":112.25,"height":67,"width":6,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":90.5,"left":172.5,"height":67,"width":6,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":19.59228189105153,"flipX":false,"flipY":false,"top":106.5,"left":245,"height":29,"width":21,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":16.79837178130529,"flipX":true,"flipY":true,"top":132,"left":230.5,"height":25.28790179436603,"width":10.548667605649825,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.5,"left":243,"height":2,"width":29,"asset":"Square","fill":"#ff1c1c","selectable":false},{"opacity":1,"angle":16.79837178130529,"flipX":true,"flipY":true,"top":177.25,"left":27,"height":25.28790179436603,"width":10.548667605649825,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":16.79837178130529,"flipX":true,"flipY":true,"top":103.25,"left":89.5,"height":25.28790179436603,"width":10.548667605649825,"asset":"Stroke","fill":"#000000","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告