登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
84
圖層數
45
one more noob dead
作者:
pookim
»
代碼 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":166.5,"left":160.5,"height":335,"width":378.99999999999994,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":38.28125,"left":72.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":39,"left":118,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":38.5,"left":150,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":39,"left":181,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":152.24145939893995,"flipX":true,"flipY":true,"top":39,"left":134,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":13,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":65,"left":195.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":40,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.5,"left":25,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117,"left":85,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":32.47119229084849,"flipX":true,"flipY":true,"top":115.5,"left":66.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":57.040220190024634,"flipX":false,"flipY":false,"top":146.324225,"left":46.824225,"height":15.652751644651744,"width":23.654125088753407,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-33.57289840605487,"flipX":true,"flipY":true,"top":116,"left":45,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-53.7181571923685,"flipX":true,"flipY":true,"top":146.324225,"left":63.824225,"height":15.652751644651744,"width":23.654125088753407,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117,"left":180.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.28125,"left":133,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":90.5,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":118.5,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0.7073193685442584,"flipX":true,"flipY":true,"top":104.5,"left":209,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.602818972703616,"flipX":true,"flipY":true,"top":133.5,"left":202,"height":38.896551724137936,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":91,"left":257,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":144,"left":257,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":117,"left":256.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":241.91025000000002,"left":159,"height":185.82348124999996,"width":318.99999999999994,"asset":"Handshake","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":203,"left":36.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":202.5,"left":68.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":152.24145939893995,"flipX":true,"flipY":true,"top":203,"left":53,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":203.28125,"left":117,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":203.28125,"left":182,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":202.28125,"left":244.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":202.5,"left":228.5,"height":67,"width":18,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":286.5,"left":36.5,"height":68,"width":18,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":286.28125,"left":53.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":286,"left":102.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.5,"left":242.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":260,"left":117,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":312,"left":116.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":286,"left":117,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":15.724745722747413,"flipX":true,"flipY":true,"top":285,"left":164.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-17.10272896905237,"flipX":true,"flipY":true,"top":284.5,"left":197.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":290,"left":181.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":257.5,"left":180.5,"height":27,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":282.78125,"left":247.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":283,"left":231,"height":67,"width":18,"asset":"Square","fill":"#ffffff","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":166.5,"left":160.5,"height":335,"width":378.99999999999994,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":38.28125,"left":72.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":39,"left":118,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":38.5,"left":150,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":39,"left":181,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":152.24145939893995,"flipX":true,"flipY":true,"top":39,"left":134,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":13,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":65,"left":195.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":40,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.5,"left":25,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117,"left":85,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":32.47119229084849,"flipX":true,"flipY":true,"top":115.5,"left":66.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":57.040220190024634,"flipX":false,"flipY":false,"top":146.324225,"left":46.824225,"height":15.652751644651744,"width":23.654125088753407,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":-33.57289840605487,"flipX":true,"flipY":true,"top":116,"left":45,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-53.7181571923685,"flipX":true,"flipY":true,"top":146.324225,"left":63.824225,"height":15.652751644651744,"width":23.654125088753407,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117,"left":180.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.28125,"left":133,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":90.5,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":118.5,"left":195,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0.7073193685442584,"flipX":true,"flipY":true,"top":104.5,"left":209,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.602818972703616,"flipX":true,"flipY":true,"top":133.5,"left":202,"height":38.896551724137936,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":91,"left":257,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":144,"left":257,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":117,"left":256.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":241.91025000000002,"left":159,"height":185.82348124999996,"width":318.99999999999994,"asset":"Handshake","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":203,"left":36.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":202.5,"left":68.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":152.24145939893995,"flipX":true,"flipY":true,"top":203,"left":53,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":203.28125,"left":117,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":203.28125,"left":182,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":202.28125,"left":244.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":202.5,"left":228.5,"height":67,"width":18,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":286.5,"left":36.5,"height":68,"width":18,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":286.28125,"left":53.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":286,"left":102.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":117.5,"left":242.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":260,"left":117,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":312,"left":116.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":286,"left":117,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":15.724745722747413,"flipX":true,"flipY":true,"top":285,"left":164.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-17.10272896905237,"flipX":true,"flipY":true,"top":284.5,"left":197.5,"height":67,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":290,"left":181.5,"height":43,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":257.5,"left":180.5,"height":27,"width":14.999999999999998,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":282.78125,"left":247.5,"height":67.56842358644747,"width":50,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":283,"left":231,"height":67,"width":18,"asset":"Square","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
one
more
noob
dead
广告