登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
332
圖層數
20
Bomb
作者:
l-Chep-l
代碼 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": 193.5929648241,"height": 137.1859296482,"width": 137.1859296482,"asset": "Circle","selectable": true,"left": 93.5929648241,"fill": "#790000"},{"opacity": 1,"angle": -55.2082263588,"flipX": false,"flipY": false,"top": 159,"height": 49.4930837746,"width": 100,"asset": "Dogtag","selectable": true,"left": 115,"fill": "#790000"},{"opacity": 1,"angle": -56.309932474,"flipX": false,"flipY": false,"top": 128.8175333231,"height": 33.6740465324,"width": 13.143954478400001,"asset": "StrokeBent","selectable": true,"left": 136.0741004432,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 197.4216249535,"height": 119.52860938949999,"width": 119.52860938949999,"asset": "Circle","selectable": true,"left": 87.7643046947,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.8180179485,"height": 86.86880958130001,"width": 86.86880958130001,"asset": "Circle","selectable": true,"left": 81.1606976898,"fill": "#ED1C24"},{"opacity": 1,"angle": -34.9537956744,"flipX": false,"flipY": false,"top": 196.7498153899,"height": 28.837450416699998,"width": 51.5983516455,"asset": "Eye2","selectable": true,"left": 58.9272637152,"fill": "#FFFFFF"},{"opacity": 1,"angle": 7.0395887313,"flipX": false,"flipY": false,"top": 184.9950953431256,"height": 21.2093612346,"width": 45.8186030361513,"asset": "Eye2","selectable": true,"left": 107.41123938465019,"fill": "#FFFFFF"},{"opacity": 1,"angle": -65.9680699194,"flipX": false,"flipY": false,"top": 165.0137991465,"height": 49.13743497440001,"width": 16.1761703573,"asset": "Stroke","selectable": true,"left": 53.4353691324,"fill": "#000000"},{"opacity": 1,"angle": 49.7498827988,"flipX": false,"flipY": false,"top": 158.26035422945267,"height": 55.44401190781028,"width": 25.649266221255573,"asset": "Comma","selectable": true,"left": 109.65580656758524,"fill": "#000000"},{"opacity": 1,"angle": 239.6068431059,"flipX": false,"flipY": false,"top": 218.2318685039,"height": 104.908692091,"width": 52.69508878740001,"asset": "StrokeBent","selectable": true,"left": 101.4687743284,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.0070707838,"height": 24.008826699299995,"width": 24.008826699299995,"asset": "Circle","selectable": true,"left": 66.0070707838,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185,"height": 16,"width": 16.5699694721,"asset": "Circle","selectable": true,"left": 97.9580713886,"fill": "#000000"},{"opacity": 1,"angle": 114.5974960073,"flipX": false,"flipY": false,"top": 124,"height": 100,"width": 49.549375,"asset": "Wreath2","selectable": true,"left": 184,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.9965994889,"height": 18.8869689819,"width": 18.8869689819,"asset": "Circle","selectable": true,"left": 65.9965994889,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.772331435,"height": 15.4042094003,"width": 15.4042094003,"asset": "Circle","selectable": true,"left": 66.772331435,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.52201165411876,"height": 11.66360264593747,"width": 12.079096236070384,"asset": "Circle","selectable": true,"left": 97.4630556199352,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.2773182082,"height": 8.1414692696,"width": 8.4314935785,"asset": "Circle","selectable": true,"left": 98.2452685289,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 168,"height": 100,"width": 95.105625,"asset": "Star3","selectable": true,"left": 224,"fill": "#ED1C24"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 163.9434067597,"height": 57.2563847659,"width": 54.454042584,"asset": "Star3","selectable": true,"left": 223.0440641452,"fill": "#FFFE00"},{"opacity": 1,"angle": 231.9562010213,"flipX": false,"flipY": false,"top": 218.3739909212,"height": 91.0595249648,"width": 29.7584639811,"asset": "StrokeBent","selectable": true,"left": 108.6047719354,"fill": "#FFFFFF"}]'},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": 193.5929648241,"height": 137.1859296482,"width": 137.1859296482,"asset": "Circle","selectable": true,"left": 93.5929648241,"fill": "#790000"},{"opacity": 1,"angle": -55.2082263588,"flipX": false,"flipY": false,"top": 159,"height": 49.4930837746,"width": 100,"asset": "Dogtag","selectable": true,"left": 115,"fill": "#790000"},{"opacity": 1,"angle": -56.309932474,"flipX": false,"flipY": false,"top": 128.8175333231,"height": 33.6740465324,"width": 13.143954478400001,"asset": "StrokeBent","selectable": true,"left": 136.0741004432,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 197.4216249535,"height": 119.52860938949999,"width": 119.52860938949999,"asset": "Circle","selectable": true,"left": 87.7643046947,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.8180179485,"height": 86.86880958130001,"width": 86.86880958130001,"asset": "Circle","selectable": true,"left": 81.1606976898,"fill": "#ED1C24"},{"opacity": 1,"angle": -34.9537956744,"flipX": false,"flipY": false,"top": 196.7498153899,"height": 28.837450416699998,"width": 51.5983516455,"asset": "Eye2","selectable": true,"left": 58.9272637152,"fill": "#FFFFFF"},{"opacity": 1,"angle": 7.0395887313,"flipX": false,"flipY": false,"top": 184.9950953431256,"height": 21.2093612346,"width": 45.8186030361513,"asset": "Eye2","selectable": true,"left": 107.41123938465019,"fill": "#FFFFFF"},{"opacity": 1,"angle": -65.9680699194,"flipX": false,"flipY": false,"top": 165.0137991465,"height": 49.13743497440001,"width": 16.1761703573,"asset": "Stroke","selectable": true,"left": 53.4353691324,"fill": "#000000"},{"opacity": 1,"angle": 49.7498827988,"flipX": false,"flipY": false,"top": 158.26035422945267,"height": 55.44401190781028,"width": 25.649266221255573,"asset": "Comma","selectable": true,"left": 109.65580656758524,"fill": "#000000"},{"opacity": 1,"angle": 239.6068431059,"flipX": false,"flipY": false,"top": 218.2318685039,"height": 104.908692091,"width": 52.69508878740001,"asset": "StrokeBent","selectable": true,"left": 101.4687743284,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.0070707838,"height": 24.008826699299995,"width": 24.008826699299995,"asset": "Circle","selectable": true,"left": 66.0070707838,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185,"height": 16,"width": 16.5699694721,"asset": "Circle","selectable": true,"left": 97.9580713886,"fill": "#000000"},{"opacity": 1,"angle": 114.5974960073,"flipX": false,"flipY": false,"top": 124,"height": 100,"width": 49.549375,"asset": "Wreath2","selectable": true,"left": 184,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 191.9965994889,"height": 18.8869689819,"width": 18.8869689819,"asset": "Circle","selectable": true,"left": 65.9965994889,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.772331435,"height": 15.4042094003,"width": 15.4042094003,"asset": "Circle","selectable": true,"left": 66.772331435,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.52201165411876,"height": 11.66360264593747,"width": 12.079096236070384,"asset": "Circle","selectable": true,"left": 97.4630556199352,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.2773182082,"height": 8.1414692696,"width": 8.4314935785,"asset": "Circle","selectable": true,"left": 98.2452685289,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 168,"height": 100,"width": 95.105625,"asset": "Star3","selectable": true,"left": 224,"fill": "#ED1C24"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 163.9434067597,"height": 57.2563847659,"width": 54.454042584,"asset": "Star3","selectable": true,"left": 223.0440641452,"fill": "#FFFE00"},{"opacity": 1,"angle": 231.9562010213,"flipX": false,"flipY": false,"top": 218.3739909212,"height": 91.0595249648,"width": 29.7584639811,"asset": "StrokeBent","selectable": true,"left": 108.6047719354,"fill": "#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告