登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
30
Smoke
作者:
Fabio Costa
»
代碼 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":98.62982562062719,"height":25.995194079181157,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":28.548495933515685,"top":166.33021983876125,"flipY":false},{"angle":240.25727984279993,"left":44.13538374116555,"height":10.686617019367795,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":10.864775828058164,"top":256.6352949532975,"flipY":false},{"angle":-240.25727984279993,"left":259.01054799872145,"height":15.818237410695103,"flipX":true,"fill":"#575757","opacity":1,"asset":"Triangle","width":15.778866231878176,"top":254.53279823844858,"flipY":false},{"angle":0,"left":206.62996768121604,"height":25.995194079181157,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":28.503036545086466,"top":164.42092552473633,"flipY":false},{"angle":0,"left":151.54455375217532,"height":7.63641874411783,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":27.843875412863603,"top":255.2487836062081,"flipY":false},{"angle":0,"left":152.7264978513336,"height":24.631412426306213,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":24.631412426306213,"top":223.1885499165395,"flipY":true},{"angle":0,"left":152.95379479347943,"height":24.631412426306213,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":24.631412426306213,"top":61.580424050857715,"flipY":false},{"angle":232.2446059101981,"left":189.7758994211031,"height":15.38433514809491,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":14.701170213802131,"top":158.6362183471251,"flipY":true},{"angle":244.68702136902107,"left":189.7758994211031,"height":17.70582161356344,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":16.9195675218013,"top":156.81784280995845,"flipY":true},{"angle":-243.28491610176658,"left":115.90439322370989,"height":15.328992565137852,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":15.328992565137852,"top":156.81784280995845,"flipY":true},{"angle":238.64997686938463,"left":108.40359413289768,"height":15.328992565137852,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":15.328992565137852,"top":138.86138438043824,"flipY":false},{"angle":-241.14662874533187,"left":194.09454132187383,"height":15.328992565137852,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":15.328992565137852,"top":138.63408743829243,"flipY":false},{"angle":269.7806172231687,"left":152.7264978513336,"height":68.53146757031635,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":13.439401972494181,"top":160,"flipY":false},{"angle":269.7806172231687,"left":152.49920090918775,"height":78.06916609168746,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":13.439401972494181,"top":135.22463330610503,"flipY":false},{"angle":28.677509252416606,"left":171.3648471072913,"height":57.526804480160415,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":9.799849178434647,"top":189.54860247895732,"flipY":false},{"angle":28.677509252416606,"left":132.04247611606348,"height":82.44721280990673,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":9.799849178434647,"top":99.31171644706468,"flipY":false},{"angle":333.32664310909297,"left":166.8189082643747,"height":44.35820620704574,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":11.918521273449889,"top":90.44713570337751,"flipY":false},{"angle":-28.677509252416606,"left":139.77057214902158,"height":32.71050448699667,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":9.799849178434647,"top":199.7769648755194,"flipY":false},{"angle":308.32966946666573,"left":128.63302198387612,"height":12.294470672637198,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"PlayerMarker","width":11.577364170055917,"top":183.63888198316587,"flipY":false},{"angle":133.20373933376436,"left":181.36591256170757,"height":15.068583692027866,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"PlayerMarker","width":12.447968630688072,"top":113.17682991795999,"flipY":false},{"angle":89.59477810785889,"left":217.6084099868594,"height":67.29224799561861,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":10.117222428497577,"top":252.85080086656947,"flipY":false},{"angle":89.59477810785889,"left":80.946123521682,"height":67.29224799561861,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":10.117222428497577,"top":253.69179955250902,"flipY":false},{"angle":28.84167404318294,"left":75.4796320630749,"height":99.57001451795294,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":15.368401371816999,"top":210.80086656959182,"flipY":false},{"angle":331.899782657341,"left":121.31406044678056,"height":99.57001451795294,"flipX":true,"fill":"#575757","opacity":1,"asset":"Stroke","width":15.535332647280566,"top":212.06236459850115,"flipY":false},{"angle":28.33236758332574,"left":182.28646517739818,"height":100.25385423746822,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":14.363842680804726,"top":211.64186525553137,"flipY":false},{"angle":-28.33236758332574,"left":229.38239159001316,"height":100.25385423746823,"flipX":true,"fill":"#575757","opacity":1,"asset":"Stroke","width":15.257143254543909,"top":209.1188691977127,"flipY":false},{"angle":60.66720105333455,"left":116.68856767411302,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":252.93035479632064,"flipY":false},{"angle":73.00832094648275,"left":117.1090670170828,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":250.82785808147176,"flipY":false},{"angle":312.5668601541707,"left":182.70696452036796,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":251.6688567674113,"flipY":false},{"angle":289.81538108397024,"left":183.9684625492773,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":249.9868593955322,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":98.62982562062719,"height":25.995194079181157,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":28.548495933515685,"top":166.33021983876125,"flipY":false},{"angle":240.25727984279993,"left":44.13538374116555,"height":10.686617019367795,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":10.864775828058164,"top":256.6352949532975,"flipY":false},{"angle":-240.25727984279993,"left":259.01054799872145,"height":15.818237410695103,"flipX":true,"fill":"#575757","opacity":1,"asset":"Triangle","width":15.778866231878176,"top":254.53279823844858,"flipY":false},{"angle":0,"left":206.62996768121604,"height":25.995194079181157,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":28.503036545086466,"top":164.42092552473633,"flipY":false},{"angle":0,"left":151.54455375217532,"height":7.63641874411783,"flipX":false,"fill":"#575757","opacity":1,"asset":"Triangle","width":27.843875412863603,"top":255.2487836062081,"flipY":false},{"angle":0,"left":152.7264978513336,"height":24.631412426306213,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":24.631412426306213,"top":223.1885499165395,"flipY":true},{"angle":0,"left":152.95379479347943,"height":24.631412426306213,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":24.631412426306213,"top":61.580424050857715,"flipY":false},{"angle":232.2446059101981,"left":189.7758994211031,"height":15.38433514809491,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":14.701170213802131,"top":158.6362183471251,"flipY":true},{"angle":244.68702136902107,"left":189.7758994211031,"height":17.70582161356344,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":16.9195675218013,"top":156.81784280995845,"flipY":true},{"angle":-243.28491610176658,"left":115.90439322370989,"height":15.328992565137852,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":15.328992565137852,"top":156.81784280995845,"flipY":true},{"angle":238.64997686938463,"left":108.40359413289768,"height":15.328992565137852,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":15.328992565137852,"top":138.86138438043824,"flipY":false},{"angle":-241.14662874533187,"left":194.09454132187383,"height":15.328992565137852,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Triangle","width":15.328992565137852,"top":138.63408743829243,"flipY":false},{"angle":269.7806172231687,"left":152.7264978513336,"height":68.53146757031635,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":13.439401972494181,"top":160,"flipY":false},{"angle":269.7806172231687,"left":152.49920090918775,"height":78.06916609168746,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":13.439401972494181,"top":135.22463330610503,"flipY":false},{"angle":28.677509252416606,"left":171.3648471072913,"height":57.526804480160415,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":9.799849178434647,"top":189.54860247895732,"flipY":false},{"angle":28.677509252416606,"left":132.04247611606348,"height":82.44721280990673,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":9.799849178434647,"top":99.31171644706468,"flipY":false},{"angle":333.32664310909297,"left":166.8189082643747,"height":44.35820620704574,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":11.918521273449889,"top":90.44713570337751,"flipY":false},{"angle":-28.677509252416606,"left":139.77057214902158,"height":32.71050448699667,"flipX":true,"fill":"#5e9a0f","opacity":1,"asset":"Stroke","width":9.799849178434647,"top":199.7769648755194,"flipY":false},{"angle":308.32966946666573,"left":128.63302198387612,"height":12.294470672637198,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"PlayerMarker","width":11.577364170055917,"top":183.63888198316587,"flipY":false},{"angle":133.20373933376436,"left":181.36591256170757,"height":15.068583692027866,"flipX":false,"fill":"#5e9a0f","opacity":1,"asset":"PlayerMarker","width":12.447968630688072,"top":113.17682991795999,"flipY":false},{"angle":89.59477810785889,"left":217.6084099868594,"height":67.29224799561861,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":10.117222428497577,"top":252.85080086656947,"flipY":false},{"angle":89.59477810785889,"left":80.946123521682,"height":67.29224799561861,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":10.117222428497577,"top":253.69179955250902,"flipY":false},{"angle":28.84167404318294,"left":75.4796320630749,"height":99.57001451795294,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":15.368401371816999,"top":210.80086656959182,"flipY":false},{"angle":331.899782657341,"left":121.31406044678056,"height":99.57001451795294,"flipX":true,"fill":"#575757","opacity":1,"asset":"Stroke","width":15.535332647280566,"top":212.06236459850115,"flipY":false},{"angle":28.33236758332574,"left":182.28646517739818,"height":100.25385423746822,"flipX":false,"fill":"#575757","opacity":1,"asset":"Stroke","width":14.363842680804726,"top":211.64186525553137,"flipY":false},{"angle":-28.33236758332574,"left":229.38239159001316,"height":100.25385423746823,"flipX":true,"fill":"#575757","opacity":1,"asset":"Stroke","width":15.257143254543909,"top":209.1188691977127,"flipY":false},{"angle":60.66720105333455,"left":116.68856767411302,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":252.93035479632064,"flipY":false},{"angle":73.00832094648275,"left":117.1090670170828,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":250.82785808147176,"flipY":false},{"angle":312.5668601541707,"left":182.70696452036796,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":251.6688567674113,"flipY":false},{"angle":289.81538108397024,"left":183.9684625492773,"height":10.199133475861494,"flipX":false,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":8.42537667524073,"top":249.9868593955322,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告