登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
208
圖層數
10
胡桃のオバケ
作者:
shirasagi
»
代碼 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":0.5,"angle":17.524989794111235,"flipX":false,"flipY":false,"top":269.8992577049237,"height":461.4895272161249,"width":348.68785657704376,"asset":"Circle","selectable":false,"left":93.31165279537879,"fill":"#FFFFFF"},{"opacity":1,"angle":349.23393424441474,"flipX":false,"flipY":false,"top":135.96191411505578,"height":8.959435304139042,"width":78.37411936325178,"asset":"Emblem71","selectable":true,"left":95.08155058171465,"fill":"#D63C17"},{"opacity":1,"angle":349.23393424441474,"flipX":false,"flipY":false,"top":144.71191411505578,"height":8.959435304139042,"width":78.37411936325178,"asset":"Emblem71","selectable":true,"left":90.70655058171465,"fill":"#D63C17"},{"opacity":1,"angle":57.66302624888417,"flipX":false,"flipY":false,"top":190.44643896032358,"height":8.959435304139042,"width":65.31845531802816,"asset":"Emblem71","selectable":true,"left":234.71482826558332,"fill":"#D63C17"},{"opacity":1,"angle":57.66302624888417,"flipX":false,"flipY":false,"top":201.07143896032358,"height":8.959435304139042,"width":65.31845531802816,"asset":"Emblem71","selectable":true,"left":232.21482826558332,"fill":"#D63C17"},{"opacity":1,"angle":16.056116430844405,"flipX":false,"flipY":false,"top":212.0589601019593,"height":56.19372897808799,"width":94.18595710428728,"asset":"Eye2","selectable":true,"left":159.8144337660735,"fill":"#EC6B44"},{"opacity":1,"angle":261.3598715648598,"flipX":false,"flipY":false,"top":193.80669034499044,"height":42.34752581595785,"width":31.467410218156857,"asset":"Shield6","selectable":true,"left":133.655635009808,"fill":"#EC6B44"},{"opacity":1,"angle":273.53670429886404,"flipX":false,"flipY":false,"top":196.30669034499044,"height":42.34752581595785,"width":31.467410218156857,"asset":"Shield6","selectable":true,"left":150.530635009808,"fill":"#EC6B44"},{"opacity":1,"angle":138.49289954685972,"flipX":false,"flipY":false,"top":208.54114549904241,"height":52.41248318676348,"width":31.153886931568167,"asset":"Shield6","selectable":true,"left":184.12394665021202,"fill":"#EC6B44"},{"opacity":0.3,"angle":186.03071711790972,"flipX":false,"flipY":false,"top":185.92393486077222,"height":12.18654376776179,"width":19.57031444267683,"asset":"Triangle","selectable":true,"left":140.44878305432064,"fill":"#FFFFFF"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":varrequest=newXMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){vare=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":0.5,"angle":17.524989794111235,"flipX":false,"flipY":false,"top":269.8992577049237,"height":461.4895272161249,"width":348.68785657704376,"asset":"Circle","selectable":false,"left":93.31165279537879,"fill":"#FFFFFF"},{"opacity":1,"angle":349.23393424441474,"flipX":false,"flipY":false,"top":135.96191411505578,"height":8.959435304139042,"width":78.37411936325178,"asset":"Emblem71","selectable":true,"left":95.08155058171465,"fill":"#D63C17"},{"opacity":1,"angle":349.23393424441474,"flipX":false,"flipY":false,"top":144.71191411505578,"height":8.959435304139042,"width":78.37411936325178,"asset":"Emblem71","selectable":true,"left":90.70655058171465,"fill":"#D63C17"},{"opacity":1,"angle":57.66302624888417,"flipX":false,"flipY":false,"top":190.44643896032358,"height":8.959435304139042,"width":65.31845531802816,"asset":"Emblem71","selectable":true,"left":234.71482826558332,"fill":"#D63C17"},{"opacity":1,"angle":57.66302624888417,"flipX":false,"flipY":false,"top":201.07143896032358,"height":8.959435304139042,"width":65.31845531802816,"asset":"Emblem71","selectable":true,"left":232.21482826558332,"fill":"#D63C17"},{"opacity":1,"angle":16.056116430844405,"flipX":false,"flipY":false,"top":212.0589601019593,"height":56.19372897808799,"width":94.18595710428728,"asset":"Eye2","selectable":true,"left":159.8144337660735,"fill":"#EC6B44"},{"opacity":1,"angle":261.3598715648598,"flipX":false,"flipY":false,"top":193.80669034499044,"height":42.34752581595785,"width":31.467410218156857,"asset":"Shield6","selectable":true,"left":133.655635009808,"fill":"#EC6B44"},{"opacity":1,"angle":273.53670429886404,"flipX":false,"flipY":false,"top":196.30669034499044,"height":42.34752581595785,"width":31.467410218156857,"asset":"Shield6","selectable":true,"left":150.530635009808,"fill":"#EC6B44"},{"opacity":1,"angle":138.49289954685972,"flipX":false,"flipY":false,"top":208.54114549904241,"height":52.41248318676348,"width":31.153886931568167,"asset":"Shield6","selectable":true,"left":184.12394665021202,"fill":"#EC6B44"},{"opacity":0.3,"angle":186.03071711790972,"flipX":false,"flipY":false,"top":185.92393486077222,"height":12.18654376776179,"width":19.57031444267683,"asset":"Triangle","selectable":true,"left":140.44878305432064,"fill":"#FFFFFF"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告