登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
53
圖層數
12
Luna cutie mark
作者:
Alienpope
»
代碼 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":202.0270146466,"height":835.4922671053,"width":835.4922671053,"asset":"Circle","selectable":false,"left":168.9729853534,"fill":"#1B2F6A"},{"opacity":1,"angle":43.7092788506,"flipX":false,"flipY":false,"top":105,"height":104,"width":92.9648241206,"asset":"Circle","selectable":true,"left":121.4824120603,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":-6,"height":100,"width":100,"asset":"Circle","selectable":true,"left":134,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":47.4006516488,"height":63.1986967024,"width":59,"asset":"Circle","selectable":true,"left":119.5,"fill":"#000000"},{"opacity":1,"angle":-47.4574202321,"flipX":false,"flipY":false,"top":156.5762540689,"height":100,"width":95.1520010602,"asset":"Circle","selectable":true,"left":13.3127661807,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":115,"height":98,"width":100,"asset":"Circle","selectable":true,"left":63,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":45.8084463807,"height":163.6168927614,"width":163.6168927614,"asset":"Circle","selectable":false,"left":20.8084463807,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220.3869346734,"height":45.2261306533,"width":45.2261306533,"asset":"Circle","selectable":true,"left":77.3869346734,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":216.0503012224,"height":25.8993975552,"width":25.8993975552,"asset":"Circle","selectable":true,"left":98.7235681243,"fill":"#000000"},{"opacity":1,"angle":-33.2245337946,"flipX":false,"flipY":false,"top":237.3869346734,"height":45.2261306533,"width":56.2261306533,"asset":"Circle","selectable":true,"left":-10.1130653266,"fill":"#000000"},{"opacity":1,"angle":48.190891101,"flipX":false,"flipY":false,"top":63.7215042759,"height":92.8416113784,"width":75.3329469565,"asset":"Circle","selectable":true,"left":57.1981110552,"fill":"#BCCCDB"},{"opacity":1,"angle":54.7461129478,"flipX":false,"flipY":false,"top":48.8236223998,"height":57.787205943,"width":49.2604868364,"asset":"Circle","selectable":true,"left":78.6555592796,"fill":"#000000"}]'},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":202.0270146466,"height":835.4922671053,"width":835.4922671053,"asset":"Circle","selectable":false,"left":168.9729853534,"fill":"#1B2F6A"},{"opacity":1,"angle":43.7092788506,"flipX":false,"flipY":false,"top":105,"height":104,"width":92.9648241206,"asset":"Circle","selectable":true,"left":121.4824120603,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":-6,"height":100,"width":100,"asset":"Circle","selectable":true,"left":134,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":47.4006516488,"height":63.1986967024,"width":59,"asset":"Circle","selectable":true,"left":119.5,"fill":"#000000"},{"opacity":1,"angle":-47.4574202321,"flipX":false,"flipY":false,"top":156.5762540689,"height":100,"width":95.1520010602,"asset":"Circle","selectable":true,"left":13.3127661807,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":115,"height":98,"width":100,"asset":"Circle","selectable":true,"left":63,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":45.8084463807,"height":163.6168927614,"width":163.6168927614,"asset":"Circle","selectable":false,"left":20.8084463807,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220.3869346734,"height":45.2261306533,"width":45.2261306533,"asset":"Circle","selectable":true,"left":77.3869346734,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":216.0503012224,"height":25.8993975552,"width":25.8993975552,"asset":"Circle","selectable":true,"left":98.7235681243,"fill":"#000000"},{"opacity":1,"angle":-33.2245337946,"flipX":false,"flipY":false,"top":237.3869346734,"height":45.2261306533,"width":56.2261306533,"asset":"Circle","selectable":true,"left":-10.1130653266,"fill":"#000000"},{"opacity":1,"angle":48.190891101,"flipX":false,"flipY":false,"top":63.7215042759,"height":92.8416113784,"width":75.3329469565,"asset":"Circle","selectable":true,"left":57.1981110552,"fill":"#BCCCDB"},{"opacity":1,"angle":54.7461129478,"flipX":false,"flipY":false,"top":48.8236223998,"height":57.787205943,"width":49.2604868364,"asset":"Circle","selectable":true,"left":78.6555592796,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告