登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
21
圖層數
21
cien
作者:
erios117
代碼 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":175.625,"height":282.8125,"width":233.75,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#00FF00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5714134547,"height":310,"width":248.45240624999997,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5,"height":300,"width":240.4378125,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":166.25,"height":289.375,"width":224.375,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":156.5316358025,"height":290,"width":232.42321875000002,"asset":"Shield6","selectable":true,"left":162.4614197531,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":289.375,"width":223.75,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#000000"},{"opacity":0,"angle":0,"flipX":false,"flipY":false,"top":64.375,"height":9.5188118925,"width":21.7470321535,"asset":"Eye2","selectable":true,"left":125,"fill":"#FF0000"},{"opacity":0,"angle":68.8006652734,"flipX":true,"flipY":false,"top":220,"height":113.5177735411,"width":74.502003012,"asset":"premium_6_graphic_type18","selectable":true,"left":163.125,"fill":"#00A651"},{"opacity":0,"angle":68.8006652734,"flipX":true,"flipY":false,"top":219.7628263353,"height":104.65388772139998,"width":63.887194190799995,"asset":"premium_6_graphic_type18","selectable":true,"left":164.375,"fill":"#ED1C24"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":60,"height":29.166801948099998,"width":29.166801948099998,"asset":"SquareCorner","selectable":true,"left":182.5,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":61.875,"height":5.3008671271,"width":33.3906165456,"asset":"Line","selectable":true,"left":137.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":62.5,"height":4.3475742121,"width":25.339925788,"asset":"Line","selectable":true,"left":183.58003710599996,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":61.875,"height":5.503703389699999,"width":33.9723120551,"asset":"Line","selectable":true,"left":219.375,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":62.5,"height":5.4699092935,"width":33.4829353963,"asset":"Line","selectable":true,"left":248.125,"fill":"#FFFFFF"},{"opacity":1,"angle":48.4774404893,"flipX":false,"flipY":false,"top":61.875,"height":5.1076730268,"width":41.122622296,"asset":"Line","selectable":true,"left":233.75,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":76.25,"height":29.2964186816,"width":5.2345507745,"asset":"Stroke","selectable":true,"left":182.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":188.9801511585,"height":188.9305007197,"width":131.9727352559,"asset":"normal_animal_falcon2","selectable":true,"left":168.6932308537,"fill":"#FFFFFF"},{"opacity":0.99,"angle":0,"flipX":false,"flipY":false,"top":187.99213133529997,"height":189.0272850671,"width":130.4781352245,"asset":"normal_animal_falcon2","selectable":true,"left":170,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.52675834469997,"height":2.7481650206,"width":8.5018349795,"asset":"Wingpart","selectable":true,"left":212.7767583448,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.875,"height":33.5083052363,"width":33.5083052363,"asset":"OpenBox","selectable":true,"left":91.875,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":61.875,"height":8.4947438188,"width":24.9330095925,"asset":"Line","selectable":true,"left":108.125,"fill":"#000000"}]'},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":175.625,"height":282.8125,"width":233.75,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#00FF00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5714134547,"height":310,"width":248.45240624999997,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5,"height":300,"width":240.4378125,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":166.25,"height":289.375,"width":224.375,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":156.5316358025,"height":290,"width":232.42321875000002,"asset":"Shield6","selectable":true,"left":162.4614197531,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":289.375,"width":223.75,"asset":"Shield6","selectable":true,"left":162.5,"fill":"#000000"},{"opacity":0,"angle":0,"flipX":false,"flipY":false,"top":64.375,"height":9.5188118925,"width":21.7470321535,"asset":"Eye2","selectable":true,"left":125,"fill":"#FF0000"},{"opacity":0,"angle":68.8006652734,"flipX":true,"flipY":false,"top":220,"height":113.5177735411,"width":74.502003012,"asset":"premium_6_graphic_type18","selectable":true,"left":163.125,"fill":"#00A651"},{"opacity":0,"angle":68.8006652734,"flipX":true,"flipY":false,"top":219.7628263353,"height":104.65388772139998,"width":63.887194190799995,"asset":"premium_6_graphic_type18","selectable":true,"left":164.375,"fill":"#ED1C24"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":60,"height":29.166801948099998,"width":29.166801948099998,"asset":"SquareCorner","selectable":true,"left":182.5,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":61.875,"height":5.3008671271,"width":33.3906165456,"asset":"Line","selectable":true,"left":137.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":62.5,"height":4.3475742121,"width":25.339925788,"asset":"Line","selectable":true,"left":183.58003710599996,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":61.875,"height":5.503703389699999,"width":33.9723120551,"asset":"Line","selectable":true,"left":219.375,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":62.5,"height":5.4699092935,"width":33.4829353963,"asset":"Line","selectable":true,"left":248.125,"fill":"#FFFFFF"},{"opacity":1,"angle":48.4774404893,"flipX":false,"flipY":false,"top":61.875,"height":5.1076730268,"width":41.122622296,"asset":"Line","selectable":true,"left":233.75,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":76.25,"height":29.2964186816,"width":5.2345507745,"asset":"Stroke","selectable":true,"left":182.5,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":188.9801511585,"height":188.9305007197,"width":131.9727352559,"asset":"normal_animal_falcon2","selectable":true,"left":168.6932308537,"fill":"#FFFFFF"},{"opacity":0.99,"angle":0,"flipX":false,"flipY":false,"top":187.99213133529997,"height":189.0272850671,"width":130.4781352245,"asset":"normal_animal_falcon2","selectable":true,"left":170,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.52675834469997,"height":2.7481650206,"width":8.5018349795,"asset":"Wingpart","selectable":true,"left":212.7767583448,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.875,"height":33.5083052363,"width":33.5083052363,"asset":"OpenBox","selectable":true,"left":91.875,"fill":"#FFFFFF"},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":61.875,"height":8.4947438188,"width":24.9330095925,"asset":"Line","selectable":true,"left":108.125,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告