登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
58
圖層數
32
The Demoknight
作者:
[HK]noob-lag
»
代碼 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": 166.5,"height": 279,"width": 120.8188386215,"asset": "Wing1","selectable": false,"left": 61.4094193107,"fill": "#00AEEF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 169.5,"height": 279,"width": 120.8188386215,"asset": "Wing1","selectable": false,"left": 260.4094193107,"fill": "#00AEEF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164,"height": 211.6469735462,"width": 216.8234867731,"asset": "Circle","selectable": false,"left": 158,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 163.0205145608,"height": 180.0410291215,"width": 180.0410291215,"asset": "Circle","selectable": false,"left": 158.0205145608,"fill": "#966F33"},{"opacity": 1,"angle": 8.8918011392,"flipX": false,"flipY": false,"top": 162.96082914,"height": 176.9156432695,"width": 176.0822302857,"asset": "KitAssault","selectable": false,"left": 157.5537005138,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.5374382594,"height": 70.9251234811,"width": 70.9251234811,"asset": "Circle","selectable": false,"left": 159.4625617406,"fill": "#E1E1E1"},{"opacity": 1,"angle": 44.9033617741,"flipX": false,"flipY": false,"top": 115,"height": 178.6387878911,"width": 20,"asset": "Stroke","selectable": false,"left": 174,"fill": "#2C3539"},{"opacity": 1,"angle": 43.958373324,"flipX": false,"flipY": false,"top": 130,"height": 178.9070161369,"width": 20,"asset": "Stroke","selectable": false,"left": 189,"fill": "#2C3539"},{"opacity": 1,"angle": 45.3369439369,"flipX": false,"flipY": false,"top": 196,"height": 24.6384256655,"width": 61.905056221900004,"asset": "Dogtag","selectable": false,"left": 149,"fill": "#2C3539"},{"opacity": 1,"angle": 77.2233217289,"flipX": false,"flipY": false,"top": 172,"height": 36.2654945847,"width": 36.8297171048,"asset": "Pentagon","selectable": false,"left": 115,"fill": "#2C3539"},{"opacity": 1,"angle": 45.141037094,"flipX": false,"flipY": false,"top": 151,"height": 146.1810977803,"width": 12.7796821705,"asset": "Stroke","selectable": false,"left": 189,"fill": "#2C3539"},{"opacity": 1,"angle": -46.1988255178,"flipX": false,"flipY": false,"top": 194.5643923084,"height": 52.9582016802,"width": 23.5048587028,"asset": "Stroke","selectable": false,"left": 117.948619038,"fill": "#2C3539"},{"opacity": 1,"angle": 45.3766598688,"flipX": false,"flipY": false,"top": 121.6946783436,"height": 175.3959882396,"width": 2.4762042577,"asset": "Stroke","selectable": false,"left": 183.0586933672,"fill": "#000000"},{"opacity": 1,"angle": 45.2570132763,"flipX": false,"flipY": false,"top": 112.3878393145,"height": 60.6915212078,"width": 25.1509929989,"asset": "Stroke","selectable": false,"left": 235.4210235359,"fill": "#8A4117"},{"opacity": 1,"angle": -42.4637116337,"flipX": false,"flipY": false,"top": 60.7896796908,"height": 15.1028357404,"width": 22.2417326362,"asset": "Triangle","selectable": false,"left": 53.1369706811,"fill": "#ACACAC"},{"opacity": 1,"angle": 223.4854219553,"flipX": false,"flipY": false,"top": 226,"height": 26.3000224038,"width": 94.22824545059999,"asset": "Wingpart","selectable": false,"left": 116,"fill": "#8A4117"},{"opacity": 1,"angle": -46.8306220826,"flipX": false,"flipY": false,"top": 277,"height": 27.5094198283,"width": 53.5397535651,"asset": "Square","selectable": false,"left": 114,"fill": "#8A4117"},{"opacity": 1,"angle": -47.7012316227,"flipX": false,"flipY": false,"top": 287.8704370784,"height": 66.9954960523,"width": 20,"asset": "Stroke","selectable": false,"left": 76.6595398403,"fill": "#8A4117"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284,"height": 30.385433337099997,"width": 30.385433337099997,"asset": "Square","selectable": false,"left": 90,"fill": "#8A4117"},{"opacity": 1,"angle": 225.2948293731,"flipX": true,"flipY": false,"top": 166,"height": 32.3531324306,"width": 18.3700176728,"asset": "Number1","selectable": false,"left": 108,"fill": "#2C3539"},{"opacity": 1,"angle": -42.749736452,"flipX": false,"flipY": false,"top": 267.4130367904,"height": 19.4969588303,"width": 62.116072684,"asset": "Wingpart","selectable": false,"left": 91,"fill": "#8A4117"},{"opacity": 1,"angle": 45.1425929103,"flipX": false,"flipY": false,"top": 196.8745980954,"height": 32.005641322,"width": 1.9064331432,"asset": "Stroke","selectable": false,"left": 152.9552779915,"fill": "#000000"},{"opacity": 1,"angle": -42.6262101882,"flipX": false,"flipY": false,"top": 161.432801933,"height": 260.320059835,"width": 22.0702951907,"asset": "Stroke","selectable": false,"left": 146.031458293,"fill": "#ACACAC"},{"opacity": 1,"angle": 47.1643552515,"flipX": false,"flipY": false,"top": 259.8777210322,"height": 78.4446578902,"width": 5.1358520891,"asset": "Stroke","selectable": false,"left": 235.0436085127,"fill": "#E1E1E1"},{"opacity": 0.89,"angle": -43.3471721014,"flipX": false,"flipY": false,"top": 234.7056698388,"height": 59.934822088199994,"width": 22.4909277935,"asset": "Stroke","selectable": false,"left": 213.6497809389,"fill": "#A0410D"},{"opacity": 1,"angle": -42.8913047112,"flipX": false,"flipY": false,"top": 247.6547506413,"height": 24.862405825799996,"width": 6.2962471892,"asset": "Stroke","selectable": false,"left": 226.4668609793,"fill": "#E1E1E1"},{"opacity": 1,"angle": -43.9352828457,"flipX": false,"flipY": false,"top": 278.6585573162,"height": 50.3689122959,"width": 10.0737824592,"asset": "Stroke","selectable": false,"left": 256.7962534824,"fill": "#A0410D"},{"opacity": 1,"angle": -44.5295731729,"flipX": false,"flipY": false,"top": 296.7577833689,"height": 11.4250520361,"width": 17.1647859261,"asset": "Circle","selectable": false,"left": 276.2695337998,"fill": "#EBEBEB"},{"opacity": 1,"angle": -43.309522815,"flipX": false,"flipY": false,"top": 70.6712145054,"height": 84.0498965845,"width": 4.6423390973,"asset": "Stroke","selectable": false,"left": 200.729485397,"fill": "#626262"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 69,"height": 9.4802158216,"width": 9.4802158216,"asset": "Circle","selectable": false,"left": 199,"fill": "#626262"},{"opacity": 0.82,"angle": 0,"flipX": false,"flipY": false,"top": 264.9711718904,"height": 74.1400816317,"width": 228.3550520944,"asset": "Banner","selectable": false,"left": 164.1775260472,"fill": "#FFFE00"},{"opacity": 1,"angle": -44.0327430978,"flipX": true,"flipY": false,"top": 190,"height": 49.0623007172,"width": 1.8575621188,"asset": "Stroke","selectable": false,"left": 125,"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": 166.5,"height": 279,"width": 120.8188386215,"asset": "Wing1","selectable": false,"left": 61.4094193107,"fill": "#00AEEF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 169.5,"height": 279,"width": 120.8188386215,"asset": "Wing1","selectable": false,"left": 260.4094193107,"fill": "#00AEEF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164,"height": 211.6469735462,"width": 216.8234867731,"asset": "Circle","selectable": false,"left": 158,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 163.0205145608,"height": 180.0410291215,"width": 180.0410291215,"asset": "Circle","selectable": false,"left": 158.0205145608,"fill": "#966F33"},{"opacity": 1,"angle": 8.8918011392,"flipX": false,"flipY": false,"top": 162.96082914,"height": 176.9156432695,"width": 176.0822302857,"asset": "KitAssault","selectable": false,"left": 157.5537005138,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.5374382594,"height": 70.9251234811,"width": 70.9251234811,"asset": "Circle","selectable": false,"left": 159.4625617406,"fill": "#E1E1E1"},{"opacity": 1,"angle": 44.9033617741,"flipX": false,"flipY": false,"top": 115,"height": 178.6387878911,"width": 20,"asset": "Stroke","selectable": false,"left": 174,"fill": "#2C3539"},{"opacity": 1,"angle": 43.958373324,"flipX": false,"flipY": false,"top": 130,"height": 178.9070161369,"width": 20,"asset": "Stroke","selectable": false,"left": 189,"fill": "#2C3539"},{"opacity": 1,"angle": 45.3369439369,"flipX": false,"flipY": false,"top": 196,"height": 24.6384256655,"width": 61.905056221900004,"asset": "Dogtag","selectable": false,"left": 149,"fill": "#2C3539"},{"opacity": 1,"angle": 77.2233217289,"flipX": false,"flipY": false,"top": 172,"height": 36.2654945847,"width": 36.8297171048,"asset": "Pentagon","selectable": false,"left": 115,"fill": "#2C3539"},{"opacity": 1,"angle": 45.141037094,"flipX": false,"flipY": false,"top": 151,"height": 146.1810977803,"width": 12.7796821705,"asset": "Stroke","selectable": false,"left": 189,"fill": "#2C3539"},{"opacity": 1,"angle": -46.1988255178,"flipX": false,"flipY": false,"top": 194.5643923084,"height": 52.9582016802,"width": 23.5048587028,"asset": "Stroke","selectable": false,"left": 117.948619038,"fill": "#2C3539"},{"opacity": 1,"angle": 45.3766598688,"flipX": false,"flipY": false,"top": 121.6946783436,"height": 175.3959882396,"width": 2.4762042577,"asset": "Stroke","selectable": false,"left": 183.0586933672,"fill": "#000000"},{"opacity": 1,"angle": 45.2570132763,"flipX": false,"flipY": false,"top": 112.3878393145,"height": 60.6915212078,"width": 25.1509929989,"asset": "Stroke","selectable": false,"left": 235.4210235359,"fill": "#8A4117"},{"opacity": 1,"angle": -42.4637116337,"flipX": false,"flipY": false,"top": 60.7896796908,"height": 15.1028357404,"width": 22.2417326362,"asset": "Triangle","selectable": false,"left": 53.1369706811,"fill": "#ACACAC"},{"opacity": 1,"angle": 223.4854219553,"flipX": false,"flipY": false,"top": 226,"height": 26.3000224038,"width": 94.22824545059999,"asset": "Wingpart","selectable": false,"left": 116,"fill": "#8A4117"},{"opacity": 1,"angle": -46.8306220826,"flipX": false,"flipY": false,"top": 277,"height": 27.5094198283,"width": 53.5397535651,"asset": "Square","selectable": false,"left": 114,"fill": "#8A4117"},{"opacity": 1,"angle": -47.7012316227,"flipX": false,"flipY": false,"top": 287.8704370784,"height": 66.9954960523,"width": 20,"asset": "Stroke","selectable": false,"left": 76.6595398403,"fill": "#8A4117"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 284,"height": 30.385433337099997,"width": 30.385433337099997,"asset": "Square","selectable": false,"left": 90,"fill": "#8A4117"},{"opacity": 1,"angle": 225.2948293731,"flipX": true,"flipY": false,"top": 166,"height": 32.3531324306,"width": 18.3700176728,"asset": "Number1","selectable": false,"left": 108,"fill": "#2C3539"},{"opacity": 1,"angle": -42.749736452,"flipX": false,"flipY": false,"top": 267.4130367904,"height": 19.4969588303,"width": 62.116072684,"asset": "Wingpart","selectable": false,"left": 91,"fill": "#8A4117"},{"opacity": 1,"angle": 45.1425929103,"flipX": false,"flipY": false,"top": 196.8745980954,"height": 32.005641322,"width": 1.9064331432,"asset": "Stroke","selectable": false,"left": 152.9552779915,"fill": "#000000"},{"opacity": 1,"angle": -42.6262101882,"flipX": false,"flipY": false,"top": 161.432801933,"height": 260.320059835,"width": 22.0702951907,"asset": "Stroke","selectable": false,"left": 146.031458293,"fill": "#ACACAC"},{"opacity": 1,"angle": 47.1643552515,"flipX": false,"flipY": false,"top": 259.8777210322,"height": 78.4446578902,"width": 5.1358520891,"asset": "Stroke","selectable": false,"left": 235.0436085127,"fill": "#E1E1E1"},{"opacity": 0.89,"angle": -43.3471721014,"flipX": false,"flipY": false,"top": 234.7056698388,"height": 59.934822088199994,"width": 22.4909277935,"asset": "Stroke","selectable": false,"left": 213.6497809389,"fill": "#A0410D"},{"opacity": 1,"angle": -42.8913047112,"flipX": false,"flipY": false,"top": 247.6547506413,"height": 24.862405825799996,"width": 6.2962471892,"asset": "Stroke","selectable": false,"left": 226.4668609793,"fill": "#E1E1E1"},{"opacity": 1,"angle": -43.9352828457,"flipX": false,"flipY": false,"top": 278.6585573162,"height": 50.3689122959,"width": 10.0737824592,"asset": "Stroke","selectable": false,"left": 256.7962534824,"fill": "#A0410D"},{"opacity": 1,"angle": -44.5295731729,"flipX": false,"flipY": false,"top": 296.7577833689,"height": 11.4250520361,"width": 17.1647859261,"asset": "Circle","selectable": false,"left": 276.2695337998,"fill": "#EBEBEB"},{"opacity": 1,"angle": -43.309522815,"flipX": false,"flipY": false,"top": 70.6712145054,"height": 84.0498965845,"width": 4.6423390973,"asset": "Stroke","selectable": false,"left": 200.729485397,"fill": "#626262"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 69,"height": 9.4802158216,"width": 9.4802158216,"asset": "Circle","selectable": false,"left": 199,"fill": "#626262"},{"opacity": 0.82,"angle": 0,"flipX": false,"flipY": false,"top": 264.9711718904,"height": 74.1400816317,"width": 228.3550520944,"asset": "Banner","selectable": false,"left": 164.1775260472,"fill": "#FFFE00"},{"opacity": 1,"angle": -44.0327430978,"flipX": true,"flipY": false,"top": 190,"height": 49.0623007172,"width": 1.8575621188,"asset": "Stroke","selectable": false,"left": 125,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告