登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
107
圖層數
27
Голова
作者:
Proctolog-84
»
代碼 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": 222.8125,"height": 38.369375,"width": 291.872,"asset": "Banner","selectable": false,"left": 166,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 222.8125,"height": 38.369375,"width": 259.872,"asset": "Banner","selectable": false,"left": 166,"fill": "#000000"},{"opacity": 1,"angle": "90","flipX": false,"flipY": false,"top": "148.8125","height": 288,"width": 273.9042,"asset": "Star3","selectable": false,"left": "162","fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.8125,"height": 288,"width": 273.9042,"asset": "Star3","selectable": false,"left": 162,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 103.8125,"height": 196,"width": 55.9559375,"asset": "Wing1","selectable": false,"left": 91,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 113.8125,"height": 196,"width": 55.9559375,"asset": "Wing1","selectable": false,"left": 239,"fill": "#000000"},{"opacity": 1,"angle": "85","flipX": true,"flipY": false,"top": "134.8125","height": 160,"width": 102.2325,"asset": "Wing4","selectable": false,"left": 234,"fill": "#111111"},{"opacity": 1,"angle": "285","flipX": false,"flipY": false,"top": 134.8125,"height": 160,"width": 102.2325,"asset": "Wing4","selectable": false,"left": 86,"fill": "#111111"},{"opacity": 1,"angle": "85","flipX": true,"flipY": false,"top": "134.8125","height": 96,"width": 61.3395,"asset": "Wing4","selectable": false,"left": 234,"fill": "#363636"},{"opacity": 1,"angle": "285","flipX": false,"flipY": false,"top": 134.8125,"height": 96,"width": 61.3395,"asset": "Wing4","selectable": false,"left": 86,"fill": "#363636"},{"opacity": 1,"angle": "85","flipX": true,"flipY": false,"top": "134.8125","height": 48,"width": 30.66975,"asset": "Wing4","selectable": false,"left": 234,"fill": "#E1E1E1"},{"opacity": 1,"angle": "285","flipX": false,"flipY": false,"top": 134.8125,"height": 48,"width": 30.66975,"asset": "Wing4","selectable": false,"left": 86,"fill": "#E1E1E1"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.796875,"height": 128,"width": 128,"asset": "Circle","selectable": false,"left": 165,"fill": "#EBEBEB"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 147.796875,"height": 48,"width": 39.6522,"asset": "PlayerMarker","selectable": false,"left": 137,"fill": "#626262"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 147.796875,"height": 30.4,"width": 25.11306,"asset": "PlayerMarker","selectable": false,"left": 137,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": true,"top": 147.796875,"height": 48,"width": 39.6522,"asset": "PlayerMarker","selectable": false,"left": 191,"fill": "#626262"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": true,"top": 147.796875,"height": 30.4,"width": 25.11306,"asset": "PlayerMarker","selectable": false,"left": 191,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195.109375,"height": 80,"width": 60.8,"asset": "Circle","selectable": false,"left": 164,"fill": "#464646"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 200.4375,"height": 29.78326,"width": 60.17661,"asset": "Dogtag","selectable": false,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.390625,"height": 48,"width": 26.3296,"asset": "KitSupport","selectable": false,"left": 163,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": "217","height": 25.6,"width": 25.6,"asset": "Circle","selectable": false,"left": "163","fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 208.308495603,"height": 25.039258794,"width": 25.039258794,"asset": "Square","selectable": false,"left": 134.519629397,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": "209.3084956030151","height": 25.039258794,"width": 25.039258794,"asset": "Square","selectable": false,"left": "192.5196293969849","fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 209.5340766332,"height": 51.2,"width": 28.799999999999997,"asset": "Square","selectable": false,"left": 210.6221733668,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": "209.5340766331658","height": 51.2,"width": 28.799999999999997,"asset": "Square","selectable": false,"left": 111.6221733668,"fill": "#464646"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 211.390625,"height": 7.0033,"width": 51.2,"asset": "Eye2","selectable": false,"left": "222","fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": "211.390625","height": 7.0033,"width": 51.2,"asset": "Eye2","selectable": false,"left": 101,"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": 222.8125,"height": 38.369375,"width": 291.872,"asset": "Banner","selectable": false,"left": 166,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 222.8125,"height": 38.369375,"width": 259.872,"asset": "Banner","selectable": false,"left": 166,"fill": "#000000"},{"opacity": 1,"angle": "90","flipX": false,"flipY": false,"top": "148.8125","height": 288,"width": 273.9042,"asset": "Star3","selectable": false,"left": "162","fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.8125,"height": 288,"width": 273.9042,"asset": "Star3","selectable": false,"left": 162,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 103.8125,"height": 196,"width": 55.9559375,"asset": "Wing1","selectable": false,"left": 91,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 113.8125,"height": 196,"width": 55.9559375,"asset": "Wing1","selectable": false,"left": 239,"fill": "#000000"},{"opacity": 1,"angle": "85","flipX": true,"flipY": false,"top": "134.8125","height": 160,"width": 102.2325,"asset": "Wing4","selectable": false,"left": 234,"fill": "#111111"},{"opacity": 1,"angle": "285","flipX": false,"flipY": false,"top": 134.8125,"height": 160,"width": 102.2325,"asset": "Wing4","selectable": false,"left": 86,"fill": "#111111"},{"opacity": 1,"angle": "85","flipX": true,"flipY": false,"top": "134.8125","height": 96,"width": 61.3395,"asset": "Wing4","selectable": false,"left": 234,"fill": "#363636"},{"opacity": 1,"angle": "285","flipX": false,"flipY": false,"top": 134.8125,"height": 96,"width": 61.3395,"asset": "Wing4","selectable": false,"left": 86,"fill": "#363636"},{"opacity": 1,"angle": "85","flipX": true,"flipY": false,"top": "134.8125","height": 48,"width": 30.66975,"asset": "Wing4","selectable": false,"left": 234,"fill": "#E1E1E1"},{"opacity": 1,"angle": "285","flipX": false,"flipY": false,"top": 134.8125,"height": 48,"width": 30.66975,"asset": "Wing4","selectable": false,"left": 86,"fill": "#E1E1E1"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.796875,"height": 128,"width": 128,"asset": "Circle","selectable": false,"left": 165,"fill": "#EBEBEB"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 147.796875,"height": 48,"width": 39.6522,"asset": "PlayerMarker","selectable": false,"left": 137,"fill": "#626262"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 147.796875,"height": 30.4,"width": 25.11306,"asset": "PlayerMarker","selectable": false,"left": 137,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": true,"top": 147.796875,"height": 48,"width": 39.6522,"asset": "PlayerMarker","selectable": false,"left": 191,"fill": "#626262"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": true,"top": 147.796875,"height": 30.4,"width": 25.11306,"asset": "PlayerMarker","selectable": false,"left": 191,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195.109375,"height": 80,"width": 60.8,"asset": "Circle","selectable": false,"left": 164,"fill": "#464646"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 200.4375,"height": 29.78326,"width": 60.17661,"asset": "Dogtag","selectable": false,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.390625,"height": 48,"width": 26.3296,"asset": "KitSupport","selectable": false,"left": 163,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": "217","height": 25.6,"width": 25.6,"asset": "Circle","selectable": false,"left": "163","fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 208.308495603,"height": 25.039258794,"width": 25.039258794,"asset": "Square","selectable": false,"left": 134.519629397,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": "209.3084956030151","height": 25.039258794,"width": 25.039258794,"asset": "Square","selectable": false,"left": "192.5196293969849","fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 209.5340766332,"height": 51.2,"width": 28.799999999999997,"asset": "Square","selectable": false,"left": 210.6221733668,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": "209.5340766331658","height": 51.2,"width": 28.799999999999997,"asset": "Square","selectable": false,"left": 111.6221733668,"fill": "#464646"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 211.390625,"height": 7.0033,"width": 51.2,"asset": "Eye2","selectable": false,"left": "222","fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": "211.390625","height": 7.0033,"width": 51.2,"asset": "Eye2","selectable": false,"left": 101,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告