登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
12
複製總數
495
圖層數
40
Twilight Sparkle
作者:
Wangfeyhung
»
代碼 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": 164.2797132003,"height": 339.4122844408,"width": 339.4122844408,"asset": "Square","selectable": false,"left": 161.7328382003,"fill": "#000000"},{"opacity": 1,"angle": 197.6949927936,"flipX": false,"flipY": false,"top": 143,"height": 235.1661052834,"width": 163.41500455329998,"asset": "Circle","selectable": false,"left": 103,"fill": "#273771"},{"opacity": 1,"angle": -2.8143758364,"flipX": false,"flipY": false,"top": 219.2445182369,"height": 159.9281849761,"width": 283.2432900742,"asset": "Circle","selectable": false,"left": 79.4592269389,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187.5,"height": 241,"width": 217,"asset": "Circle","selectable": false,"left": 171.5,"fill": "#8F61A5"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 128,"height": 120,"width": 100,"asset": "Circle","selectable": false,"left": 103,"fill": "#D4A4E8"},{"opacity": 1,"angle": -93.2059895003,"flipX": false,"flipY": false,"top": 110.0026089312,"height": 65.5358558252,"width": 146.0144497994,"asset": "Eye2","selectable": false,"left": 269.7074116695,"fill": "#8F61A5"},{"opacity": 1,"angle": 268.1819327056,"flipX": false,"flipY": false,"top": 111.4395980349,"height": 56.980252439,"width": 136.9616151735,"asset": "Eye2","selectable": false,"left": 268.4866869758,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187,"height": 230,"width": 205,"asset": "Circle","selectable": false,"left": 171.5,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 270,"height": 50,"width": 50,"asset": "Circle","selectable": false,"left": 173,"fill": "#A66DBE"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 269.5,"height": 45,"width": 44,"asset": "Circle","selectable": false,"left": 173,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 252.0904522613,"height": 63.8190954774,"width": 56,"asset": "Circle","selectable": false,"left": 171,"fill": "#A66DBE"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235,"height": 90,"width": 70,"asset": "Circle","selectable": false,"left": 170,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.75,"height": 133.5,"width": 82.5,"asset": "Circle","selectable": false,"left": 222.25,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193,"height": 132,"width": 82,"asset": "Circle","selectable": false,"left": 121,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 203.5,"height": 109,"width": 69,"asset": "Circle","selectable": false,"left": 222.5,"fill": "#421B63"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 203.5,"height": 107,"width": 69,"asset": "Circle","selectable": false,"left": 120.5,"fill": "#421B63"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213,"height": 86,"width": 59,"asset": "Circle","selectable": false,"left": 220,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 212,"height": 84,"width": 60,"asset": "Circle","selectable": false,"left": 123,"fill": "#000000"},{"opacity": 1,"angle": -33.9193367277,"flipX": false,"flipY": false,"top": 212.6393658811,"height": 16.3374019373,"width": 9.4509970509,"asset": "Circle","selectable": false,"left": 111,"fill": "#FFFFFF"},{"opacity": 1,"angle": -32.8622682362,"flipX": false,"flipY": false,"top": 191.1354314043,"height": 40.7130167308,"width": 26.9314122201,"asset": "Circle","selectable": false,"left": 125.4414927895,"fill": "#FFFFFF"},{"opacity": 1,"angle": -28.9735265859,"flipX": false,"flipY": false,"top": 192.4740260929,"height": 43.3663668435,"width": 26.450175414499995,"asset": "Circle","selectable": false,"left": 237,"fill": "#FFFFFF"},{"opacity": 1,"angle": -30.1518404185,"flipX": false,"flipY": false,"top": 210,"height": 15.5209211512,"width": 10.5667717394,"asset": "Circle","selectable": false,"left": 223,"fill": "#FFFFFF"},{"opacity": 1,"angle": 189.5979274275,"flipX": false,"flipY": false,"top": 155,"height": 91.2677283104,"width": 199.25879640010004,"asset": "Pentagon","selectable": false,"left": 176.2250547087,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 197,"height": 122,"width": 56,"asset": "Stroke","selectable": false,"left": 172,"fill": "#D4A4E8"},{"opacity": 1,"angle": 99.4734372941,"flipX": true,"flipY": true,"top": 109,"height": 260.6471078854,"width": 93.1783533371,"asset": "Shield4","selectable": false,"left": 195,"fill": "#273771"},{"opacity": 1,"angle": 109.1346519314,"flipX": false,"flipY": false,"top": 80.9360728426,"height": 179.5967685132,"width": 83.07125,"asset": "Shield4","selectable": false,"left": 162.3402534869,"fill": "#273771"},{"opacity": 1,"angle": 239.4458481919,"flipX": false,"flipY": false,"top": 107.9556979084,"height": 49.6475381035,"width": 100.6998838445,"asset": "Eye2","selectable": false,"left": 274.1963842434,"fill": "#D4A4E8"},{"opacity": 1,"angle": -0.7068718851,"flipX": true,"flipY": false,"top": 113.9745656479,"height": 100,"width": 16.9863693235,"asset": "StrokeBent","selectable": false,"left": 293.5428687315,"fill": "#8F61A5"},{"opacity": 1,"angle": 171.1287738318,"flipX": false,"flipY": false,"top": 134,"height": 259.762527351,"width": 84.1748103482,"asset": "Wing3","selectable": false,"left": 319,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 83,"height": 134,"width": 42,"asset": "Circle","selectable": false,"left": 173,"fill": "#8F61A5"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 84,"height": 126,"width": 31,"asset": "Circle","selectable": false,"left": 172.5,"fill": "#D4A4E8"},{"opacity": 1,"angle": 14.9829982733,"flipX": false,"flipY": false,"top": 129,"height": 40.8854789635,"width": 34.5103824794,"asset": "Triangle","selectable": false,"left": 170,"fill": "#622E86"},{"opacity": 1,"angle": -53.1203244569,"flipX": false,"flipY": false,"top": 101.8049090565,"height": 39.2410367977,"width": 108.3816376003,"asset": "Eye2","selectable": false,"left": 180.4211578152,"fill": "#622E86"},{"opacity": 1,"angle": 11.7898042039,"flipX": false,"flipY": false,"top": 116.0699344783,"height": 78.5219519307,"width": 50.1085891307,"asset": "Triangle","selectable": false,"left": 200.2400367575,"fill": "#E6458B"},{"opacity": 1,"angle": 31.0562184887,"flipX": false,"flipY": false,"top": 105.2716482999,"height": 103.4962557627,"width": 26.759833130299995,"asset": "Circle","selectable": false,"left": 198.0353158244,"fill": "#E6458B"},{"opacity": 1,"angle": 98.6796398971,"flipX": false,"flipY": false,"top": 111.4632647249,"height": 30.7553890124,"width": 99.4431246813,"asset": "Eye2","selectable": false,"left": 224.9840637346,"fill": "#273771"},{"opacity": 1,"angle": 27.4598433356,"flipX": false,"flipY": false,"top": 169.8448731313,"height": 6.4657807673,"width": 88.9590972143,"asset": "Circle","selectable": false,"left": 112.7588195791,"fill": "#000000"},{"opacity": 1,"angle": -8.20621995,"flipX": false,"flipY": false,"top": 189.8012907705,"height": 4.3799600015,"width": 79.780220413,"asset": "Circle","selectable": false,"left": 230.8523429525,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 249.4066033881,"height": 29.1867932239,"width": 31.5,"asset": "Number0","selectable": false,"left": 170,"fill": "#8F61A5"},{"opacity": 1,"angle": 180.0743831155,"flipX": false,"flipY": false,"top": 258.6108247802,"height": 40.7757141861,"width": 51.0025534821,"asset": "Triangle","selectable": false,"left": 170,"fill": "#D4A4E8"}]'},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": 164.2797132003,"height": 339.4122844408,"width": 339.4122844408,"asset": "Square","selectable": false,"left": 161.7328382003,"fill": "#000000"},{"opacity": 1,"angle": 197.6949927936,"flipX": false,"flipY": false,"top": 143,"height": 235.1661052834,"width": 163.41500455329998,"asset": "Circle","selectable": false,"left": 103,"fill": "#273771"},{"opacity": 1,"angle": -2.8143758364,"flipX": false,"flipY": false,"top": 219.2445182369,"height": 159.9281849761,"width": 283.2432900742,"asset": "Circle","selectable": false,"left": 79.4592269389,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187.5,"height": 241,"width": 217,"asset": "Circle","selectable": false,"left": 171.5,"fill": "#8F61A5"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 128,"height": 120,"width": 100,"asset": "Circle","selectable": false,"left": 103,"fill": "#D4A4E8"},{"opacity": 1,"angle": -93.2059895003,"flipX": false,"flipY": false,"top": 110.0026089312,"height": 65.5358558252,"width": 146.0144497994,"asset": "Eye2","selectable": false,"left": 269.7074116695,"fill": "#8F61A5"},{"opacity": 1,"angle": 268.1819327056,"flipX": false,"flipY": false,"top": 111.4395980349,"height": 56.980252439,"width": 136.9616151735,"asset": "Eye2","selectable": false,"left": 268.4866869758,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187,"height": 230,"width": 205,"asset": "Circle","selectable": false,"left": 171.5,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 270,"height": 50,"width": 50,"asset": "Circle","selectable": false,"left": 173,"fill": "#A66DBE"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 269.5,"height": 45,"width": 44,"asset": "Circle","selectable": false,"left": 173,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 252.0904522613,"height": 63.8190954774,"width": 56,"asset": "Circle","selectable": false,"left": 171,"fill": "#A66DBE"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 235,"height": 90,"width": 70,"asset": "Circle","selectable": false,"left": 170,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.75,"height": 133.5,"width": 82.5,"asset": "Circle","selectable": false,"left": 222.25,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193,"height": 132,"width": 82,"asset": "Circle","selectable": false,"left": 121,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 203.5,"height": 109,"width": 69,"asset": "Circle","selectable": false,"left": 222.5,"fill": "#421B63"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 203.5,"height": 107,"width": 69,"asset": "Circle","selectable": false,"left": 120.5,"fill": "#421B63"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213,"height": 86,"width": 59,"asset": "Circle","selectable": false,"left": 220,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 212,"height": 84,"width": 60,"asset": "Circle","selectable": false,"left": 123,"fill": "#000000"},{"opacity": 1,"angle": -33.9193367277,"flipX": false,"flipY": false,"top": 212.6393658811,"height": 16.3374019373,"width": 9.4509970509,"asset": "Circle","selectable": false,"left": 111,"fill": "#FFFFFF"},{"opacity": 1,"angle": -32.8622682362,"flipX": false,"flipY": false,"top": 191.1354314043,"height": 40.7130167308,"width": 26.9314122201,"asset": "Circle","selectable": false,"left": 125.4414927895,"fill": "#FFFFFF"},{"opacity": 1,"angle": -28.9735265859,"flipX": false,"flipY": false,"top": 192.4740260929,"height": 43.3663668435,"width": 26.450175414499995,"asset": "Circle","selectable": false,"left": 237,"fill": "#FFFFFF"},{"opacity": 1,"angle": -30.1518404185,"flipX": false,"flipY": false,"top": 210,"height": 15.5209211512,"width": 10.5667717394,"asset": "Circle","selectable": false,"left": 223,"fill": "#FFFFFF"},{"opacity": 1,"angle": 189.5979274275,"flipX": false,"flipY": false,"top": 155,"height": 91.2677283104,"width": 199.25879640010004,"asset": "Pentagon","selectable": false,"left": 176.2250547087,"fill": "#D4A4E8"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 197,"height": 122,"width": 56,"asset": "Stroke","selectable": false,"left": 172,"fill": "#D4A4E8"},{"opacity": 1,"angle": 99.4734372941,"flipX": true,"flipY": true,"top": 109,"height": 260.6471078854,"width": 93.1783533371,"asset": "Shield4","selectable": false,"left": 195,"fill": "#273771"},{"opacity": 1,"angle": 109.1346519314,"flipX": false,"flipY": false,"top": 80.9360728426,"height": 179.5967685132,"width": 83.07125,"asset": "Shield4","selectable": false,"left": 162.3402534869,"fill": "#273771"},{"opacity": 1,"angle": 239.4458481919,"flipX": false,"flipY": false,"top": 107.9556979084,"height": 49.6475381035,"width": 100.6998838445,"asset": "Eye2","selectable": false,"left": 274.1963842434,"fill": "#D4A4E8"},{"opacity": 1,"angle": -0.7068718851,"flipX": true,"flipY": false,"top": 113.9745656479,"height": 100,"width": 16.9863693235,"asset": "StrokeBent","selectable": false,"left": 293.5428687315,"fill": "#8F61A5"},{"opacity": 1,"angle": 171.1287738318,"flipX": false,"flipY": false,"top": 134,"height": 259.762527351,"width": 84.1748103482,"asset": "Wing3","selectable": false,"left": 319,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 83,"height": 134,"width": 42,"asset": "Circle","selectable": false,"left": 173,"fill": "#8F61A5"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 84,"height": 126,"width": 31,"asset": "Circle","selectable": false,"left": 172.5,"fill": "#D4A4E8"},{"opacity": 1,"angle": 14.9829982733,"flipX": false,"flipY": false,"top": 129,"height": 40.8854789635,"width": 34.5103824794,"asset": "Triangle","selectable": false,"left": 170,"fill": "#622E86"},{"opacity": 1,"angle": -53.1203244569,"flipX": false,"flipY": false,"top": 101.8049090565,"height": 39.2410367977,"width": 108.3816376003,"asset": "Eye2","selectable": false,"left": 180.4211578152,"fill": "#622E86"},{"opacity": 1,"angle": 11.7898042039,"flipX": false,"flipY": false,"top": 116.0699344783,"height": 78.5219519307,"width": 50.1085891307,"asset": "Triangle","selectable": false,"left": 200.2400367575,"fill": "#E6458B"},{"opacity": 1,"angle": 31.0562184887,"flipX": false,"flipY": false,"top": 105.2716482999,"height": 103.4962557627,"width": 26.759833130299995,"asset": "Circle","selectable": false,"left": 198.0353158244,"fill": "#E6458B"},{"opacity": 1,"angle": 98.6796398971,"flipX": false,"flipY": false,"top": 111.4632647249,"height": 30.7553890124,"width": 99.4431246813,"asset": "Eye2","selectable": false,"left": 224.9840637346,"fill": "#273771"},{"opacity": 1,"angle": 27.4598433356,"flipX": false,"flipY": false,"top": 169.8448731313,"height": 6.4657807673,"width": 88.9590972143,"asset": "Circle","selectable": false,"left": 112.7588195791,"fill": "#000000"},{"opacity": 1,"angle": -8.20621995,"flipX": false,"flipY": false,"top": 189.8012907705,"height": 4.3799600015,"width": 79.780220413,"asset": "Circle","selectable": false,"left": 230.8523429525,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 249.4066033881,"height": 29.1867932239,"width": 31.5,"asset": "Number0","selectable": false,"left": 170,"fill": "#8F61A5"},{"opacity": 1,"angle": 180.0743831155,"flipX": false,"flipY": false,"top": 258.6108247802,"height": 40.7757141861,"width": 51.0025534821,"asset": "Triangle","selectable": false,"left": 170,"fill": "#D4A4E8"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
mlp
twilight sparkle
mane 6
my little pony
广告