登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
353
圖層數
20
Minion
作者:
Vip3eVoskz
代碼 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": 270,"flipX": false,"flipY": false,"top": 201.8504674664,"height": 238,"width": 365.7009349328,"asset": "Dogtag","selectable": false,"left": 165,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145,"height": 74,"width": 241,"asset": "Square","selectable": false,"left": 164.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 142,"height": 168.5562292345,"width": 168.5562292345,"asset": "Circle","selectable": false,"left": 169,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 143,"height": 136.485459896,"width": 136.485459896,"asset": "Circle","selectable": false,"left": 169,"fill": "#FFF200"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 84,"height": 120.93023255809999,"width": 36.2790697674,"asset": "StrokeBent","selectable": false,"left": 169,"fill": "#363636"},{"opacity": 0.55,"angle": 0,"flipX": false,"flipY": false,"top": 30.096170809,"height": 18.192341618,"width": 9.4227893616,"asset": "Bullets","selectable": false,"left": 165.6831134308,"fill": "#000000"},{"opacity": 0.55,"angle": 33.2748879848,"flipX": false,"flipY": false,"top": 32,"height": 15.5663224183,"width": 10.4142345335,"asset": "Bullets","selectable": false,"left": 179,"fill": "#000000"},{"opacity": 0.55,"angle": -18.5873055308,"flipX": false,"flipY": false,"top": 28,"height": 15.8122261909,"width": 10.5787499207,"asset": "Bullets","selectable": false,"left": 152,"fill": "#000000"},{"opacity": 1,"angle": 20.2416812219,"flipX": false,"flipY": false,"top": 321.7647492558,"height": 100,"width": 27.1405731807,"asset": "Stroke","selectable": false,"left": 42,"fill": "#FFF200"},{"opacity": 1,"angle": -36.7113642089,"flipX": false,"flipY": false,"top": 313.7647492558,"height": 100,"width": 27.1405731807,"asset": "Stroke","selectable": false,"left": 296,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 311,"height": 50,"width": 211,"asset": "Square","selectable": false,"left": 168.5,"fill": "#003471"},{"opacity": 1,"angle": -60.4005227158,"flipX": false,"flipY": false,"top": 307,"height": 100,"width": 20.9997558059,"asset": "Stroke","selectable": false,"left": 83,"fill": "#003471"},{"opacity": 1,"angle": 42.9413820745,"flipX": false,"flipY": false,"top": 310,"height": 100,"width": 20.9997558059,"asset": "Stroke","selectable": false,"left": 257,"fill": "#003471"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 324,"height": 36,"width": 84,"asset": "Square","selectable": false,"left": 169,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 142,"height": 109.6847157642,"width": 135.4132293385,"asset": "Eye2","selectable": false,"left": 170,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141,"height": 89.6768287601,"width": 89.6768287601,"asset": "Circle","selectable": false,"left": 170,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141,"height": 79.5257885953,"width": 79.5257885953,"asset": "Circle","selectable": false,"left": 170,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141,"height": 40.87517142750001,"width": 40.87517142750001,"asset": "Circle","selectable": false,"left": 170,"fill": "#000000"},{"opacity": 1,"angle": -31.582701743,"flipX": false,"flipY": false,"top": 243,"height": 23.9787593988,"width": 100.4960122404,"asset": "Wingpart","selectable": true,"left": 187,"fill": "#000000"},{"opacity": 1,"angle": -31.582701743,"flipX": false,"flipY": false,"top": 243,"height": 14.412450999799999,"width": 81.0576406262,"asset": "Wingpart","selectable": true,"left": 187,"fill": "#790000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 201.8504674664,"height": 238,"width": 365.7009349328,"asset": "Dogtag","selectable": false,"left": 165,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145,"height": 74,"width": 241,"asset": "Square","selectable": false,"left": 164.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 142,"height": 168.5562292345,"width": 168.5562292345,"asset": "Circle","selectable": false,"left": 169,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 143,"height": 136.485459896,"width": 136.485459896,"asset": "Circle","selectable": false,"left": 169,"fill": "#FFF200"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 84,"height": 120.93023255809999,"width": 36.2790697674,"asset": "StrokeBent","selectable": false,"left": 169,"fill": "#363636"},{"opacity": 0.55,"angle": 0,"flipX": false,"flipY": false,"top": 30.096170809,"height": 18.192341618,"width": 9.4227893616,"asset": "Bullets","selectable": false,"left": 165.6831134308,"fill": "#000000"},{"opacity": 0.55,"angle": 33.2748879848,"flipX": false,"flipY": false,"top": 32,"height": 15.5663224183,"width": 10.4142345335,"asset": "Bullets","selectable": false,"left": 179,"fill": "#000000"},{"opacity": 0.55,"angle": -18.5873055308,"flipX": false,"flipY": false,"top": 28,"height": 15.8122261909,"width": 10.5787499207,"asset": "Bullets","selectable": false,"left": 152,"fill": "#000000"},{"opacity": 1,"angle": 20.2416812219,"flipX": false,"flipY": false,"top": 321.7647492558,"height": 100,"width": 27.1405731807,"asset": "Stroke","selectable": false,"left": 42,"fill": "#FFF200"},{"opacity": 1,"angle": -36.7113642089,"flipX": false,"flipY": false,"top": 313.7647492558,"height": 100,"width": 27.1405731807,"asset": "Stroke","selectable": false,"left": 296,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 311,"height": 50,"width": 211,"asset": "Square","selectable": false,"left": 168.5,"fill": "#003471"},{"opacity": 1,"angle": -60.4005227158,"flipX": false,"flipY": false,"top": 307,"height": 100,"width": 20.9997558059,"asset": "Stroke","selectable": false,"left": 83,"fill": "#003471"},{"opacity": 1,"angle": 42.9413820745,"flipX": false,"flipY": false,"top": 310,"height": 100,"width": 20.9997558059,"asset": "Stroke","selectable": false,"left": 257,"fill": "#003471"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 324,"height": 36,"width": 84,"asset": "Square","selectable": false,"left": 169,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 142,"height": 109.6847157642,"width": 135.4132293385,"asset": "Eye2","selectable": false,"left": 170,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141,"height": 89.6768287601,"width": 89.6768287601,"asset": "Circle","selectable": false,"left": 170,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141,"height": 79.5257885953,"width": 79.5257885953,"asset": "Circle","selectable": false,"left": 170,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141,"height": 40.87517142750001,"width": 40.87517142750001,"asset": "Circle","selectable": false,"left": 170,"fill": "#000000"},{"opacity": 1,"angle": -31.582701743,"flipX": false,"flipY": false,"top": 243,"height": 23.9787593988,"width": 100.4960122404,"asset": "Wingpart","selectable": true,"left": 187,"fill": "#000000"},{"opacity": 1,"angle": -31.582701743,"flipX": false,"flipY": false,"top": 243,"height": 14.412450999799999,"width": 81.0576406262,"asset": "Wingpart","selectable": true,"left": 187,"fill": "#790000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告