登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
130
圖層數
16
men
作者:
KoOoT_Rus
»
代碼 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": 156.4943831186,"height": 299.0112337629,"width": 306,"asset": "Triangle","selectable": false,"left": 162,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 158.2444347236,"height": 282.4888694473,"width": 285.9779632685,"asset": "Triangle","selectable": false,"left": 162.500112187,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.6582914573,"height": 36.6834170854,"width": 36.6834170854,"asset": "Circle","selectable": true,"left": 186.3417085427,"fill": "#000000"},{"opacity": 1,"angle": 32.0831349896,"flipX": false,"flipY": false,"top": 173.9070608068,"height": 78.9451377652,"width": 32.0071596399,"asset": "StrokeBent","selectable": true,"left": 144.8120399622,"fill": "#000000"},{"opacity": 1,"angle": 126.9523639999,"flipX": false,"flipY": false,"top": 217.6239626883,"height": 42.129618266,"width": 8.943705891,"asset": "Stroke","selectable": true,"left": 147.7080117339,"fill": "#000000"},{"opacity": 1,"angle": 90.9671008767,"flipX": false,"flipY": false,"top": 230.7113176962,"height": 42.129618266,"width": 9.4205588158,"asset": "Stroke","selectable": true,"left": 141.0217538563,"fill": "#000000"},{"opacity": 1,"angle": -1.7671149481,"flipX": false,"flipY": false,"top": 237,"height": 17.9026581505,"width": 8.4505743959,"asset": "Stroke","selectable": true,"left": 123.2299342334,"fill": "#000000"},{"opacity": 1,"angle": 153.3485110827,"flipX": false,"flipY": false,"top": 194,"height": 46.5969025562,"width": 7.5684175814,"asset": "Stroke","selectable": true,"left": 143,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 144,"height": 15.9386511899,"width": 15.9386511899,"asset": "Circle","selectable": true,"left": 191,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 143.9920914211,"height": 10.8242384557,"width": 10.8242384557,"asset": "Circle","selectable": true,"left": 191.0079085789,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.9346733668,"height": 26.1306532663,"width": 26.1306532663,"asset": "Circle","selectable": true,"left": 193.0653266332,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.8767123288,"height": 30.2465753425,"width": 16.3835616438,"asset": "Circle","selectable": true,"left": 186.1917808219,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 197.8767123288,"height": 30.2465753425,"width": 16.3835616438,"asset": "Circle","selectable": true,"left": 191.1917808219,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 181.8767123288,"height": 30.2465753425,"width": 16.3835616438,"asset": "Circle","selectable": true,"left": 196.1917808219,"fill": "#000000"},{"opacity": 1,"angle": 41.072264448,"flipX": true,"flipY": false,"top": 217.9661050587,"height": 25.584664882600002,"width": 41.5896693105,"asset": "WeaponHandgun","selectable": true,"left": 166.7948346552,"fill": "#000000"},{"opacity": 1,"angle": 121.9921070554,"flipX": false,"flipY": false,"top": 146,"height": 36.4025,"width": 100,"asset": "WeaponCarbine","selectable": true,"left": 125,"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": 156.4943831186,"height": 299.0112337629,"width": 306,"asset": "Triangle","selectable": false,"left": 162,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 158.2444347236,"height": 282.4888694473,"width": 285.9779632685,"asset": "Triangle","selectable": false,"left": 162.500112187,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.6582914573,"height": 36.6834170854,"width": 36.6834170854,"asset": "Circle","selectable": true,"left": 186.3417085427,"fill": "#000000"},{"opacity": 1,"angle": 32.0831349896,"flipX": false,"flipY": false,"top": 173.9070608068,"height": 78.9451377652,"width": 32.0071596399,"asset": "StrokeBent","selectable": true,"left": 144.8120399622,"fill": "#000000"},{"opacity": 1,"angle": 126.9523639999,"flipX": false,"flipY": false,"top": 217.6239626883,"height": 42.129618266,"width": 8.943705891,"asset": "Stroke","selectable": true,"left": 147.7080117339,"fill": "#000000"},{"opacity": 1,"angle": 90.9671008767,"flipX": false,"flipY": false,"top": 230.7113176962,"height": 42.129618266,"width": 9.4205588158,"asset": "Stroke","selectable": true,"left": 141.0217538563,"fill": "#000000"},{"opacity": 1,"angle": -1.7671149481,"flipX": false,"flipY": false,"top": 237,"height": 17.9026581505,"width": 8.4505743959,"asset": "Stroke","selectable": true,"left": 123.2299342334,"fill": "#000000"},{"opacity": 1,"angle": 153.3485110827,"flipX": false,"flipY": false,"top": 194,"height": 46.5969025562,"width": 7.5684175814,"asset": "Stroke","selectable": true,"left": 143,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 144,"height": 15.9386511899,"width": 15.9386511899,"asset": "Circle","selectable": true,"left": 191,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 143.9920914211,"height": 10.8242384557,"width": 10.8242384557,"asset": "Circle","selectable": true,"left": 191.0079085789,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.9346733668,"height": 26.1306532663,"width": 26.1306532663,"asset": "Circle","selectable": true,"left": 193.0653266332,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.8767123288,"height": 30.2465753425,"width": 16.3835616438,"asset": "Circle","selectable": true,"left": 186.1917808219,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 197.8767123288,"height": 30.2465753425,"width": 16.3835616438,"asset": "Circle","selectable": true,"left": 191.1917808219,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 181.8767123288,"height": 30.2465753425,"width": 16.3835616438,"asset": "Circle","selectable": true,"left": 196.1917808219,"fill": "#000000"},{"opacity": 1,"angle": 41.072264448,"flipX": true,"flipY": false,"top": 217.9661050587,"height": 25.584664882600002,"width": 41.5896693105,"asset": "WeaponHandgun","selectable": true,"left": 166.7948346552,"fill": "#000000"},{"opacity": 1,"angle": 121.9921070554,"flipX": false,"flipY": false,"top": 146,"height": 36.4025,"width": 100,"asset": "WeaponCarbine","selectable": true,"left": 125,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告