登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
6
圖層數
16
Black Lantern
作者:
Aaron
»
代碼 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:'[{"angle":0,"left":161.04706906301516,"height":310.6487816817372,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":310.6487816817372,"top":161.06242281986906,"flipY":false},{"angle":0,"left":161.04706906301513,"height":285.3269674787579,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Time","width":285.3269674787579,"top":161.06242281986906,"flipY":false},{"angle":0,"left":160,"height":256.923563639323,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":256.923563639323,"top":160,"flipY":false},{"angle":0,"left":245.90849204775364,"height":95.59276220410436,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":99.26674899019251,"flipY":false},{"angle":0,"left":203.30714034900527,"height":112.53583259933481,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":95.91293423572921,"flipY":false},{"angle":0,"left":116.74838875798844,"height":112.53583259933481,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":95.91293423572921,"flipY":false},{"angle":0,"left":160.00000000000003,"height":120.25190077625302,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":95.91293423572921,"flipY":false},{"angle":0,"left":74.19511631789368,"height":95.85172445830325,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":99.26674899019251,"flipY":false},{"angle":89.83059779298613,"left":160.00000000000003,"height":248.0116100982251,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":13.367986474947664,"top":151.26175201593887,"flipY":false},{"angle":0,"left":160,"height":259.7175114518108,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":259.7264395481704,"top":161.06242281986906,"flipY":false},{"angle":45.198878022670044,"left":160,"height":259.5585280948698,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":259.5674507259886,"top":161.06242281986906,"flipY":false},{"angle":0,"left":160.00000000000003,"height":141.84865153552417,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Triangle","width":269.7919921874999,"top":227.07935230060204,"flipY":true},{"angle":0,"left":160,"height":94.20550344032375,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":192.60443793402777,"top":220.13392907761352,"flipY":true},{"angle":0,"left":160.00000000000003,"height":298.91502941636907,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":298.92530497372746,"top":160.00000000000003,"flipY":false},{"angle":45.20843049718846,"left":160,"height":304.0612886439508,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":304.0717411100514,"top":160,"flipY":false},{"angle":45.198878022670044,"left":160,"height":298.6863311814068,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":298.6965988769932,"top":160,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":161.04706906301516,"height":310.6487816817372,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":310.6487816817372,"top":161.06242281986906,"flipY":false},{"angle":0,"left":161.04706906301513,"height":285.3269674787579,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Time","width":285.3269674787579,"top":161.06242281986906,"flipY":false},{"angle":0,"left":160,"height":256.923563639323,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":256.923563639323,"top":160,"flipY":false},{"angle":0,"left":245.90849204775364,"height":95.59276220410436,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":99.26674899019251,"flipY":false},{"angle":0,"left":203.30714034900527,"height":112.53583259933481,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":95.91293423572921,"flipY":false},{"angle":0,"left":116.74838875798844,"height":112.53583259933481,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":95.91293423572921,"flipY":false},{"angle":0,"left":160.00000000000003,"height":120.25190077625302,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":95.91293423572921,"flipY":false},{"angle":0,"left":74.19511631789368,"height":95.85172445830325,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":24.757439642049295,"top":99.26674899019251,"flipY":false},{"angle":89.83059779298613,"left":160.00000000000003,"height":248.0116100982251,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":13.367986474947664,"top":151.26175201593887,"flipY":false},{"angle":0,"left":160,"height":259.7175114518108,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":259.7264395481704,"top":161.06242281986906,"flipY":false},{"angle":45.198878022670044,"left":160,"height":259.5585280948698,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":259.5674507259886,"top":161.06242281986906,"flipY":false},{"angle":0,"left":160.00000000000003,"height":141.84865153552417,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Triangle","width":269.7919921874999,"top":227.07935230060204,"flipY":true},{"angle":0,"left":160,"height":94.20550344032375,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":192.60443793402777,"top":220.13392907761352,"flipY":true},{"angle":0,"left":160.00000000000003,"height":298.91502941636907,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":298.92530497372746,"top":160.00000000000003,"flipY":false},{"angle":45.20843049718846,"left":160,"height":304.0612886439508,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":304.0717411100514,"top":160,"flipY":false},{"angle":45.198878022670044,"left":160,"height":298.6863311814068,"flipX":false,"fill":"#000000","opacity":1,"asset":"MedalRing4","width":298.6965988769932,"top":160,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告