登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
10
圖層數
15
garpia
作者:
multimillionare
代碼 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": 179.7905869417,"flipX": false,"flipY": false,"top": 142.0036615941,"height": 96.0359081782,"width": 110.0102300933,"asset": "Heart","selectable": true,"left": 157.9981859012,"fill": "#F26C4F"},{"opacity": 1,"angle": 18.6369786952,"flipX": true,"flipY": false,"top": 185.8571401775,"height": 12.8932656216,"width": 14.226035247399999,"asset": "Eye2","selectable": true,"left": 114.0283164069,"fill": "#000000"},{"opacity": 1,"angle": -35.5006535524,"flipX": true,"flipY": false,"top": 184.1934040053,"height": 13.458807448,"width": 14.850036814699997,"asset": "Eye2","selectable": true,"left": 200.9451124516,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 134,"height": 100,"width": 78,"asset": "Arrow","selectable": true,"left": 157,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 201.5,"height": 91,"width": 56,"asset": "Circle","selectable": true,"left": 156,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 264,"height": 100,"width": 68.51171875,"asset": "Tailfeathers","selectable": true,"left": 156.744140625,"fill": "#F26C4F"},{"opacity": 1,"angle": 44.1653781612,"flipX": true,"flipY": false,"top": 305.4947311675,"height": 96.3821888665,"width": 9.1391634364,"asset": "Stroke","selectable": true,"left": -326.2866477507,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 84.1987768524,"height": 123.6024462952,"width": 97.5812344177,"asset": "Wing4","selectable": true,"left": 92.1570390411,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 84.1987768524,"height": 123.6024462952,"width": 97.5812344177,"asset": "Wing4","selectable": true,"left": 222.1570390411,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 71,"height": 88,"width": 53.07296875,"asset": "Shield6","selectable": true,"left": 156.536484375,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 16.7277804235,"height": 32.758373347,"width": 73,"asset": "Crown1","selectable": true,"left": 156.5,"fill": "#F26C4F"},{"opacity": 1,"angle": 179.5548203461,"flipX": false,"flipY": false,"top": 67.4873708875,"height": 61.005792425900005,"width": 50.0598366888,"asset": "Clubs","selectable": true,"left": 156.0003191927,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 59.2864321608,"height": 14.5728643216,"width": 15.5728643216,"asset": "Circle","selectable": true,"left": 141.7864321608,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 59.2864321608,"height": 14.5728643216,"width": 15.5728643216,"asset": "Circle","selectable": true,"left": 169.7864321608,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 226.5,"height": 43.0000000001,"width": 18.3333349207,"asset": "PlayerMarker","selectable": true,"left": 156.8622924604,"fill": "#111111"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": 179.7905869417,"flipX": false,"flipY": false,"top": 142.0036615941,"height": 96.0359081782,"width": 110.0102300933,"asset": "Heart","selectable": true,"left": 157.9981859012,"fill": "#F26C4F"},{"opacity": 1,"angle": 18.6369786952,"flipX": true,"flipY": false,"top": 185.8571401775,"height": 12.8932656216,"width": 14.226035247399999,"asset": "Eye2","selectable": true,"left": 114.0283164069,"fill": "#000000"},{"opacity": 1,"angle": -35.5006535524,"flipX": true,"flipY": false,"top": 184.1934040053,"height": 13.458807448,"width": 14.850036814699997,"asset": "Eye2","selectable": true,"left": 200.9451124516,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 134,"height": 100,"width": 78,"asset": "Arrow","selectable": true,"left": 157,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 201.5,"height": 91,"width": 56,"asset": "Circle","selectable": true,"left": 156,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 264,"height": 100,"width": 68.51171875,"asset": "Tailfeathers","selectable": true,"left": 156.744140625,"fill": "#F26C4F"},{"opacity": 1,"angle": 44.1653781612,"flipX": true,"flipY": false,"top": 305.4947311675,"height": 96.3821888665,"width": 9.1391634364,"asset": "Stroke","selectable": true,"left": -326.2866477507,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 84.1987768524,"height": 123.6024462952,"width": 97.5812344177,"asset": "Wing4","selectable": true,"left": 92.1570390411,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 84.1987768524,"height": 123.6024462952,"width": 97.5812344177,"asset": "Wing4","selectable": true,"left": 222.1570390411,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 71,"height": 88,"width": 53.07296875,"asset": "Shield6","selectable": true,"left": 156.536484375,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 16.7277804235,"height": 32.758373347,"width": 73,"asset": "Crown1","selectable": true,"left": 156.5,"fill": "#F26C4F"},{"opacity": 1,"angle": 179.5548203461,"flipX": false,"flipY": false,"top": 67.4873708875,"height": 61.005792425900005,"width": 50.0598366888,"asset": "Clubs","selectable": true,"left": 156.0003191927,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 59.2864321608,"height": 14.5728643216,"width": 15.5728643216,"asset": "Circle","selectable": true,"left": 141.7864321608,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 59.2864321608,"height": 14.5728643216,"width": 15.5728643216,"asset": "Circle","selectable": true,"left": 169.7864321608,"fill": "#F26C4F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 226.5,"height": 43.0000000001,"width": 18.3333349207,"asset": "PlayerMarker","selectable": true,"left": 156.8622924604,"fill": "#111111"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告