登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
23
圖層數
19
13th Bird
作者:
s3ahawk
代碼 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":154,"left":158,"height":399.05898029829996,"width":399.05898029829996,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":211.5,"left":156.5,"height":188.78175408289997,"width":23.159823439,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-25.5993581468,"flipX":false,"flipY":false,"top":259,"left":108.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":24.4205613448,"flipX":false,"flipY":false,"top":253,"left":107.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":264,"left":214.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":256,"left":184.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":252,"left":154.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":299.5,"left":156.5,"height":188.78175408289997,"width":23.159823439,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":237.25,"left":32.25,"height":139.3790185973,"width":61.5872327238,"asset":"Wing3","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":236.25,"left":281.25,"height":139.3790185973,"width":61.5872327238,"asset":"Wing3","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93.25,"left":157.5,"height":117.5032154341,"width":242.9260450161,"asset":"Eagle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":111.25,"left":158.5,"height":117.5032154341,"width":242.9260450161,"asset":"Eagle","fill":"#A1931D","selectable":false},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":166.5,"left":63.25,"height":103.244140625,"width":29.51171875,"asset":"Tailfeathers","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":168,"left":158,"height":42,"width":100,"asset":"Square","fill":"#A1931D","selectable":false},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":166.5,"left":259.25,"height":103.244140625,"width":29.51171875,"asset":"Tailfeathers","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":168.5,"left":143,"height":32.9950383303,"width":14,"asset":"Number1","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.75,"left":173.5,"height":33.6616561792,"width":23.2365228826,"asset":"Number3","fill":"#000000","selectable":false},{"opacity":1,"angle":68.274156986,"flipX":false,"flipY":false,"top":124.25,"left":236.75,"height":100,"width":22.2438092257,"asset":"Lightning1","fill":"#A1931D","selectable":false},{"opacity":1,"angle":-63.7735229936,"flipX":true,"flipY":false,"top":126.25,"left":80.75,"height":100,"width":22.2438092257,"asset":"Lightning1","fill":"#A1931D","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":154,"left":158,"height":399.05898029829996,"width":399.05898029829996,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":211.5,"left":156.5,"height":188.78175408289997,"width":23.159823439,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-25.5993581468,"flipX":false,"flipY":false,"top":259,"left":108.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":24.4205613448,"flipX":false,"flipY":false,"top":253,"left":107.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":264,"left":214.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":256,"left":184.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":252,"left":154.75,"height":91.1530065655,"width":18.2306013131,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":299.5,"left":156.5,"height":188.78175408289997,"width":23.159823439,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":237.25,"left":32.25,"height":139.3790185973,"width":61.5872327238,"asset":"Wing3","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":236.25,"left":281.25,"height":139.3790185973,"width":61.5872327238,"asset":"Wing3","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93.25,"left":157.5,"height":117.5032154341,"width":242.9260450161,"asset":"Eagle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":111.25,"left":158.5,"height":117.5032154341,"width":242.9260450161,"asset":"Eagle","fill":"#A1931D","selectable":false},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":166.5,"left":63.25,"height":103.244140625,"width":29.51171875,"asset":"Tailfeathers","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":168,"left":158,"height":42,"width":100,"asset":"Square","fill":"#A1931D","selectable":false},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":166.5,"left":259.25,"height":103.244140625,"width":29.51171875,"asset":"Tailfeathers","fill":"#A1931D","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":168.5,"left":143,"height":32.9950383303,"width":14,"asset":"Number1","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.75,"left":173.5,"height":33.6616561792,"width":23.2365228826,"asset":"Number3","fill":"#000000","selectable":false},{"opacity":1,"angle":68.274156986,"flipX":false,"flipY":false,"top":124.25,"left":236.75,"height":100,"width":22.2438092257,"asset":"Lightning1","fill":"#A1931D","selectable":false},{"opacity":1,"angle":-63.7735229936,"flipX":true,"flipY":false,"top":126.25,"left":80.75,"height":100,"width":22.2438092257,"asset":"Lightning1","fill":"#A1931D","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告