登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
147
圖層數
20
Resident Evil
作者:
shoolgate
»
代碼 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": 217,"height": 100,"width": 88,"asset": "Triangle","selectable": false,"left": 166,"fill": "#9E0B0F"},{"opacity": 1,"angle": 89.3792086434,"flipX": false,"flipY": false,"top": 156.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": true,"left": 106.3810907223,"fill": "#9E0B0F"},{"opacity": 1,"angle": 269.1220607837,"flipX": false,"flipY": false,"top": 155.5536220329,"height": 100,"width": 75.1043214676,"asset": "Triangle","selectable": false,"left": 225.8092700947,"fill": "#9E0B0F"},{"opacity": 1,"angle": 180.5233424035,"flipX": false,"flipY": false,"top": 95.0915117828,"height": 100,"width": 79.962212862,"asset": "Triangle","selectable": false,"left": 167.0184756296,"fill": "#9E0B0F"},{"opacity": 1,"angle": 135.413228318,"flipX": false,"flipY": false,"top": 111.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 122.3810907223,"fill": "#D7D7D7"},{"opacity": 1,"angle": -46.7725904117,"flipX": false,"flipY": false,"top": 201.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 213.3810907223,"fill": "#E1E1E1"},{"opacity": 1,"angle": 46.0215922205,"flipX": false,"flipY": false,"top": 200.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 121.3810907223,"fill": "#CCCCCC"},{"opacity": 1,"angle": 228.0266531359,"flipX": false,"flipY": false,"top": 111.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 210.3810907223,"fill": "#D7D7D7"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 17.4974874372,"height": 98.9949748744,"width": 98,"asset": "Circle","selectable": true,"left": 167,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 57,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 270,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 54,"height": 100,"width": 100,"asset": "Circle","selectable": false,"left": 66,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 254.0201005025,"height": 91.959798995,"width": 91.959798995,"asset": "Circle","selectable": true,"left": 65.9798994975,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 296,"height": 100,"width": 100,"asset": "Circle","selectable": false,"left": 166,"fill": "#262626"},{"opacity": 0.98,"angle": 0,"flipX": false,"flipY": false,"top": 259.9899497487,"height": 104.0201005025,"width": 104.0201005025,"asset": "Circle","selectable": false,"left": 277.0100502513,"fill": "#262626"},{"opacity": 1,"angle": 0.9223569838,"flipX": false,"flipY": false,"top": 162.1080574992,"height": 333.6522857206,"width": 56,"asset": "Square","selectable": false,"left": 28.2557798425,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 18,"height": 46,"width": 269,"asset": "Square","selectable": false,"left": 207.5,"fill": "#262626"},{"opacity": 1,"angle": 89.2662025526,"flipX": false,"flipY": false,"top": 317.2431729697,"height": 345.2191366021,"width": 76.3712361105,"asset": "Square","selectable": true,"left": 172.7508177864,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.5,"height": 339,"width": 46,"asset": "Square","selectable": false,"left": 303,"fill": "#262626"},{"opacity": 0.98,"angle": 0,"flipX": false,"flipY": false,"top": 153.9899497487,"height": 104.0201005025,"width": 104.0201005025,"asset": "Circle","selectable": true,"left": 317.0100502513,"fill": "#262626"},{"opacity": 0.98,"angle": 0,"flipX": false,"flipY": false,"top": 155.9899497487,"height": 104.0201005025,"width": 104.0201005025,"asset": "Circle","selectable": true,"left": 20.0100502513,"fill": "#262626"}]'},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": 217,"height": 100,"width": 88,"asset": "Triangle","selectable": false,"left": 166,"fill": "#9E0B0F"},{"opacity": 1,"angle": 89.3792086434,"flipX": false,"flipY": false,"top": 156.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": true,"left": 106.3810907223,"fill": "#9E0B0F"},{"opacity": 1,"angle": 269.1220607837,"flipX": false,"flipY": false,"top": 155.5536220329,"height": 100,"width": 75.1043214676,"asset": "Triangle","selectable": false,"left": 225.8092700947,"fill": "#9E0B0F"},{"opacity": 1,"angle": 180.5233424035,"flipX": false,"flipY": false,"top": 95.0915117828,"height": 100,"width": 79.962212862,"asset": "Triangle","selectable": false,"left": 167.0184756296,"fill": "#9E0B0F"},{"opacity": 1,"angle": 135.413228318,"flipX": false,"flipY": false,"top": 111.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 122.3810907223,"fill": "#D7D7D7"},{"opacity": 1,"angle": -46.7725904117,"flipX": false,"flipY": false,"top": 201.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 213.3810907223,"fill": "#E1E1E1"},{"opacity": 1,"angle": 46.0215922205,"flipX": false,"flipY": false,"top": 200.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 121.3810907223,"fill": "#CCCCCC"},{"opacity": 1,"angle": 228.0266531359,"flipX": false,"flipY": false,"top": 111.489113063,"height": 95.010142041,"width": 78.9872083319,"asset": "Triangle","selectable": false,"left": 210.3810907223,"fill": "#D7D7D7"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 17.4974874372,"height": 98.9949748744,"width": 98,"asset": "Circle","selectable": true,"left": 167,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 57,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 270,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 54,"height": 100,"width": 100,"asset": "Circle","selectable": false,"left": 66,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 254.0201005025,"height": 91.959798995,"width": 91.959798995,"asset": "Circle","selectable": true,"left": 65.9798994975,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 296,"height": 100,"width": 100,"asset": "Circle","selectable": false,"left": 166,"fill": "#262626"},{"opacity": 0.98,"angle": 0,"flipX": false,"flipY": false,"top": 259.9899497487,"height": 104.0201005025,"width": 104.0201005025,"asset": "Circle","selectable": false,"left": 277.0100502513,"fill": "#262626"},{"opacity": 1,"angle": 0.9223569838,"flipX": false,"flipY": false,"top": 162.1080574992,"height": 333.6522857206,"width": 56,"asset": "Square","selectable": false,"left": 28.2557798425,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 18,"height": 46,"width": 269,"asset": "Square","selectable": false,"left": 207.5,"fill": "#262626"},{"opacity": 1,"angle": 89.2662025526,"flipX": false,"flipY": false,"top": 317.2431729697,"height": 345.2191366021,"width": 76.3712361105,"asset": "Square","selectable": true,"left": 172.7508177864,"fill": "#262626"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 155.5,"height": 339,"width": 46,"asset": "Square","selectable": false,"left": 303,"fill": "#262626"},{"opacity": 0.98,"angle": 0,"flipX": false,"flipY": false,"top": 153.9899497487,"height": 104.0201005025,"width": 104.0201005025,"asset": "Circle","selectable": true,"left": 317.0100502513,"fill": "#262626"},{"opacity": 0.98,"angle": 0,"flipX": false,"flipY": false,"top": 155.9899497487,"height": 104.0201005025,"width": 104.0201005025,"asset": "Circle","selectable": true,"left": 20.0100502513,"fill": "#262626"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告