登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
45
圖層數
40
17
作者:
lexi jay
»
代碼 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:'[{"asset":"StrokeBent","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":125.4445518674,"left":42.1577066712,"height":362.8431267232,"width":142.7114318279,"fill":"#000000"},{"asset":"Wing3","opacity":1,"angle":161.9770914371,"flipX":true,"flipY":false,"top":274.854738301,"left":38.9361579687,"height":512.6959465556,"width":93.0284529525,"fill":"#000000"},{"asset":"Wingpart","opacity":1,"angle":96.5933786311,"flipX":true,"flipY":false,"top":166.7040584509,"left":12.7122291806,"height":89.6339278638,"width":145.2565917977,"fill":"#FFFFFF"},{"asset":"Shield5","opacity":1,"angle":9.0275317335,"flipX":false,"flipY":false,"top":182.6551366062,"left":218.721411156,"height":426.6437497762,"width":434.3132121707,"fill":"#FFFFFF"},{"asset":"Clubs","opacity":1,"angle":321.1055555252,"flipX":false,"flipY":true,"top":160.63391700429779,"left":-25.23911666690418,"height":90.46714074046105,"width":86.7677903519,"fill":"#A0A0A0"},{"asset":"StrokeBent","opacity":1,"angle":177.24529009998562,"flipX":false,"flipY":false,"top":174.4992610709034,"left":6.216492163699684,"height":35.11156744459126,"width":6.223620819300659,"fill":"#000000"},{"asset":"Wing1","opacity":1,"angle":97.1320188011873,"flipX":true,"flipY":false,"top":-110.73618979420002,"left":291.5954486190001,"height":358.6476596337001,"width":363.34744105620007,"fill":"#000000"},{"asset":"Wing1","opacity":1,"angle":330.9511930304,"flipX":false,"flipY":false,"top":130.2323436758,"left":101.3877495284,"height":115.3130040693,"width":82.4603802606,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":188.3742873664,"flipX":false,"flipY":false,"top":98.0034087992,"left":126.6084386046,"height":150.7759129152,"width":115.74042799240002,"fill":"#FFFFFF"},{"asset":"StrokeBent","opacity":1,"angle":14.24265464,"flipX":false,"flipY":false,"top":84.2473763132,"left":82.7617051416,"height":136.6330439318,"width":41.3546802868,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":93.5776745579,"flipX":false,"flipY":false,"top":37.6763195284,"left":132.0488751326,"height":97.8535614856,"width":48.294189078,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":118.2741145122,"flipX":false,"flipY":false,"top":86.9466608341,"left":367.5182205355,"height":96.073875476,"width":51.7812031843,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":276.6206893841,"flipX":false,"flipY":false,"top":167.5323805072,"left":120.2230480118,"height":58.4425106047,"width":9.2649066148,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":106.50034548955443,"flipX":false,"flipY":false,"top":13.227466185799983,"left":157.7457951898,"height":46.6167632161,"width":6.244734104200001,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":103.6675976653,"left":128.9056110574,"height":114.61882765780001,"width":67.7652451033,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":103.5586066513,"left":129.3366737635,"height":113.9087768037,"width":60.659430752999995,"fill":"#555555"},{"asset":"Circle","opacity":1,"angle":8.3705109917,"flipX":false,"flipY":false,"top":105.0873211299,"left":129.2660123894,"height":43.0567173722,"width":19.9766308115,"fill":"#000000"},{"asset":"Circle","opacity":0.39,"angle":7.4555572061,"flipX":false,"flipY":false,"top":132.3432365571,"left":125.7301098248,"height":53.81414999889999,"width":45.112572218,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":307.4394940175,"flipX":false,"flipY":false,"top":66.5867412427,"left":115.832078917,"height":18.1786881195,"width":19.3648655427,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":330.3783817244,"flipX":false,"flipY":false,"top":149.3935430708,"left":143.1517485143,"height":18.1786881195,"width":7.2569878282,"fill":"#FFFFFF"},{"asset":"StrokeBent","opacity":1,"angle":286.091690887,"flipX":false,"flipY":false,"top":209.3351191085,"left":333.7256016518,"height":60.877659239,"width":11.2363797307,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":112.93339262351546,"flipX":false,"flipY":false,"top":23.537838385974133,"left":153.09702158924088,"height":58.457973516220065,"width":14.435951635633492,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":149.6675976653,"left":342.9056110574,"height":114.61882765780001,"width":67.7652451033,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":153.6675976653,"left":345.9056110574,"height":114.61882765780001,"width":67.7652451033,"fill":"#555555"},{"asset":"Circle","opacity":0.39,"angle":7.4555572061,"flipX":false,"flipY":false,"top":182.3432365571,"left":339.7301098248,"height":53.81414999889999,"width":45.112572218,"fill":"#FFFFFF"},{"asset":"Dogtag","opacity":1,"angle":6.933917592916304,"flipX":true,"flipY":false,"top":326.4497884659,"left":193.49621076649998,"height":43.7392313472,"width":122.9913725777,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":367.964698011,"flipX":false,"flipY":false,"top":326.71805100700595,"left":196.91811044174085,"height":30.102236228033963,"width":114.76183020363717,"fill":"#A0A0A0"},{"asset":"Flag","opacity":1,"angle":9.157671616868546,"flipX":false,"flipY":true,"top":291.26535317754934,"left":201.48837793801442,"height":35.180425917399994,"width":119.44661138618355,"fill":"#FFFFFF"},{"asset":"Heart","opacity":1,"angle":93.0410938132,"flipX":false,"flipY":false,"top":230.4892295007,"left":211.25405480489997,"height":3.183906827,"width":5.0013145887,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":80.2513960514,"flipX":false,"flipY":false,"top":-51.2749918524,"left":162.6576310712,"height":342.2769285517,"width":220.8336049568,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":522.8341884663347,"flipX":false,"flipY":false,"top":148.4821537751889,"left":27.835790981323264,"height":99.37565873228506,"width":12.908749549653944,"fill":"#000000"},{"asset":"Wing1","opacity":1,"angle":192.4188037333,"flipX":true,"flipY":false,"top":28.1197622965,"left":48.5702415751,"height":167.6310396296,"width":48.53187488980001,"fill":"#FFFFFF"},{"asset":"Stroke","opacity":1,"angle":338.1481713463,"flipX":false,"flipY":false,"top":175.7444443518,"left":52.4762703606,"height":58.79328248649999,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":184.0739518465,"left":66.0521844411,"height":50.92909183,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":188.7398147993,"left":79.4744440806,"height":58.79328248649999,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":206.1000019399,"left":130.0622912009,"height":50.9849757796,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":195.8348534417,"left":97.9594204683,"height":50.416166097200005,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":205.7398147993,"left":114.4744440806,"height":58.79328248649999,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":205.0065611233,"left":143.0697010382,"height":38.9137995933,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":241.2157528245,"left":315.7027581243,"height":29.8840332124,"width":1.28,"fill":"#A0A0A0"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"StrokeBent","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":125.4445518674,"left":42.1577066712,"height":362.8431267232,"width":142.7114318279,"fill":"#000000"},{"asset":"Wing3","opacity":1,"angle":161.9770914371,"flipX":true,"flipY":false,"top":274.854738301,"left":38.9361579687,"height":512.6959465556,"width":93.0284529525,"fill":"#000000"},{"asset":"Wingpart","opacity":1,"angle":96.5933786311,"flipX":true,"flipY":false,"top":166.7040584509,"left":12.7122291806,"height":89.6339278638,"width":145.2565917977,"fill":"#FFFFFF"},{"asset":"Shield5","opacity":1,"angle":9.0275317335,"flipX":false,"flipY":false,"top":182.6551366062,"left":218.721411156,"height":426.6437497762,"width":434.3132121707,"fill":"#FFFFFF"},{"asset":"Clubs","opacity":1,"angle":321.1055555252,"flipX":false,"flipY":true,"top":160.63391700429779,"left":-25.23911666690418,"height":90.46714074046105,"width":86.7677903519,"fill":"#A0A0A0"},{"asset":"StrokeBent","opacity":1,"angle":177.24529009998562,"flipX":false,"flipY":false,"top":174.4992610709034,"left":6.216492163699684,"height":35.11156744459126,"width":6.223620819300659,"fill":"#000000"},{"asset":"Wing1","opacity":1,"angle":97.1320188011873,"flipX":true,"flipY":false,"top":-110.73618979420002,"left":291.5954486190001,"height":358.6476596337001,"width":363.34744105620007,"fill":"#000000"},{"asset":"Wing1","opacity":1,"angle":330.9511930304,"flipX":false,"flipY":false,"top":130.2323436758,"left":101.3877495284,"height":115.3130040693,"width":82.4603802606,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":188.3742873664,"flipX":false,"flipY":false,"top":98.0034087992,"left":126.6084386046,"height":150.7759129152,"width":115.74042799240002,"fill":"#FFFFFF"},{"asset":"StrokeBent","opacity":1,"angle":14.24265464,"flipX":false,"flipY":false,"top":84.2473763132,"left":82.7617051416,"height":136.6330439318,"width":41.3546802868,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":93.5776745579,"flipX":false,"flipY":false,"top":37.6763195284,"left":132.0488751326,"height":97.8535614856,"width":48.294189078,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":118.2741145122,"flipX":false,"flipY":false,"top":86.9466608341,"left":367.5182205355,"height":96.073875476,"width":51.7812031843,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":276.6206893841,"flipX":false,"flipY":false,"top":167.5323805072,"left":120.2230480118,"height":58.4425106047,"width":9.2649066148,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":106.50034548955443,"flipX":false,"flipY":false,"top":13.227466185799983,"left":157.7457951898,"height":46.6167632161,"width":6.244734104200001,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":103.6675976653,"left":128.9056110574,"height":114.61882765780001,"width":67.7652451033,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":103.5586066513,"left":129.3366737635,"height":113.9087768037,"width":60.659430752999995,"fill":"#555555"},{"asset":"Circle","opacity":1,"angle":8.3705109917,"flipX":false,"flipY":false,"top":105.0873211299,"left":129.2660123894,"height":43.0567173722,"width":19.9766308115,"fill":"#000000"},{"asset":"Circle","opacity":0.39,"angle":7.4555572061,"flipX":false,"flipY":false,"top":132.3432365571,"left":125.7301098248,"height":53.81414999889999,"width":45.112572218,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":307.4394940175,"flipX":false,"flipY":false,"top":66.5867412427,"left":115.832078917,"height":18.1786881195,"width":19.3648655427,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":330.3783817244,"flipX":false,"flipY":false,"top":149.3935430708,"left":143.1517485143,"height":18.1786881195,"width":7.2569878282,"fill":"#FFFFFF"},{"asset":"StrokeBent","opacity":1,"angle":286.091690887,"flipX":false,"flipY":false,"top":209.3351191085,"left":333.7256016518,"height":60.877659239,"width":11.2363797307,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":112.93339262351546,"flipX":false,"flipY":false,"top":23.537838385974133,"left":153.09702158924088,"height":58.457973516220065,"width":14.435951635633492,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":149.6675976653,"left":342.9056110574,"height":114.61882765780001,"width":67.7652451033,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":7.4555572061,"flipX":false,"flipY":false,"top":153.6675976653,"left":345.9056110574,"height":114.61882765780001,"width":67.7652451033,"fill":"#555555"},{"asset":"Circle","opacity":0.39,"angle":7.4555572061,"flipX":false,"flipY":false,"top":182.3432365571,"left":339.7301098248,"height":53.81414999889999,"width":45.112572218,"fill":"#FFFFFF"},{"asset":"Dogtag","opacity":1,"angle":6.933917592916304,"flipX":true,"flipY":false,"top":326.4497884659,"left":193.49621076649998,"height":43.7392313472,"width":122.9913725777,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":367.964698011,"flipX":false,"flipY":false,"top":326.71805100700595,"left":196.91811044174085,"height":30.102236228033963,"width":114.76183020363717,"fill":"#A0A0A0"},{"asset":"Flag","opacity":1,"angle":9.157671616868546,"flipX":false,"flipY":true,"top":291.26535317754934,"left":201.48837793801442,"height":35.180425917399994,"width":119.44661138618355,"fill":"#FFFFFF"},{"asset":"Heart","opacity":1,"angle":93.0410938132,"flipX":false,"flipY":false,"top":230.4892295007,"left":211.25405480489997,"height":3.183906827,"width":5.0013145887,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":80.2513960514,"flipX":false,"flipY":false,"top":-51.2749918524,"left":162.6576310712,"height":342.2769285517,"width":220.8336049568,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":522.8341884663347,"flipX":false,"flipY":false,"top":148.4821537751889,"left":27.835790981323264,"height":99.37565873228506,"width":12.908749549653944,"fill":"#000000"},{"asset":"Wing1","opacity":1,"angle":192.4188037333,"flipX":true,"flipY":false,"top":28.1197622965,"left":48.5702415751,"height":167.6310396296,"width":48.53187488980001,"fill":"#FFFFFF"},{"asset":"Stroke","opacity":1,"angle":338.1481713463,"flipX":false,"flipY":false,"top":175.7444443518,"left":52.4762703606,"height":58.79328248649999,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":184.0739518465,"left":66.0521844411,"height":50.92909183,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":188.7398147993,"left":79.4744440806,"height":58.79328248649999,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":206.1000019399,"left":130.0622912009,"height":50.9849757796,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":195.8348534417,"left":97.9594204683,"height":50.416166097200005,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":205.7398147993,"left":114.4744440806,"height":58.79328248649999,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":205.0065611233,"left":143.0697010382,"height":38.9137995933,"width":1.28,"fill":"#A0A0A0"},{"asset":"Stroke","opacity":1,"angle":338.7950399381,"flipX":false,"flipY":false,"top":241.2157528245,"left":315.7027581243,"height":29.8840332124,"width":1.28,"fill":"#A0A0A0"}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告