登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
6
圖層數
40
测试使用1
作者:
testtt
代碼 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":24.198027742456237,"left":-13.334726436456009,"height":1614.104697653718,"flipX":true,"fill":"#e9c1b1","opacity":1,"asset":"StrokeBent","width":431.76999720189804,"top":1034.0465985311648,"flipY":true},{"angle":324.63440072269003,"left":234.17121571556515,"height":541.1023203971571,"flipX":false,"fill":"#522912","opacity":1,"asset":"holiday_candycane","width":387.8875667783891,"top":245.58372084264138,"flipY":false},{"angle":251.0559859885868,"left":100.52886601231918,"height":28.27642246154432,"flipX":true,"fill":"#4b2c11","opacity":1,"asset":"Wingpart","width":172.31216911782195,"top":289.6646356647277,"flipY":false},{"angle":0,"left":173.1128840408276,"height":330.25281494455965,"flipX":false,"fill":"#663315","opacity":1,"asset":"Circle","width":295.73865476954666,"top":135.58749984859668,"flipY":false},{"angle":8.071822888684977,"left":14.648558120697153,"height":904.1143116619444,"flipX":true,"fill":"#663315","opacity":1,"asset":"StrokeBent","width":107.081201021108,"top":607.6562794857301,"flipY":true},{"angle":355.39450109737135,"left":127.8703021568233,"height":156.81260701433644,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Shield4","width":158.36867345190026,"top":212.63451907873045,"flipY":false},{"angle":9.884252431251895,"left":151.00158274964662,"height":212.98938904624057,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Shield","width":186.97482205175982,"top":205.96763936260865,"flipY":false},{"angle":161.1628350620226,"left":145.9344095370843,"height":254.22488863530157,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"free_bling_interstate","width":214.21125893990578,"top":134.03708485154573,"flipY":false},{"angle":0.5731266060203543,"left":197.98809799340614,"height":62.249458712569144,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":79.88536979243825,"top":157.5991677881503,"flipY":false},{"angle":0.5731266060203543,"left":196.60614166270727,"height":63.32387908868561,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Circle","width":84.54319867996895,"top":160.8237325597809,"flipY":false},{"angle":0,"left":197.0667937729403,"height":70.09632806160083,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":72.36318105568661,"top":165.43025366211032,"flipY":false},{"angle":5.464509748506431,"left":196.1454895524745,"height":62.537375086717915,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":71.65620113340601,"top":167.27286210304203,"flipY":false},{"angle":8.637256022071853,"left":204.43722753666736,"height":58.62292028975024,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":44.61838776733263,"top":171.3326142218809,"flipY":false},{"angle":8.637256022071853,"left":202.59461909573554,"height":29.07126909620767,"flipX":false,"fill":"#663315","opacity":1,"asset":"Circle","width":31.92691246946635,"top":182.4523578371866,"flipY":false},{"angle":21.693945883648354,"left":207.20114019806493,"height":22.109153397508177,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":18.98630216233146,"top":174.50968382625402,"flipY":false},{"angle":0.5731266060203543,"left":78.62572328904115,"height":62.249458712569144,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":53.92867858628159,"top":161.74503678024672,"flipY":false},{"angle":22.92944116390298,"left":78.62572328904115,"height":60.34871188165103,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Circle","width":57.69442823877115,"top":163.58764522117843,"flipY":false},{"angle":0,"left":77.8314558879479,"height":62.249458712569144,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":49.03991080233056,"top":168.19416632350786,"flipY":false},{"angle":11.289191856885212,"left":77.8314558879479,"height":55.993261548729464,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":45.69255620220133,"top":170.49742687467247,"flipY":false},{"angle":9.453611903454343,"left":84.97986249778724,"height":51.20157917927204,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":34.20196273386142,"top":172.12688162297428,"flipY":false},{"angle":0,"left":84.18559509669399,"height":21.157680889063,"flipX":false,"fill":"#663315","opacity":1,"asset":"Circle","width":24.73541950882396,"top":184.04089263937323,"flipY":false},{"angle":62.392291411233735,"left":99.40854640355758,"height":14.477255559604622,"flipX":false,"fill":"#000000","opacity":1,"asset":"ArrowBent","width":38.11361121397229,"top":207.8102478035405,"flipY":false},{"angle":0,"left":90.5397343054401,"height":20.43302843237002,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":15.681161355074678,"top":174.50968382625402,"flipY":false},{"angle":25.47400745909392,"left":78.62572328904115,"height":12.64196214667566,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":9.832637225192173,"top":156.7004852833446,"flipY":false},{"angle":114.40054008852901,"left":195.22418533200857,"height":13.445856601290295,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":12.915678336045676,"top":153.85873139782936,"flipY":false},{"angle":0,"left":131.84163916228954,"height":54.64647138889661,"flipX":false,"fill":"#782016","opacity":1,"asset":"Circle","width":56.54721821981476,"top":242.81668032027423,"flipY":false},{"angle":46.24918075338106,"left":134.87875889149376,"height":55.12838260079167,"flipX":false,"fill":"#d24c44","opacity":1,"asset":"Circle","width":45.692762493031545,"top":245.58372084264138,"flipY":false},{"angle":115.17482590039076,"left":175.88709152100745,"height":166.15063300043417,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"StrokeBent","width":53.15962596287369,"top":250.36689333899184,"flipY":false},{"angle":49.40714959406942,"left":68.08420290771778,"height":47.0468836604549,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":7.155016448316639,"top":97.2537413476355,"flipY":false},{"angle":113.38084089103428,"left":181.40462202502047,"height":67.23739135231456,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":7.155016448316639,"top":94.48982868623784,"flipY":true},{"angle":334.0923622888724,"left":200.94290305740282,"height":285.0233390349083,"flipX":true,"fill":"#663315","opacity":1,"asset":"StrokeBent","width":104.78407163071519,"top":117.48789588304288,"flipY":false},{"angle":335.2512588999898,"left":105.85767594681873,"height":33.11875044043431,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Square","width":26.350339636197848,"top":205.96763936260865,"flipY":false},{"angle":312.96922700339707,"left":79.13985355330834,"height":80.52053826705553,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"StrokeBent","width":12.705564263896218,"top":265.8524136928904,"flipY":false},{"angle":339.144444272093,"left":173.1128840408276,"height":93.70407509066388,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"StrokeBent","width":34.952479401225396,"top":178.48102083172037,"flipY":false},{"angle":202.11505785796024,"left":177.00427324887477,"height":646.0497550488769,"flipX":false,"fill":"#5c2b13","opacity":1,"asset":"StrokeBent","width":106.35077771500922,"top":388.16695505659925,"flipY":false},{"angle":210.08866424004498,"left":158.62210471034422,"height":548.4508393472332,"flipX":false,"fill":"#663315","opacity":1,"asset":"StrokeBent","width":117.84629234488477,"top":303.92686151534195,"flipY":false},{"angle":194.04345753755254,"left":203.76364418621841,"height":11.621411943196277,"flipX":false,"fill":"#d24c44","opacity":1,"asset":"KitSupport","width":20.642699408097346,"top":215.35982843751896,"flipY":false},{"angle":202.10669598029264,"left":69.6925037006348,"height":11.621411943196277,"flipX":false,"fill":"#d24c44","opacity":1,"asset":"KitSupport","width":15.404380648057911,"top":214.01911703266308,"flipY":false},{"angle":209.50816880486502,"left":202.4229327813626,"height":34.25031782976329,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"KitSupport","width":21.393481420149243,"top":220.7226740569422,"flipY":false},{"angle":212.29800525506485,"left":71.03321510549071,"height":20.008444056371825,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"KitSupport","width":16.672770341652605,"top":215.35982843751896,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":24.198027742456237,"left":-13.334726436456009,"height":1614.104697653718,"flipX":true,"fill":"#e9c1b1","opacity":1,"asset":"StrokeBent","width":431.76999720189804,"top":1034.0465985311648,"flipY":true},{"angle":324.63440072269003,"left":234.17121571556515,"height":541.1023203971571,"flipX":false,"fill":"#522912","opacity":1,"asset":"holiday_candycane","width":387.8875667783891,"top":245.58372084264138,"flipY":false},{"angle":251.0559859885868,"left":100.52886601231918,"height":28.27642246154432,"flipX":true,"fill":"#4b2c11","opacity":1,"asset":"Wingpart","width":172.31216911782195,"top":289.6646356647277,"flipY":false},{"angle":0,"left":173.1128840408276,"height":330.25281494455965,"flipX":false,"fill":"#663315","opacity":1,"asset":"Circle","width":295.73865476954666,"top":135.58749984859668,"flipY":false},{"angle":8.071822888684977,"left":14.648558120697153,"height":904.1143116619444,"flipX":true,"fill":"#663315","opacity":1,"asset":"StrokeBent","width":107.081201021108,"top":607.6562794857301,"flipY":true},{"angle":355.39450109737135,"left":127.8703021568233,"height":156.81260701433644,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Shield4","width":158.36867345190026,"top":212.63451907873045,"flipY":false},{"angle":9.884252431251895,"left":151.00158274964662,"height":212.98938904624057,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Shield","width":186.97482205175982,"top":205.96763936260865,"flipY":false},{"angle":161.1628350620226,"left":145.9344095370843,"height":254.22488863530157,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"free_bling_interstate","width":214.21125893990578,"top":134.03708485154573,"flipY":false},{"angle":0.5731266060203543,"left":197.98809799340614,"height":62.249458712569144,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":79.88536979243825,"top":157.5991677881503,"flipY":false},{"angle":0.5731266060203543,"left":196.60614166270727,"height":63.32387908868561,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Circle","width":84.54319867996895,"top":160.8237325597809,"flipY":false},{"angle":0,"left":197.0667937729403,"height":70.09632806160083,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":72.36318105568661,"top":165.43025366211032,"flipY":false},{"angle":5.464509748506431,"left":196.1454895524745,"height":62.537375086717915,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":71.65620113340601,"top":167.27286210304203,"flipY":false},{"angle":8.637256022071853,"left":204.43722753666736,"height":58.62292028975024,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":44.61838776733263,"top":171.3326142218809,"flipY":false},{"angle":8.637256022071853,"left":202.59461909573554,"height":29.07126909620767,"flipX":false,"fill":"#663315","opacity":1,"asset":"Circle","width":31.92691246946635,"top":182.4523578371866,"flipY":false},{"angle":21.693945883648354,"left":207.20114019806493,"height":22.109153397508177,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":18.98630216233146,"top":174.50968382625402,"flipY":false},{"angle":0.5731266060203543,"left":78.62572328904115,"height":62.249458712569144,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":53.92867858628159,"top":161.74503678024672,"flipY":false},{"angle":22.92944116390298,"left":78.62572328904115,"height":60.34871188165103,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Circle","width":57.69442823877115,"top":163.58764522117843,"flipY":false},{"angle":0,"left":77.8314558879479,"height":62.249458712569144,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":49.03991080233056,"top":168.19416632350786,"flipY":false},{"angle":11.289191856885212,"left":77.8314558879479,"height":55.993261548729464,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":45.69255620220133,"top":170.49742687467247,"flipY":false},{"angle":9.453611903454343,"left":84.97986249778724,"height":51.20157917927204,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":34.20196273386142,"top":172.12688162297428,"flipY":false},{"angle":0,"left":84.18559509669399,"height":21.157680889063,"flipX":false,"fill":"#663315","opacity":1,"asset":"Circle","width":24.73541950882396,"top":184.04089263937323,"flipY":false},{"angle":62.392291411233735,"left":99.40854640355758,"height":14.477255559604622,"flipX":false,"fill":"#000000","opacity":1,"asset":"ArrowBent","width":38.11361121397229,"top":207.8102478035405,"flipY":false},{"angle":0,"left":90.5397343054401,"height":20.43302843237002,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":15.681161355074678,"top":174.50968382625402,"flipY":false},{"angle":25.47400745909392,"left":78.62572328904115,"height":12.64196214667566,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":9.832637225192173,"top":156.7004852833446,"flipY":false},{"angle":114.40054008852901,"left":195.22418533200857,"height":13.445856601290295,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Circle","width":12.915678336045676,"top":153.85873139782936,"flipY":false},{"angle":0,"left":131.84163916228954,"height":54.64647138889661,"flipX":false,"fill":"#782016","opacity":1,"asset":"Circle","width":56.54721821981476,"top":242.81668032027423,"flipY":false},{"angle":46.24918075338106,"left":134.87875889149376,"height":55.12838260079167,"flipX":false,"fill":"#d24c44","opacity":1,"asset":"Circle","width":45.692762493031545,"top":245.58372084264138,"flipY":false},{"angle":115.17482590039076,"left":175.88709152100745,"height":166.15063300043417,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"StrokeBent","width":53.15962596287369,"top":250.36689333899184,"flipY":false},{"angle":49.40714959406942,"left":68.08420290771778,"height":47.0468836604549,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":7.155016448316639,"top":97.2537413476355,"flipY":false},{"angle":113.38084089103428,"left":181.40462202502047,"height":67.23739135231456,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":7.155016448316639,"top":94.48982868623784,"flipY":true},{"angle":334.0923622888724,"left":200.94290305740282,"height":285.0233390349083,"flipX":true,"fill":"#663315","opacity":1,"asset":"StrokeBent","width":104.78407163071519,"top":117.48789588304288,"flipY":false},{"angle":335.2512588999898,"left":105.85767594681873,"height":33.11875044043431,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"Square","width":26.350339636197848,"top":205.96763936260865,"flipY":false},{"angle":312.96922700339707,"left":79.13985355330834,"height":80.52053826705553,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"StrokeBent","width":12.705564263896218,"top":265.8524136928904,"flipY":false},{"angle":339.144444272093,"left":173.1128840408276,"height":93.70407509066388,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"StrokeBent","width":34.952479401225396,"top":178.48102083172037,"flipY":false},{"angle":202.11505785796024,"left":177.00427324887477,"height":646.0497550488769,"flipX":false,"fill":"#5c2b13","opacity":1,"asset":"StrokeBent","width":106.35077771500922,"top":388.16695505659925,"flipY":false},{"angle":210.08866424004498,"left":158.62210471034422,"height":548.4508393472332,"flipX":false,"fill":"#663315","opacity":1,"asset":"StrokeBent","width":117.84629234488477,"top":303.92686151534195,"flipY":false},{"angle":194.04345753755254,"left":203.76364418621841,"height":11.621411943196277,"flipX":false,"fill":"#d24c44","opacity":1,"asset":"KitSupport","width":20.642699408097346,"top":215.35982843751896,"flipY":false},{"angle":202.10669598029264,"left":69.6925037006348,"height":11.621411943196277,"flipX":false,"fill":"#d24c44","opacity":1,"asset":"KitSupport","width":15.404380648057911,"top":214.01911703266308,"flipY":false},{"angle":209.50816880486502,"left":202.4229327813626,"height":34.25031782976329,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"KitSupport","width":21.393481420149243,"top":220.7226740569422,"flipY":false},{"angle":212.29800525506485,"left":71.03321510549071,"height":20.008444056371825,"flipX":false,"fill":"#f4e4db","opacity":1,"asset":"KitSupport","width":16.672770341652605,"top":215.35982843751896,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告