登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
55
圖層數
13
smile
作者:
BF4PLA
»
代碼 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": 158.5887625862,"height": 247.1775251723,"width": 247.1775251723,"asset": "Circle","selectable": true,"left": 160.5887625862,"fill": "#E9B900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 143,"height": 184,"width": 233,"asset": "Circle","selectable": false,"left": 158,"fill": "#E9B900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102,"height": 44,"width": 18,"asset": "Circle","selectable": true,"left": 131,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102,"height": 44,"width": 18,"asset": "Circle","selectable": true,"left": 187,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 231,"height": 193.7232569979,"width": 95.98866307209998,"asset": "Wreath2","selectable": true,"left": 155,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": true,"top": 231,"height": 193.7232569979,"width": 95.98866307209998,"asset": "Wreath2","selectable": true,"left": 169,"fill": "#000000"},{"opacity": 1,"angle": -89.2709252495,"flipX": false,"flipY": false,"top": 241.7498464948,"height": 147.9498448926,"width": 76.4434115554,"asset": "StrokeBent","selectable": true,"left": 161.0076839981,"fill": "#E9B900"},{"opacity": 1,"angle": 126.0093289941,"flipX": false,"flipY": false,"top": 239.6183869136,"height": 25.990901965600003,"width": 102.2194061138,"asset": "Wingpart","selectable": true,"left": 229.9961330464,"fill": "#E9B900"},{"opacity": 1,"angle": 234.756241768,"flipX": true,"flipY": false,"top": 241,"height": 25.5711493727,"width": 97.1913709052,"asset": "Wingpart","selectable": true,"left": 91.1080344924,"fill": "#E9B900"},{"opacity": 1,"angle": 56.8878924644,"flipX": false,"flipY": false,"top": 174.3283873787,"height": 115.7034659325,"width": 104.1058969325,"asset": "ArrowBent","selectable": true,"left": 226.4073975876,"fill": "#E9B900"},{"opacity": 1,"angle": -57.9993325343,"flipX": true,"flipY": false,"top": 175,"height": 108.8884710342,"width": 104.1058969325,"asset": "ArrowBent","selectable": true,"left": 98,"fill": "#E9B900"},{"opacity": 1,"angle": 164.1595105933,"flipX": false,"flipY": false,"top": 185,"height": 3.4882938674,"width": 17.0168798826,"asset": "Dogtag","selectable": true,"left": 89,"fill": "#000000"},{"opacity": 1,"angle": 185.4865867722,"flipX": false,"flipY": false,"top": 185,"height": 3.4882938674,"width": 17.0168798826,"asset": "Dogtag","selectable": true,"left": 235,"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": 158.5887625862,"height": 247.1775251723,"width": 247.1775251723,"asset": "Circle","selectable": true,"left": 160.5887625862,"fill": "#E9B900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 143,"height": 184,"width": 233,"asset": "Circle","selectable": false,"left": 158,"fill": "#E9B900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102,"height": 44,"width": 18,"asset": "Circle","selectable": true,"left": 131,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102,"height": 44,"width": 18,"asset": "Circle","selectable": true,"left": 187,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 231,"height": 193.7232569979,"width": 95.98866307209998,"asset": "Wreath2","selectable": true,"left": 155,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": true,"top": 231,"height": 193.7232569979,"width": 95.98866307209998,"asset": "Wreath2","selectable": true,"left": 169,"fill": "#000000"},{"opacity": 1,"angle": -89.2709252495,"flipX": false,"flipY": false,"top": 241.7498464948,"height": 147.9498448926,"width": 76.4434115554,"asset": "StrokeBent","selectable": true,"left": 161.0076839981,"fill": "#E9B900"},{"opacity": 1,"angle": 126.0093289941,"flipX": false,"flipY": false,"top": 239.6183869136,"height": 25.990901965600003,"width": 102.2194061138,"asset": "Wingpart","selectable": true,"left": 229.9961330464,"fill": "#E9B900"},{"opacity": 1,"angle": 234.756241768,"flipX": true,"flipY": false,"top": 241,"height": 25.5711493727,"width": 97.1913709052,"asset": "Wingpart","selectable": true,"left": 91.1080344924,"fill": "#E9B900"},{"opacity": 1,"angle": 56.8878924644,"flipX": false,"flipY": false,"top": 174.3283873787,"height": 115.7034659325,"width": 104.1058969325,"asset": "ArrowBent","selectable": true,"left": 226.4073975876,"fill": "#E9B900"},{"opacity": 1,"angle": -57.9993325343,"flipX": true,"flipY": false,"top": 175,"height": 108.8884710342,"width": 104.1058969325,"asset": "ArrowBent","selectable": true,"left": 98,"fill": "#E9B900"},{"opacity": 1,"angle": 164.1595105933,"flipX": false,"flipY": false,"top": 185,"height": 3.4882938674,"width": 17.0168798826,"asset": "Dogtag","selectable": true,"left": 89,"fill": "#000000"},{"opacity": 1,"angle": 185.4865867722,"flipX": false,"flipY": false,"top": 185,"height": 3.4882938674,"width": 17.0168798826,"asset": "Dogtag","selectable": true,"left": 235,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告