登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
17
圖層數
15
BATTLEFIELD 2024
作者:
LWZ
»
代碼 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":159.65624690055847,"height":315.3750014305115,"width":315.3750014305115,"asset":"Circle","selectable":true,"left":159.03124690055847,"fill":"#1ABBB4"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":181.25,"width":23.28125,"asset":"Stroke","selectable":true,"left":53.046875,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":181.25,"width":85,"asset":"Number8","selectable":true,"left":84.0625,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":120.48611164093018,"height":22.8125,"width":102.5,"asset":"Line","selectable":true,"left":159.375,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":true,"top":162.4305558204651,"height":20.138888359069824,"width":72.5,"asset":"Line","selectable":true,"left":184.375,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":true,"top":79.375,"height":20.138888359069824,"width":72.5,"asset":"Line","selectable":true,"left":184.375,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":211.1805558204651,"height":22.8125,"width":78.61111164093018,"asset":"Line","selectable":true,"left":153.125,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":83.125,"height":41.41806907242946,"width":29.46610865278484,"asset":"Number2","selectable":true,"left":261.25,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":236.25,"height":41.41806907242946,"width":29.46610865278484,"asset":"Number2","selectable":true,"left":261.25,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":186.875,"height":41.25,"width":28.373863043655387,"asset":"Number0","selectable":true,"left":261.5625,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":135.625,"height":35.86189045712956,"width":42.5,"asset":"Number4","selectable":true,"left":261.5625,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":245.625,"height":8.033647540959677,"width":9.069500790691711,"asset":"RightTriangle","selectable":true,"left":280,"fill":"#1ABBB4"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":93.75,"height":11.794170389863226,"width":13.314902991579249,"asset":"RightTriangle","selectable":true,"left":281.875,"fill":"#1ABBB4"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":118.75,"height":47.7195288161994,"width":9.54390576323988,"asset":"Stroke","selectable":true,"left":263.75,"fill":"#1ABBB4"},{"opacity":1,"angle":270,"flipX":true,"flipY":true,"top":123.125,"height":11.794170389863226,"width":13.314902991579249,"asset":"RightTriangle","selectable":true,"left":274.375,"fill":"#1ABBB4"}]'},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":159.65624690055847,"height":315.3750014305115,"width":315.3750014305115,"asset":"Circle","selectable":true,"left":159.03124690055847,"fill":"#1ABBB4"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":181.25,"width":23.28125,"asset":"Stroke","selectable":true,"left":53.046875,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":181.25,"width":85,"asset":"Number8","selectable":true,"left":84.0625,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":120.48611164093018,"height":22.8125,"width":102.5,"asset":"Line","selectable":true,"left":159.375,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":true,"top":162.4305558204651,"height":20.138888359069824,"width":72.5,"asset":"Line","selectable":true,"left":184.375,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":true,"top":79.375,"height":20.138888359069824,"width":72.5,"asset":"Line","selectable":true,"left":184.375,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":211.1805558204651,"height":22.8125,"width":78.61111164093018,"asset":"Line","selectable":true,"left":153.125,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":83.125,"height":41.41806907242946,"width":29.46610865278484,"asset":"Number2","selectable":true,"left":261.25,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":236.25,"height":41.41806907242946,"width":29.46610865278484,"asset":"Number2","selectable":true,"left":261.25,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":186.875,"height":41.25,"width":28.373863043655387,"asset":"Number0","selectable":true,"left":261.5625,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":135.625,"height":35.86189045712956,"width":42.5,"asset":"Number4","selectable":true,"left":261.5625,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":245.625,"height":8.033647540959677,"width":9.069500790691711,"asset":"RightTriangle","selectable":true,"left":280,"fill":"#1ABBB4"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":93.75,"height":11.794170389863226,"width":13.314902991579249,"asset":"RightTriangle","selectable":true,"left":281.875,"fill":"#1ABBB4"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":118.75,"height":47.7195288161994,"width":9.54390576323988,"asset":"Stroke","selectable":true,"left":263.75,"fill":"#1ABBB4"},{"opacity":1,"angle":270,"flipX":true,"flipY":true,"top":123.125,"height":11.794170389863226,"width":13.314902991579249,"asset":"RightTriangle","selectable":true,"left":274.375,"fill":"#1ABBB4"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告