登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
14
圖層數
40
wwz
作者:
wwz
代碼 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":133.8359371351,"left":377.4076557552,"height":179.0403237293,"selectable":false,"flipX":false,"fill":"#8D605D","opacity":1,"asset":"Banner","width":649.5276521839,"top":78.369625226,"flipY":false},{"angle":244.4525160084,"left":-25.4717082916,"height":91.5771609025,"selectable":false,"flipX":false,"fill":"#8D605D","opacity":1,"asset":"Banner","width":552.312613554,"top":54.8944526935,"flipY":false},{"angle":0,"left":141.4789953271,"height":159.5015576324,"selectable":false,"flipX":false,"fill":"#8D605D","opacity":1,"asset":"Shield6","width":150.7920093458,"top":275.625,"flipY":false},{"angle":7.5666431154,"left":127.407599278,"height":167.2352976813,"selectable":false,"flipX":false,"fill":"#F3C6B3","opacity":1,"asset":"Shield4","width":110.091094453,"top":354.6269991622,"flipY":false},{"angle":0,"left":72.5,"height":159.5015576324,"selectable":false,"flipX":false,"fill":"#FFF7EA","opacity":1,"asset":"Circle","width":159.5015576324,"top":136.875,"flipY":false},{"angle":10.9248224396,"left":162.5141606125,"height":323.0307082951,"selectable":false,"flipX":false,"fill":"#FFF7EA","opacity":1,"asset":"Shield","width":294.1726521094,"top":152.0014953559,"flipY":false},{"angle":98.8026137955,"left":249.3542728809,"height":83.9693059066,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield6","width":21.4732748755,"top":165.6406428262,"flipY":false},{"angle":104.8494407564,"left":246.8683267368,"height":102.0721246779,"selectable":false,"flipX":false,"fill":"#FFF7EA","opacity":1,"asset":"Shield6","width":28.6687460633,"top":175.486818124,"flipY":false},{"angle":0,"left":271.1459034517,"height":46.9732225955,"selectable":false,"flipX":false,"fill":"#F9CEBB","opacity":0.5,"asset":"Sale","width":92.58987074,"top":192.3856432161,"flipY":false},{"angle":0,"left":41.3440466678,"height":46.8919382957,"selectable":true,"flipX":false,"fill":"#F9CEBB","opacity":0.5,"asset":"Sale","width":97.1935843078,"top":162.426285366,"flipY":false},{"angle":30.479191933,"left":18.1952095237,"height":319.4617770995,"selectable":false,"flipX":false,"fill":"#E9CCB5","opacity":1,"asset":"Shield6","width":89.9336581819,"top":37.0257642203,"flipY":false},{"angle":334.2839142021,"left":63.125,"height":67.7165373685,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"CrescentMoon","width":60.8232782345,"top":109.1478862231,"flipY":false},{"angle":208.947021977,"left":78.0289947884,"height":67.7165373685,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"CrescentMoon","width":60.8232782345,"top":109.1478862231,"flipY":false},{"angle":350.122151805,"left":44.6270441313,"height":50.9546812078,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield6","width":40.8381069542,"top":127.6015617877,"flipY":false},{"angle":175.5429271773,"left":74.9631660393,"height":84.0118548988,"selectable":false,"flipX":false,"fill":"#FFFFFF","opacity":1,"asset":"Emblem120","width":94.309699864,"top":127.9000279244,"flipY":false},{"angle":70.493067406,"left":81.3052970133,"height":75.6766763953,"selectable":false,"flipX":false,"fill":"#39385A","opacity":1,"asset":"Emblem120","width":84.352257299,"top":123.8846822859,"flipY":false},{"angle":5.4259526009,"left":78.8002958707,"height":49.0898273939,"selectable":true,"flipX":false,"fill":"#939DCE","opacity":1,"asset":"Eye2","width":57.8140375054,"top":141.0329853747,"flipY":false},{"angle":3.8531692238,"left":81.4485710528,"height":43.3914766194,"selectable":false,"flipX":false,"fill":"#39385A","opacity":1,"asset":"Circle","width":37.3149186802,"top":120.6287989249,"flipY":false},{"angle":188.2641132923,"left":82.0900849748,"height":52.0629575804,"selectable":false,"flipX":false,"fill":"#39385A","opacity":1,"asset":"MotionSensor","width":53.2397013469,"top":116.6959389275,"flipY":false},{"angle":79.2418420373,"left":61.25,"height":84.6183997182,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":27.1165668432,"top":95.625,"flipY":false},{"angle":113.7523290187,"left":92.0956797205,"height":72.8185012832,"selectable":true,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":21.8067504314,"top":97.19786264,"flipY":false},{"angle":0,"left":48.5621105919,"height":11.6257788162,"selectable":false,"flipX":false,"fill":"#FFFFFF","opacity":1,"asset":"Circle","width":11.6257788162,"top":140.4371105919,"flipY":false},{"angle":77.3078441767,"left":220.047691774,"height":15.6981922004,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":1.8799566042,"top":146.8076512877,"flipY":false},{"angle":115.5070342554,"left":113.9124004553,"height":24.2623358955,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":1.8799566042,"top":77.4016052231,"flipY":false},{"angle":355.3025987386,"left":165.9660114789,"height":223.6017282506,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Shield6","width":78.4542583142,"top":73.8756408874,"flipY":false},{"angle":244.1760442213,"left":75.0069236323,"height":161.4276739462,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Banner","width":698.7259839364,"top":-174.9070259809,"flipY":false},{"angle":343.591524037,"left":231.5448220437,"height":224.2518452849,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Shield6","width":42.8526512935,"top":43.6981105799,"flipY":false},{"angle":348.5685281766,"left":284.4452095237,"height":319.4617770995,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Shield6","width":89.9336581819,"top":30.1507642203,"flipY":false},{"angle":345.4054211862,"left":276.1648653133,"height":384.0567089152,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":192.0283544576,"top":33.9328943066,"flipY":false},{"angle":17.3009633037,"left":227.7565963252,"height":52.5448281644,"selectable":false,"flipX":false,"fill":"#281819","opacity":1,"asset":"Eye2","width":268.988364982,"top":-17.385000248,"flipY":false},{"angle":24.1055561127,"left":78.8774151292,"height":501.235642019,"selectable":false,"flipX":true,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":192.0283544576,"top":-71.7723927,"flipY":false},{"angle":356.9094366434,"left":21.3319119035,"height":341.3619531315,"selectable":false,"flipX":true,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":68.7520914577,"top":153.9498574477,"flipY":false},{"angle":353.7446424963,"left":10.4825720611,"height":431.634076122,"selectable":false,"flipX":true,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":132.2374341004,"top":167.682327391,"flipY":false},{"angle":313.7719220646,"left":219.2150095032,"height":182.0952889365,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":1,"asset":"ArrowBent","width":549.4469035264,"top":320.3027983039,"flipY":true},{"angle":127.0792600984,"left":108.8908406232,"height":101.1711033335,"selectable":false,"flipX":false,"fill":"#AE7C73","opacity":1,"asset":"Banner","width":695.661592861,"top":504.4267973636,"flipY":false},{"angle":282.687853124,"left":278.0644936393,"height":97.5619424678,"selectable":false,"flipX":false,"fill":"#77483E","opacity":1,"asset":"CrescentMoon","width":9.8169397866,"top":64.7817974359,"flipY":false},{"angle":274.0321706413,"left":80.3743232251,"height":108.4585737888,"selectable":false,"flipX":false,"fill":"#77483E","opacity":1,"asset":"CrescentMoon","width":9.8169397866,"top":28.9149043522,"flipY":false},{"angle":0,"left":148.125,"height":1.4378894081,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":1.4378894081,"top":222.5,"flipY":false},{"angle":10.7560746313,"left":142.0998906693,"height":12.1098128255,"selectable":true,"flipX":false,"fill":"#B57B7A","opacity":1,"asset":"Drop","width":19.4941322608,"top":261.875,"flipY":false},{"angle":9.3128691387,"left":141.9948215465,"height":8.9459537764,"selectable":false,"flipX":false,"fill":"#F0B4AC","opacity":1,"asset":"Emblem120","width":17.6605014966,"top":263.0193225407,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":133.8359371351,"left":377.4076557552,"height":179.0403237293,"selectable":false,"flipX":false,"fill":"#8D605D","opacity":1,"asset":"Banner","width":649.5276521839,"top":78.369625226,"flipY":false},{"angle":244.4525160084,"left":-25.4717082916,"height":91.5771609025,"selectable":false,"flipX":false,"fill":"#8D605D","opacity":1,"asset":"Banner","width":552.312613554,"top":54.8944526935,"flipY":false},{"angle":0,"left":141.4789953271,"height":159.5015576324,"selectable":false,"flipX":false,"fill":"#8D605D","opacity":1,"asset":"Shield6","width":150.7920093458,"top":275.625,"flipY":false},{"angle":7.5666431154,"left":127.407599278,"height":167.2352976813,"selectable":false,"flipX":false,"fill":"#F3C6B3","opacity":1,"asset":"Shield4","width":110.091094453,"top":354.6269991622,"flipY":false},{"angle":0,"left":72.5,"height":159.5015576324,"selectable":false,"flipX":false,"fill":"#FFF7EA","opacity":1,"asset":"Circle","width":159.5015576324,"top":136.875,"flipY":false},{"angle":10.9248224396,"left":162.5141606125,"height":323.0307082951,"selectable":false,"flipX":false,"fill":"#FFF7EA","opacity":1,"asset":"Shield","width":294.1726521094,"top":152.0014953559,"flipY":false},{"angle":98.8026137955,"left":249.3542728809,"height":83.9693059066,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield6","width":21.4732748755,"top":165.6406428262,"flipY":false},{"angle":104.8494407564,"left":246.8683267368,"height":102.0721246779,"selectable":false,"flipX":false,"fill":"#FFF7EA","opacity":1,"asset":"Shield6","width":28.6687460633,"top":175.486818124,"flipY":false},{"angle":0,"left":271.1459034517,"height":46.9732225955,"selectable":false,"flipX":false,"fill":"#F9CEBB","opacity":0.5,"asset":"Sale","width":92.58987074,"top":192.3856432161,"flipY":false},{"angle":0,"left":41.3440466678,"height":46.8919382957,"selectable":true,"flipX":false,"fill":"#F9CEBB","opacity":0.5,"asset":"Sale","width":97.1935843078,"top":162.426285366,"flipY":false},{"angle":30.479191933,"left":18.1952095237,"height":319.4617770995,"selectable":false,"flipX":false,"fill":"#E9CCB5","opacity":1,"asset":"Shield6","width":89.9336581819,"top":37.0257642203,"flipY":false},{"angle":334.2839142021,"left":63.125,"height":67.7165373685,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"CrescentMoon","width":60.8232782345,"top":109.1478862231,"flipY":false},{"angle":208.947021977,"left":78.0289947884,"height":67.7165373685,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"CrescentMoon","width":60.8232782345,"top":109.1478862231,"flipY":false},{"angle":350.122151805,"left":44.6270441313,"height":50.9546812078,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield6","width":40.8381069542,"top":127.6015617877,"flipY":false},{"angle":175.5429271773,"left":74.9631660393,"height":84.0118548988,"selectable":false,"flipX":false,"fill":"#FFFFFF","opacity":1,"asset":"Emblem120","width":94.309699864,"top":127.9000279244,"flipY":false},{"angle":70.493067406,"left":81.3052970133,"height":75.6766763953,"selectable":false,"flipX":false,"fill":"#39385A","opacity":1,"asset":"Emblem120","width":84.352257299,"top":123.8846822859,"flipY":false},{"angle":5.4259526009,"left":78.8002958707,"height":49.0898273939,"selectable":true,"flipX":false,"fill":"#939DCE","opacity":1,"asset":"Eye2","width":57.8140375054,"top":141.0329853747,"flipY":false},{"angle":3.8531692238,"left":81.4485710528,"height":43.3914766194,"selectable":false,"flipX":false,"fill":"#39385A","opacity":1,"asset":"Circle","width":37.3149186802,"top":120.6287989249,"flipY":false},{"angle":188.2641132923,"left":82.0900849748,"height":52.0629575804,"selectable":false,"flipX":false,"fill":"#39385A","opacity":1,"asset":"MotionSensor","width":53.2397013469,"top":116.6959389275,"flipY":false},{"angle":79.2418420373,"left":61.25,"height":84.6183997182,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":27.1165668432,"top":95.625,"flipY":false},{"angle":113.7523290187,"left":92.0956797205,"height":72.8185012832,"selectable":true,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":21.8067504314,"top":97.19786264,"flipY":false},{"angle":0,"left":48.5621105919,"height":11.6257788162,"selectable":false,"flipX":false,"fill":"#FFFFFF","opacity":1,"asset":"Circle","width":11.6257788162,"top":140.4371105919,"flipY":false},{"angle":77.3078441767,"left":220.047691774,"height":15.6981922004,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":1.8799566042,"top":146.8076512877,"flipY":false},{"angle":115.5070342554,"left":113.9124004553,"height":24.2623358955,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":1.8799566042,"top":77.4016052231,"flipY":false},{"angle":355.3025987386,"left":165.9660114789,"height":223.6017282506,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Shield6","width":78.4542583142,"top":73.8756408874,"flipY":false},{"angle":244.1760442213,"left":75.0069236323,"height":161.4276739462,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Banner","width":698.7259839364,"top":-174.9070259809,"flipY":false},{"angle":343.591524037,"left":231.5448220437,"height":224.2518452849,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Shield6","width":42.8526512935,"top":43.6981105799,"flipY":false},{"angle":348.5685281766,"left":284.4452095237,"height":319.4617770995,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":0.8,"asset":"Shield6","width":89.9336581819,"top":30.1507642203,"flipY":false},{"angle":345.4054211862,"left":276.1648653133,"height":384.0567089152,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":192.0283544576,"top":33.9328943066,"flipY":false},{"angle":17.3009633037,"left":227.7565963252,"height":52.5448281644,"selectable":false,"flipX":false,"fill":"#281819","opacity":1,"asset":"Eye2","width":268.988364982,"top":-17.385000248,"flipY":false},{"angle":24.1055561127,"left":78.8774151292,"height":501.235642019,"selectable":false,"flipX":true,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":192.0283544576,"top":-71.7723927,"flipY":false},{"angle":356.9094366434,"left":21.3319119035,"height":341.3619531315,"selectable":false,"flipX":true,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":68.7520914577,"top":153.9498574477,"flipY":false},{"angle":353.7446424963,"left":10.4825720611,"height":431.634076122,"selectable":false,"flipX":true,"fill":"#E4C2A7","opacity":1,"asset":"CrescentMoon","width":132.2374341004,"top":167.682327391,"flipY":false},{"angle":313.7719220646,"left":219.2150095032,"height":182.0952889365,"selectable":false,"flipX":false,"fill":"#E4C2A7","opacity":1,"asset":"ArrowBent","width":549.4469035264,"top":320.3027983039,"flipY":true},{"angle":127.0792600984,"left":108.8908406232,"height":101.1711033335,"selectable":false,"flipX":false,"fill":"#AE7C73","opacity":1,"asset":"Banner","width":695.661592861,"top":504.4267973636,"flipY":false},{"angle":282.687853124,"left":278.0644936393,"height":97.5619424678,"selectable":false,"flipX":false,"fill":"#77483E","opacity":1,"asset":"CrescentMoon","width":9.8169397866,"top":64.7817974359,"flipY":false},{"angle":274.0321706413,"left":80.3743232251,"height":108.4585737888,"selectable":false,"flipX":false,"fill":"#77483E","opacity":1,"asset":"CrescentMoon","width":9.8169397866,"top":28.9149043522,"flipY":false},{"angle":0,"left":148.125,"height":1.4378894081,"selectable":false,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":1.4378894081,"top":222.5,"flipY":false},{"angle":10.7560746313,"left":142.0998906693,"height":12.1098128255,"selectable":true,"flipX":false,"fill":"#B57B7A","opacity":1,"asset":"Drop","width":19.4941322608,"top":261.875,"flipY":false},{"angle":9.3128691387,"left":141.9948215465,"height":8.9459537764,"selectable":false,"flipX":false,"fill":"#F0B4AC","opacity":1,"asset":"Emblem120","width":17.6605014966,"top":263.0193225407,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告