登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
9
圖層數
24
Maverick Security Consulting
作者:
Cryo Lithius
代碼 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":81.4401806571,"flipX":false,"flipY":false,"top":55,"height":96.1470471012,"width":20.3823899286,"asset":"StrokeBent","selectable":true,"left":163,"fill":"#111111"},{"opacity":1,"angle":288.536153798,"flipX":false,"flipY":false,"top":62,"height":53.359707219,"width":22.294779209,"asset":"StrokeBent","selectable":false,"left":98,"fill":"#111111"},{"opacity":1,"angle":518.0885754092,"flipX":true,"flipY":false,"top":72,"height":53.359707219,"width":22.294779209,"asset":"StrokeBent","selectable":false,"left":77,"fill":"#111111"},{"opacity":1,"angle":574.9637498449,"flipX":true,"flipY":false,"top":120,"height":77.4431022264,"width":12.2563896895,"asset":"StrokeBent","selectable":true,"left":54,"fill":"#111111"},{"opacity":1,"angle":47.5733594632,"flipX":false,"flipY":false,"top":131,"height":25.1411278419,"width":13.4892512483,"asset":"Triangle","selectable":false,"left":75,"fill":"#111111"},{"opacity":1,"angle":15.3216517676,"flipX":false,"flipY":true,"top":193.9008181749,"height":87.4307749233,"width":13.3182508594,"asset":"StrokeBent","selectable":true,"left":25.0536841332,"fill":"#111111"},{"opacity":1,"angle":54.1993643429,"flipX":false,"flipY":false,"top":247,"height":5.2150383805,"width":31.0085612006,"asset":"Emblem107","selectable":false,"left":25,"fill":"#111111"},{"opacity":1,"angle":480.2296896933,"flipX":false,"flipY":false,"top":249,"height":5.2150383805,"width":23.313010080499996,"asset":"Emblem107","selectable":false,"left":60,"fill":"#111111"},{"opacity":1,"angle":37.9777337775,"flipX":true,"flipY":true,"top":220.5591761671,"height":59.5551593709,"width":11.4175614466,"asset":"StrokeBent","selectable":true,"left":87.4353190337,"fill":"#111111"},{"opacity":1,"angle":575.1256509655,"flipX":true,"flipY":false,"top":122,"height":77.4431022264,"width":12.2563896895,"asset":"StrokeBent","selectable":true,"left":57,"fill":"#111111"},{"opacity":1,"angle":13.2820031201,"flipX":false,"flipY":true,"top":194,"height":86.2107155219,"width":13.3182508594,"asset":"StrokeBent","selectable":true,"left":22,"fill":"#111111"},{"opacity":1,"angle":37.7251849791,"flipX":true,"flipY":true,"top":182,"height":40.6742873561,"width":14.383350756199999,"asset":"StrokeBent","selectable":true,"left":126,"fill":"#111111"},{"opacity":1,"angle":356.9334552841,"flipX":false,"flipY":false,"top":194,"height":5.3452745567,"width":18.2329844554,"asset":"Wingpart","selectable":true,"left":108,"fill":"#111111"},{"opacity":1,"angle":354.2697882274,"flipX":false,"flipY":false,"top":259,"height":5.5886877492,"width":27.6244448626,"asset":"Wingpart","selectable":true,"left":43,"fill":"#111111"},{"opacity":1,"angle":112.3023451002,"flipX":false,"flipY":false,"top":297,"height":8.643108335,"width":49.4003409922,"asset":"Wingpart","selectable":true,"left":158.4024784948,"fill":"#111111"},{"opacity":1,"angle":33.7264118589,"flipX":false,"flipY":false,"top":80.2211200413,"height":183.6975104807,"width":64.4790687129,"asset":"Triangle","selectable":true,"left":226,"fill":"#0072BC"},{"opacity":1,"angle":93.1533235496,"flipX":false,"flipY":false,"top":144,"height":115.9483686357,"width":36.9071614331,"asset":"Triangle","selectable":true,"left":222,"fill":"#0072BC"},{"opacity":1,"angle":217.7192641757,"flipX":false,"flipY":false,"top":232.3746064119,"height":205.40883010069996,"width":60.0603209273,"asset":"Triangle","selectable":true,"left":170,"fill":"#0072BC"},{"opacity":1,"angle":315.265097835,"flipX":false,"flipY":false,"top":134,"height":91.06616397210001,"width":51.60747178519999,"asset":"Triangle","selectable":true,"left":228,"fill":"#0072BC"},{"opacity":1,"angle":107.9539853328,"flipX":true,"flipY":true,"top":162,"height":84.094535385,"width":44.4385004546,"asset":"Triangle","selectable":true,"left":182,"fill":"#0072BC"},{"opacity":1,"angle":133.7861878948,"flipX":false,"flipY":false,"top":167,"height":97.2972864989,"width":38.0918387193,"asset":"Triangle","selectable":true,"left":188,"fill":"#0072BC"},{"opacity":1,"angle":341.8216071372,"flipX":true,"flipY":true,"top":103,"height":54.8640613342,"width":15.557344190000002,"asset":"StrokeBent","selectable":true,"left":264,"fill":"#111111"},{"opacity":1,"angle":37.9777337775,"flipX":true,"flipY":true,"top":219,"height":59.5551593709,"width":11.4175614466,"asset":"StrokeBent","selectable":true,"left":85,"fill":"#111111"},{"opacity":1,"angle":220.4876408082,"flipX":false,"flipY":false,"top":244,"height":185.695963791,"width":19.6418060226,"asset":"StrokeBent","selectable":true,"left":216,"fill":"#111111"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":81.4401806571,"flipX":false,"flipY":false,"top":55,"height":96.1470471012,"width":20.3823899286,"asset":"StrokeBent","selectable":true,"left":163,"fill":"#111111"},{"opacity":1,"angle":288.536153798,"flipX":false,"flipY":false,"top":62,"height":53.359707219,"width":22.294779209,"asset":"StrokeBent","selectable":false,"left":98,"fill":"#111111"},{"opacity":1,"angle":518.0885754092,"flipX":true,"flipY":false,"top":72,"height":53.359707219,"width":22.294779209,"asset":"StrokeBent","selectable":false,"left":77,"fill":"#111111"},{"opacity":1,"angle":574.9637498449,"flipX":true,"flipY":false,"top":120,"height":77.4431022264,"width":12.2563896895,"asset":"StrokeBent","selectable":true,"left":54,"fill":"#111111"},{"opacity":1,"angle":47.5733594632,"flipX":false,"flipY":false,"top":131,"height":25.1411278419,"width":13.4892512483,"asset":"Triangle","selectable":false,"left":75,"fill":"#111111"},{"opacity":1,"angle":15.3216517676,"flipX":false,"flipY":true,"top":193.9008181749,"height":87.4307749233,"width":13.3182508594,"asset":"StrokeBent","selectable":true,"left":25.0536841332,"fill":"#111111"},{"opacity":1,"angle":54.1993643429,"flipX":false,"flipY":false,"top":247,"height":5.2150383805,"width":31.0085612006,"asset":"Emblem107","selectable":false,"left":25,"fill":"#111111"},{"opacity":1,"angle":480.2296896933,"flipX":false,"flipY":false,"top":249,"height":5.2150383805,"width":23.313010080499996,"asset":"Emblem107","selectable":false,"left":60,"fill":"#111111"},{"opacity":1,"angle":37.9777337775,"flipX":true,"flipY":true,"top":220.5591761671,"height":59.5551593709,"width":11.4175614466,"asset":"StrokeBent","selectable":true,"left":87.4353190337,"fill":"#111111"},{"opacity":1,"angle":575.1256509655,"flipX":true,"flipY":false,"top":122,"height":77.4431022264,"width":12.2563896895,"asset":"StrokeBent","selectable":true,"left":57,"fill":"#111111"},{"opacity":1,"angle":13.2820031201,"flipX":false,"flipY":true,"top":194,"height":86.2107155219,"width":13.3182508594,"asset":"StrokeBent","selectable":true,"left":22,"fill":"#111111"},{"opacity":1,"angle":37.7251849791,"flipX":true,"flipY":true,"top":182,"height":40.6742873561,"width":14.383350756199999,"asset":"StrokeBent","selectable":true,"left":126,"fill":"#111111"},{"opacity":1,"angle":356.9334552841,"flipX":false,"flipY":false,"top":194,"height":5.3452745567,"width":18.2329844554,"asset":"Wingpart","selectable":true,"left":108,"fill":"#111111"},{"opacity":1,"angle":354.2697882274,"flipX":false,"flipY":false,"top":259,"height":5.5886877492,"width":27.6244448626,"asset":"Wingpart","selectable":true,"left":43,"fill":"#111111"},{"opacity":1,"angle":112.3023451002,"flipX":false,"flipY":false,"top":297,"height":8.643108335,"width":49.4003409922,"asset":"Wingpart","selectable":true,"left":158.4024784948,"fill":"#111111"},{"opacity":1,"angle":33.7264118589,"flipX":false,"flipY":false,"top":80.2211200413,"height":183.6975104807,"width":64.4790687129,"asset":"Triangle","selectable":true,"left":226,"fill":"#0072BC"},{"opacity":1,"angle":93.1533235496,"flipX":false,"flipY":false,"top":144,"height":115.9483686357,"width":36.9071614331,"asset":"Triangle","selectable":true,"left":222,"fill":"#0072BC"},{"opacity":1,"angle":217.7192641757,"flipX":false,"flipY":false,"top":232.3746064119,"height":205.40883010069996,"width":60.0603209273,"asset":"Triangle","selectable":true,"left":170,"fill":"#0072BC"},{"opacity":1,"angle":315.265097835,"flipX":false,"flipY":false,"top":134,"height":91.06616397210001,"width":51.60747178519999,"asset":"Triangle","selectable":true,"left":228,"fill":"#0072BC"},{"opacity":1,"angle":107.9539853328,"flipX":true,"flipY":true,"top":162,"height":84.094535385,"width":44.4385004546,"asset":"Triangle","selectable":true,"left":182,"fill":"#0072BC"},{"opacity":1,"angle":133.7861878948,"flipX":false,"flipY":false,"top":167,"height":97.2972864989,"width":38.0918387193,"asset":"Triangle","selectable":true,"left":188,"fill":"#0072BC"},{"opacity":1,"angle":341.8216071372,"flipX":true,"flipY":true,"top":103,"height":54.8640613342,"width":15.557344190000002,"asset":"StrokeBent","selectable":true,"left":264,"fill":"#111111"},{"opacity":1,"angle":37.9777337775,"flipX":true,"flipY":true,"top":219,"height":59.5551593709,"width":11.4175614466,"asset":"StrokeBent","selectable":true,"left":85,"fill":"#111111"},{"opacity":1,"angle":220.4876408082,"flipX":false,"flipY":false,"top":244,"height":185.695963791,"width":19.6418060226,"asset":"StrokeBent","selectable":true,"left":216,"fill":"#111111"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告