登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
17
圖層數
15
Emblem 41912
作者:
HiB
代碼 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":160,"height":310,"width":307.0095068247,"asset":"Circle","selectable":false,"left":159.4997743083,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.0024509673,"height":303.9950980654,"width":300,"asset":"Circle","selectable":false,"left":159,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.2479369932,"height":302.4958739863,"width":304.4958739863,"asset":"Circle","selectable":false,"left":159.2479369932,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.5022638603,"height":283.0045277207,"width":281.9882391673,"asset":"Circle","selectable":false,"left":160.010408137,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.9818476652,"height":283.0280526423,"width":284.8993380183,"asset":"Circle","selectable":false,"left":160.0462049772,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.9509792817,"height":271.0897894092,"width":272.4958739863,"asset":"Circle","selectable":false,"left":160.2479369932,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.4880444019,"height":269.0239111961,"width":275.0244445314,"asset":"Circle","selectable":false,"left":160.5122222657,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162,"height":100,"width":17,"asset":"Stroke","selectable":true,"left":69.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162,"height":100,"width":18,"asset":"Stroke","selectable":true,"left":128,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.8306429332,"flipX":false,"flipY":false,"top":162.4970398103,"height":73.9996767319,"width":18.9999169987,"asset":"Stroke","selectable":true,"left":99.9985308264,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.5,"height":73,"width":17,"asset":"Stroke","selectable":true,"left":164.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":118,"height":14,"width":15,"asset":"Stroke","selectable":true,"left":163.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":164,"height":100,"width":18,"asset":"Stroke","selectable":true,"left":201,"fill":"#FFFFFF"},{"opacity":1,"angle":180.5149860043,"flipX":false,"flipY":false,"top":140.5800178411,"height":55.1865280389,"width":60.8125750767,"asset":"StrokeBent","selectable":true,"left":222.4023023502,"fill":"#FFFFFF"},{"opacity":1,"angle":-0.3742988845,"flipX":true,"flipY":false,"top":187.4548270869,"height":53.1017200491,"width":62.6507519078,"asset":"StrokeBent","selectable":true,"left":224.0915405804,"fill":"#FFFFFF"}]'},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":160,"height":310,"width":307.0095068247,"asset":"Circle","selectable":false,"left":159.4997743083,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.0024509673,"height":303.9950980654,"width":300,"asset":"Circle","selectable":false,"left":159,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.2479369932,"height":302.4958739863,"width":304.4958739863,"asset":"Circle","selectable":false,"left":159.2479369932,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.5022638603,"height":283.0045277207,"width":281.9882391673,"asset":"Circle","selectable":false,"left":160.010408137,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.9818476652,"height":283.0280526423,"width":284.8993380183,"asset":"Circle","selectable":false,"left":160.0462049772,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.9509792817,"height":271.0897894092,"width":272.4958739863,"asset":"Circle","selectable":false,"left":160.2479369932,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.4880444019,"height":269.0239111961,"width":275.0244445314,"asset":"Circle","selectable":false,"left":160.5122222657,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162,"height":100,"width":17,"asset":"Stroke","selectable":true,"left":69.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162,"height":100,"width":18,"asset":"Stroke","selectable":true,"left":128,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.8306429332,"flipX":false,"flipY":false,"top":162.4970398103,"height":73.9996767319,"width":18.9999169987,"asset":"Stroke","selectable":true,"left":99.9985308264,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.5,"height":73,"width":17,"asset":"Stroke","selectable":true,"left":164.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":118,"height":14,"width":15,"asset":"Stroke","selectable":true,"left":163.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":164,"height":100,"width":18,"asset":"Stroke","selectable":true,"left":201,"fill":"#FFFFFF"},{"opacity":1,"angle":180.5149860043,"flipX":false,"flipY":false,"top":140.5800178411,"height":55.1865280389,"width":60.8125750767,"asset":"StrokeBent","selectable":true,"left":222.4023023502,"fill":"#FFFFFF"},{"opacity":1,"angle":-0.3742988845,"flipX":true,"flipY":false,"top":187.4548270869,"height":53.1017200491,"width":62.6507519078,"asset":"StrokeBent","selectable":true,"left":224.0915405804,"fill":"#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告