登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
23
圖層數
22
FEAR
作者:
bongwater27
代碼 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":209.5,"height":229,"width":32,"asset":"Stroke","selectable":false,"left":32,"fill":"#FFFFFF"},{"opacity":1,"angle":270.0141509175,"flipX":false,"flipY":false,"top":110.5,"height":229,"width":32,"asset":"Stroke","selectable":false,"left":131,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209.5,"height":229,"width":32,"asset":"Stroke","selectable":false,"left":32,"fill":"#FFFFFF"},{"opacity":1,"angle":270.0141509175,"flipX":false,"flipY":false,"top":180.4863546697,"height":118.502593169,"width":32,"asset":"Stroke","selectable":false,"left":91.7512982696,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":277,"height":88,"width":14,"asset":"Stroke","selectable":false,"left":89,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":240.1628326197,"height":45.4399037153,"width":14,"asset":"Stroke","selectable":false,"left":107.2228257157,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":313.1628326197,"height":45.4399037153,"width":14,"asset":"Stroke","selectable":false,"left":105.2228257157,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":275.0436744111,"height":31.4589836179,"width":14,"asset":"Stroke","selectable":false,"left":101.2333813162,"fill":"#FFFFFF"},{"opacity":1,"angle":22.5051344009,"flipX":false,"flipY":false,"top":277.0382119959,"height":97.1657143208,"width":13.1080884925,"asset":"Stroke","selectable":false,"left":152.3464211253,"fill":"#FFFFFF"},{"opacity":1,"angle":-26.1928105578,"flipX":false,"flipY":false,"top":278.4354844624,"height":100.2800596589,"width":13.1080884925,"asset":"Stroke","selectable":false,"left":188.0337466489,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":275.0436744111,"height":31.4589836179,"width":14,"asset":"Stroke","selectable":false,"left":169.2333813162,"fill":"#FFFFFF"},{"opacity":1,"angle":224.4078014919,"flipX":false,"flipY":false,"top":266.6925768349,"height":49.1279035484,"width":35.4113378183,"asset":"StrokeBent","selectable":false,"left":261.9336725824,"fill":"#FFFFFF"},{"opacity":1,"angle":-37.3406562243,"flipX":false,"flipY":false,"top":309.4729494115,"height":81.75709661650001,"width":13.4933039951,"asset":"Stroke","selectable":false,"left":275.8161732448,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":79.664921875,"height":33.32984375,"width":250,"asset":"Crown2","selectable":false,"left":134,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":234,"height":37.4206707207,"width":39.6961271597,"asset":"KitCommander","selectable":true,"left":169,"fill":"#FFFFFF"},{"opacity":1,"angle":270,"flipX":false,"flipY":true,"top":243,"height":39.2963954816,"width":162,"asset":"WeaponKnife","selectable":false,"left":220.1549164908,"fill":"#FFFFFF"},{"opacity":1,"angle":137.1382807494,"flipX":false,"flipY":false,"top":251.3991208115,"height":44.0706431053,"width":38.6307474168,"asset":"StrokeBent","selectable":false,"left":261.0833468962,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":true,"flipY":true,"top":240.8071217753,"height":48.596201245900005,"width":13.2917244344,"asset":"Stroke","selectable":false,"left":244.7016568223,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":276.0653944338,"height":42.976706665600005,"width":14,"asset":"Stroke","selectable":false,"left":245.50740929,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":257,"height":28,"width":14,"asset":"Stroke","selectable":false,"left":270,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":257,"height":18,"width":14,"asset":"Stroke","selectable":false,"left":273,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":257.266306268,"height":46.5212933368,"width":46.5212933368,"asset":"Longrange","selectable":false,"left":244.733693732,"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":209.5,"height":229,"width":32,"asset":"Stroke","selectable":false,"left":32,"fill":"#FFFFFF"},{"opacity":1,"angle":270.0141509175,"flipX":false,"flipY":false,"top":110.5,"height":229,"width":32,"asset":"Stroke","selectable":false,"left":131,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209.5,"height":229,"width":32,"asset":"Stroke","selectable":false,"left":32,"fill":"#FFFFFF"},{"opacity":1,"angle":270.0141509175,"flipX":false,"flipY":false,"top":180.4863546697,"height":118.502593169,"width":32,"asset":"Stroke","selectable":false,"left":91.7512982696,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":277,"height":88,"width":14,"asset":"Stroke","selectable":false,"left":89,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":240.1628326197,"height":45.4399037153,"width":14,"asset":"Stroke","selectable":false,"left":107.2228257157,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":313.1628326197,"height":45.4399037153,"width":14,"asset":"Stroke","selectable":false,"left":105.2228257157,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":275.0436744111,"height":31.4589836179,"width":14,"asset":"Stroke","selectable":false,"left":101.2333813162,"fill":"#FFFFFF"},{"opacity":1,"angle":22.5051344009,"flipX":false,"flipY":false,"top":277.0382119959,"height":97.1657143208,"width":13.1080884925,"asset":"Stroke","selectable":false,"left":152.3464211253,"fill":"#FFFFFF"},{"opacity":1,"angle":-26.1928105578,"flipX":false,"flipY":false,"top":278.4354844624,"height":100.2800596589,"width":13.1080884925,"asset":"Stroke","selectable":false,"left":188.0337466489,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":275.0436744111,"height":31.4589836179,"width":14,"asset":"Stroke","selectable":false,"left":169.2333813162,"fill":"#FFFFFF"},{"opacity":1,"angle":224.4078014919,"flipX":false,"flipY":false,"top":266.6925768349,"height":49.1279035484,"width":35.4113378183,"asset":"StrokeBent","selectable":false,"left":261.9336725824,"fill":"#FFFFFF"},{"opacity":1,"angle":-37.3406562243,"flipX":false,"flipY":false,"top":309.4729494115,"height":81.75709661650001,"width":13.4933039951,"asset":"Stroke","selectable":false,"left":275.8161732448,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":79.664921875,"height":33.32984375,"width":250,"asset":"Crown2","selectable":false,"left":134,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":234,"height":37.4206707207,"width":39.6961271597,"asset":"KitCommander","selectable":true,"left":169,"fill":"#FFFFFF"},{"opacity":1,"angle":270,"flipX":false,"flipY":true,"top":243,"height":39.2963954816,"width":162,"asset":"WeaponKnife","selectable":false,"left":220.1549164908,"fill":"#FFFFFF"},{"opacity":1,"angle":137.1382807494,"flipX":false,"flipY":false,"top":251.3991208115,"height":44.0706431053,"width":38.6307474168,"asset":"StrokeBent","selectable":false,"left":261.0833468962,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":true,"flipY":true,"top":240.8071217753,"height":48.596201245900005,"width":13.2917244344,"asset":"Stroke","selectable":false,"left":244.7016568223,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.0232984578,"flipX":false,"flipY":false,"top":276.0653944338,"height":42.976706665600005,"width":14,"asset":"Stroke","selectable":false,"left":245.50740929,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":257,"height":28,"width":14,"asset":"Stroke","selectable":false,"left":270,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":257,"height":18,"width":14,"asset":"Stroke","selectable":false,"left":273,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":257.266306268,"height":46.5212933368,"width":46.5212933368,"asset":"Longrange","selectable":false,"left":244.733693732,"fill":"#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告