登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
53
圖層數
7
Mr. Freeman
作者:
DaBRO_Soprano
»
代碼 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.5527638191,"height": 321.1055276382,"width": 321.1055276382,"asset": "Square","selectable": true,"left": 160.5527638191,"fill": "#000000"},{"opacity": 1,"angle": -4.6723338254,"flipX": false,"flipY": false,"top": 183.421285294,"height": 273.6737460408,"width": 159.7757519156,"asset": "Circle","selectable": true,"left": 161.9992943106,"fill": "#D7D7D7"},{"opacity": 1,"angle": 84.100830248,"flipX": false,"flipY": false,"top": 294.7307917252,"height": 124.4122569173,"width": 8.4841364342,"asset": "PlayerMarker","selectable": true,"left": 172.0305463261,"fill": "#000000"},{"opacity": 1,"angle": -88.1194378741,"flipX": false,"flipY": false,"top": 173.7333622395,"height": 100.6427074599,"width": 152.729755106,"asset": "Eye2","selectable": true,"left": 138.5599032712,"fill": "#000000"},{"opacity": 1,"angle": 623.337889449,"flipX": false,"flipY": false,"top": 178.2308354872,"height": 32.9688543565,"width": 75.3218725038,"asset": "Eye2","selectable": true,"left": 218.6440162258,"fill": "#000000"},{"opacity": 1,"angle": 141.4909127655,"flipX": false,"flipY": false,"top": 108.9522582672,"height": 227.6408093353,"width": 61.1190413429,"asset": "StrokeBent","selectable": true,"left": 196.1236622724,"fill": "#000000"},{"opacity": 1,"angle": -66.3375249745,"flipX": false,"flipY": false,"top": 230.8848834642,"height": 129.2397809345,"width": 38.7719342804,"asset": "StrokeBent","selectable": true,"left": 139.6304335228,"fill": "#D7D7D7"}]'},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.5527638191,"height": 321.1055276382,"width": 321.1055276382,"asset": "Square","selectable": true,"left": 160.5527638191,"fill": "#000000"},{"opacity": 1,"angle": -4.6723338254,"flipX": false,"flipY": false,"top": 183.421285294,"height": 273.6737460408,"width": 159.7757519156,"asset": "Circle","selectable": true,"left": 161.9992943106,"fill": "#D7D7D7"},{"opacity": 1,"angle": 84.100830248,"flipX": false,"flipY": false,"top": 294.7307917252,"height": 124.4122569173,"width": 8.4841364342,"asset": "PlayerMarker","selectable": true,"left": 172.0305463261,"fill": "#000000"},{"opacity": 1,"angle": -88.1194378741,"flipX": false,"flipY": false,"top": 173.7333622395,"height": 100.6427074599,"width": 152.729755106,"asset": "Eye2","selectable": true,"left": 138.5599032712,"fill": "#000000"},{"opacity": 1,"angle": 623.337889449,"flipX": false,"flipY": false,"top": 178.2308354872,"height": 32.9688543565,"width": 75.3218725038,"asset": "Eye2","selectable": true,"left": 218.6440162258,"fill": "#000000"},{"opacity": 1,"angle": 141.4909127655,"flipX": false,"flipY": false,"top": 108.9522582672,"height": 227.6408093353,"width": 61.1190413429,"asset": "StrokeBent","selectable": true,"left": 196.1236622724,"fill": "#000000"},{"opacity": 1,"angle": -66.3375249745,"flipX": false,"flipY": false,"top": 230.8848834642,"height": 129.2397809345,"width": 38.7719342804,"asset": "StrokeBent","selectable": true,"left": 139.6304335228,"fill": "#D7D7D7"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
mr
freeman
广告