登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
7
圖層數
40
131
作者:
ACbjorlin
代碼 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":45.04910312062376,"flipX":false,"flipY":false,"top":350.73813452345735,"height":1003.6349215982023,"width":1.6942747310604034,"asset":"Stroke","selectable":false,"left":-29.704612796478358,"fill":"#FFFFFF"},{"opacity":1,"angle":314.94087365954294,"flipX":false,"flipY":false,"top":155.9657171816237,"height":469.50131379705834,"width":1.6208724053014478,"asset":"Stroke","selectable":false,"left":154.92455642153638,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":160.76190033740494,"height":475.0109497656979,"width":0.9233896279186027,"asset":"Stroke","selectable":false,"left":197.18833632763923,"fill":"#FFFFFF"},{"opacity":1,"angle":44.86632031966934,"flipX":false,"flipY":false,"top":78.20665552407094,"height":227.31487925256693,"width":1.1485171995331456,"asset":"Stroke","selectable":false,"left":78.53085491544422,"fill":"#FFFFFF"},{"opacity":1,"angle":90.10338000812509,"flipX":false,"flipY":false,"top":78.76281258675426,"height":371.9027153472024,"width":1.5455933926755705,"asset":"Stroke","selectable":false,"left":186.22601216402927,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":121.250921880833,"height":498.70465662103396,"width":1.8875471872402194,"asset":"Stroke","selectable":false,"left":159.3689374301404,"fill":"#FFFFFF"},{"opacity":1,"angle":314.9003289034802,"flipX":false,"flipY":false,"top":69.72874598630699,"height":252.1055472832974,"width":1.8493406934562984,"asset":"Stroke","selectable":false,"left":233.69965867079898,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":233.30403447524125,"height":568.7630341119601,"width":2.794854956645967,"asset":"Stroke","selectable":false,"left":117.18655768549546,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":103.27272882375485,"height":441.8852132966851,"width":1.6016578813678173,"asset":"Stroke","selectable":false,"left":141.24959266770267,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":190.6123625285162,"height":464.69822048760886,"width":464.69822048760886,"asset":"Square","selectable":false,"left":129.38763747148377,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":160,"height":87.91459133580726,"width":85.24636914189105,"asset":"Triangle","selectable":false,"left":198.75,"fill":"#7A0026"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":160,"height":86.96150825392337,"width":84.34827622704549,"asset":"Triangle","selectable":false,"left":121.875,"fill":"#7A0026"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":202.5,"height":88.52616403863055,"width":84.43019846895932,"asset":"Triangle","selectable":false,"left":159.375,"fill":"#7A0026"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":120.625,"height":87.85540240760884,"width":83.75225109396325,"asset":"Triangle","selectable":false,"left":159.37500000000003,"fill":"#7A0026"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":235,"height":24.37427639327325,"width":83.81357321381041,"asset":"Triangle","selectable":false,"left":159.375,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":160.17163880854997,"height":24.858611035374878,"width":84.49211408919417,"asset":"Triangle","selectable":false,"left":90,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":87.5,"height":23.583166336902792,"width":84.43858710945217,"asset":"Triangle","selectable":false,"left":159.375,"fill":"#FFFFFF"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":160.59860873522362,"height":24.833194128186236,"width":85.11635574336317,"asset":"Triangle","selectable":false,"left":231.25,"fill":"#FFFFFF"},{"opacity":1,"angle":35.12246513680663,"flipX":true,"flipY":false,"top":228.08683055337247,"height":233.04144245085357,"width":14.499650089741746,"asset":"StrokeBent","selectable":false,"left":230.78294756435625,"fill":"#000000"},{"opacity":1,"angle":322.9678923524789,"flipX":false,"flipY":false,"top":241.994078149144,"height":268.2639671978312,"width":15.59029391466165,"asset":"StrokeBent","selectable":false,"left":100.85616815477167,"fill":"#000000"},{"opacity":1,"angle":345.4937282755734,"flipX":false,"flipY":false,"top":157.63116717131018,"height":155.91785395273837,"width":13.917827168102498,"asset":"StrokeBent","selectable":false,"left":40.874308494312444,"fill":"#000000"},{"opacity":1,"angle":17.736543872536497,"flipX":true,"flipY":false,"top":158.15752648076,"height":158.438361796768,"width":13.732161300084691,"asset":"StrokeBent","selectable":false,"left":279.37499999999994,"fill":"#000000"},{"opacity":1,"angle":298.6693068955674,"flipX":false,"flipY":true,"top":47.9244787378415,"height":176.91881145986463,"width":11.77759611934377,"asset":"StrokeBent","selectable":false,"left":231.87532512423033,"fill":"#000000"},{"opacity":1,"angle":60.87695647542298,"flipX":true,"flipY":true,"top":47.5,"height":173.32466499050773,"width":12.922393726916166,"asset":"StrokeBent","selectable":false,"left":89.375,"fill":"#000000"},{"opacity":1,"angle":318.33894189644104,"flipX":false,"flipY":false,"top":323.6716380951944,"height":652.9476958856653,"width":74.65565396332046,"asset":"StrokeBent","selectable":false,"left":175.625,"fill":"#464646"},{"opacity":1,"angle":48.97208052557589,"flipX":true,"flipY":true,"top":379.2709434792663,"height":784.6224036106676,"width":143.6084304271148,"asset":"StrokeBent","selectable":false,"left":68.75,"fill":"#464646"},{"opacity":1,"angle":239.62945773898846,"flipX":false,"flipY":false,"top":3.75,"height":359.56988906237,"width":79.61735831276546,"asset":"StrokeBent","selectable":false,"left":89.80894694963057,"fill":"#464646"},{"asset":"holiday_Tophat_detail","left":273.125,"top":36.25,"angle":216.63673748235067,"width":159.2699897342306,"height":59.70096954488421,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"holiday_Tophat_detail","left":201.875,"top":-1.25,"angle":217.22681033150977,"width":159.2699897342306,"height":59.70096954488421,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":258.75,"top":53.125,"angle":296.3922890181502,"width":21.565734475896708,"height":188.40809070507436,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":291.1874975652166,"top":131.72968401366865,"angle":193.5767800090099,"width":16.78033133913082,"height":132.09039802475402,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":318.0271580360389,"top":157.5,"angle":0,"width":30.845995454401987,"height":337.5,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":36.875,"top":154.4996105919003,"angle":344.7632837022333,"width":19.702102803738317,"height":159.7507788161994,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":70,"top":53.125,"angle":242.84010967619525,"width":13.26484091335768,"height":134.09457150271282,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":56.51830078125343,"top":61.60113551725377,"angle":244.05892860163934,"width":10.912783115923954,"height":110.69513944873023,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":5.5632744991691725,"top":111.97895568629757,"angle":147.97152276421272,"width":71.64837063424012,"height":71.64837063424012,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":14.245118942924915,"top":239.4975107373917,"angle":345.9911911577221,"width":229.87700702968985,"height":229.87700702968985,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":292.1487258934563,"top":265.52764678020026,"angle":21.519966668951017,"width":204.9364085281015,"height":204.9364085281015,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":278.125,"top":-18.125,"angle":265.3863004403332,"width":159.50155763239874,"height":159.50155763239874,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":71.875,"top":5,"angle":89.38900253566166,"width":159.50155763239874,"height":159.50155763239874,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":45.04910312062376,"flipX":false,"flipY":false,"top":350.73813452345735,"height":1003.6349215982023,"width":1.6942747310604034,"asset":"Stroke","selectable":false,"left":-29.704612796478358,"fill":"#FFFFFF"},{"opacity":1,"angle":314.94087365954294,"flipX":false,"flipY":false,"top":155.9657171816237,"height":469.50131379705834,"width":1.6208724053014478,"asset":"Stroke","selectable":false,"left":154.92455642153638,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":160.76190033740494,"height":475.0109497656979,"width":0.9233896279186027,"asset":"Stroke","selectable":false,"left":197.18833632763923,"fill":"#FFFFFF"},{"opacity":1,"angle":44.86632031966934,"flipX":false,"flipY":false,"top":78.20665552407094,"height":227.31487925256693,"width":1.1485171995331456,"asset":"Stroke","selectable":false,"left":78.53085491544422,"fill":"#FFFFFF"},{"opacity":1,"angle":90.10338000812509,"flipX":false,"flipY":false,"top":78.76281258675426,"height":371.9027153472024,"width":1.5455933926755705,"asset":"Stroke","selectable":false,"left":186.22601216402927,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":121.250921880833,"height":498.70465662103396,"width":1.8875471872402194,"asset":"Stroke","selectable":false,"left":159.3689374301404,"fill":"#FFFFFF"},{"opacity":1,"angle":314.9003289034802,"flipX":false,"flipY":false,"top":69.72874598630699,"height":252.1055472832974,"width":1.8493406934562984,"asset":"Stroke","selectable":false,"left":233.69965867079898,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":233.30403447524125,"height":568.7630341119601,"width":2.794854956645967,"asset":"Stroke","selectable":false,"left":117.18655768549546,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":103.27272882375485,"height":441.8852132966851,"width":1.6016578813678173,"asset":"Stroke","selectable":false,"left":141.24959266770267,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":190.6123625285162,"height":464.69822048760886,"width":464.69822048760886,"asset":"Square","selectable":false,"left":129.38763747148377,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":160,"height":87.91459133580726,"width":85.24636914189105,"asset":"Triangle","selectable":false,"left":198.75,"fill":"#7A0026"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":160,"height":86.96150825392337,"width":84.34827622704549,"asset":"Triangle","selectable":false,"left":121.875,"fill":"#7A0026"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":202.5,"height":88.52616403863055,"width":84.43019846895932,"asset":"Triangle","selectable":false,"left":159.375,"fill":"#7A0026"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":120.625,"height":87.85540240760884,"width":83.75225109396325,"asset":"Triangle","selectable":false,"left":159.37500000000003,"fill":"#7A0026"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":235,"height":24.37427639327325,"width":83.81357321381041,"asset":"Triangle","selectable":false,"left":159.375,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":160.17163880854997,"height":24.858611035374878,"width":84.49211408919417,"asset":"Triangle","selectable":false,"left":90,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":87.5,"height":23.583166336902792,"width":84.43858710945217,"asset":"Triangle","selectable":false,"left":159.375,"fill":"#FFFFFF"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":160.59860873522362,"height":24.833194128186236,"width":85.11635574336317,"asset":"Triangle","selectable":false,"left":231.25,"fill":"#FFFFFF"},{"opacity":1,"angle":35.12246513680663,"flipX":true,"flipY":false,"top":228.08683055337247,"height":233.04144245085357,"width":14.499650089741746,"asset":"StrokeBent","selectable":false,"left":230.78294756435625,"fill":"#000000"},{"opacity":1,"angle":322.9678923524789,"flipX":false,"flipY":false,"top":241.994078149144,"height":268.2639671978312,"width":15.59029391466165,"asset":"StrokeBent","selectable":false,"left":100.85616815477167,"fill":"#000000"},{"opacity":1,"angle":345.4937282755734,"flipX":false,"flipY":false,"top":157.63116717131018,"height":155.91785395273837,"width":13.917827168102498,"asset":"StrokeBent","selectable":false,"left":40.874308494312444,"fill":"#000000"},{"opacity":1,"angle":17.736543872536497,"flipX":true,"flipY":false,"top":158.15752648076,"height":158.438361796768,"width":13.732161300084691,"asset":"StrokeBent","selectable":false,"left":279.37499999999994,"fill":"#000000"},{"opacity":1,"angle":298.6693068955674,"flipX":false,"flipY":true,"top":47.9244787378415,"height":176.91881145986463,"width":11.77759611934377,"asset":"StrokeBent","selectable":false,"left":231.87532512423033,"fill":"#000000"},{"opacity":1,"angle":60.87695647542298,"flipX":true,"flipY":true,"top":47.5,"height":173.32466499050773,"width":12.922393726916166,"asset":"StrokeBent","selectable":false,"left":89.375,"fill":"#000000"},{"opacity":1,"angle":318.33894189644104,"flipX":false,"flipY":false,"top":323.6716380951944,"height":652.9476958856653,"width":74.65565396332046,"asset":"StrokeBent","selectable":false,"left":175.625,"fill":"#464646"},{"opacity":1,"angle":48.97208052557589,"flipX":true,"flipY":true,"top":379.2709434792663,"height":784.6224036106676,"width":143.6084304271148,"asset":"StrokeBent","selectable":false,"left":68.75,"fill":"#464646"},{"opacity":1,"angle":239.62945773898846,"flipX":false,"flipY":false,"top":3.75,"height":359.56988906237,"width":79.61735831276546,"asset":"StrokeBent","selectable":false,"left":89.80894694963057,"fill":"#464646"},{"asset":"holiday_Tophat_detail","left":273.125,"top":36.25,"angle":216.63673748235067,"width":159.2699897342306,"height":59.70096954488421,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"holiday_Tophat_detail","left":201.875,"top":-1.25,"angle":217.22681033150977,"width":159.2699897342306,"height":59.70096954488421,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":258.75,"top":53.125,"angle":296.3922890181502,"width":21.565734475896708,"height":188.40809070507436,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":291.1874975652166,"top":131.72968401366865,"angle":193.5767800090099,"width":16.78033133913082,"height":132.09039802475402,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":318.0271580360389,"top":157.5,"angle":0,"width":30.845995454401987,"height":337.5,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":36.875,"top":154.4996105919003,"angle":344.7632837022333,"width":19.702102803738317,"height":159.7507788161994,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":70,"top":53.125,"angle":242.84010967619525,"width":13.26484091335768,"height":134.09457150271282,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"StrokeBent","left":56.51830078125343,"top":61.60113551725377,"angle":244.05892860163934,"width":10.912783115923954,"height":110.69513944873023,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":5.5632744991691725,"top":111.97895568629757,"angle":147.97152276421272,"width":71.64837063424012,"height":71.64837063424012,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":14.245118942924915,"top":239.4975107373917,"angle":345.9911911577221,"width":229.87700702968985,"height":229.87700702968985,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":292.1487258934563,"top":265.52764678020026,"angle":21.519966668951017,"width":204.9364085281015,"height":204.9364085281015,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":278.125,"top":-18.125,"angle":265.3863004403332,"width":159.50155763239874,"height":159.50155763239874,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":71.875,"top":5,"angle":89.38900253566166,"width":159.50155763239874,"height":159.50155763239874,"opacity":1,"fill":"#464646","flipX":false,"flipY":false,"selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告