登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
159
圖層數
18
Explosiv
作者:
Axe2002
代碼 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":147.9982794113,"height":264.3512458906,"width":303.2315319293,"asset":"Triangle","selectable":true,"left":167.3612455296,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.4911266768,"height":205.731922133,"width":232.7496687793,"asset":"Triangle","selectable":true,"left":167,"fill":"#FFFE00"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":160,"height":29.385182798,"width":29.385182798,"asset":"Circle","selectable":true,"left":184.7155799048,"fill":"#000000"},{"opacity":1,"angle":61.7777576788,"flipX":false,"flipY":false,"top":145,"height":18.7752808577,"width":13.1639361369,"asset":"Bullets","selectable":true,"left":193,"fill":"#000000"},{"opacity":1,"angle":66.1582233947,"flipX":true,"flipY":true,"top":186,"height":25.586222682999995,"width":8.288112679,"asset":"Stroke","selectable":true,"left":165.1269317126,"fill":"#000000"},{"opacity":1,"angle":110.9966760437,"flipX":true,"flipY":true,"top":177,"height":19.935813997,"width":8.288112679,"asset":"Stroke","selectable":true,"left":155.8510443937,"fill":"#000000"},{"opacity":1,"angle":139.4996502925,"flipX":true,"flipY":true,"top":185,"height":22.1514368354,"width":8.288112679,"asset":"Stroke","selectable":true,"left":150,"fill":"#000000"},{"opacity":1,"angle":77.2563140423,"flipX":true,"flipY":true,"top":213,"height":28.520857619,"width":8.288112679,"asset":"Stroke","selectable":true,"left":149.2377220602,"fill":"#000000"},{"opacity":1,"angle":71.3366283244,"flipX":true,"flipY":true,"top":222,"height":28.5768768886,"width":8.288112679,"asset":"Stroke","selectable":true,"left":191.6222588154,"fill":"#000000"},{"opacity":1,"angle":28.2564699645,"flipX":true,"flipY":true,"top":191,"height":47.3968197249,"width":8.288112679,"asset":"Stroke","selectable":true,"left":170.0322302336,"fill":"#000000"},{"opacity":1,"angle":66.1582233947,"flipX":true,"flipY":true,"top":179.5497003465,"height":19.8665445266,"width":8.288112679,"asset":"Stroke","selectable":true,"left":169.6157952365,"fill":"#000000"},{"opacity":1,"angle":120.6593616745,"flipX":true,"flipY":true,"top":220,"height":29.1120503011,"width":8.288112679,"asset":"Stroke","selectable":true,"left":170.1678213625,"fill":"#000000"},{"opacity":1,"angle":54.4731085989,"flipX":true,"flipY":true,"top":223,"height":27.5414969238,"width":8.288112679,"asset":"Stroke","selectable":true,"left":128,"fill":"#000000"},{"opacity":1,"angle":20.4949549473,"flipX":false,"flipY":false,"top":228,"height":11.852812897399998,"width":27.0793777731,"asset":"Eye2","selectable":true,"left":112.5626773923,"fill":"#000000"},{"opacity":1,"angle":44.3704943075,"flipX":false,"flipY":false,"top":222,"height":11.852812897399998,"width":27.0793777731,"asset":"Eye2","selectable":true,"left":208,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169,"height":28.3882980628,"width":28.3882980628,"asset":"Circle","selectable":true,"left":141.2171375372,"fill":"#000000"},{"opacity":1,"angle":128.0920887567,"flipX":false,"flipY":false,"top":151,"height":9.3716576307,"width":33.9471921076,"asset":"Banner","selectable":true,"left":144,"fill":"#000000"},{"opacity":1,"angle":70.1586485241,"flipX":false,"flipY":false,"top":140,"height":27.3658550513,"width":34.8624884705,"asset":"Explosion","selectable":true,"left":166,"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":147.9982794113,"height":264.3512458906,"width":303.2315319293,"asset":"Triangle","selectable":true,"left":167.3612455296,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.4911266768,"height":205.731922133,"width":232.7496687793,"asset":"Triangle","selectable":true,"left":167,"fill":"#FFFE00"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":160,"height":29.385182798,"width":29.385182798,"asset":"Circle","selectable":true,"left":184.7155799048,"fill":"#000000"},{"opacity":1,"angle":61.7777576788,"flipX":false,"flipY":false,"top":145,"height":18.7752808577,"width":13.1639361369,"asset":"Bullets","selectable":true,"left":193,"fill":"#000000"},{"opacity":1,"angle":66.1582233947,"flipX":true,"flipY":true,"top":186,"height":25.586222682999995,"width":8.288112679,"asset":"Stroke","selectable":true,"left":165.1269317126,"fill":"#000000"},{"opacity":1,"angle":110.9966760437,"flipX":true,"flipY":true,"top":177,"height":19.935813997,"width":8.288112679,"asset":"Stroke","selectable":true,"left":155.8510443937,"fill":"#000000"},{"opacity":1,"angle":139.4996502925,"flipX":true,"flipY":true,"top":185,"height":22.1514368354,"width":8.288112679,"asset":"Stroke","selectable":true,"left":150,"fill":"#000000"},{"opacity":1,"angle":77.2563140423,"flipX":true,"flipY":true,"top":213,"height":28.520857619,"width":8.288112679,"asset":"Stroke","selectable":true,"left":149.2377220602,"fill":"#000000"},{"opacity":1,"angle":71.3366283244,"flipX":true,"flipY":true,"top":222,"height":28.5768768886,"width":8.288112679,"asset":"Stroke","selectable":true,"left":191.6222588154,"fill":"#000000"},{"opacity":1,"angle":28.2564699645,"flipX":true,"flipY":true,"top":191,"height":47.3968197249,"width":8.288112679,"asset":"Stroke","selectable":true,"left":170.0322302336,"fill":"#000000"},{"opacity":1,"angle":66.1582233947,"flipX":true,"flipY":true,"top":179.5497003465,"height":19.8665445266,"width":8.288112679,"asset":"Stroke","selectable":true,"left":169.6157952365,"fill":"#000000"},{"opacity":1,"angle":120.6593616745,"flipX":true,"flipY":true,"top":220,"height":29.1120503011,"width":8.288112679,"asset":"Stroke","selectable":true,"left":170.1678213625,"fill":"#000000"},{"opacity":1,"angle":54.4731085989,"flipX":true,"flipY":true,"top":223,"height":27.5414969238,"width":8.288112679,"asset":"Stroke","selectable":true,"left":128,"fill":"#000000"},{"opacity":1,"angle":20.4949549473,"flipX":false,"flipY":false,"top":228,"height":11.852812897399998,"width":27.0793777731,"asset":"Eye2","selectable":true,"left":112.5626773923,"fill":"#000000"},{"opacity":1,"angle":44.3704943075,"flipX":false,"flipY":false,"top":222,"height":11.852812897399998,"width":27.0793777731,"asset":"Eye2","selectable":true,"left":208,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169,"height":28.3882980628,"width":28.3882980628,"asset":"Circle","selectable":true,"left":141.2171375372,"fill":"#000000"},{"opacity":1,"angle":128.0920887567,"flipX":false,"flipY":false,"top":151,"height":9.3716576307,"width":33.9471921076,"asset":"Banner","selectable":true,"left":144,"fill":"#000000"},{"opacity":1,"angle":70.1586485241,"flipX":false,"flipY":false,"top":140,"height":27.3658550513,"width":34.8624884705,"asset":"Explosion","selectable":true,"left":166,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告