登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
17
圖層數
40
Win95
作者:
Thrillhouse
代碼 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":236.25,"height":13.188278816200002,"width":13.188278816200002,"asset":"Square","selectable":true,"left":248.125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":236.25,"height":14.719139408099998,"width":13.188278816200002,"asset":"Square","selectable":true,"left":135,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":95,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":223.75,"height":13.188278816200002,"width":37.359569704,"asset":"Square","selectable":true,"left":147.570215148,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.125,"height":138.62538940810003,"width":126.00077881619998,"asset":"Square","selectable":true,"left":191.875,"fill":"#000000"},{"opacity":1,"angle":89.8636049315,"flipX":false,"flipY":false,"top":73.75,"height":98.74669493070002,"width":13.4486502159,"asset":"Stroke","selectable":true,"left":191.8616094961,"fill":"#000000"},{"opacity":1,"angle":89.8636049315,"flipX":false,"flipY":false,"top":61.875,"height":46.87035408,"width":13.4486502159,"asset":"Stroke","selectable":true,"left":191.5558064431,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":223.75,"height":13.188278816200002,"width":37.359569704,"asset":"Square","selectable":true,"left":236.179784852,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":197.5,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":92.5,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":230.625,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":117.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.25,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":116.25,"fill":"#003471"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.75,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":116.875,"fill":"#9E0B0F"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":106.875,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":116.875,"fill":"#000000"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":114.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":163.125,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":100,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":176.25,"fill":"#FF0000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":127.5,"height":16.0007788162,"width":12.844139408099998,"asset":"Square","selectable":true,"left":162.95293029599998,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":99.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":209.375,"fill":"#827B00"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":114.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":222.5,"fill":"#827B00"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":184.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":163.125,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":171.25,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":176.25,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":101.875,"height":13.188278816200002,"width":13.188278816200002,"asset":"Square","selectable":true,"left":86.875,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.625,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":209.375,"fill":"#FFF200"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":183.75,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":222.5,"fill":"#FFF200"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":113.125,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":92.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":237.066357574,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":93.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":226.25,"height":13.188278816200002,"width":12.844139408099998,"asset":"Square","selectable":true,"left":87.672069704,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":92.5,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":142.5,"height":13.188278816200002,"width":13.469139408099998,"asset":"Square","selectable":true,"left":86.734569704,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.375,"height":13.188278816200002,"width":13.188278816200002,"asset":"Square","selectable":true,"left":86.875,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":136.875,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.75,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":179.375,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.125,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":219.375,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.125,"fill":"#000000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":197.5,"height":13.625389408099998,"width":12.844139408099998,"asset":"Square","selectable":true,"left":162.95293029599998,"fill":"#000000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":196.875,"height":13.625389408099998,"width":12.844139408099998,"asset":"Square","selectable":true,"left":222.5,"fill":"#000000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":126.25,"height":14.937694704000002,"width":12.844139408099998,"asset":"Square","selectable":true,"left":222.5,"fill":"#000000"},{"opacity":0.19,"angle":0,"flipX":false,"flipY":false,"top":87.437694704,"height":14.8753894081,"width":12.844139408099998,"asset":"Square","selectable":true,"left":176.25,"fill":"#FFFFFF"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":87.437694704,"height":14.8753894081,"width":12.844139408099998,"asset":"Square","selectable":true,"left":209.375,"fill":"#FFFFFF"},{"opacity":0.67,"angle":0,"flipX":false,"flipY":false,"top":158.125,"height":14.8753894081,"width":12.844139408099998,"asset":"Square","selectable":true,"left":209.375,"fill":"#FFFFFF"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":158.718847352,"height":13.687694703999998,"width":12.844139408099998,"asset":"Square","selectable":true,"left":176.25,"fill":"#FFFFFF"},{"opacity":0.21,"angle":0,"flipX":false,"flipY":false,"top":142.5,"height":13.188278816200002,"width":13.469139408099998,"asset":"Square","selectable":true,"left":86.734569704,"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":236.25,"height":13.188278816200002,"width":13.188278816200002,"asset":"Square","selectable":true,"left":248.125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":236.25,"height":14.719139408099998,"width":13.188278816200002,"asset":"Square","selectable":true,"left":135,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":95,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":223.75,"height":13.188278816200002,"width":37.359569704,"asset":"Square","selectable":true,"left":147.570215148,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.125,"height":138.62538940810003,"width":126.00077881619998,"asset":"Square","selectable":true,"left":191.875,"fill":"#000000"},{"opacity":1,"angle":89.8636049315,"flipX":false,"flipY":false,"top":73.75,"height":98.74669493070002,"width":13.4486502159,"asset":"Stroke","selectable":true,"left":191.8616094961,"fill":"#000000"},{"opacity":1,"angle":89.8636049315,"flipX":false,"flipY":false,"top":61.875,"height":46.87035408,"width":13.4486502159,"asset":"Stroke","selectable":true,"left":191.5558064431,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":223.75,"height":13.188278816200002,"width":37.359569704,"asset":"Square","selectable":true,"left":236.179784852,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":197.5,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":92.5,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":230.625,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":117.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.25,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":116.25,"fill":"#003471"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.75,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":116.875,"fill":"#9E0B0F"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":106.875,"height":25.9691394081,"width":24.7191394081,"asset":"Square","selectable":true,"left":116.875,"fill":"#000000"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":114.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":163.125,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":100,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":176.25,"fill":"#FF0000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":127.5,"height":16.0007788162,"width":12.844139408099998,"asset":"Square","selectable":true,"left":162.95293029599998,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":99.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":209.375,"fill":"#827B00"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":114.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":222.5,"fill":"#827B00"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":184.375,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":163.125,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":171.25,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":176.25,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":101.875,"height":13.188278816200002,"width":13.188278816200002,"asset":"Square","selectable":true,"left":86.875,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.625,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":209.375,"fill":"#FFF200"},{"opacity":0.5,"angle":0,"flipX":false,"flipY":false,"top":183.75,"height":38.5007788162,"width":13.188278816200002,"asset":"Square","selectable":true,"left":222.5,"fill":"#FFF200"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":113.125,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":92.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":237.066357574,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":93.75,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":226.25,"height":13.188278816200002,"width":12.844139408099998,"asset":"Square","selectable":true,"left":87.672069704,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155,"height":13.367284852000001,"width":24.7191394081,"asset":"Square","selectable":true,"left":92.5,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":142.5,"height":13.188278816200002,"width":13.469139408099998,"asset":"Square","selectable":true,"left":86.734569704,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.375,"height":13.188278816200002,"width":13.188278816200002,"asset":"Square","selectable":true,"left":86.875,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":136.875,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.75,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":179.375,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.125,"fill":"#004B80"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":219.375,"height":23.4691394081,"width":13.188278816200002,"asset":"Square","selectable":true,"left":63.125,"fill":"#000000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":197.5,"height":13.625389408099998,"width":12.844139408099998,"asset":"Square","selectable":true,"left":162.95293029599998,"fill":"#000000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":196.875,"height":13.625389408099998,"width":12.844139408099998,"asset":"Square","selectable":true,"left":222.5,"fill":"#000000"},{"opacity":0.43,"angle":0,"flipX":false,"flipY":false,"top":126.25,"height":14.937694704000002,"width":12.844139408099998,"asset":"Square","selectable":true,"left":222.5,"fill":"#000000"},{"opacity":0.19,"angle":0,"flipX":false,"flipY":false,"top":87.437694704,"height":14.8753894081,"width":12.844139408099998,"asset":"Square","selectable":true,"left":176.25,"fill":"#FFFFFF"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":87.437694704,"height":14.8753894081,"width":12.844139408099998,"asset":"Square","selectable":true,"left":209.375,"fill":"#FFFFFF"},{"opacity":0.67,"angle":0,"flipX":false,"flipY":false,"top":158.125,"height":14.8753894081,"width":12.844139408099998,"asset":"Square","selectable":true,"left":209.375,"fill":"#FFFFFF"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":158.718847352,"height":13.687694703999998,"width":12.844139408099998,"asset":"Square","selectable":true,"left":176.25,"fill":"#FFFFFF"},{"opacity":0.21,"angle":0,"flipX":false,"flipY":false,"top":142.5,"height":13.188278816200002,"width":13.469139408099998,"asset":"Square","selectable":true,"left":86.734569704,"fill":"#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告