登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
6
圖層數
39
square
作者:
Alex
»
代碼 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":true,"top":173,"left":160.5,"height":347,"width":341,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":179,"left":260,"height":188,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":93.5,"left":162,"height":193.00939374524077,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":263.5,"left":152,"height":193.01658780367552,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":262.5,"left":273,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":189,"left":239,"height":165,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.28224293627085,"flipX":true,"flipY":true,"top":115,"left":154,"height":163.9885620195596,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":47.0700306530411,"flipX":true,"flipY":true,"top":130.9875,"left":221.4875,"height":75.20970222690259,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":167.5,"left":71.5,"height":165,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":243.5,"left":145.5,"height":166.0316746150215,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":47.0700306530411,"flipX":true,"flipY":true,"top":225.4875,"left":89.9875,"height":79.24516663734022,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":178,"left":50.5,"height":188,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":92.5,"left":39.5,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":211.9875,"left":201.9875,"height":241.01534568016163,"width":31.977589742353274,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":220.475,"left":203.975,"height":241.0009575632922,"width":12.949305182505263,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":204.9875,"left":190.4875,"height":214.00885031620348,"width":13.978055538670976,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":221.5,"left":39.5,"height":38.02779288595709,"width":13.999637713975122,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":136.33221985386965,"flipX":true,"flipY":true,"top":113.070825,"left":191.570825,"height":137.37179379235656,"width":14.138312908260733,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":112.27589784825896,"flipX":false,"flipY":false,"top":205.695825,"left":300.195825,"height":39.61249371313018,"width":30.393717837165926,"asset":"Triangle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":180,"flipX":true,"flipY":true,"top":226.5,"left":320,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":46.22933448647788,"flipX":true,"flipY":true,"top":160.683325,"left":72.683325,"height":69.37153744377467,"width":33.362903504712506,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":46.22933448647788,"flipX":true,"flipY":true,"top":168.991675,"left":73.991675,"height":156.2801412987205,"width":14.982358812865606,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":45.96286362563622,"flipX":true,"flipY":true,"top":169.733325,"left":52.733325,"height":156.1764453792192,"width":13.468779184000956,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":45.96286362563622,"flipX":true,"flipY":true,"top":73,"left":142.5,"height":60.826361396471874,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":45.72500048829477,"flipX":true,"flipY":true,"top":188.4875,"left":66.4875,"height":75.24445791454679,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.01446497811052,"flipX":true,"flipY":true,"top":82.9875,"left":98.9875,"height":96.97448567504121,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":136.33221985386965,"flipX":true,"flipY":true,"top":128.929175,"left":227.429175,"height":213.92260851006017,"width":12.856000807278944,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-0.4901252239382936,"flipX":true,"flipY":true,"top":131.4875,"left":269.4875,"height":130.9528856699556,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.4901252239382936,"flipX":true,"flipY":true,"top":142.4875,"left":249.4875,"height":75.20970222690259,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0.5648114609633559,"flipX":true,"flipY":true,"top":157.55,"left":230.55,"height":79.03077155885244,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.97788222262442,"flipX":true,"flipY":true,"top":66.05,"left":177.55,"height":156.52588226199578,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.6790401030119,"flipX":true,"flipY":true,"top":121.05,"left":188.05,"height":123.04746002436835,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.6790401030119,"flipX":true,"flipY":true,"top":83.05,"left":173.05,"height":167.99087269234087,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.01446497811052,"flipX":true,"flipY":true,"top":124.9875,"left":111.4875,"height":56.025004526109996,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":179.97862895305636,"flipX":true,"flipY":true,"top":113.9875,"left":81.4875,"height":22.973870091543866,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0.015406232356047036,"flipX":true,"flipY":true,"top":244.4875,"left":39.9875,"height":63.975811077921136,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-178.29018595585845,"flipX":true,"flipY":true,"top":216,"left":-16.5,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-111.38460366963008,"flipX":false,"flipY":false,"top":222.2,"left":18.7,"height":28.797395435214305,"width":24.401657316105496,"asset":"Triangle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":46.54737880392796,"flipX":true,"flipY":true,"top":182.5125,"left":50.5125,"height":171.4265913425863,"width":2.0265121742528356,"asset":"Square","fill":"#ffffff","selectable":false}]'},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":true,"top":173,"left":160.5,"height":347,"width":341,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":179,"left":260,"height":188,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":93.5,"left":162,"height":193.00939374524077,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":263.5,"left":152,"height":193.01658780367552,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":262.5,"left":273,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":189,"left":239,"height":165,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.28224293627085,"flipX":true,"flipY":true,"top":115,"left":154,"height":163.9885620195596,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":47.0700306530411,"flipX":true,"flipY":true,"top":130.9875,"left":221.4875,"height":75.20970222690259,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":167.5,"left":71.5,"height":165,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":243.5,"left":145.5,"height":166.0316746150215,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":47.0700306530411,"flipX":true,"flipY":true,"top":225.4875,"left":89.9875,"height":79.24516663734022,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":178,"left":50.5,"height":188,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":92.5,"left":39.5,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":211.9875,"left":201.9875,"height":241.01534568016163,"width":31.977589742353274,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":220.475,"left":203.975,"height":241.0009575632922,"width":12.949305182505263,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":204.9875,"left":190.4875,"height":214.00885031620348,"width":13.978055538670976,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.41219274140232,"flipX":true,"flipY":true,"top":221.5,"left":39.5,"height":38.02779288595709,"width":13.999637713975122,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":136.33221985386965,"flipX":true,"flipY":true,"top":113.070825,"left":191.570825,"height":137.37179379235656,"width":14.138312908260733,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":112.27589784825896,"flipX":false,"flipY":false,"top":205.695825,"left":300.195825,"height":39.61249371313018,"width":30.393717837165926,"asset":"Triangle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":180,"flipX":true,"flipY":true,"top":226.5,"left":320,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":46.22933448647788,"flipX":true,"flipY":true,"top":160.683325,"left":72.683325,"height":69.37153744377467,"width":33.362903504712506,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":46.22933448647788,"flipX":true,"flipY":true,"top":168.991675,"left":73.991675,"height":156.2801412987205,"width":14.982358812865606,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":45.96286362563622,"flipX":true,"flipY":true,"top":169.733325,"left":52.733325,"height":156.1764453792192,"width":13.468779184000956,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":45.96286362563622,"flipX":true,"flipY":true,"top":73,"left":142.5,"height":60.826361396471874,"width":18,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":45.72500048829477,"flipX":true,"flipY":true,"top":188.4875,"left":66.4875,"height":75.24445791454679,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.01446497811052,"flipX":true,"flipY":true,"top":82.9875,"left":98.9875,"height":96.97448567504121,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":136.33221985386965,"flipX":true,"flipY":true,"top":128.929175,"left":227.429175,"height":213.92260851006017,"width":12.856000807278944,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-0.4901252239382936,"flipX":true,"flipY":true,"top":131.4875,"left":269.4875,"height":130.9528856699556,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.4901252239382936,"flipX":true,"flipY":true,"top":142.4875,"left":249.4875,"height":75.20970222690259,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0.5648114609633559,"flipX":true,"flipY":true,"top":157.55,"left":230.55,"height":79.03077155885244,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.97788222262442,"flipX":true,"flipY":true,"top":66.05,"left":177.55,"height":156.52588226199578,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.6790401030119,"flipX":true,"flipY":true,"top":121.05,"left":188.05,"height":123.04746002436835,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-43.6790401030119,"flipX":true,"flipY":true,"top":83.05,"left":173.05,"height":167.99087269234087,"width":2.1040093308954093,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90.01446497811052,"flipX":true,"flipY":true,"top":124.9875,"left":111.4875,"height":56.025004526109996,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":179.97862895305636,"flipX":true,"flipY":true,"top":113.9875,"left":81.4875,"height":22.973870091543866,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0.015406232356047036,"flipX":true,"flipY":true,"top":244.4875,"left":39.9875,"height":63.975811077921136,"width":2.971146133541465,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-178.29018595585845,"flipX":true,"flipY":true,"top":216,"left":-16.5,"height":25,"width":50,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-111.38460366963008,"flipX":false,"flipY":false,"top":222.2,"left":18.7,"height":28.797395435214305,"width":24.401657316105496,"asset":"Triangle","fill":"#ff0000","selectable":false},{"opacity":1,"angle":46.54737880392796,"flipX":true,"flipY":true,"top":182.5125,"left":50.5125,"height":171.4265913425863,"width":2.0265121742528356,"asset":"Square","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告