登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
2
圖層數
16
ALEXIPTWTISTES
作者:
Greek
代碼 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":160,"height":151.6909657321,"width":318.125,"asset":"Pentagon","selectable":true,"left":159.6875,"fill":"#827B00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":143.75,"width":309.8810561812,"asset":"Pentagon","selectable":true,"left":160,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.4998298291,"height":42.6246596583,"width":54.37500000000001,"asset":"Circle","selectable":true,"left":160.3125,"fill":"#827B00"},{"opacity":1,"angle":18.0664876633,"flipX":false,"flipY":false,"top":117.2700592895,"height":42.4614390534,"width":25.1489815073,"asset":"Wreath","selectable":true,"left":145.3398490091,"fill":"#005826"},{"opacity":1,"angle":342.73715216,"flipX":true,"flipY":false,"top":117.2700592895,"height":42.4614390534,"width":25.1489815073,"asset":"Wreath","selectable":true,"left":175.9648490091,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.03125,"height":37.1875,"width":117.87577881619998,"asset":"Square","selectable":true,"left":164.18711059189997,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":113.472496462,"height":33.4994619047,"width":35.2235443259,"asset":"Star","selectable":true,"left":160.3609933467,"fill":"#827B00"},{"opacity":1,"angle":298.5344929672,"flipX":false,"flipY":false,"top":189.6759504785,"height":155.08481613310002,"width":33.0998028919,"asset":"Wing3","selectable":true,"left":87.4694064556,"fill":"#827B00"},{"opacity":1,"angle":62.1376878931,"flipX":true,"flipY":false,"top":190.3009504785,"height":155.08481613310002,"width":33.0998028919,"asset":"Wing3","selectable":true,"left":232.46940645560002,"fill":"#827B00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":217.5,"height":21.625778816199997,"width":21.625778816199997,"asset":"Circle","selectable":true,"left":160.625,"fill":"#827B00"},{"opacity":1,"angle":203.8420913923,"flipX":false,"flipY":false,"top":188.0971191493,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":174.9637162419,"fill":"#827B00"},{"opacity":1,"angle":154.9843109215,"flipX":false,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":145.625,"fill":"#827B00"},{"opacity":1,"angle":162.0727865997,"flipX":false,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":152.5,"fill":"#827B00"},{"opacity":1,"angle":196.0234088005,"flipX":true,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":169.375,"fill":"#827B00"},{"opacity":1,"angle":184.7798676983,"flipX":true,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":163.125,"fill":"#827B00"},{"opacity":1,"angle":171.0247540249,"flipX":true,"flipY":false,"top":187.5,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":157.5,"fill":"#827B00"}]'},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":160,"height":151.6909657321,"width":318.125,"asset":"Pentagon","selectable":true,"left":159.6875,"fill":"#827B00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":143.75,"width":309.8810561812,"asset":"Pentagon","selectable":true,"left":160,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.4998298291,"height":42.6246596583,"width":54.37500000000001,"asset":"Circle","selectable":true,"left":160.3125,"fill":"#827B00"},{"opacity":1,"angle":18.0664876633,"flipX":false,"flipY":false,"top":117.2700592895,"height":42.4614390534,"width":25.1489815073,"asset":"Wreath","selectable":true,"left":145.3398490091,"fill":"#005826"},{"opacity":1,"angle":342.73715216,"flipX":true,"flipY":false,"top":117.2700592895,"height":42.4614390534,"width":25.1489815073,"asset":"Wreath","selectable":true,"left":175.9648490091,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.03125,"height":37.1875,"width":117.87577881619998,"asset":"Square","selectable":true,"left":164.18711059189997,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":113.472496462,"height":33.4994619047,"width":35.2235443259,"asset":"Star","selectable":true,"left":160.3609933467,"fill":"#827B00"},{"opacity":1,"angle":298.5344929672,"flipX":false,"flipY":false,"top":189.6759504785,"height":155.08481613310002,"width":33.0998028919,"asset":"Wing3","selectable":true,"left":87.4694064556,"fill":"#827B00"},{"opacity":1,"angle":62.1376878931,"flipX":true,"flipY":false,"top":190.3009504785,"height":155.08481613310002,"width":33.0998028919,"asset":"Wing3","selectable":true,"left":232.46940645560002,"fill":"#827B00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":217.5,"height":21.625778816199997,"width":21.625778816199997,"asset":"Circle","selectable":true,"left":160.625,"fill":"#827B00"},{"opacity":1,"angle":203.8420913923,"flipX":false,"flipY":false,"top":188.0971191493,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":174.9637162419,"fill":"#827B00"},{"opacity":1,"angle":154.9843109215,"flipX":false,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":145.625,"fill":"#827B00"},{"opacity":1,"angle":162.0727865997,"flipX":false,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":152.5,"fill":"#827B00"},{"opacity":1,"angle":196.0234088005,"flipX":true,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":169.375,"fill":"#827B00"},{"opacity":1,"angle":184.7798676983,"flipX":true,"flipY":false,"top":186.875,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":163.125,"fill":"#827B00"},{"opacity":1,"angle":171.0247540249,"flipX":true,"flipY":false,"top":187.5,"height":55.3515275184,"width":2.414266305,"asset":"Triangle","selectable":true,"left":157.5,"fill":"#827B00"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告