登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
44
圖層數
20
COGrest
作者:
COGrest
代碼 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":182.9491959979,"height":248.8497123324,"width":198.7329355794,"asset":"Sheild9","selectable":true,"left":156,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207.5,"height":63,"width":174,"asset":"Tailfeathers","selectable":true,"left":156,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":44,"height":37.0625,"width":108,"asset":"Eagle","selectable":true,"left":157,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147,"height":58.5993946293,"width":43.3631857795,"asset":"Number0","selectable":true,"left":109,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147,"height":58.5993946293,"width":43.3631857795,"asset":"Number0","selectable":true,"left":157,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":146,"height":58.9065506147,"width":41.9068564391,"asset":"Number6","selectable":true,"left":204,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147,"height":20,"width":17.5,"asset":"Square","selectable":true,"left":122.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149,"height":20,"width":15.375,"asset":"Square","selectable":true,"left":203.6875,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":149,"height":20,"width":12.6875,"asset":"Square","selectable":true,"left":215,"fill":"#707070"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":140,"height":20,"width":6.671875,"asset":"Square","selectable":true,"left":215,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":251,"height":36.3997049479,"width":37.2713895716,"asset":"Teamplay","selectable":true,"left":157,"fill":"#707070"},{"opacity":1,"angle":-19.9406073279,"flipX":false,"flipY":false,"top":232,"height":41.6649606068,"width":19.5406061186,"asset":"Wing2","selectable":true,"left":126,"fill":"#707070"},{"opacity":1,"angle":14.603144692,"flipX":true,"flipY":false,"top":232,"height":41.6649606068,"width":19.5406061186,"asset":"Wing2","selectable":true,"left":187,"fill":"#707070"},{"opacity":1,"angle":-19.8727302354,"flipX":false,"flipY":false,"top":90,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":91,"fill":"#707070"},{"opacity":1,"angle":20.3909880086,"flipX":false,"flipY":false,"top":90,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":220,"fill":"#707070"},{"opacity":1,"angle":-8.956376127,"flipX":false,"flipY":false,"top":84,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":113,"fill":"#707070"},{"opacity":1,"angle":11.0174921203,"flipX":false,"flipY":false,"top":84,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":200,"fill":"#707070"},{"opacity":1,"angle":-5.5046222188,"flipX":false,"flipY":false,"top":81,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":135,"fill":"#707070"},{"opacity":1,"angle":4.8469320198,"flipX":false,"flipY":false,"top":81,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":178,"fill":"#707070"},{"opacity":1,"angle":-0.7185573112,"flipX":false,"flipY":false,"top":79,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":157,"fill":"#707070"}]'},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":182.9491959979,"height":248.8497123324,"width":198.7329355794,"asset":"Sheild9","selectable":true,"left":156,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207.5,"height":63,"width":174,"asset":"Tailfeathers","selectable":true,"left":156,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":44,"height":37.0625,"width":108,"asset":"Eagle","selectable":true,"left":157,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147,"height":58.5993946293,"width":43.3631857795,"asset":"Number0","selectable":true,"left":109,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147,"height":58.5993946293,"width":43.3631857795,"asset":"Number0","selectable":true,"left":157,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":146,"height":58.9065506147,"width":41.9068564391,"asset":"Number6","selectable":true,"left":204,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147,"height":20,"width":17.5,"asset":"Square","selectable":true,"left":122.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149,"height":20,"width":15.375,"asset":"Square","selectable":true,"left":203.6875,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":149,"height":20,"width":12.6875,"asset":"Square","selectable":true,"left":215,"fill":"#707070"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":140,"height":20,"width":6.671875,"asset":"Square","selectable":true,"left":215,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":251,"height":36.3997049479,"width":37.2713895716,"asset":"Teamplay","selectable":true,"left":157,"fill":"#707070"},{"opacity":1,"angle":-19.9406073279,"flipX":false,"flipY":false,"top":232,"height":41.6649606068,"width":19.5406061186,"asset":"Wing2","selectable":true,"left":126,"fill":"#707070"},{"opacity":1,"angle":14.603144692,"flipX":true,"flipY":false,"top":232,"height":41.6649606068,"width":19.5406061186,"asset":"Wing2","selectable":true,"left":187,"fill":"#707070"},{"opacity":1,"angle":-19.8727302354,"flipX":false,"flipY":false,"top":90,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":91,"fill":"#707070"},{"opacity":1,"angle":20.3909880086,"flipX":false,"flipY":false,"top":90,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":220,"fill":"#707070"},{"opacity":1,"angle":-8.956376127,"flipX":false,"flipY":false,"top":84,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":113,"fill":"#707070"},{"opacity":1,"angle":11.0174921203,"flipX":false,"flipY":false,"top":84,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":200,"fill":"#707070"},{"opacity":1,"angle":-5.5046222188,"flipX":false,"flipY":false,"top":81,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":135,"fill":"#707070"},{"opacity":1,"angle":4.8469320198,"flipX":false,"flipY":false,"top":81,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":178,"fill":"#707070"},{"opacity":1,"angle":-0.7185573112,"flipX":false,"flipY":false,"top":79,"height":13.4668040856,"width":14.2856864167,"asset":"KitCommander","selectable":true,"left":157,"fill":"#707070"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告