登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
11
複製總數
952
圖層數
20
CoD Chost
作者:
Ki11eR_2007
»
代碼 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": 149.2608543213,"height": 473.2370853272,"width": 473.2370853272,"asset": "Square","selectable": true,"left": 170.7391456787,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 81.8662420382,"height": 118.2675159236,"width": 169.4267515924,"asset": "Circle","selectable": true,"left": 161.2866242038,"fill": "#FFFFFF"},{"opacity": 1,"angle": 180.0248328214,"flipX": false,"flipY": false,"top": 118.5106254153,"height": 189.0103888921,"width": 172.98178503910003,"asset": "Shield2","selectable": true,"left": 162.510178288,"fill": "#FFFFFF"},{"opacity": 1,"angle": 135.0475229087,"flipX": false,"flipY": false,"top": 187.4712673868,"height": 150.7959293344,"width": 141.1534839281,"asset": "KitEngineer","selectable": true,"left": 159.7080391869,"fill": "#FFFFFF"},{"opacity": 1,"angle": 89.2629558371,"flipX": false,"flipY": false,"top": 36.7962350632,"height": 30.8540261479,"width": 47.6242426445,"asset": "Eye2","selectable": true,"left": 160.4661726165,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 127,"height": 186,"width": 9,"asset": "Stroke","selectable": true,"left": 160.5,"fill": "#000000"},{"opacity": 1,"angle": 179.4119777051,"flipX": false,"flipY": false,"top": 126.2701415314,"height": 42.0866421214,"width": 21.9885786613,"asset": "PlayerMarker","selectable": true,"left": 161.0284307533,"fill": "#000000"},{"opacity": 1,"angle": 180.0421160012,"flipX": false,"flipY": false,"top": 131.6811293668,"height": 27.5269605595,"width": 30.923957265,"asset": "Heart","selectable": true,"left": 161.0938559942,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 61,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262.5,"height": 185,"width": 108,"asset": "Circle","selectable": true,"left": 255,"fill": "#000000"},{"opacity": 1,"angle": 14.2831355858,"flipX": false,"flipY": false,"top": 122.5626410766,"height": 47.0621073385,"width": 61,"asset": "Circle","selectable": true,"left": 108.2478027153,"fill": "#000000"},{"opacity": 1,"angle": -96.2046430589,"flipX": false,"flipY": false,"top": 92.6187274079,"height": 57.68886998859999,"width": 20,"asset": "Stroke","selectable": true,"left": 106.007139369,"fill": "#FFFFFF"},{"opacity": 1,"angle": -67.1377972617,"flipX": false,"flipY": false,"top": 159.787009918,"height": 57.1944016114,"width": 33.0834710323,"asset": "Stroke","selectable": true,"left": 102.8678184068,"fill": "#FFFFFF"},{"opacity": 1,"angle": -23.9714122693,"flipX": false,"flipY": false,"top": 122.3664423687,"height": 49.1979358546,"width": 67.8391959799,"asset": "Circle","selectable": true,"left": 215.2433336329,"fill": "#000000"},{"opacity": 1,"angle": 93.7816992147,"flipX": false,"flipY": false,"top": 96.5910966986,"height": 67.1681744567,"width": 21.1108148186,"asset": "Stroke","selectable": true,"left": 209.5018531089,"fill": "#FFFFFF"},{"opacity": 1,"angle": -63.6763137912,"flipX": false,"flipY": false,"top": 241.7338771181,"height": 100,"width": 32.7945034682,"asset": "Stroke","selectable": true,"left": 114.1631914157,"fill": "#000000"},{"opacity": 1,"angle": -2.0256943781,"flipX": false,"flipY": false,"top": 221.4207254731,"height": 59.1752155008,"width": 20.6660577742,"asset": "Wingpart","selectable": true,"left": 185.2413070792,"fill": "#FFFFFF"},{"opacity": 1,"angle": 87.423165012,"flipX": false,"flipY": false,"top": 260.2038815074,"height": 22.1839764876,"width": 100,"asset": "Eye2","selectable": true,"left": 189.9773772965,"fill": "#000000"},{"opacity": 1,"angle": -81.2840200265,"flipX": false,"flipY": false,"top": 205.122313909,"height": 28.012268264399996,"width": 63.9978713221,"asset": "Eye2","selectable": true,"left": 141.4526739452,"fill": "#FFFFFF"},{"opacity": 1,"angle": 84.3574502264,"flipX": false,"flipY": false,"top": 237.5429199054,"height": 15.3363878198,"width": 67.5526516551,"asset": "Eye2","selectable": true,"left": 142.4469117007,"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": 149.2608543213,"height": 473.2370853272,"width": 473.2370853272,"asset": "Square","selectable": true,"left": 170.7391456787,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 81.8662420382,"height": 118.2675159236,"width": 169.4267515924,"asset": "Circle","selectable": true,"left": 161.2866242038,"fill": "#FFFFFF"},{"opacity": 1,"angle": 180.0248328214,"flipX": false,"flipY": false,"top": 118.5106254153,"height": 189.0103888921,"width": 172.98178503910003,"asset": "Shield2","selectable": true,"left": 162.510178288,"fill": "#FFFFFF"},{"opacity": 1,"angle": 135.0475229087,"flipX": false,"flipY": false,"top": 187.4712673868,"height": 150.7959293344,"width": 141.1534839281,"asset": "KitEngineer","selectable": true,"left": 159.7080391869,"fill": "#FFFFFF"},{"opacity": 1,"angle": 89.2629558371,"flipX": false,"flipY": false,"top": 36.7962350632,"height": 30.8540261479,"width": 47.6242426445,"asset": "Eye2","selectable": true,"left": 160.4661726165,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 127,"height": 186,"width": 9,"asset": "Stroke","selectable": true,"left": 160.5,"fill": "#000000"},{"opacity": 1,"angle": 179.4119777051,"flipX": false,"flipY": false,"top": 126.2701415314,"height": 42.0866421214,"width": 21.9885786613,"asset": "PlayerMarker","selectable": true,"left": 161.0284307533,"fill": "#000000"},{"opacity": 1,"angle": 180.0421160012,"flipX": false,"flipY": false,"top": 131.6811293668,"height": 27.5269605595,"width": 30.923957265,"asset": "Heart","selectable": true,"left": 161.0938559942,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 61,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262.5,"height": 185,"width": 108,"asset": "Circle","selectable": true,"left": 255,"fill": "#000000"},{"opacity": 1,"angle": 14.2831355858,"flipX": false,"flipY": false,"top": 122.5626410766,"height": 47.0621073385,"width": 61,"asset": "Circle","selectable": true,"left": 108.2478027153,"fill": "#000000"},{"opacity": 1,"angle": -96.2046430589,"flipX": false,"flipY": false,"top": 92.6187274079,"height": 57.68886998859999,"width": 20,"asset": "Stroke","selectable": true,"left": 106.007139369,"fill": "#FFFFFF"},{"opacity": 1,"angle": -67.1377972617,"flipX": false,"flipY": false,"top": 159.787009918,"height": 57.1944016114,"width": 33.0834710323,"asset": "Stroke","selectable": true,"left": 102.8678184068,"fill": "#FFFFFF"},{"opacity": 1,"angle": -23.9714122693,"flipX": false,"flipY": false,"top": 122.3664423687,"height": 49.1979358546,"width": 67.8391959799,"asset": "Circle","selectable": true,"left": 215.2433336329,"fill": "#000000"},{"opacity": 1,"angle": 93.7816992147,"flipX": false,"flipY": false,"top": 96.5910966986,"height": 67.1681744567,"width": 21.1108148186,"asset": "Stroke","selectable": true,"left": 209.5018531089,"fill": "#FFFFFF"},{"opacity": 1,"angle": -63.6763137912,"flipX": false,"flipY": false,"top": 241.7338771181,"height": 100,"width": 32.7945034682,"asset": "Stroke","selectable": true,"left": 114.1631914157,"fill": "#000000"},{"opacity": 1,"angle": -2.0256943781,"flipX": false,"flipY": false,"top": 221.4207254731,"height": 59.1752155008,"width": 20.6660577742,"asset": "Wingpart","selectable": true,"left": 185.2413070792,"fill": "#FFFFFF"},{"opacity": 1,"angle": 87.423165012,"flipX": false,"flipY": false,"top": 260.2038815074,"height": 22.1839764876,"width": 100,"asset": "Eye2","selectable": true,"left": 189.9773772965,"fill": "#000000"},{"opacity": 1,"angle": -81.2840200265,"flipX": false,"flipY": false,"top": 205.122313909,"height": 28.012268264399996,"width": 63.9978713221,"asset": "Eye2","selectable": true,"left": 141.4526739452,"fill": "#FFFFFF"},{"opacity": 1,"angle": 84.3574502264,"flipX": false,"flipY": false,"top": 237.5429199054,"height": 15.3363878198,"width": 67.5526516551,"asset": "Eye2","selectable": true,"left": 142.4469117007,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告