登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
25
Jörg
作者:
seGa | WaldGeist
代碼 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":158.59575,"left":159.59575,"height":307.1915,"width":255.19261881093752,"asset":"Shield4","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":156.675,"left":159.49175,"height":293.65,"width":228.98350000000005,"asset":"Shield5","fill":"#6f00ff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":141.5,"left":88.5,"height":21,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":150,"left":96,"height":6.955872547418304,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":159,"left":103.5,"height":22,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":132.479175,"left":98.5958325,"height":12.804550889071377,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":150,"left":120.5,"height":39,"width":3.9999999999999996,"asset":"Stroke","fill":"#d9d9d9","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":153.491675,"left":127.6,"height":6.749639816394207,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":132.5,"left":131.5,"height":13.998119164363112,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":167.5,"left":131.4,"height":13.998119164363112,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":133,"left":154.5,"height":71,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.54978370906657,"flipX":true,"flipY":true,"top":140.5,"left":175,"height":15.024808908041598,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.89829388479362,"flipX":true,"flipY":true,"top":166,"left":171,"height":23,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-0.7472938768260777,"flipX":true,"flipY":true,"top":153,"left":186.8,"height":30.966061600173216,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":17.969139740157015,"flipX":true,"flipY":true,"top":149,"left":207,"height":41.41675571152583,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":100,"left":173,"height":28,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-0.7472938768260777,"flipX":true,"flipY":true,"top":146.5,"left":170,"height":2.986702465226992,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-20.045249425420998,"flipX":true,"flipY":true,"top":149,"left":222.5,"height":42.03279675709441,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":132.875,"left":214.675,"height":6.749639816394207,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":151.479175,"left":214.5958325,"height":8.826727750333635,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":167.904175,"left":93.2791675,"height":12.804550889071377,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":234.58325,"left":159.45,"height":114.16665,"width":116.90029022421182,"asset":"Teamplay","fill":"#434343","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":273.5625,"left":160,"height":29.12765625,"width":52,"asset":"Handshake","fill":"#666666","selectable":false},{"opacity":1,"angle":-0.2818614335165751,"flipX":false,"flipY":false,"top":54.641675,"left":158.24175,"height":57.59505890490704,"width":157.61649999999997,"asset":"Eagle","fill":"#666666","selectable":false},{"opacity":1,"angle":179.44159264501468,"flipX":true,"flipY":true,"top":57.070750000000004,"left":157.94175,"height":58.144086808485156,"width":159.12465132006142,"asset":"Eagle","fill":"#000000","selectable":false}]'},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":158.59575,"left":159.59575,"height":307.1915,"width":255.19261881093752,"asset":"Shield4","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":156.675,"left":159.49175,"height":293.65,"width":228.98350000000005,"asset":"Shield5","fill":"#6f00ff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":141.5,"left":88.5,"height":21,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":150,"left":96,"height":6.955872547418304,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":159,"left":103.5,"height":22,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":132.479175,"left":98.5958325,"height":12.804550889071377,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":150,"left":120.5,"height":39,"width":3.9999999999999996,"asset":"Stroke","fill":"#d9d9d9","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":153.491675,"left":127.6,"height":6.749639816394207,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":132.5,"left":131.5,"height":13.998119164363112,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":167.5,"left":131.4,"height":13.998119164363112,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":133,"left":154.5,"height":71,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.54978370906657,"flipX":true,"flipY":true,"top":140.5,"left":175,"height":15.024808908041598,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.89829388479362,"flipX":true,"flipY":true,"top":166,"left":171,"height":23,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-0.7472938768260777,"flipX":true,"flipY":true,"top":153,"left":186.8,"height":30.966061600173216,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":17.969139740157015,"flipX":true,"flipY":true,"top":149,"left":207,"height":41.41675571152583,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":100,"left":173,"height":28,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-0.7472938768260777,"flipX":true,"flipY":true,"top":146.5,"left":170,"height":2.986702465226992,"width":5,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-20.045249425420998,"flipX":true,"flipY":true,"top":149,"left":222.5,"height":42.03279675709441,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":89.06080905426442,"flipX":true,"flipY":true,"top":132.875,"left":214.675,"height":6.749639816394207,"width":3.9999999999999996,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":151.479175,"left":214.5958325,"height":8.826727750333635,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.7811247648687,"flipX":true,"flipY":true,"top":167.904175,"left":93.2791675,"height":12.804550889071377,"width":4,"asset":"Stroke","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":234.58325,"left":159.45,"height":114.16665,"width":116.90029022421182,"asset":"Teamplay","fill":"#434343","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":273.5625,"left":160,"height":29.12765625,"width":52,"asset":"Handshake","fill":"#666666","selectable":false},{"opacity":1,"angle":-0.2818614335165751,"flipX":false,"flipY":false,"top":54.641675,"left":158.24175,"height":57.59505890490704,"width":157.61649999999997,"asset":"Eagle","fill":"#666666","selectable":false},{"opacity":1,"angle":179.44159264501468,"flipX":true,"flipY":true,"top":57.070750000000004,"left":157.94175,"height":58.144086808485156,"width":159.12465132006142,"asset":"Eagle","fill":"#000000","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告