登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
6
複製總數
580
圖層數
30
Superman
作者:
TheBlindMailman
»
代碼 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": true,"top": 195,"height": 157.6645444779,"width": 284.5969643037,"asset": "Triangle","selectable": false,"left": 159,"fill": "#9E0B0F"},{"opacity": 1,"angle": 137.2922496321,"flipX": false,"flipY": false,"top": 121,"height": 67.918251892,"width": 59.4306017377,"asset": "Triangle","selectable": false,"left": 62,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 101,"height": 51,"width": 204,"asset": "Square","selectable": false,"left": 162,"fill": "#9E0B0F"},{"opacity": 1,"angle": 227.7317951736,"flipX": false,"flipY": false,"top": 117,"height": 62.9016652671,"width": 55.0409310162,"asset": "Triangle","selectable": false,"left": 259.6676011924,"fill": "#9E0B0F"},{"opacity": 1,"angle": 47.8445505151,"flipX": false,"flipY": false,"top": 234.1561824714,"height": 9.9634118477,"width": 53.8858226526,"asset": "Square","selectable": true,"left": 143.1410553387,"fill": "#FFFE00"},{"opacity": 1,"angle": 133.1902051373,"flipX": false,"flipY": true,"top": 236.0969280376,"height": 8.5287287914,"width": 53.64188880980001,"asset": "Square","selectable": true,"left": 174.1254856794,"fill": "#FFFE00"},{"opacity": 1,"angle": 270.3770026365,"flipX": false,"flipY": false,"top": 218.9831083567,"height": 59.10400102220001,"width": 13.9601123503,"asset": "StrokeBent","selectable": true,"left": 159.4408908572,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 180.9004269594,"height": 22.199146081099997,"width": 93.35278790749999,"asset": "Circle","selectable": true,"left": 175.4090131826,"fill": "#FFFE00"},{"opacity": 1,"angle": 274.8312870783,"flipX": false,"flipY": false,"top": 172.2727955738,"height": 100.07738605810002,"width": 13.9601123503,"asset": "StrokeBent","selectable": true,"left": 136.0272293979,"fill": "#FFFE00"},{"opacity": 1,"angle": 47.8445505151,"flipX": false,"flipY": false,"top": 177.1593363933,"height": 9.5378014952,"width": 35.7284502813,"asset": "Square","selectable": true,"left": 96.2379682011,"fill": "#FFFE00"},{"opacity": 1,"angle": 448.4917814977,"flipX": false,"flipY": false,"top": 185.8995291434,"height": 40.5901700113,"width": 13.6766909928,"asset": "StrokeBent","selectable": true,"left": 124.6051879628,"fill": "#FFFE00"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 188,"height": 75.3998487535,"width": 17.5625898148,"asset": "StrokeBent","selectable": true,"left": 174.3000756233,"fill": "#FFFE00"},{"opacity": 1,"angle": 383.5993506808,"flipX": false,"flipY": false,"top": 109.5456386356,"height": 54.5402622883,"width": 10.4761121976,"asset": "StrokeBent","selectable": true,"left": 63,"fill": "#FFFE00"},{"opacity": 1,"angle": 45.668315169,"flipX": false,"flipY": false,"top": 104.1072937759,"height": 41.7325250441,"width": 12.6940653419,"asset": "Square","selectable": true,"left": 49.8783710505,"fill": "#FFFE00"},{"opacity": 1,"angle": 63.4309392434,"flipX": false,"flipY": false,"top": 89,"height": 16.7339250287,"width": 16.0398264534,"asset": "Triangle","selectable": true,"left": 70.551680106,"fill": "#FFFE00"},{"opacity": 1,"angle": 41.7339724176,"flipX": false,"flipY": false,"top": 111.3283181544,"height": 34.1289505494,"width": 24.1362099149,"asset": "Triangle","selectable": true,"left": 51.6715799171,"fill": "#FFFE00"},{"opacity": 1,"angle": -64.0517390754,"flipX": false,"flipY": false,"top": 116.2400277651,"height": 31.2964490177,"width": 70.2132803901,"asset": "Circle","selectable": true,"left": 71.0207656647,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 108.5,"height": 41,"width": 65.0854071363,"asset": "Circle","selectable": true,"left": 119.5427035682,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 119,"height": 141,"width": 20,"asset": "Stroke","selectable": true,"left": 185.5,"fill": "#FFFE00"},{"opacity": 1,"angle": 42.6416366718,"flipX": false,"flipY": false,"top": 122.60525381,"height": 45.05344886670001,"width": 35.7284502813,"asset": "Square","selectable": true,"left": 257.6916933959,"fill": "#FFFE00"},{"opacity": 1,"angle": 469.1289302628,"flipX": false,"flipY": false,"top": 134,"height": 69.8308644104,"width": 14.629045558399998,"asset": "StrokeBent","selectable": true,"left": 224,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 99,"height": 77.5,"width": 22,"asset": "Stroke","selectable": true,"left": 152.25,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 108.5,"height": 41,"width": 65.0854071363,"asset": "Circle","selectable": true,"left": 184,"fill": "#FFFE00"},{"opacity": 1,"angle": 0.6007447678,"flipX": false,"flipY": false,"top": 98.1373251075,"height": 35.746071721,"width": 44.1165337147,"asset": "Square","selectable": true,"left": 238.0685248526,"fill": "#9E0B0F"},{"opacity": 1,"angle": -62.8389973258,"flipX": false,"flipY": false,"top": 91,"height": 14.947987767,"width": 14.9019298811,"asset": "Triangle","selectable": true,"left": 230,"fill": "#FFFE00"},{"opacity": 1,"angle": 180.5758276026,"flipX": false,"flipY": false,"top": 235.5252263016,"height": 30.9783381576,"width": 51.0074743314,"asset": "Triangle","selectable": true,"left": 160.5097968909,"fill": "#FFFE00"},{"opacity": 1,"angle": 0.3225961607,"flipX": false,"flipY": false,"top": 213.1899276335,"height": 27.6366810088,"width": 87.0267726867,"asset": "Circle","selectable": true,"left": 160.5073762638,"fill": "#9E0B0F"},{"opacity": 1,"angle": 195.4645507437,"flipX": false,"flipY": false,"top": 182.330506293,"height": 21.4960241727,"width": 52.2231258998,"asset": "Triangle","selectable": true,"left": 110.6461100243,"fill": "#FFFE00"},{"opacity": 1,"angle": 9.3794308108,"flipX": false,"flipY": false,"top": 203.3474937152,"height": 37.4813266482,"width": 70.8568407391,"asset": "Circle","selectable": true,"left": 134.1903711142,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0.4906871613,"flipX": false,"flipY": false,"top": 157.8754980857,"height": 37.4813266482,"width": 192.8420283742,"asset": "Circle","selectable": true,"left": 158.6621591904,"fill": "#9E0B0F"}]'},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": true,"top": 195,"height": 157.6645444779,"width": 284.5969643037,"asset": "Triangle","selectable": false,"left": 159,"fill": "#9E0B0F"},{"opacity": 1,"angle": 137.2922496321,"flipX": false,"flipY": false,"top": 121,"height": 67.918251892,"width": 59.4306017377,"asset": "Triangle","selectable": false,"left": 62,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 101,"height": 51,"width": 204,"asset": "Square","selectable": false,"left": 162,"fill": "#9E0B0F"},{"opacity": 1,"angle": 227.7317951736,"flipX": false,"flipY": false,"top": 117,"height": 62.9016652671,"width": 55.0409310162,"asset": "Triangle","selectable": false,"left": 259.6676011924,"fill": "#9E0B0F"},{"opacity": 1,"angle": 47.8445505151,"flipX": false,"flipY": false,"top": 234.1561824714,"height": 9.9634118477,"width": 53.8858226526,"asset": "Square","selectable": true,"left": 143.1410553387,"fill": "#FFFE00"},{"opacity": 1,"angle": 133.1902051373,"flipX": false,"flipY": true,"top": 236.0969280376,"height": 8.5287287914,"width": 53.64188880980001,"asset": "Square","selectable": true,"left": 174.1254856794,"fill": "#FFFE00"},{"opacity": 1,"angle": 270.3770026365,"flipX": false,"flipY": false,"top": 218.9831083567,"height": 59.10400102220001,"width": 13.9601123503,"asset": "StrokeBent","selectable": true,"left": 159.4408908572,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 180.9004269594,"height": 22.199146081099997,"width": 93.35278790749999,"asset": "Circle","selectable": true,"left": 175.4090131826,"fill": "#FFFE00"},{"opacity": 1,"angle": 274.8312870783,"flipX": false,"flipY": false,"top": 172.2727955738,"height": 100.07738605810002,"width": 13.9601123503,"asset": "StrokeBent","selectable": true,"left": 136.0272293979,"fill": "#FFFE00"},{"opacity": 1,"angle": 47.8445505151,"flipX": false,"flipY": false,"top": 177.1593363933,"height": 9.5378014952,"width": 35.7284502813,"asset": "Square","selectable": true,"left": 96.2379682011,"fill": "#FFFE00"},{"opacity": 1,"angle": 448.4917814977,"flipX": false,"flipY": false,"top": 185.8995291434,"height": 40.5901700113,"width": 13.6766909928,"asset": "StrokeBent","selectable": true,"left": 124.6051879628,"fill": "#FFFE00"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 188,"height": 75.3998487535,"width": 17.5625898148,"asset": "StrokeBent","selectable": true,"left": 174.3000756233,"fill": "#FFFE00"},{"opacity": 1,"angle": 383.5993506808,"flipX": false,"flipY": false,"top": 109.5456386356,"height": 54.5402622883,"width": 10.4761121976,"asset": "StrokeBent","selectable": true,"left": 63,"fill": "#FFFE00"},{"opacity": 1,"angle": 45.668315169,"flipX": false,"flipY": false,"top": 104.1072937759,"height": 41.7325250441,"width": 12.6940653419,"asset": "Square","selectable": true,"left": 49.8783710505,"fill": "#FFFE00"},{"opacity": 1,"angle": 63.4309392434,"flipX": false,"flipY": false,"top": 89,"height": 16.7339250287,"width": 16.0398264534,"asset": "Triangle","selectable": true,"left": 70.551680106,"fill": "#FFFE00"},{"opacity": 1,"angle": 41.7339724176,"flipX": false,"flipY": false,"top": 111.3283181544,"height": 34.1289505494,"width": 24.1362099149,"asset": "Triangle","selectable": true,"left": 51.6715799171,"fill": "#FFFE00"},{"opacity": 1,"angle": -64.0517390754,"flipX": false,"flipY": false,"top": 116.2400277651,"height": 31.2964490177,"width": 70.2132803901,"asset": "Circle","selectable": true,"left": 71.0207656647,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 108.5,"height": 41,"width": 65.0854071363,"asset": "Circle","selectable": true,"left": 119.5427035682,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 119,"height": 141,"width": 20,"asset": "Stroke","selectable": true,"left": 185.5,"fill": "#FFFE00"},{"opacity": 1,"angle": 42.6416366718,"flipX": false,"flipY": false,"top": 122.60525381,"height": 45.05344886670001,"width": 35.7284502813,"asset": "Square","selectable": true,"left": 257.6916933959,"fill": "#FFFE00"},{"opacity": 1,"angle": 469.1289302628,"flipX": false,"flipY": false,"top": 134,"height": 69.8308644104,"width": 14.629045558399998,"asset": "StrokeBent","selectable": true,"left": 224,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 99,"height": 77.5,"width": 22,"asset": "Stroke","selectable": true,"left": 152.25,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 108.5,"height": 41,"width": 65.0854071363,"asset": "Circle","selectable": true,"left": 184,"fill": "#FFFE00"},{"opacity": 1,"angle": 0.6007447678,"flipX": false,"flipY": false,"top": 98.1373251075,"height": 35.746071721,"width": 44.1165337147,"asset": "Square","selectable": true,"left": 238.0685248526,"fill": "#9E0B0F"},{"opacity": 1,"angle": -62.8389973258,"flipX": false,"flipY": false,"top": 91,"height": 14.947987767,"width": 14.9019298811,"asset": "Triangle","selectable": true,"left": 230,"fill": "#FFFE00"},{"opacity": 1,"angle": 180.5758276026,"flipX": false,"flipY": false,"top": 235.5252263016,"height": 30.9783381576,"width": 51.0074743314,"asset": "Triangle","selectable": true,"left": 160.5097968909,"fill": "#FFFE00"},{"opacity": 1,"angle": 0.3225961607,"flipX": false,"flipY": false,"top": 213.1899276335,"height": 27.6366810088,"width": 87.0267726867,"asset": "Circle","selectable": true,"left": 160.5073762638,"fill": "#9E0B0F"},{"opacity": 1,"angle": 195.4645507437,"flipX": false,"flipY": false,"top": 182.330506293,"height": 21.4960241727,"width": 52.2231258998,"asset": "Triangle","selectable": true,"left": 110.6461100243,"fill": "#FFFE00"},{"opacity": 1,"angle": 9.3794308108,"flipX": false,"flipY": false,"top": 203.3474937152,"height": 37.4813266482,"width": 70.8568407391,"asset": "Circle","selectable": true,"left": 134.1903711142,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0.4906871613,"flipX": false,"flipY": false,"top": 157.8754980857,"height": 37.4813266482,"width": 192.8420283742,"asset": "Circle","selectable": true,"left": 158.6621591904,"fill": "#9E0B0F"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告