登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
9
圖層數
14
Christmas tree
作者:
UKE_DAN_JOE
代碼 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":263.5,"left":155,"height":111.66998291015625,"width":34.49999999999999,"asset":"Square","fill":"#783f04","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.54,"left":156.54,"height":126.913557242084,"width":266.0899829101563,"asset":"Triangle","fill":"#33ad33","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":134.78,"left":153.78,"height":107.01260811172044,"width":233.26995605468755,"asset":"Triangle","fill":"#33ad33","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":89.0275,"left":155.0275,"height":79.58500183105468,"width":182.4618847620291,"asset":"Triangle","fill":"#33ad33","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.225,"left":156.0625,"height":71.45,"width":75.1265032529408,"asset":"Star","fill":"#eaea34","selectable":false},{"opacity":1,"angle":-43.884405938609305,"flipX":false,"flipY":false,"top":143.19,"left":164.3525,"height":153.658067539072,"width":22.063257181527675,"asset":"Wreath","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":109.6625,"left":187.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#e2e247","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":151.6625,"left":105.6625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#e2e247","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":94.6625,"left":134.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#0000ff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":221.1625,"left":98.6625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":226.6625,"left":204.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":58.44074795657236,"flipX":true,"flipY":false,"top":151.4525,"left":158,"height":167.83528275153304,"width":15.830017089843751,"asset":"Wreath2","fill":"#0000ff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":163.1625,"left":213.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93.3325,"left":174.6675,"height":12.66998291015625,"width":13.335508111863962,"asset":"MedalFrame","fill":"#e4e464","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":263.5,"left":155,"height":111.66998291015625,"width":34.49999999999999,"asset":"Square","fill":"#783f04","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.54,"left":156.54,"height":126.913557242084,"width":266.0899829101563,"asset":"Triangle","fill":"#33ad33","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":134.78,"left":153.78,"height":107.01260811172044,"width":233.26995605468755,"asset":"Triangle","fill":"#33ad33","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":89.0275,"left":155.0275,"height":79.58500183105468,"width":182.4618847620291,"asset":"Triangle","fill":"#33ad33","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.225,"left":156.0625,"height":71.45,"width":75.1265032529408,"asset":"Star","fill":"#eaea34","selectable":false},{"opacity":1,"angle":-43.884405938609305,"flipX":false,"flipY":false,"top":143.19,"left":164.3525,"height":153.658067539072,"width":22.063257181527675,"asset":"Wreath","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":109.6625,"left":187.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#e2e247","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":151.6625,"left":105.6625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#e2e247","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":94.6625,"left":134.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#0000ff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":221.1625,"left":98.6625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":226.6625,"left":204.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":58.44074795657236,"flipX":true,"flipY":false,"top":151.4525,"left":158,"height":167.83528275153304,"width":15.830017089843751,"asset":"Wreath2","fill":"#0000ff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":163.1625,"left":213.1625,"height":13.329986572265625,"width":13.329986572265625,"asset":"Circle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93.3325,"left":174.6675,"height":12.66998291015625,"width":13.335508111863962,"asset":"MedalFrame","fill":"#e4e464","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告