登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
31
複製總數
2738
圖層數
14
Batman
作者:
Давыдов М.
»
代碼 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": 160,"height": 210,"width": 311,"asset": "Circle","selectable": true,"left": 160.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 158,"height": 188,"width": 309,"asset": "Circle","selectable": true,"left": 159.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.5,"height": 197,"width": 285,"asset": "Circle","selectable": true,"left": 160.5,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159,"height": 142,"width": 272,"asset": "Circle","selectable": true,"left": 161,"fill": "#000000"},{"opacity": 1,"angle": -67.7236531613,"flipX": false,"flipY": false,"top": 210.228982997,"height": 39.301357845,"width": 75.9446975091,"asset": "Circle","selectable": true,"left": 236.7321181222,"fill": "#FFF200"},{"opacity": 1,"angle": -46.5442312879,"flipX": false,"flipY": false,"top": 216.4603361581,"height": 49.41626043310001,"width": 70.4896929226,"asset": "Circle","selectable": true,"left": 191.7386438453,"fill": "#FFF200"},{"opacity": 1,"angle": 64.9917769157,"flipX": false,"flipY": false,"top": 205.9878497124,"height": 40.999862237200006,"width": 67.7759202537,"asset": "Circle","selectable": true,"left": 82.1725410415,"fill": "#FFF200"},{"opacity": 1,"angle": 52.2493842026,"flipX": false,"flipY": false,"top": 221.1540104125,"height": 59.9003744676,"width": 68.4172249621,"asset": "Circle","selectable": true,"left": 129.9322325599,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 113.6965453836,"height": 53.3930907672,"width": 78.5095670586,"asset": "Circle","selectable": true,"left": 120.2547835293,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 114.5,"height": 55,"width": 77.55,"asset": "Circle","selectable": true,"left": 199.775,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.829337015,"height": 53.65867403,"width": 85.11509960270001,"asset": "Circle","selectable": true,"left": 159.4424501986,"fill": "#FFF200"},{"opacity": 1,"angle": 179.2361015391,"flipX": false,"flipY": false,"top": 141.1781401713,"height": 65.8744617822,"width": 75.3850066388,"asset": "Pentagon","selectable": true,"left": 161.4931882537,"fill": "#000000"},{"opacity": 1,"angle": 4.1279771235,"flipX": false,"flipY": false,"top": 102.4623717566,"height": 23.0752564868,"width": 19.062180943,"asset": "PlayerMarker","selectable": true,"left": 177.7732845285,"fill": "#000000"},{"opacity": 1,"angle": -7.4277820122,"flipX": false,"flipY": false,"top": 101.8454497998,"height": 20.0815321053,"width": 16.2194522992,"asset": "PlayerMarker","selectable": true,"left": 143.288575682,"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": 160,"height": 210,"width": 311,"asset": "Circle","selectable": true,"left": 160.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 158,"height": 188,"width": 309,"asset": "Circle","selectable": true,"left": 159.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159.5,"height": 197,"width": 285,"asset": "Circle","selectable": true,"left": 160.5,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 159,"height": 142,"width": 272,"asset": "Circle","selectable": true,"left": 161,"fill": "#000000"},{"opacity": 1,"angle": -67.7236531613,"flipX": false,"flipY": false,"top": 210.228982997,"height": 39.301357845,"width": 75.9446975091,"asset": "Circle","selectable": true,"left": 236.7321181222,"fill": "#FFF200"},{"opacity": 1,"angle": -46.5442312879,"flipX": false,"flipY": false,"top": 216.4603361581,"height": 49.41626043310001,"width": 70.4896929226,"asset": "Circle","selectable": true,"left": 191.7386438453,"fill": "#FFF200"},{"opacity": 1,"angle": 64.9917769157,"flipX": false,"flipY": false,"top": 205.9878497124,"height": 40.999862237200006,"width": 67.7759202537,"asset": "Circle","selectable": true,"left": 82.1725410415,"fill": "#FFF200"},{"opacity": 1,"angle": 52.2493842026,"flipX": false,"flipY": false,"top": 221.1540104125,"height": 59.9003744676,"width": 68.4172249621,"asset": "Circle","selectable": true,"left": 129.9322325599,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 113.6965453836,"height": 53.3930907672,"width": 78.5095670586,"asset": "Circle","selectable": true,"left": 120.2547835293,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 114.5,"height": 55,"width": 77.55,"asset": "Circle","selectable": true,"left": 199.775,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.829337015,"height": 53.65867403,"width": 85.11509960270001,"asset": "Circle","selectable": true,"left": 159.4424501986,"fill": "#FFF200"},{"opacity": 1,"angle": 179.2361015391,"flipX": false,"flipY": false,"top": 141.1781401713,"height": 65.8744617822,"width": 75.3850066388,"asset": "Pentagon","selectable": true,"left": 161.4931882537,"fill": "#000000"},{"opacity": 1,"angle": 4.1279771235,"flipX": false,"flipY": false,"top": 102.4623717566,"height": 23.0752564868,"width": 19.062180943,"asset": "PlayerMarker","selectable": true,"left": 177.7732845285,"fill": "#000000"},{"opacity": 1,"angle": -7.4277820122,"flipX": false,"flipY": false,"top": 101.8454497998,"height": 20.0815321053,"width": 16.2194522992,"asset": "PlayerMarker","selectable": true,"left": 143.288575682,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告