登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
29
圖層數
20
НКВД
作者:
pytonn
»
代碼 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": 161.7435564139,"height": 208.5128871722,"width": 121,"asset": "Circle","selectable": true,"left": 157.5,"fill": "#898989"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157.5,"height": 183,"width": 100,"asset": "Circle","selectable": true,"left": 158,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 144.5,"height": 163,"width": 92,"asset": "MedalPart","selectable": true,"left": 159,"fill": "#9E0B0F"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 229.5,"height": 54,"width": 25,"asset": "StrokeBent","selectable": true,"left": 157,"fill": "#790000"},{"opacity": 1,"angle": 181.367725641,"flipX": false,"flipY": false,"top": 248.3231563375,"height": 94.00420110919998,"width": 14.5167176138,"asset": "Triangle","selectable": true,"left": 154.7557328698,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162.8908216376,"height": 91.7816432752,"width": 15,"asset": "Stroke","selectable": true,"left": 156.5,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95.625,"height": 113.25,"width": 26.2399103139,"asset": "SnakeSticks","selectable": true,"left": 155.880044843,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 96.4454108188,"height": 70.8908216376,"width": 13,"asset": "Stroke","selectable": true,"left": 155.5,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 153.2435971145,"height": 123.19377969550001,"width": 90.92896907690002,"asset": "Soviet","selectable": true,"left": 150.511980393,"fill": "#827B00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 225.8594391817,"height": 51.882217076,"width": 135.2177800029,"asset": "Banner","selectable": true,"left": 157.5293290083,"fill": "#790000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232,"height": 20.5053765695,"width": 2.1814513593,"asset": "Stroke","selectable": true,"left": 129.0907256797,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 233.4053628398,"height": 10.1593259826,"width": 1.28,"asset": "Stroke","selectable": true,"left": 133.8269747066,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232,"height": 20.5053765695,"width": 2.1814513593,"asset": "Stroke","selectable": true,"left": 137,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 239.015071733,"height": 24.5355200354,"width": 2.610195592,"asset": "Stroke","selectable": true,"left": 144.2143721163,"fill": "#FFFE00"},{"opacity": 1,"angle": 49.2605245399,"flipX": false,"flipY": false,"top": 233.4053628398,"height": 10.1593259826,"width": 1.28,"asset": "Stroke","selectable": true,"left": 149,"fill": "#FFFE00"},{"opacity": 1,"angle": 136.7281894044,"flipX": false,"flipY": false,"top": 245.7226309377,"height": 15.5278917303,"width": 1.9563996124,"asset": "Stroke","selectable": true,"left": 151.0862157866,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 239,"height": 22.6535102052,"width": 10.3416642288,"asset": "Number8","selectable": true,"left": 162.1672383644,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 237,"height": 20.5053765695,"width": 2.1814513593,"asset": "Stroke","selectable": true,"left": 158,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 233.6535573851,"height": 23.5342067646,"width": 19.4413140306,"asset": "PlayerMarker","selectable": true,"left": 179.7138080863,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 236,"height": 11.2464785208,"width": 11.2464785208,"asset": "Triangle","selectable": true,"left": 180,"fill": "#790000"}]'},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": 161.7435564139,"height": 208.5128871722,"width": 121,"asset": "Circle","selectable": true,"left": 157.5,"fill": "#898989"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157.5,"height": 183,"width": 100,"asset": "Circle","selectable": true,"left": 158,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 144.5,"height": 163,"width": 92,"asset": "MedalPart","selectable": true,"left": 159,"fill": "#9E0B0F"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 229.5,"height": 54,"width": 25,"asset": "StrokeBent","selectable": true,"left": 157,"fill": "#790000"},{"opacity": 1,"angle": 181.367725641,"flipX": false,"flipY": false,"top": 248.3231563375,"height": 94.00420110919998,"width": 14.5167176138,"asset": "Triangle","selectable": true,"left": 154.7557328698,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162.8908216376,"height": 91.7816432752,"width": 15,"asset": "Stroke","selectable": true,"left": 156.5,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95.625,"height": 113.25,"width": 26.2399103139,"asset": "SnakeSticks","selectable": true,"left": 155.880044843,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 96.4454108188,"height": 70.8908216376,"width": 13,"asset": "Stroke","selectable": true,"left": 155.5,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 153.2435971145,"height": 123.19377969550001,"width": 90.92896907690002,"asset": "Soviet","selectable": true,"left": 150.511980393,"fill": "#827B00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 225.8594391817,"height": 51.882217076,"width": 135.2177800029,"asset": "Banner","selectable": true,"left": 157.5293290083,"fill": "#790000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232,"height": 20.5053765695,"width": 2.1814513593,"asset": "Stroke","selectable": true,"left": 129.0907256797,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 233.4053628398,"height": 10.1593259826,"width": 1.28,"asset": "Stroke","selectable": true,"left": 133.8269747066,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232,"height": 20.5053765695,"width": 2.1814513593,"asset": "Stroke","selectable": true,"left": 137,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 239.015071733,"height": 24.5355200354,"width": 2.610195592,"asset": "Stroke","selectable": true,"left": 144.2143721163,"fill": "#FFFE00"},{"opacity": 1,"angle": 49.2605245399,"flipX": false,"flipY": false,"top": 233.4053628398,"height": 10.1593259826,"width": 1.28,"asset": "Stroke","selectable": true,"left": 149,"fill": "#FFFE00"},{"opacity": 1,"angle": 136.7281894044,"flipX": false,"flipY": false,"top": 245.7226309377,"height": 15.5278917303,"width": 1.9563996124,"asset": "Stroke","selectable": true,"left": 151.0862157866,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 239,"height": 22.6535102052,"width": 10.3416642288,"asset": "Number8","selectable": true,"left": 162.1672383644,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 237,"height": 20.5053765695,"width": 2.1814513593,"asset": "Stroke","selectable": true,"left": 158,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 233.6535573851,"height": 23.5342067646,"width": 19.4413140306,"asset": "PlayerMarker","selectable": true,"left": 179.7138080863,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 236,"height": 11.2464785208,"width": 11.2464785208,"asset": "Triangle","selectable": true,"left": 180,"fill": "#790000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告