登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
30
圖層數
40
Only In BF4
作者:
MirceaKing
»
代碼 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":185.54111653089998,"height":299.8322330618,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":22.142579389899996,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":218.91892388800002,"height":231.82661834770002,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":67.1425793899,"fill":"#005E20"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.85361653089998,"height":334.2072330618001,"width":145.14927063319996,"asset":"holiday_Christmas_tree","selectable":true,"left":296.25,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":218.29392388800002,"height":231.82661834770002,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":241.51757938990002,"fill":"#005E20"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":189.91611653089998,"height":299.8322330618,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":203.39257938990002,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.6661165309,"height":368.58223306179997,"width":145.14927063319996,"asset":"holiday_Christmas_tree","selectable":true,"left":130.625,"fill":"#005826"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":272.9308838694,"height":12.935793117099998,"width":51.638232261199995,"asset":"Dogtag","selectable":true,"left":27.6230505626,"fill":"#CCCCCC"},{"opacity":1,"angle":196.6130450825,"flipX":true,"flipY":false,"top":257.9770451401,"height":9.1784905296,"width":38.8707895822,"asset":"Dogtag","selectable":true,"left":43.118676314,"fill":"#CCCCCC"},{"opacity":1,"angle":255.4225346982,"flipX":true,"flipY":false,"top":303.0454252978,"height":8.5717547733,"width":26.1562599419,"asset":"Dogtag","selectable":true,"left":32.4636473803,"fill":"#CCCCCC"},{"opacity":1,"angle":301.5092933734,"flipX":true,"flipY":false,"top":301.3527450713,"height":8.5717547733,"width":37.4580010475,"asset":"Dogtag","selectable":true,"left":18.5420005999,"fill":"#CCCCCC"},{"opacity":1,"angle":16.5849224599,"flipX":true,"flipY":false,"top":258.5705068509,"height":16.467757559,"width":48.02838239650001,"asset":"WeaponCarbine","selectable":true,"left":56.17965572540001,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":233.91184456250002,"height":17.9278685074,"width":17.9278685074,"asset":"Circle","selectable":true,"left":33.5881554375,"fill":"#CCCCCC"},{"opacity":1,"angle":32.7253108453,"flipX":false,"flipY":false,"top":213.3287529298,"height":21.751270369,"width":11.3466908943,"asset":"Emblem82","selectable":true,"left":46.081666527,"fill":"#FF0000"},{"opacity":1,"angle":4.0041035761,"flipX":false,"flipY":false,"top":207.13611123120003,"height":25.3296321641,"width":4.9032158182,"asset":"Emblem72","selectable":true,"left":34.1430539092,"fill":"#FF0000"},{"opacity":1,"angle":335.0371012024,"flipX":false,"flipY":false,"top":212.7027615356,"height":20.357173194800005,"width":3.9406657379,"asset":"Emblem72","selectable":true,"left":21.0243237988,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":353.75,"height":79.7900262467,"width":469.26920562900006,"asset":"Emblem71","selectable":true,"left":160.4695765678,"fill":"#005E20"},{"opacity":1,"angle":20.3257959061,"flipX":false,"flipY":false,"top":231.9810690117,"height":3.3526906370000003,"width":7.659681891699999,"asset":"Eye2","selectable":true,"left":36.5790621297,"fill":"#262626"},{"opacity":1,"angle":359.7595289091,"flipX":true,"flipY":false,"top":306.4958696951,"height":9.2567870845,"width":26.034268628900005,"asset":"Dogtag","selectable":true,"left":143.6954372909,"fill":"#00BFF3"},{"opacity":1,"angle":235.0522941329,"flipX":true,"flipY":false,"top":275.5280182203,"height":9.1784905296,"width":48.1451290729,"asset":"Dogtag","selectable":true,"left":165.1499795518,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247.66184456250002,"height":17.9278685074,"width":17.9278685074,"asset":"Circle","selectable":true,"left":164.8381554375,"fill":"#00BFF3"},{"opacity":1,"angle":14.2233765661,"flipX":true,"flipY":false,"top":297.8746754231,"height":4.0100404996,"width":13.9711572262,"asset":"Dogtag","selectable":true,"left":161.1565922615,"fill":"#00BFF3"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":303.1940020048,"height":9.2567870845,"width":18.8880040095,"asset":"Dogtag","selectable":true,"left":176.1954372909,"fill":"#790000"},{"opacity":1,"angle":155.9533904703,"flipX":false,"flipY":false,"top":289.8114007175,"height":12.287012689200001,"width":48.0170973676,"asset":"Dogtag","selectable":true,"left":193.7799198545,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":274.6149695625,"height":17.7716185074,"width":17.7716185074,"asset":"Circle","selectable":true,"left":227.8850304375,"fill":"#790000"},{"opacity":1,"angle":13.2605150332,"flipX":false,"flipY":true,"top":269.1501433064,"height":16.7484005029,"width":33.97958080530001,"asset":"Banner","selectable":true,"left":212.6645839618,"fill":"#790000"},{"opacity":1,"angle":235.0522941329,"flipX":true,"flipY":false,"top":293.7404416595,"height":7.6744094882,"width":41.2073400235,"asset":"Dogtag","selectable":true,"left":219.4214687478,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":273.4375,"height":11.449025378299998,"width":55.62500000000001,"asset":"Dogtag","selectable":true,"left":260.0046666932,"fill":"#00BFF3"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":283.4375,"height":11.449025378299998,"width":55.62500000000001,"asset":"Dogtag","selectable":true,"left":153.1296666932,"fill":"#00BFF3"},{"opacity":1,"angle":78.9022473847,"flipX":false,"flipY":false,"top":302.7458696951,"height":9.2567870845,"width":26.034268628900005,"asset":"Dogtag","selectable":true,"left":261.1954372909,"fill":"#00BFF3"},{"opacity":1,"angle":209.3677513018,"flipX":true,"flipY":false,"top":287.2724018595,"height":4.1088074894,"width":19.7902226005,"asset":"Dogtag","selectable":true,"left":247.0153923124,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":236.41184456250002,"height":17.9278685074,"width":17.9278685074,"asset":"Circle","selectable":true,"left":249.2131554375,"fill":"#00BFF3"},{"opacity":1,"angle":317.9701677542,"flipX":true,"flipY":false,"top":262.4030182203,"height":9.1784905296,"width":48.1451290729,"asset":"Dogtag","selectable":true,"left":244.5249795518,"fill":"#00BFF3"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":309.4440020048,"height":9.2567870845,"width":18.8880040095,"asset":"Dogtag","selectable":true,"left":168.0704372909,"fill":"#790000"},{"opacity":1,"angle":95.0177672602,"flipX":false,"flipY":false,"top":269.4621833306,"height":14.2152916092,"width":48.81792385319999,"asset":"WeaponCarbine","selectable":true,"left":140.1949351956,"fill":"#000000"},{"opacity":1,"angle":88.2691909747,"flipX":true,"flipY":true,"top":267.5871833306,"height":14.2152916092,"width":48.81792385319999,"asset":"WeaponCarbine","selectable":true,"left":273.9449351956,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":256.7587882143,"height":9.3540138305,"width":8.6532570747,"asset":"Emblem130","selectable":true,"left":27.1166030492,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":256.6799333241,"height":6.9216304941,"width":8.0874852484,"asset":"Emblem129","selectable":true,"left":26.1545548351,"fill":"#FBAF5C"},{"opacity":1,"angle":231.3655992086,"flipX":false,"flipY":false,"top":242.45540381680001,"height":8.125,"width":4.1896596562,"asset":"StrokeBent","selectable":true,"left":249.1666793823,"fill":"#111111"},{"opacity":1,"angle":20.3257959061,"flipX":false,"flipY":false,"top":246.3560690117,"height":3.3526906370000003,"width":7.659681891699999,"asset":"Eye2","selectable":true,"left":168.4540621297,"fill":"#262626"},{"opacity":1,"angle":310.2847136748,"flipX":false,"flipY":false,"top":236.3560690117,"height":3.3526906370000003,"width":7.659681891699999,"asset":"Eye2","selectable":true,"left":245.3290621297,"fill":"#262626"}]'},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":185.54111653089998,"height":299.8322330618,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":22.142579389899996,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":218.91892388800002,"height":231.82661834770002,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":67.1425793899,"fill":"#005E20"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.85361653089998,"height":334.2072330618001,"width":145.14927063319996,"asset":"holiday_Christmas_tree","selectable":true,"left":296.25,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":218.29392388800002,"height":231.82661834770002,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":241.51757938990002,"fill":"#005E20"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":189.91611653089998,"height":299.8322330618,"width":100.684429413,"asset":"holiday_Christmas_tree","selectable":true,"left":203.39257938990002,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.6661165309,"height":368.58223306179997,"width":145.14927063319996,"asset":"holiday_Christmas_tree","selectable":true,"left":130.625,"fill":"#005826"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":272.9308838694,"height":12.935793117099998,"width":51.638232261199995,"asset":"Dogtag","selectable":true,"left":27.6230505626,"fill":"#CCCCCC"},{"opacity":1,"angle":196.6130450825,"flipX":true,"flipY":false,"top":257.9770451401,"height":9.1784905296,"width":38.8707895822,"asset":"Dogtag","selectable":true,"left":43.118676314,"fill":"#CCCCCC"},{"opacity":1,"angle":255.4225346982,"flipX":true,"flipY":false,"top":303.0454252978,"height":8.5717547733,"width":26.1562599419,"asset":"Dogtag","selectable":true,"left":32.4636473803,"fill":"#CCCCCC"},{"opacity":1,"angle":301.5092933734,"flipX":true,"flipY":false,"top":301.3527450713,"height":8.5717547733,"width":37.4580010475,"asset":"Dogtag","selectable":true,"left":18.5420005999,"fill":"#CCCCCC"},{"opacity":1,"angle":16.5849224599,"flipX":true,"flipY":false,"top":258.5705068509,"height":16.467757559,"width":48.02838239650001,"asset":"WeaponCarbine","selectable":true,"left":56.17965572540001,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":233.91184456250002,"height":17.9278685074,"width":17.9278685074,"asset":"Circle","selectable":true,"left":33.5881554375,"fill":"#CCCCCC"},{"opacity":1,"angle":32.7253108453,"flipX":false,"flipY":false,"top":213.3287529298,"height":21.751270369,"width":11.3466908943,"asset":"Emblem82","selectable":true,"left":46.081666527,"fill":"#FF0000"},{"opacity":1,"angle":4.0041035761,"flipX":false,"flipY":false,"top":207.13611123120003,"height":25.3296321641,"width":4.9032158182,"asset":"Emblem72","selectable":true,"left":34.1430539092,"fill":"#FF0000"},{"opacity":1,"angle":335.0371012024,"flipX":false,"flipY":false,"top":212.7027615356,"height":20.357173194800005,"width":3.9406657379,"asset":"Emblem72","selectable":true,"left":21.0243237988,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":353.75,"height":79.7900262467,"width":469.26920562900006,"asset":"Emblem71","selectable":true,"left":160.4695765678,"fill":"#005E20"},{"opacity":1,"angle":20.3257959061,"flipX":false,"flipY":false,"top":231.9810690117,"height":3.3526906370000003,"width":7.659681891699999,"asset":"Eye2","selectable":true,"left":36.5790621297,"fill":"#262626"},{"opacity":1,"angle":359.7595289091,"flipX":true,"flipY":false,"top":306.4958696951,"height":9.2567870845,"width":26.034268628900005,"asset":"Dogtag","selectable":true,"left":143.6954372909,"fill":"#00BFF3"},{"opacity":1,"angle":235.0522941329,"flipX":true,"flipY":false,"top":275.5280182203,"height":9.1784905296,"width":48.1451290729,"asset":"Dogtag","selectable":true,"left":165.1499795518,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247.66184456250002,"height":17.9278685074,"width":17.9278685074,"asset":"Circle","selectable":true,"left":164.8381554375,"fill":"#00BFF3"},{"opacity":1,"angle":14.2233765661,"flipX":true,"flipY":false,"top":297.8746754231,"height":4.0100404996,"width":13.9711572262,"asset":"Dogtag","selectable":true,"left":161.1565922615,"fill":"#00BFF3"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":303.1940020048,"height":9.2567870845,"width":18.8880040095,"asset":"Dogtag","selectable":true,"left":176.1954372909,"fill":"#790000"},{"opacity":1,"angle":155.9533904703,"flipX":false,"flipY":false,"top":289.8114007175,"height":12.287012689200001,"width":48.0170973676,"asset":"Dogtag","selectable":true,"left":193.7799198545,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":274.6149695625,"height":17.7716185074,"width":17.7716185074,"asset":"Circle","selectable":true,"left":227.8850304375,"fill":"#790000"},{"opacity":1,"angle":13.2605150332,"flipX":false,"flipY":true,"top":269.1501433064,"height":16.7484005029,"width":33.97958080530001,"asset":"Banner","selectable":true,"left":212.6645839618,"fill":"#790000"},{"opacity":1,"angle":235.0522941329,"flipX":true,"flipY":false,"top":293.7404416595,"height":7.6744094882,"width":41.2073400235,"asset":"Dogtag","selectable":true,"left":219.4214687478,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":273.4375,"height":11.449025378299998,"width":55.62500000000001,"asset":"Dogtag","selectable":true,"left":260.0046666932,"fill":"#00BFF3"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":283.4375,"height":11.449025378299998,"width":55.62500000000001,"asset":"Dogtag","selectable":true,"left":153.1296666932,"fill":"#00BFF3"},{"opacity":1,"angle":78.9022473847,"flipX":false,"flipY":false,"top":302.7458696951,"height":9.2567870845,"width":26.034268628900005,"asset":"Dogtag","selectable":true,"left":261.1954372909,"fill":"#00BFF3"},{"opacity":1,"angle":209.3677513018,"flipX":true,"flipY":false,"top":287.2724018595,"height":4.1088074894,"width":19.7902226005,"asset":"Dogtag","selectable":true,"left":247.0153923124,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":236.41184456250002,"height":17.9278685074,"width":17.9278685074,"asset":"Circle","selectable":true,"left":249.2131554375,"fill":"#00BFF3"},{"opacity":1,"angle":317.9701677542,"flipX":true,"flipY":false,"top":262.4030182203,"height":9.1784905296,"width":48.1451290729,"asset":"Dogtag","selectable":true,"left":244.5249795518,"fill":"#00BFF3"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":309.4440020048,"height":9.2567870845,"width":18.8880040095,"asset":"Dogtag","selectable":true,"left":168.0704372909,"fill":"#790000"},{"opacity":1,"angle":95.0177672602,"flipX":false,"flipY":false,"top":269.4621833306,"height":14.2152916092,"width":48.81792385319999,"asset":"WeaponCarbine","selectable":true,"left":140.1949351956,"fill":"#000000"},{"opacity":1,"angle":88.2691909747,"flipX":true,"flipY":true,"top":267.5871833306,"height":14.2152916092,"width":48.81792385319999,"asset":"WeaponCarbine","selectable":true,"left":273.9449351956,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":256.7587882143,"height":9.3540138305,"width":8.6532570747,"asset":"Emblem130","selectable":true,"left":27.1166030492,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":256.6799333241,"height":6.9216304941,"width":8.0874852484,"asset":"Emblem129","selectable":true,"left":26.1545548351,"fill":"#FBAF5C"},{"opacity":1,"angle":231.3655992086,"flipX":false,"flipY":false,"top":242.45540381680001,"height":8.125,"width":4.1896596562,"asset":"StrokeBent","selectable":true,"left":249.1666793823,"fill":"#111111"},{"opacity":1,"angle":20.3257959061,"flipX":false,"flipY":false,"top":246.3560690117,"height":3.3526906370000003,"width":7.659681891699999,"asset":"Eye2","selectable":true,"left":168.4540621297,"fill":"#262626"},{"opacity":1,"angle":310.2847136748,"flipX":false,"flipY":false,"top":236.3560690117,"height":3.3526906370000003,"width":7.659681891699999,"asset":"Eye2","selectable":true,"left":245.3290621297,"fill":"#262626"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告