登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
83
圖層數
40
北方
作者:
流影暗度
»
代碼 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":89.5,"height":527,"width":655.9999999999999,"asset":"Square","selectable":false,"left":126.00000000000001,"fill":"#ffffff"},{"opacity":1,"angle":-100.2882967637,"flipX":false,"flipY":false,"top":56.83325,"height":65.0816495319,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":71,"fill":"#000000"},{"opacity":1,"angle":-57.603447991,"flipX":false,"flipY":true,"top":71.104175,"height":36.4413135167,"width":7.9584066257,"asset":"StrokeBent","selectable":true,"left":53.183325,"fill":"#000000"},{"opacity":1,"angle":-100.7221214671,"flipX":true,"flipY":true,"top":39.604175,"height":86.289109731,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":140.183325,"fill":"#000000"},{"opacity":1,"angle":-65.3605834142,"flipX":true,"flipY":true,"top":48.104175,"height":79.9577224129,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":217.18332500000002,"fill":"#000000"},{"opacity":1,"angle":-25.5427573566,"flipX":true,"flipY":true,"top":95.104175,"height":66.517445808,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":268.183325,"fill":"#000000"},{"opacity":1,"angle":-155.6002036188,"flipX":true,"flipY":true,"top":102.7625,"height":57.34749414800001,"width":7.9584066257,"asset":"StrokeBent","selectable":true,"left":55.979175,"fill":"#000000"},{"opacity":1,"angle":-11.0701009679,"flipX":false,"flipY":true,"top":217.515061064,"height":190.47651817649998,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":295.3641528279,"fill":"#000000"},{"opacity":1,"angle":-50.2439397264,"flipX":true,"flipY":true,"top":96.866675,"height":41.4105314746,"width":6.2102599971000005,"asset":"StrokeBent","selectable":true,"left":250.908325,"fill":"#000000"},{"opacity":1,"angle":41.6061408081,"flipX":true,"flipY":true,"top":127.35,"height":41.4105314746,"width":6.2102599971000005,"asset":"StrokeBent","selectable":true,"left":253.604175,"fill":"#000000"},{"opacity":1,"angle":212.827434736,"flipX":true,"flipY":true,"top":118.3760316242,"height":44.4976951567,"width":8.9342630052,"asset":"StrokeBent","selectable":true,"left":73.4901943355,"fill":"#000000"},{"opacity":1,"angle":273.5901232277,"flipX":true,"flipY":true,"top":140.4111129631,"height":41.3541690943,"width":14.5008558796,"asset":"StrokeBent","selectable":true,"left":96.9353259782,"fill":"#000000"},{"opacity":1,"angle":-87.8415291919,"flipX":true,"flipY":true,"top":147.425,"height":46.5984349981,"width":18.1603366285,"asset":"StrokeBent","selectable":true,"left":181.866675,"fill":"#000000"},{"opacity":1,"angle":1.2730300201,"flipX":true,"flipY":true,"top":170.0897596228,"height":49.4643533778,"width":34.46824449100001,"asset":"Circle","selectable":true,"left":95.8824680555,"fill":"#000000"},{"opacity":1,"angle":-13.0791237801,"flipX":true,"flipY":true,"top":173.75,"height":52.435330634799996,"width":39.5387616614,"asset":"Circle","selectable":true,"left":183.125,"fill":"#000000"},{"opacity":1,"angle":-13.0791237801,"flipX":true,"flipY":true,"top":172.666675,"height":45.29568734829999,"width":35.3306361317,"asset":"Circle","selectable":true,"left":182.666675,"fill":"#ea9999"},{"opacity":1,"angle":2.0240457896,"flipX":true,"flipY":true,"top":171.6125,"height":6.7005939814,"width":5.226463305499999,"asset":"Circle","selectable":true,"left":180.6125,"fill":"#980000"},{"opacity":1,"angle":1.2730300201,"flipX":true,"flipY":true,"top":169.545825,"height":45.57010219349999,"width":31.094898750400002,"asset":"Circle","selectable":true,"left":95.670825,"fill":"#ea9999"},{"opacity":1,"angle":1.2730300201,"flipX":true,"flipY":true,"top":166.583325,"height":7.5769983358,"width":5.1701880124,"asset":"Circle","selectable":true,"left":95.08332499999999,"fill":"#980000"},{"opacity":1,"angle":10.028315845,"flipX":true,"flipY":true,"top":178.75,"height":37.097032552399995,"width":9.2404701685,"asset":"StrokeBent","selectable":true,"left":63.75,"fill":"#000000"},{"opacity":1,"angle":-168.1062511759,"flipX":true,"flipY":true,"top":205.304175,"height":25.858232272999995,"width":7.9825152211,"asset":"StrokeBent","selectable":true,"left":56.49167500000001,"fill":"#000000"},{"opacity":1,"angle":128.1244179553,"flipX":true,"flipY":true,"top":220.304175,"height":29.224853373899997,"width":7.9825152211,"asset":"StrokeBent","selectable":true,"left":63.491675,"fill":"#000000"},{"opacity":1,"angle":-0.7123005677,"flipX":false,"flipY":false,"top":241.59175,"height":39.3908755893,"width":57.907065125600006,"asset":"Romb","selectable":true,"left":110.875,"fill":"#000000"},{"opacity":1,"angle":-0.3428107733,"flipX":true,"flipY":true,"top":244.408325,"height":43.59196970819999,"width":68.4553952717,"asset":"Romb","selectable":true,"left":148.25,"fill":"#000000"},{"opacity":1,"angle":1.3126310246,"flipX":true,"flipY":true,"top":181.104175,"height":194.32188823110002,"width":10.7861409132,"asset":"StrokeBent","selectable":true,"left":235.183325,"fill":"#000000"},{"opacity":1,"angle":14.6373685027,"flipX":true,"flipY":true,"top":272.104175,"height":160.5728978046,"width":9.6295369517,"asset":"StrokeBent","selectable":true,"left":194.183325,"fill":"#000000"},{"opacity":1,"angle":13.6359781088,"flipX":true,"flipY":true,"top":312.104175,"height":194.32188823110002,"width":11.0840234431,"asset":"StrokeBent","selectable":true,"left":218.183325,"fill":"#000000"},{"opacity":1,"angle":5.0655893713,"flipX":true,"flipY":true,"top":177.60417499999997,"height":160.5728978046,"width":10.6368812414,"asset":"StrokeBent","selectable":true,"left":209.68332500000002,"fill":"#000000"},{"opacity":1,"angle":-0.7123005677,"flipX":false,"flipY":false,"top":240.34175,"height":39.3908755893,"width":57.907065125600006,"asset":"Romb","selectable":true,"left":84,"fill":"#000000"},{"opacity":1,"angle":2.4915559798,"flipX":true,"flipY":true,"top":241.616675,"height":37.7344953162,"width":54.158343093,"asset":"Romb","selectable":true,"left":185.95,"fill":"#000000"},{"opacity":1,"angle":5.5412124767,"flipX":false,"flipY":false,"top":87.5,"height":24.056652969399998,"width":38.606367621,"asset":"Emblem88","selectable":true,"left":153.125,"fill":"#000000"},{"opacity":1,"angle":0.8546321887,"flipX":false,"flipY":false,"top":95.7468106156,"height":37.6470149966,"width":49.784389424000004,"asset":"Emblem88","selectable":true,"left":189.2824217256,"fill":"#000000"},{"opacity":1,"angle":31.0843124294,"flipX":false,"flipY":false,"top":95.654193894,"height":16.139159542299996,"width":4.2387186999,"asset":"Stroke","selectable":true,"left":101.3156772197,"fill":"#000000"},{"opacity":1,"angle":277.9885737642,"flipX":false,"flipY":false,"top":109.6650582766,"height":13.406680362399998,"width":33.0700870544,"asset":"Emblem88","selectable":true,"left":47.6387137253,"fill":"#000000"},{"opacity":1,"angle":1.9550426753,"flipX":false,"flipY":false,"top":305.5003894081,"height":137.2507788162,"width":11.25,"asset":"StrokeBent","selectable":true,"left":78.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":297.2191394081,"height":28.813278816199997,"width":28.813278816199997,"asset":"Square","selectable":true,"left":137.1558605919,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":224.375,"height":192.5,"width":8.8376168224,"asset":"StrokeBent","selectable":true,"left":43.7061915888,"fill":"#000000"},{"opacity":1,"angle":5.4655295098,"flipX":false,"flipY":false,"top":141.388039936,"height":49.006203860199996,"width":7.8212217816,"asset":"StrokeBent","selectable":true,"left":65.8205596829,"fill":"#000000"},{"opacity":1,"angle":3.6872338903,"flipX":false,"flipY":true,"top":90.625,"height":24.056652969399998,"width":38.606367621,"asset":"Emblem88","selectable":true,"left":124.375,"fill":"#000000"},{"opacity":1,"angle":11.8588922313,"flipX":false,"flipY":false,"top":246.7503894081,"height":52.250778816200004,"width":12.2001557632,"asset":"Stroke","selectable":true,"left":210.7749221184,"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":89.5,"height":527,"width":655.9999999999999,"asset":"Square","selectable":false,"left":126.00000000000001,"fill":"#ffffff"},{"opacity":1,"angle":-100.2882967637,"flipX":false,"flipY":false,"top":56.83325,"height":65.0816495319,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":71,"fill":"#000000"},{"opacity":1,"angle":-57.603447991,"flipX":false,"flipY":true,"top":71.104175,"height":36.4413135167,"width":7.9584066257,"asset":"StrokeBent","selectable":true,"left":53.183325,"fill":"#000000"},{"opacity":1,"angle":-100.7221214671,"flipX":true,"flipY":true,"top":39.604175,"height":86.289109731,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":140.183325,"fill":"#000000"},{"opacity":1,"angle":-65.3605834142,"flipX":true,"flipY":true,"top":48.104175,"height":79.9577224129,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":217.18332500000002,"fill":"#000000"},{"opacity":1,"angle":-25.5427573566,"flipX":true,"flipY":true,"top":95.104175,"height":66.517445808,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":268.183325,"fill":"#000000"},{"opacity":1,"angle":-155.6002036188,"flipX":true,"flipY":true,"top":102.7625,"height":57.34749414800001,"width":7.9584066257,"asset":"StrokeBent","selectable":true,"left":55.979175,"fill":"#000000"},{"opacity":1,"angle":-11.0701009679,"flipX":false,"flipY":true,"top":217.515061064,"height":190.47651817649998,"width":9.363133423,"asset":"StrokeBent","selectable":true,"left":295.3641528279,"fill":"#000000"},{"opacity":1,"angle":-50.2439397264,"flipX":true,"flipY":true,"top":96.866675,"height":41.4105314746,"width":6.2102599971000005,"asset":"StrokeBent","selectable":true,"left":250.908325,"fill":"#000000"},{"opacity":1,"angle":41.6061408081,"flipX":true,"flipY":true,"top":127.35,"height":41.4105314746,"width":6.2102599971000005,"asset":"StrokeBent","selectable":true,"left":253.604175,"fill":"#000000"},{"opacity":1,"angle":212.827434736,"flipX":true,"flipY":true,"top":118.3760316242,"height":44.4976951567,"width":8.9342630052,"asset":"StrokeBent","selectable":true,"left":73.4901943355,"fill":"#000000"},{"opacity":1,"angle":273.5901232277,"flipX":true,"flipY":true,"top":140.4111129631,"height":41.3541690943,"width":14.5008558796,"asset":"StrokeBent","selectable":true,"left":96.9353259782,"fill":"#000000"},{"opacity":1,"angle":-87.8415291919,"flipX":true,"flipY":true,"top":147.425,"height":46.5984349981,"width":18.1603366285,"asset":"StrokeBent","selectable":true,"left":181.866675,"fill":"#000000"},{"opacity":1,"angle":1.2730300201,"flipX":true,"flipY":true,"top":170.0897596228,"height":49.4643533778,"width":34.46824449100001,"asset":"Circle","selectable":true,"left":95.8824680555,"fill":"#000000"},{"opacity":1,"angle":-13.0791237801,"flipX":true,"flipY":true,"top":173.75,"height":52.435330634799996,"width":39.5387616614,"asset":"Circle","selectable":true,"left":183.125,"fill":"#000000"},{"opacity":1,"angle":-13.0791237801,"flipX":true,"flipY":true,"top":172.666675,"height":45.29568734829999,"width":35.3306361317,"asset":"Circle","selectable":true,"left":182.666675,"fill":"#ea9999"},{"opacity":1,"angle":2.0240457896,"flipX":true,"flipY":true,"top":171.6125,"height":6.7005939814,"width":5.226463305499999,"asset":"Circle","selectable":true,"left":180.6125,"fill":"#980000"},{"opacity":1,"angle":1.2730300201,"flipX":true,"flipY":true,"top":169.545825,"height":45.57010219349999,"width":31.094898750400002,"asset":"Circle","selectable":true,"left":95.670825,"fill":"#ea9999"},{"opacity":1,"angle":1.2730300201,"flipX":true,"flipY":true,"top":166.583325,"height":7.5769983358,"width":5.1701880124,"asset":"Circle","selectable":true,"left":95.08332499999999,"fill":"#980000"},{"opacity":1,"angle":10.028315845,"flipX":true,"flipY":true,"top":178.75,"height":37.097032552399995,"width":9.2404701685,"asset":"StrokeBent","selectable":true,"left":63.75,"fill":"#000000"},{"opacity":1,"angle":-168.1062511759,"flipX":true,"flipY":true,"top":205.304175,"height":25.858232272999995,"width":7.9825152211,"asset":"StrokeBent","selectable":true,"left":56.49167500000001,"fill":"#000000"},{"opacity":1,"angle":128.1244179553,"flipX":true,"flipY":true,"top":220.304175,"height":29.224853373899997,"width":7.9825152211,"asset":"StrokeBent","selectable":true,"left":63.491675,"fill":"#000000"},{"opacity":1,"angle":-0.7123005677,"flipX":false,"flipY":false,"top":241.59175,"height":39.3908755893,"width":57.907065125600006,"asset":"Romb","selectable":true,"left":110.875,"fill":"#000000"},{"opacity":1,"angle":-0.3428107733,"flipX":true,"flipY":true,"top":244.408325,"height":43.59196970819999,"width":68.4553952717,"asset":"Romb","selectable":true,"left":148.25,"fill":"#000000"},{"opacity":1,"angle":1.3126310246,"flipX":true,"flipY":true,"top":181.104175,"height":194.32188823110002,"width":10.7861409132,"asset":"StrokeBent","selectable":true,"left":235.183325,"fill":"#000000"},{"opacity":1,"angle":14.6373685027,"flipX":true,"flipY":true,"top":272.104175,"height":160.5728978046,"width":9.6295369517,"asset":"StrokeBent","selectable":true,"left":194.183325,"fill":"#000000"},{"opacity":1,"angle":13.6359781088,"flipX":true,"flipY":true,"top":312.104175,"height":194.32188823110002,"width":11.0840234431,"asset":"StrokeBent","selectable":true,"left":218.183325,"fill":"#000000"},{"opacity":1,"angle":5.0655893713,"flipX":true,"flipY":true,"top":177.60417499999997,"height":160.5728978046,"width":10.6368812414,"asset":"StrokeBent","selectable":true,"left":209.68332500000002,"fill":"#000000"},{"opacity":1,"angle":-0.7123005677,"flipX":false,"flipY":false,"top":240.34175,"height":39.3908755893,"width":57.907065125600006,"asset":"Romb","selectable":true,"left":84,"fill":"#000000"},{"opacity":1,"angle":2.4915559798,"flipX":true,"flipY":true,"top":241.616675,"height":37.7344953162,"width":54.158343093,"asset":"Romb","selectable":true,"left":185.95,"fill":"#000000"},{"opacity":1,"angle":5.5412124767,"flipX":false,"flipY":false,"top":87.5,"height":24.056652969399998,"width":38.606367621,"asset":"Emblem88","selectable":true,"left":153.125,"fill":"#000000"},{"opacity":1,"angle":0.8546321887,"flipX":false,"flipY":false,"top":95.7468106156,"height":37.6470149966,"width":49.784389424000004,"asset":"Emblem88","selectable":true,"left":189.2824217256,"fill":"#000000"},{"opacity":1,"angle":31.0843124294,"flipX":false,"flipY":false,"top":95.654193894,"height":16.139159542299996,"width":4.2387186999,"asset":"Stroke","selectable":true,"left":101.3156772197,"fill":"#000000"},{"opacity":1,"angle":277.9885737642,"flipX":false,"flipY":false,"top":109.6650582766,"height":13.406680362399998,"width":33.0700870544,"asset":"Emblem88","selectable":true,"left":47.6387137253,"fill":"#000000"},{"opacity":1,"angle":1.9550426753,"flipX":false,"flipY":false,"top":305.5003894081,"height":137.2507788162,"width":11.25,"asset":"StrokeBent","selectable":true,"left":78.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":297.2191394081,"height":28.813278816199997,"width":28.813278816199997,"asset":"Square","selectable":true,"left":137.1558605919,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":224.375,"height":192.5,"width":8.8376168224,"asset":"StrokeBent","selectable":true,"left":43.7061915888,"fill":"#000000"},{"opacity":1,"angle":5.4655295098,"flipX":false,"flipY":false,"top":141.388039936,"height":49.006203860199996,"width":7.8212217816,"asset":"StrokeBent","selectable":true,"left":65.8205596829,"fill":"#000000"},{"opacity":1,"angle":3.6872338903,"flipX":false,"flipY":true,"top":90.625,"height":24.056652969399998,"width":38.606367621,"asset":"Emblem88","selectable":true,"left":124.375,"fill":"#000000"},{"opacity":1,"angle":11.8588922313,"flipX":false,"flipY":false,"top":246.7503894081,"height":52.250778816200004,"width":12.2001557632,"asset":"Stroke","selectable":true,"left":210.7749221184,"fill":"#FFFFFF"}]
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告