登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
232
圖層數
39
zoidberg
作者:
thatsalottadimp
代碼 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": 323,"height": 324,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 159.2000634832,"fill": "#F49AC2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162.5,"height": 325,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 3.2000634832,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": -5,"height": 324,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 160.2000634832,"fill": "#00AEEF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159,"height": 324,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 324.2000634832,"fill": "#8DC73F"},{"opacity": 1,"angle": 171.8038829226,"flipX": false,"flipY": false,"top": 160.3204851689,"height": 305.2553611671,"width": 186.8591168029,"asset": "Shield4","selectable": false,"left": 155.8966587107,"fill": "#000000"},{"opacity": 1,"angle": 171.8038829226,"flipX": false,"flipY": false,"top": 161.2300153808,"height": 291.7587448887,"width": 178.597293692,"asset": "Shield4","selectable": false,"left": 155.8458893851,"fill": "#F26C4F"},{"opacity": 1,"angle": -9.364960854,"flipX": false,"flipY": false,"top": 106.8751483019,"height": 195.29808489200002,"width": 183.7911293043,"asset": "Circle","selectable": false,"left": 145.5937566726,"fill": "#000000"},{"opacity": 1,"angle": -9.364960854,"flipX": false,"flipY": false,"top": 108,"height": 186,"width": 175.0408872136,"asset": "Circle","selectable": false,"left": 145.5204436068,"fill": "#F26C4F"},{"opacity": 1,"angle": -41.7847470161,"flipX": true,"flipY": false,"top": 155.9443946104,"height": 95.3173569746,"width": 177.1750066075,"asset": "Wingpart","selectable": false,"left": 185.4473491136,"fill": "#F26C4F"},{"opacity": 1,"angle": 5.9239552345,"flipX": false,"flipY": false,"top": 160.0956810979,"height": 82.868924841,"width": 100,"asset": "Wingpart","selectable": false,"left": 104.7395227069,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 189.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 251.3263944557,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 192.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 248.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 252.9505127289,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 253.9505127289,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 198.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 222.3263944557,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 199.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 218.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 227.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 224.9505127289,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 224.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 223.9505127289,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 203.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 192.3263944557,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 206.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 189.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 195.9505127289,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 228.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 194.9505127289,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 208.4842832183,"height": 44.0851681304,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 166.1819178698,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 210.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 162.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 224.2762167552,"height": 44.0851681304,"width": 109.6235758789,"asset": "Eye2","selectable": false,"left": 132.5330370395,"fill": "#000000"},{"opacity": 1,"angle": 60.0993658643,"flipX": false,"flipY": false,"top": 230.0312580297,"height": 43.1665240914,"width": 112.0194864291,"asset": "Eye2","selectable": false,"left": 130.755949432,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 240.230466013,"height": 32.4019896773,"width": 32.4019896773,"asset": "Circle","selectable": false,"left": 173.230466013,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235.230466013,"height": 32.4019896773,"width": 29.4314608517,"asset": "Circle","selectable": false,"left": 173.7157304258,"fill": "#F26C4F"},{"opacity": 1,"angle": 169.6411990503,"flipX": false,"flipY": false,"top": 203.1736892978,"height": 37.3654040177,"width": 37.3654040177,"asset": "Shield","selectable": false,"left": 132.1992944193,"fill": "#000000"},{"opacity": 1,"angle": 123.1133079358,"flipX": false,"flipY": false,"top": 182.1281143878,"height": 101.2192399902,"width": 30,"asset": "StrokeBent","selectable": false,"left": 120.4517475703,"fill": "#F26C4F"},{"opacity": 1,"angle": -13.3240915709,"flipX": false,"flipY": false,"top": 155.5597515088,"height": 53.1794839118,"width": 146.4854251508,"asset": "Crown1","selectable": false,"left": 156.8057917956,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.0058116703,"height": 66.0116233405,"width": 66.0116233405,"asset": "Circle","selectable": false,"left": 140.0058116703,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120.648241206,"height": 59.2964824121,"width": 59.2964824121,"asset": "Circle","selectable": false,"left": 139.648241206,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 110.2639664649,"height": 66.5279329297,"width": 66.5279329297,"asset": "Circle","selectable": false,"left": 215.2639664649,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 110.648241206,"height": 59.2964824121,"width": 59.2964824121,"asset": "Circle","selectable": false,"left": 214.648241206,"fill": "#FFFFFF"},{"opacity": 1,"angle": 112.1704482182,"flipX": true,"flipY": false,"top": 139.8281362153,"height": 64.8803960979,"width": 14.2187673776,"asset": "StrokeBent","selectable": true,"left": 214.2395729123,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 109.1539414577,"height": 14.3078829153,"width": 14.3078829153,"asset": "Circle","selectable": false,"left": 215.1539414577,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120.1539414577,"height": 14.3078829153,"width": 14.3078829153,"asset": "Circle","selectable": false,"left": 139.1539414577,"fill": "#000000"},{"opacity": 1,"angle": 168.6420457877,"flipX": false,"flipY": false,"top": 215.9748061014,"height": 6.9637583059,"width": 23.4033269095,"asset": "Shield","selectable": false,"left": 131.380236595,"fill": "#7EA7D8"}]'},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": 323,"height": 324,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 159.2000634832,"fill": "#F49AC2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162.5,"height": 325,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 3.2000634832,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": -5,"height": 324,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 160.2000634832,"fill": "#00AEEF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159,"height": 324,"width": 335.5998730336,"asset": "Romb","selectable": true,"left": 324.2000634832,"fill": "#8DC73F"},{"opacity": 1,"angle": 171.8038829226,"flipX": false,"flipY": false,"top": 160.3204851689,"height": 305.2553611671,"width": 186.8591168029,"asset": "Shield4","selectable": false,"left": 155.8966587107,"fill": "#000000"},{"opacity": 1,"angle": 171.8038829226,"flipX": false,"flipY": false,"top": 161.2300153808,"height": 291.7587448887,"width": 178.597293692,"asset": "Shield4","selectable": false,"left": 155.8458893851,"fill": "#F26C4F"},{"opacity": 1,"angle": -9.364960854,"flipX": false,"flipY": false,"top": 106.8751483019,"height": 195.29808489200002,"width": 183.7911293043,"asset": "Circle","selectable": false,"left": 145.5937566726,"fill": "#000000"},{"opacity": 1,"angle": -9.364960854,"flipX": false,"flipY": false,"top": 108,"height": 186,"width": 175.0408872136,"asset": "Circle","selectable": false,"left": 145.5204436068,"fill": "#F26C4F"},{"opacity": 1,"angle": -41.7847470161,"flipX": true,"flipY": false,"top": 155.9443946104,"height": 95.3173569746,"width": 177.1750066075,"asset": "Wingpart","selectable": false,"left": 185.4473491136,"fill": "#F26C4F"},{"opacity": 1,"angle": 5.9239552345,"flipX": false,"flipY": false,"top": 160.0956810979,"height": 82.868924841,"width": 100,"asset": "Wingpart","selectable": false,"left": 104.7395227069,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 189.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 251.3263944557,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 192.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 248.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 252.9505127289,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 253.9505127289,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 198.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 222.3263944557,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 199.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 218.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 227.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 224.9505127289,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 224.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 223.9505127289,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 203.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 192.3263944557,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 206.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 189.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 231.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 195.9505127289,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 228.9505127289,"height": 39.9010254579,"width": 39.9010254579,"asset": "Circle","selectable": false,"left": 194.9505127289,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 208.4842832183,"height": 44.0851681304,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 166.1819178698,"fill": "#000000"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 210.4221473885,"height": 43.770625,"width": 92.65958720490002,"asset": "Eye2","selectable": false,"left": 162.3263944557,"fill": "#F26C4F"},{"opacity": 1,"angle": 66.7286478556,"flipX": false,"flipY": false,"top": 224.2762167552,"height": 44.0851681304,"width": 109.6235758789,"asset": "Eye2","selectable": false,"left": 132.5330370395,"fill": "#000000"},{"opacity": 1,"angle": 60.0993658643,"flipX": false,"flipY": false,"top": 230.0312580297,"height": 43.1665240914,"width": 112.0194864291,"asset": "Eye2","selectable": false,"left": 130.755949432,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 240.230466013,"height": 32.4019896773,"width": 32.4019896773,"asset": "Circle","selectable": false,"left": 173.230466013,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235.230466013,"height": 32.4019896773,"width": 29.4314608517,"asset": "Circle","selectable": false,"left": 173.7157304258,"fill": "#F26C4F"},{"opacity": 1,"angle": 169.6411990503,"flipX": false,"flipY": false,"top": 203.1736892978,"height": 37.3654040177,"width": 37.3654040177,"asset": "Shield","selectable": false,"left": 132.1992944193,"fill": "#000000"},{"opacity": 1,"angle": 123.1133079358,"flipX": false,"flipY": false,"top": 182.1281143878,"height": 101.2192399902,"width": 30,"asset": "StrokeBent","selectable": false,"left": 120.4517475703,"fill": "#F26C4F"},{"opacity": 1,"angle": -13.3240915709,"flipX": false,"flipY": false,"top": 155.5597515088,"height": 53.1794839118,"width": 146.4854251508,"asset": "Crown1","selectable": false,"left": 156.8057917956,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.0058116703,"height": 66.0116233405,"width": 66.0116233405,"asset": "Circle","selectable": false,"left": 140.0058116703,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120.648241206,"height": 59.2964824121,"width": 59.2964824121,"asset": "Circle","selectable": false,"left": 139.648241206,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 110.2639664649,"height": 66.5279329297,"width": 66.5279329297,"asset": "Circle","selectable": false,"left": 215.2639664649,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 110.648241206,"height": 59.2964824121,"width": 59.2964824121,"asset": "Circle","selectable": false,"left": 214.648241206,"fill": "#FFFFFF"},{"opacity": 1,"angle": 112.1704482182,"flipX": true,"flipY": false,"top": 139.8281362153,"height": 64.8803960979,"width": 14.2187673776,"asset": "StrokeBent","selectable": true,"left": 214.2395729123,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 109.1539414577,"height": 14.3078829153,"width": 14.3078829153,"asset": "Circle","selectable": false,"left": 215.1539414577,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120.1539414577,"height": 14.3078829153,"width": 14.3078829153,"asset": "Circle","selectable": false,"left": 139.1539414577,"fill": "#000000"},{"opacity": 1,"angle": 168.6420457877,"flipX": false,"flipY": false,"top": 215.9748061014,"height": 6.9637583059,"width": 23.4033269095,"asset": "Shield","selectable": false,"left": 131.380236595,"fill": "#7EA7D8"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告