登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
16
圖層數
11
4 Star Ball
作者:
Aaron
»
代碼 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:'[{"angle":0,"left":160,"height":303.1111111111111,"flipX":false,"fill":"#f49012","opacity":1,"asset":"Circle","width":303.1111111111111,"top":160,"flipY":false},{"angle":0,"left":160,"height":303.1111111111111,"flipX":false,"fill":"#f05300","opacity":0.58,"asset":"Circle","width":303.1111111111111,"top":160,"flipY":false},{"angle":0,"left":167.735107421875,"height":248.7724405924479,"flipX":false,"fill":"#f49012","opacity":0.8300000000000001,"asset":"Circle","width":248.7724405924479,"top":177.77864583333334,"flipY":false},{"angle":0,"left":126.41243489583333,"height":131.27023654513889,"flipX":false,"fill":"#f05300","opacity":0.48,"asset":"Circle","width":176.15291341145834,"top":87.49955240885417,"flipY":false},{"angle":51.289903846325046,"left":96.79732259114583,"height":115.90152092848403,"flipX":false,"fill":"#ffffff","opacity":0.59,"asset":"Circle","width":55.90541215105358,"top":59.30577256944444,"flipY":false},{"angle":40.18635138396385,"left":72.03110758463542,"height":18.784038686631725,"flipX":false,"fill":"#ffffff","opacity":0.51,"asset":"Circle","width":9.898380127374484,"top":127.64889865451389,"flipY":false},{"angle":40.18635138396385,"left":38.55555555555556,"height":27.069006352345625,"flipX":false,"fill":"#ffffff","opacity":0.5700000000000001,"asset":"Circle","width":30.96451564195354,"top":121.33424207899306,"flipY":false},{"angle":0,"left":213.70576985677084,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.84,"asset":"Star","width":67.6685397313915,"top":121.33424207899306,"flipY":false},{"angle":0,"left":115.31910536024306,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.87,"asset":"Star","width":67.6685397313915,"top":202.0844251844618,"flipY":false},{"angle":0,"left":115.31910536024306,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.89,"asset":"Star","width":67.6685397313915,"top":121.33424207899306,"flipY":false},{"angle":0,"left":213.70576985677084,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.85,"asset":"Star","width":67.6685397313915,"top":202.0844251844618,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":160,"height":303.1111111111111,"flipX":false,"fill":"#f49012","opacity":1,"asset":"Circle","width":303.1111111111111,"top":160,"flipY":false},{"angle":0,"left":160,"height":303.1111111111111,"flipX":false,"fill":"#f05300","opacity":0.58,"asset":"Circle","width":303.1111111111111,"top":160,"flipY":false},{"angle":0,"left":167.735107421875,"height":248.7724405924479,"flipX":false,"fill":"#f49012","opacity":0.8300000000000001,"asset":"Circle","width":248.7724405924479,"top":177.77864583333334,"flipY":false},{"angle":0,"left":126.41243489583333,"height":131.27023654513889,"flipX":false,"fill":"#f05300","opacity":0.48,"asset":"Circle","width":176.15291341145834,"top":87.49955240885417,"flipY":false},{"angle":51.289903846325046,"left":96.79732259114583,"height":115.90152092848403,"flipX":false,"fill":"#ffffff","opacity":0.59,"asset":"Circle","width":55.90541215105358,"top":59.30577256944444,"flipY":false},{"angle":40.18635138396385,"left":72.03110758463542,"height":18.784038686631725,"flipX":false,"fill":"#ffffff","opacity":0.51,"asset":"Circle","width":9.898380127374484,"top":127.64889865451389,"flipY":false},{"angle":40.18635138396385,"left":38.55555555555556,"height":27.069006352345625,"flipX":false,"fill":"#ffffff","opacity":0.5700000000000001,"asset":"Circle","width":30.96451564195354,"top":121.33424207899306,"flipY":false},{"angle":0,"left":213.70576985677084,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.84,"asset":"Star","width":67.6685397313915,"top":121.33424207899306,"flipY":false},{"angle":0,"left":115.31910536024306,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.87,"asset":"Star","width":67.6685397313915,"top":202.0844251844618,"flipY":false},{"angle":0,"left":115.31910536024306,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.89,"asset":"Star","width":67.6685397313915,"top":121.33424207899306,"flipY":false},{"angle":0,"left":213.70576985677084,"height":64.35637617572655,"flipX":false,"fill":"#d80000","opacity":0.85,"asset":"Star","width":67.6685397313915,"top":202.0844251844618,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告