登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
62
圖層數
34
Tim Hortons Coffee
作者:
seriosbrad
»
代碼 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": 94.3488238191,"flipX": false,"flipY": true,"top": 236.023493209,"height": 117.51339774710002,"width": 359.5916585939,"asset": "Triangle","selectable": false,"left": 188.3922366518,"fill": "#721F22"},{"opacity": 1,"angle": 85.4045127222,"flipX": true,"flipY": false,"top": 231.6875,"height": 100,"width": 359.5916585939,"asset": "Triangle","selectable": false,"left": 110.8762760669,"fill": "#721F22"},{"opacity": 1,"angle": 180,"flipX": false,"flipY": false,"top": 307.5341957812,"height": 490.9426499849001,"width": 188.1451790365,"asset": "Triangle","selectable": false,"left": 153.0725895183,"fill": "#721F22"},{"opacity": 1,"angle": -4.9574665881,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 63.3125,"fill": "#591917"},{"opacity": 1,"angle": -4.4410185629,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 100.3125,"fill": "#591917"},{"opacity": 1,"angle": -3.8034412651,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 141.3125,"fill": "#591917"},{"opacity": 1,"angle": -3.8034412651,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 180.3125,"fill": "#591917"},{"opacity": 1,"angle": 148.9948558935,"flipX": true,"flipY": false,"top": 131.1582236816,"height": 16.7800961015,"width": 171.7658649217,"asset": "ArrowBent","selectable": false,"left": 159.5367683279,"fill": "#CF2120"},{"opacity": 1,"angle": 63.9428126531,"flipX": false,"flipY": false,"top": 177.7753207109,"height": 86.4423963479,"width": 24.857111014300003,"asset": "StrokeBent","selectable": true,"left": 95.2589282397,"fill": "#CF2120"},{"opacity": 1,"angle": 143.1251208797,"flipX": true,"flipY": false,"top": 114.8917843482,"height": 11.4765945166,"width": 143.4474423449,"asset": "ArrowBent","selectable": false,"left": 210.4482732573,"fill": "#3E0E0E"},{"opacity": 1,"angle": -36.2860094823,"flipX": true,"flipY": false,"top": 172.0983744967,"height": 10.4329105025,"width": 124.2394396836,"asset": "ArrowBent","selectable": false,"left": 109.5542018927,"fill": "#3E0E0E"},{"opacity": 1,"angle": 83.3567050263,"flipX": false,"flipY": false,"top": 211.2552501737,"height": 92.5273016784,"width": 20,"asset": "Stroke","selectable": false,"left": 105.3125,"fill": "#3A0B05"},{"opacity": 1,"angle": 83.3567050263,"flipX": false,"flipY": false,"top": 224.3125,"height": 100,"width": 4.1329796434,"asset": "Stroke","selectable": false,"left": 109.9354221931,"fill": "#3A0B05"},{"opacity": 1,"angle": 72.1508414074,"flipX": true,"flipY": false,"top": 206.4097175881,"height": 131.1096281956,"width": 11.4953695306,"asset": "StrokeBent","selectable": false,"left": 189.1197434326,"fill": "#3A0B05"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171,"height": 90.3066084185,"width": 178.3666028181,"asset": "Circle","selectable": false,"left": 151.4426043662,"fill": "#BC1B1C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171,"height": 86.1821582031,"width": 164.9815216567,"asset": "Circle","selectable": false,"left": 151.5155672552,"fill": "#EDEFCA"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 80.703125,"height": 212,"width": 33.859375,"asset": "StrokeBent","selectable": false,"left": 150,"fill": "#591917"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 64.5,"height": 63,"width": 220,"asset": "Circle","selectable": false,"left": 153,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.2595988005,"height": 83.0716161486,"width": 155,"asset": "Circle","selectable": false,"left": 151.5,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.5,"height": 81,"width": 150.1155281215,"asset": "Circle","selectable": false,"left": 151.4691110254,"fill": "#EDEFCA"},{"opacity": 0.34,"angle": 0,"flipX": false,"flipY": false,"top": 67.8156299157,"height": 58.99842698580001,"width": 215.4603797259,"asset": "Circle","selectable": false,"left": 152.3266863134,"fill": "#C7C2BE"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 66.5521228837,"height": 43.1042457674,"width": 201.83288953459999,"asset": "Circle","selectable": false,"left": 153.6307277798,"fill": "#B88359"},{"opacity": 0.2,"angle": 0,"flipX": false,"flipY": false,"top": 58.1872134689,"height": 26.2222417349,"width": 185.109375,"asset": "Eye2","selectable": false,"left": 152.4215332031,"fill": "#A5631B"},{"opacity": 0.4,"angle": 0,"flipX": false,"flipY": false,"top": 165,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 121,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 165.1633084582,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 121.1633084582,"fill": "#BC1B1C"},{"opacity": 0.4,"angle": 0,"flipX": true,"flipY": false,"top": 166,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 182,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 165.1633084582,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 180.8366915418,"fill": "#BC1B1C"},{"opacity": 0.4,"angle": 0,"flipX": false,"flipY": false,"top": 180.8691644956,"height": 41.867361419299996,"width": 34.4484649758,"asset": "KitSupport","selectable": false,"left": 152,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 179.1308355044,"height": 41.867361419299996,"width": 34.4484649758,"asset": "KitSupport","selectable": false,"left": 151.1308355044,"fill": "#BC1B1C"},{"opacity": 1,"angle": -81.8293570005,"flipX": false,"flipY": false,"top": 304.6716144423,"height": 148.2269079187,"width": 5.3584381736,"asset": "StrokeBent","selectable": false,"left": 167.0558170643,"fill": "#3E0E0E"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284.8115769504,"height": 60.2953758563,"width": 60.2953758563,"asset": "Circle","selectable": false,"left": 209.8115769504,"fill": "#EDEFCA"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284.8146583677,"height": 59.3072835887,"width": 59.3093223467,"asset": "MedalRing4","selectable": false,"left": 209.8146583677,"fill": "#BC1B1C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284.9052019549,"height": 30.3353744172,"width": 30.3353744172,"asset": "KitEngineer","selectable": false,"left": 209.9052019549,"fill": "#BC1B1C"},{"opacity": 0.6,"angle": 270,"flipX": false,"flipY": false,"top": 331.4290383536,"height": 174.8620846421,"width": 50.8306613148,"asset": "StrokeBent","selectable": true,"left": 154.1325894248,"fill": "#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": 94.3488238191,"flipX": false,"flipY": true,"top": 236.023493209,"height": 117.51339774710002,"width": 359.5916585939,"asset": "Triangle","selectable": false,"left": 188.3922366518,"fill": "#721F22"},{"opacity": 1,"angle": 85.4045127222,"flipX": true,"flipY": false,"top": 231.6875,"height": 100,"width": 359.5916585939,"asset": "Triangle","selectable": false,"left": 110.8762760669,"fill": "#721F22"},{"opacity": 1,"angle": 180,"flipX": false,"flipY": false,"top": 307.5341957812,"height": 490.9426499849001,"width": 188.1451790365,"asset": "Triangle","selectable": false,"left": 153.0725895183,"fill": "#721F22"},{"opacity": 1,"angle": -4.9574665881,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 63.3125,"fill": "#591917"},{"opacity": 1,"angle": -4.4410185629,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 100.3125,"fill": "#591917"},{"opacity": 1,"angle": -3.8034412651,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 141.3125,"fill": "#591917"},{"opacity": 1,"angle": -3.8034412651,"flipX": false,"flipY": false,"top": 126.3912825613,"height": 125.2104196253,"width": 20,"asset": "Stroke","selectable": false,"left": 180.3125,"fill": "#591917"},{"opacity": 1,"angle": 148.9948558935,"flipX": true,"flipY": false,"top": 131.1582236816,"height": 16.7800961015,"width": 171.7658649217,"asset": "ArrowBent","selectable": false,"left": 159.5367683279,"fill": "#CF2120"},{"opacity": 1,"angle": 63.9428126531,"flipX": false,"flipY": false,"top": 177.7753207109,"height": 86.4423963479,"width": 24.857111014300003,"asset": "StrokeBent","selectable": true,"left": 95.2589282397,"fill": "#CF2120"},{"opacity": 1,"angle": 143.1251208797,"flipX": true,"flipY": false,"top": 114.8917843482,"height": 11.4765945166,"width": 143.4474423449,"asset": "ArrowBent","selectable": false,"left": 210.4482732573,"fill": "#3E0E0E"},{"opacity": 1,"angle": -36.2860094823,"flipX": true,"flipY": false,"top": 172.0983744967,"height": 10.4329105025,"width": 124.2394396836,"asset": "ArrowBent","selectable": false,"left": 109.5542018927,"fill": "#3E0E0E"},{"opacity": 1,"angle": 83.3567050263,"flipX": false,"flipY": false,"top": 211.2552501737,"height": 92.5273016784,"width": 20,"asset": "Stroke","selectable": false,"left": 105.3125,"fill": "#3A0B05"},{"opacity": 1,"angle": 83.3567050263,"flipX": false,"flipY": false,"top": 224.3125,"height": 100,"width": 4.1329796434,"asset": "Stroke","selectable": false,"left": 109.9354221931,"fill": "#3A0B05"},{"opacity": 1,"angle": 72.1508414074,"flipX": true,"flipY": false,"top": 206.4097175881,"height": 131.1096281956,"width": 11.4953695306,"asset": "StrokeBent","selectable": false,"left": 189.1197434326,"fill": "#3A0B05"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171,"height": 90.3066084185,"width": 178.3666028181,"asset": "Circle","selectable": false,"left": 151.4426043662,"fill": "#BC1B1C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171,"height": 86.1821582031,"width": 164.9815216567,"asset": "Circle","selectable": false,"left": 151.5155672552,"fill": "#EDEFCA"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 80.703125,"height": 212,"width": 33.859375,"asset": "StrokeBent","selectable": false,"left": 150,"fill": "#591917"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 64.5,"height": 63,"width": 220,"asset": "Circle","selectable": false,"left": 153,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.2595988005,"height": 83.0716161486,"width": 155,"asset": "Circle","selectable": false,"left": 151.5,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.5,"height": 81,"width": 150.1155281215,"asset": "Circle","selectable": false,"left": 151.4691110254,"fill": "#EDEFCA"},{"opacity": 0.34,"angle": 0,"flipX": false,"flipY": false,"top": 67.8156299157,"height": 58.99842698580001,"width": 215.4603797259,"asset": "Circle","selectable": false,"left": 152.3266863134,"fill": "#C7C2BE"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 66.5521228837,"height": 43.1042457674,"width": 201.83288953459999,"asset": "Circle","selectable": false,"left": 153.6307277798,"fill": "#B88359"},{"opacity": 0.2,"angle": 0,"flipX": false,"flipY": false,"top": 58.1872134689,"height": 26.2222417349,"width": 185.109375,"asset": "Eye2","selectable": false,"left": 152.4215332031,"fill": "#A5631B"},{"opacity": 0.4,"angle": 0,"flipX": false,"flipY": false,"top": 165,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 121,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 165.1633084582,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 121.1633084582,"fill": "#BC1B1C"},{"opacity": 0.4,"angle": 0,"flipX": true,"flipY": false,"top": 166,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 182,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 165.1633084582,"height": 52.2587066081,"width": 29.241849208,"asset": "Wing1","selectable": false,"left": 180.8366915418,"fill": "#BC1B1C"},{"opacity": 0.4,"angle": 0,"flipX": false,"flipY": false,"top": 180.8691644956,"height": 41.867361419299996,"width": 34.4484649758,"asset": "KitSupport","selectable": false,"left": 152,"fill": "#DE9E46"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 179.1308355044,"height": 41.867361419299996,"width": 34.4484649758,"asset": "KitSupport","selectable": false,"left": 151.1308355044,"fill": "#BC1B1C"},{"opacity": 1,"angle": -81.8293570005,"flipX": false,"flipY": false,"top": 304.6716144423,"height": 148.2269079187,"width": 5.3584381736,"asset": "StrokeBent","selectable": false,"left": 167.0558170643,"fill": "#3E0E0E"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284.8115769504,"height": 60.2953758563,"width": 60.2953758563,"asset": "Circle","selectable": false,"left": 209.8115769504,"fill": "#EDEFCA"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284.8146583677,"height": 59.3072835887,"width": 59.3093223467,"asset": "MedalRing4","selectable": false,"left": 209.8146583677,"fill": "#BC1B1C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284.9052019549,"height": 30.3353744172,"width": 30.3353744172,"asset": "KitEngineer","selectable": false,"left": 209.9052019549,"fill": "#BC1B1C"},{"opacity": 0.6,"angle": 270,"flipX": false,"flipY": false,"top": 331.4290383536,"height": 174.8620846421,"width": 50.8306613148,"asset": "StrokeBent","selectable": true,"left": 154.1325894248,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
coffee
tim
hortons
广告