登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
14
圖層數
40
NO REG?
作者:
Emre Macke
»
代碼 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":161.99999999999997,"height":346.89297096000286,"width":346.89297096000286,"asset":"Square","selectable":true,"left":156.84447398574858,"fill":"#464646"},{"opacity":1,"angle":95.52120929620422,"flipX":false,"flipY":false,"top":150.4250357770868,"height":212.39051018549424,"width":125.73086847062295,"asset":"Circle","selectable":true,"left":79.5341954906377,"fill":"#000000"},{"opacity":1,"angle":36.07617369996852,"flipX":false,"flipY":false,"top":154.75236414467005,"height":27.893967654101786,"width":30.088934900936202,"asset":"Circle","selectable":true,"left":145.0799125328109,"fill":"#FFFFFF"},{"opacity":1,"angle":164.70784903026293,"flipX":false,"flipY":false,"top":158.60011162987638,"height":150.87331427291437,"width":45.09397588604298,"asset":"Circle","selectable":true,"left":8.005901091882322,"fill":"#464646"},{"opacity":1,"angle":26.768221571333,"flipX":false,"flipY":false,"top":98.16805292041168,"height":61.18579976646707,"width":32.98632317937188,"asset":"StrokeBent","selectable":true,"left":23.58929155060336,"fill":"#464646"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":176.6020673429124,"height":69.67959004313745,"width":21.859257163931932,"asset":"Circle","selectable":true,"left":101.9506857457322,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":178.30934525587915,"height":13.33533247674745,"width":20.777503414841835,"asset":"Circle","selectable":true,"left":121.94631249089208,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.33482439249195,"height":13.284374203521878,"width":19.831576952864907,"asset":"Circle","selectable":true,"left":152.4733492599036,"fill":"#000000"},{"opacity":1,"angle":336.5919117599623,"flipX":false,"flipY":true,"top":162.4570697614826,"height":32.66431632038247,"width":146.09913102863365,"asset":"Triangle","selectable":true,"left":127.75092185103277,"fill":"#000000"},{"opacity":1,"angle":108.31459199999517,"flipX":false,"flipY":false,"top":154,"height":76.02397755449321,"width":6.327201205896739,"asset":"StrokeBent","selectable":true,"left":81.50263156551941,"fill":"#FFFFFF"},{"opacity":1,"angle":331.1610433829402,"flipX":false,"flipY":false,"top":185.11733618051332,"height":19.372543708242304,"width":118.69603780806155,"asset":"Triangle","selectable":true,"left":141.09864483526167,"fill":"#FFA715"},{"opacity":1,"angle":24.127561974723296,"flipX":false,"flipY":false,"top":158.19449177375066,"height":18.7296049788416,"width":61.727984852097734,"asset":"Wingpart","selectable":true,"left":117,"fill":"#FFFFFF"},{"opacity":1,"angle":24.127561974723296,"flipX":false,"flipY":false,"top":151.67975855002786,"height":17.656187086521225,"width":73.9724379653936,"asset":"Wingpart","selectable":true,"left":107.73486911584628,"fill":"#000000"},{"opacity":1,"angle":108.28008054935607,"flipX":false,"flipY":false,"top":133.44663110149023,"height":51.14811578722368,"width":8.203885647524677,"asset":"StrokeBent","selectable":true,"left":66.34132173951664,"fill":"#FFFFFF"},{"opacity":1,"angle":336.0496579134934,"flipX":false,"flipY":false,"top":130.12219310018358,"height":67.6138940153192,"width":7.118941702030759,"asset":"StrokeBent","selectable":true,"left":116.70674089571207,"fill":"#FFFFFF"},{"opacity":1,"angle":132.55859373150898,"flipX":false,"flipY":false,"top":252.26165044624906,"height":150.87331427291437,"width":111.17847738508925,"asset":"Circle","selectable":true,"left":89.3538236308438,"fill":"#FFA715"},{"opacity":1,"angle":140.93298921357598,"flipX":false,"flipY":false,"top":264.77438564567166,"height":150.87331427291437,"width":60.03203862971662,"asset":"Circle","selectable":true,"left":99.74670552288484,"fill":"#000000"},{"opacity":1,"angle":140.93298921357598,"flipX":false,"flipY":false,"top":267.76178139481163,"height":150.87331427291437,"width":60.10831977899071,"asset":"Circle","selectable":true,"left":98.59762807260576,"fill":"#FFA715"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":299.26165044624906,"height":283.5177749070889,"width":111.17847738508925,"asset":"Circle","selectable":true,"left":128.7551133963553,"fill":"#464646"},{"opacity":1,"angle":239.68739101314102,"flipX":false,"flipY":false,"top":178.1995762364376,"height":97.63896708500442,"width":30.975045927346223,"asset":"StrokeBent","selectable":true,"left":136.62027924764655,"fill":"#FFA715"},{"opacity":1,"angle":55.21286860184022,"flipX":false,"flipY":false,"top":199.85847613892517,"height":161.9697534430124,"width":93.04269582232934,"asset":"Circle","selectable":true,"left":188.64322499248127,"fill":"#FFA715"},{"opacity":1,"angle":33.33017558425669,"flipX":false,"flipY":false,"top":158,"height":118.48073780072434,"width":43.02856700290496,"asset":"Circle","selectable":true,"left":270,"fill":"#FFA715"},{"opacity":1,"angle":30.676757789308116,"flipX":false,"flipY":false,"top":168,"height":94.31240093929158,"width":8.108632423680259,"asset":"StrokeBent","selectable":true,"left":268,"fill":"#000000"},{"opacity":1,"angle":19.523316412616417,"flipX":false,"flipY":false,"top":165,"height":38.62112065088661,"width":5.117868097116128,"asset":"StrokeBent","selectable":true,"left":243,"fill":"#000000"},{"opacity":1,"angle":261.296346068157,"flipX":false,"flipY":false,"top":151.43470205833495,"height":75.13111549211563,"width":26.24618028972316,"asset":"Circle","selectable":true,"left":212.45488709322643,"fill":"#464646"},{"opacity":1,"angle":132.55859373150898,"flipX":false,"flipY":false,"top":85.05360803042211,"height":192.11385282467745,"width":111.17847738508925,"asset":"Circle","selectable":true,"left":163.79022079711493,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.67662902388369,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":52.31032580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":155.79366918710326,"flipX":false,"flipY":false,"top":34.375,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":60.43532580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.05162902388369,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":68.56032580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.499610591900314,"height":41.000778816199364,"width":28.09684332005216,"asset":"Number0","selectable":true,"left":89.40834377840618,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.67662902388369,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":127.93532580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":27.5,"height":24.544090068126007,"width":27.055992824506053,"asset":"Number0","selectable":true,"left":137.5,"fill":"#FFFFFF"},{"opacity":1,"angle":314.2825679035819,"flipX":false,"flipY":false,"top":45,"height":22.764586663098452,"width":6.0832135600667625,"asset":"Stroke","selectable":true,"left":138.125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":34.77772484252715,"height":39.194550314945694,"width":28.42332603096468,"asset":"Number3","selectable":true,"left":168.72446675380047,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":35,"height":24.0625,"width":20.0064589004279,"asset":"Square","selectable":true,"left":181.50245063401456,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.375,"height":38.75,"width":32.395757965848446,"asset":"Number0","selectable":true,"left":202.18280110130428,"fill":"#FFFFFF"},{"opacity":1,"angle":90.10788300159459,"flipX":false,"flipY":false,"top":42.515292519898615,"height":28.921157643670295,"width":23.72183199053037,"asset":"Number0","selectable":true,"left":200.66123605022872,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.91864396032886,"height":20.588845553056483,"width":4.117769110611296,"asset":"Stroke","selectable":true,"left":197.35872879206573,"fill":"#464646"},{"opacity":1,"angle":89.48758274602717,"flipX":false,"flipY":false,"top":26.72259916898224,"height":21.08397087279006,"width":7.768705856357343,"asset":"Stroke","selectable":true,"left":209.7171498397106,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.19247614867892,"height":40.38650992975662,"width":29.886522179394024,"asset":"Questionmark","selectable":true,"left":240.92668788097427,"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":161.99999999999997,"height":346.89297096000286,"width":346.89297096000286,"asset":"Square","selectable":true,"left":156.84447398574858,"fill":"#464646"},{"opacity":1,"angle":95.52120929620422,"flipX":false,"flipY":false,"top":150.4250357770868,"height":212.39051018549424,"width":125.73086847062295,"asset":"Circle","selectable":true,"left":79.5341954906377,"fill":"#000000"},{"opacity":1,"angle":36.07617369996852,"flipX":false,"flipY":false,"top":154.75236414467005,"height":27.893967654101786,"width":30.088934900936202,"asset":"Circle","selectable":true,"left":145.0799125328109,"fill":"#FFFFFF"},{"opacity":1,"angle":164.70784903026293,"flipX":false,"flipY":false,"top":158.60011162987638,"height":150.87331427291437,"width":45.09397588604298,"asset":"Circle","selectable":true,"left":8.005901091882322,"fill":"#464646"},{"opacity":1,"angle":26.768221571333,"flipX":false,"flipY":false,"top":98.16805292041168,"height":61.18579976646707,"width":32.98632317937188,"asset":"StrokeBent","selectable":true,"left":23.58929155060336,"fill":"#464646"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":176.6020673429124,"height":69.67959004313745,"width":21.859257163931932,"asset":"Circle","selectable":true,"left":101.9506857457322,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":178.30934525587915,"height":13.33533247674745,"width":20.777503414841835,"asset":"Circle","selectable":true,"left":121.94631249089208,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.33482439249195,"height":13.284374203521878,"width":19.831576952864907,"asset":"Circle","selectable":true,"left":152.4733492599036,"fill":"#000000"},{"opacity":1,"angle":336.5919117599623,"flipX":false,"flipY":true,"top":162.4570697614826,"height":32.66431632038247,"width":146.09913102863365,"asset":"Triangle","selectable":true,"left":127.75092185103277,"fill":"#000000"},{"opacity":1,"angle":108.31459199999517,"flipX":false,"flipY":false,"top":154,"height":76.02397755449321,"width":6.327201205896739,"asset":"StrokeBent","selectable":true,"left":81.50263156551941,"fill":"#FFFFFF"},{"opacity":1,"angle":331.1610433829402,"flipX":false,"flipY":false,"top":185.11733618051332,"height":19.372543708242304,"width":118.69603780806155,"asset":"Triangle","selectable":true,"left":141.09864483526167,"fill":"#FFA715"},{"opacity":1,"angle":24.127561974723296,"flipX":false,"flipY":false,"top":158.19449177375066,"height":18.7296049788416,"width":61.727984852097734,"asset":"Wingpart","selectable":true,"left":117,"fill":"#FFFFFF"},{"opacity":1,"angle":24.127561974723296,"flipX":false,"flipY":false,"top":151.67975855002786,"height":17.656187086521225,"width":73.9724379653936,"asset":"Wingpart","selectable":true,"left":107.73486911584628,"fill":"#000000"},{"opacity":1,"angle":108.28008054935607,"flipX":false,"flipY":false,"top":133.44663110149023,"height":51.14811578722368,"width":8.203885647524677,"asset":"StrokeBent","selectable":true,"left":66.34132173951664,"fill":"#FFFFFF"},{"opacity":1,"angle":336.0496579134934,"flipX":false,"flipY":false,"top":130.12219310018358,"height":67.6138940153192,"width":7.118941702030759,"asset":"StrokeBent","selectable":true,"left":116.70674089571207,"fill":"#FFFFFF"},{"opacity":1,"angle":132.55859373150898,"flipX":false,"flipY":false,"top":252.26165044624906,"height":150.87331427291437,"width":111.17847738508925,"asset":"Circle","selectable":true,"left":89.3538236308438,"fill":"#FFA715"},{"opacity":1,"angle":140.93298921357598,"flipX":false,"flipY":false,"top":264.77438564567166,"height":150.87331427291437,"width":60.03203862971662,"asset":"Circle","selectable":true,"left":99.74670552288484,"fill":"#000000"},{"opacity":1,"angle":140.93298921357598,"flipX":false,"flipY":false,"top":267.76178139481163,"height":150.87331427291437,"width":60.10831977899071,"asset":"Circle","selectable":true,"left":98.59762807260576,"fill":"#FFA715"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":299.26165044624906,"height":283.5177749070889,"width":111.17847738508925,"asset":"Circle","selectable":true,"left":128.7551133963553,"fill":"#464646"},{"opacity":1,"angle":239.68739101314102,"flipX":false,"flipY":false,"top":178.1995762364376,"height":97.63896708500442,"width":30.975045927346223,"asset":"StrokeBent","selectable":true,"left":136.62027924764655,"fill":"#FFA715"},{"opacity":1,"angle":55.21286860184022,"flipX":false,"flipY":false,"top":199.85847613892517,"height":161.9697534430124,"width":93.04269582232934,"asset":"Circle","selectable":true,"left":188.64322499248127,"fill":"#FFA715"},{"opacity":1,"angle":33.33017558425669,"flipX":false,"flipY":false,"top":158,"height":118.48073780072434,"width":43.02856700290496,"asset":"Circle","selectable":true,"left":270,"fill":"#FFA715"},{"opacity":1,"angle":30.676757789308116,"flipX":false,"flipY":false,"top":168,"height":94.31240093929158,"width":8.108632423680259,"asset":"StrokeBent","selectable":true,"left":268,"fill":"#000000"},{"opacity":1,"angle":19.523316412616417,"flipX":false,"flipY":false,"top":165,"height":38.62112065088661,"width":5.117868097116128,"asset":"StrokeBent","selectable":true,"left":243,"fill":"#000000"},{"opacity":1,"angle":261.296346068157,"flipX":false,"flipY":false,"top":151.43470205833495,"height":75.13111549211563,"width":26.24618028972316,"asset":"Circle","selectable":true,"left":212.45488709322643,"fill":"#464646"},{"opacity":1,"angle":132.55859373150898,"flipX":false,"flipY":false,"top":85.05360803042211,"height":192.11385282467745,"width":111.17847738508925,"asset":"Circle","selectable":true,"left":163.79022079711493,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.67662902388369,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":52.31032580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":155.79366918710326,"flipX":false,"flipY":false,"top":34.375,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":60.43532580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.05162902388369,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":68.56032580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.499610591900314,"height":41.000778816199364,"width":28.09684332005216,"asset":"Number0","selectable":true,"left":89.40834377840618,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.67662902388369,"height":38.854815680166155,"width":7.770963136033231,"asset":"Stroke","selectable":true,"left":127.93532580477674,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":27.5,"height":24.544090068126007,"width":27.055992824506053,"asset":"Number0","selectable":true,"left":137.5,"fill":"#FFFFFF"},{"opacity":1,"angle":314.2825679035819,"flipX":false,"flipY":false,"top":45,"height":22.764586663098452,"width":6.0832135600667625,"asset":"Stroke","selectable":true,"left":138.125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":34.77772484252715,"height":39.194550314945694,"width":28.42332603096468,"asset":"Number3","selectable":true,"left":168.72446675380047,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":35,"height":24.0625,"width":20.0064589004279,"asset":"Square","selectable":true,"left":181.50245063401456,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.375,"height":38.75,"width":32.395757965848446,"asset":"Number0","selectable":true,"left":202.18280110130428,"fill":"#FFFFFF"},{"opacity":1,"angle":90.10788300159459,"flipX":false,"flipY":false,"top":42.515292519898615,"height":28.921157643670295,"width":23.72183199053037,"asset":"Number0","selectable":true,"left":200.66123605022872,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.91864396032886,"height":20.588845553056483,"width":4.117769110611296,"asset":"Stroke","selectable":true,"left":197.35872879206573,"fill":"#464646"},{"opacity":1,"angle":89.48758274602717,"flipX":false,"flipY":false,"top":26.72259916898224,"height":21.08397087279006,"width":7.768705856357343,"asset":"Stroke","selectable":true,"left":209.7171498397106,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":34.19247614867892,"height":40.38650992975662,"width":29.886522179394024,"asset":"Questionmark","selectable":true,"left":240.92668788097427,"fill":"#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告