登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
156
圖層數
19
STYX
作者:
Cronus
代碼 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": 147.5634797394,"height": 265.1269594789,"width": 220.2442793261,"asset": "Shield4","selectable": true,"left": 148.586514663,"fill": "#00AEEF"},{"opacity": 0.66,"angle": 0,"flipX": false,"flipY": false,"top": 147,"height": 253.2109302968,"width": 208.2108222304,"asset": "Shield4","selectable": true,"left": 149,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97,"height": 114,"width": 164,"asset": "Circle","selectable": true,"left": 147,"fill": "#FFFFFF"},{"opacity": 1,"angle": -37.1109611225,"flipX": false,"flipY": false,"top": 150,"height": 100,"width": 84.00125,"asset": "And","selectable": true,"left": 124,"fill": "#FFFFFF"},{"opacity": 1,"angle": 33.653381298,"flipX": true,"flipY": false,"top": 148,"height": 100,"width": 84.00125,"asset": "And","selectable": true,"left": 178,"fill": "#FFFFFF"},{"opacity": 1,"angle": -2.1680939689,"flipX": false,"flipY": false,"top": 188,"height": 67.8221582785,"width": 119.6846136119,"asset": "Shield4","selectable": true,"left": 152.348221792,"fill": "#FFFFFF"},{"opacity": 1,"angle": 186.2786369276,"flipX": false,"flipY": false,"top": 189,"height": 89.7152695481,"width": 65.6449739578,"asset": "KitSupport","selectable": true,"left": 134,"fill": "#FFFFFF"},{"opacity": 1,"angle": 176.413612568,"flipX": true,"flipY": false,"top": 189,"height": 84.8457823689,"width": 62.0819532961,"asset": "KitSupport","selectable": true,"left": 174,"fill": "#FFFFFF"},{"opacity": 1,"angle": 4.8268847565,"flipX": false,"flipY": false,"top": 143,"height": 35.0309177195,"width": 62.0060813389,"asset": "Wingpart","selectable": true,"left": 110,"fill": "#000000"},{"opacity": 1,"angle": -5.2537132311,"flipX": false,"flipY": true,"top": 142,"height": 35.0309177195,"width": 62.0060813389,"asset": "Wingpart","selectable": true,"left": 186,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 181,"height": 24.3311167615,"width": 12,"asset": "Heart","selectable": true,"left": 149,"fill": "#000000"},{"opacity": 1,"angle": -12.3837397744,"flipX": false,"flipY": false,"top": 131,"height": 30.0673888387,"width": 33.777890062,"asset": "Heart","selectable": true,"left": 98,"fill": "#000000"},{"opacity": 1,"angle": 14.4053940476,"flipX": true,"flipY": false,"top": 126,"height": 30.0673888387,"width": 29.8365661503,"asset": "Heart","selectable": true,"left": 200,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121,"height": 89.015,"width": 137,"asset": "Heart","selectable": true,"left": 147,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 266,"height": 38.369375,"width": 100,"asset": "Banner","selectable": true,"left": 148,"fill": "#00AEEF"},{"opacity": 0.11,"angle": -1.6863705292,"flipX": false,"flipY": false,"top": 184,"height": 44.9667586978,"width": 28.7316509911,"asset": "Wing4","selectable": true,"left": 70,"fill": "#FFFFFF"},{"opacity": 0.11,"angle": -1.6863705292,"flipX": true,"flipY": false,"top": 181,"height": 44.9667586978,"width": 28.7316509911,"asset": "Wing4","selectable": true,"left": 232,"fill": "#FFFFFF"},{"opacity": 0.11,"angle": 20.793776102,"flipX": false,"flipY": false,"top": 89,"height": 125.17195318359998,"width": 49.549375,"asset": "Wreath2","selectable": true,"left": 86,"fill": "#FFFFFF"},{"opacity": 0.08,"angle": -34.3487598109,"flipX": true,"flipY": false,"top": 80,"height": 125.17195318359998,"width": 49.549375,"asset": "Wreath2","selectable": true,"left": 205,"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": 147.5634797394,"height": 265.1269594789,"width": 220.2442793261,"asset": "Shield4","selectable": true,"left": 148.586514663,"fill": "#00AEEF"},{"opacity": 0.66,"angle": 0,"flipX": false,"flipY": false,"top": 147,"height": 253.2109302968,"width": 208.2108222304,"asset": "Shield4","selectable": true,"left": 149,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97,"height": 114,"width": 164,"asset": "Circle","selectable": true,"left": 147,"fill": "#FFFFFF"},{"opacity": 1,"angle": -37.1109611225,"flipX": false,"flipY": false,"top": 150,"height": 100,"width": 84.00125,"asset": "And","selectable": true,"left": 124,"fill": "#FFFFFF"},{"opacity": 1,"angle": 33.653381298,"flipX": true,"flipY": false,"top": 148,"height": 100,"width": 84.00125,"asset": "And","selectable": true,"left": 178,"fill": "#FFFFFF"},{"opacity": 1,"angle": -2.1680939689,"flipX": false,"flipY": false,"top": 188,"height": 67.8221582785,"width": 119.6846136119,"asset": "Shield4","selectable": true,"left": 152.348221792,"fill": "#FFFFFF"},{"opacity": 1,"angle": 186.2786369276,"flipX": false,"flipY": false,"top": 189,"height": 89.7152695481,"width": 65.6449739578,"asset": "KitSupport","selectable": true,"left": 134,"fill": "#FFFFFF"},{"opacity": 1,"angle": 176.413612568,"flipX": true,"flipY": false,"top": 189,"height": 84.8457823689,"width": 62.0819532961,"asset": "KitSupport","selectable": true,"left": 174,"fill": "#FFFFFF"},{"opacity": 1,"angle": 4.8268847565,"flipX": false,"flipY": false,"top": 143,"height": 35.0309177195,"width": 62.0060813389,"asset": "Wingpart","selectable": true,"left": 110,"fill": "#000000"},{"opacity": 1,"angle": -5.2537132311,"flipX": false,"flipY": true,"top": 142,"height": 35.0309177195,"width": 62.0060813389,"asset": "Wingpart","selectable": true,"left": 186,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 181,"height": 24.3311167615,"width": 12,"asset": "Heart","selectable": true,"left": 149,"fill": "#000000"},{"opacity": 1,"angle": -12.3837397744,"flipX": false,"flipY": false,"top": 131,"height": 30.0673888387,"width": 33.777890062,"asset": "Heart","selectable": true,"left": 98,"fill": "#000000"},{"opacity": 1,"angle": 14.4053940476,"flipX": true,"flipY": false,"top": 126,"height": 30.0673888387,"width": 29.8365661503,"asset": "Heart","selectable": true,"left": 200,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121,"height": 89.015,"width": 137,"asset": "Heart","selectable": true,"left": 147,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 266,"height": 38.369375,"width": 100,"asset": "Banner","selectable": true,"left": 148,"fill": "#00AEEF"},{"opacity": 0.11,"angle": -1.6863705292,"flipX": false,"flipY": false,"top": 184,"height": 44.9667586978,"width": 28.7316509911,"asset": "Wing4","selectable": true,"left": 70,"fill": "#FFFFFF"},{"opacity": 0.11,"angle": -1.6863705292,"flipX": true,"flipY": false,"top": 181,"height": 44.9667586978,"width": 28.7316509911,"asset": "Wing4","selectable": true,"left": 232,"fill": "#FFFFFF"},{"opacity": 0.11,"angle": 20.793776102,"flipX": false,"flipY": false,"top": 89,"height": 125.17195318359998,"width": 49.549375,"asset": "Wreath2","selectable": true,"left": 86,"fill": "#FFFFFF"},{"opacity": 0.08,"angle": -34.3487598109,"flipX": true,"flipY": false,"top": 80,"height": 125.17195318359998,"width": 49.549375,"asset": "Wreath2","selectable": true,"left": 205,"fill": "#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告