登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
4
複製總數
266
圖層數
18
Unpickable Soap
作者:
Fxckin_Fish
代碼 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": 0.88,"angle": 0,"flipX": false,"flipY": false,"top": -15,"height": 1764,"width": 1764,"asset": "Square","selectable": false,"left": -80,"fill": "#662D91"},{"opacity": 0.81,"angle": "50","flipX": false,"flipY": false,"top": 148,"height": 484,"width": 585.85065,"asset": "Star3","selectable": false,"left": 185,"fill": "#F49AC2"},{"opacity": 0.13,"angle": "-3","flipX": false,"flipY": false,"top": 146.5,"height": 603,"width": 597.6640869565,"asset": "Star3","selectable": true,"left": 159.3369565217,"fill": "#EC008C"},{"opacity": 0.72,"angle": "28","flipX": false,"flipY": false,"top": 142.175,"height": 584,"width": 551.612625,"asset": "Star3","selectable": false,"left": 174.8125,"fill": "#FFFFFF"},{"opacity": 0.15,"angle": "5","flipX": false,"flipY": false,"top": 140.4875,"height": 484,"width": 551.612625,"asset": "Star3","selectable": false,"left": 186.8125,"fill": "#FFFFFF"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 131.5973729394,"height": 93.6405977458,"width": 134.205652,"asset": "Dogtag","selectable": false,"left": 179.4567372939,"fill": "#000000"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 131.5857372939,"height": 91.8166637746,"width": 131.6719,"asset": "Dogtag","selectable": false,"left": 179.4457372939,"fill": "#7BCDC8"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 125.49036486,"height": 76.8666532644,"width": 120.85165,"asset": "Dogtag","selectable": false,"left": 175.3815737294,"fill": "#000000"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 125.5102627061,"height": 76.7682797746,"width": 122.1662608392,"asset": "Dogtag","selectable": false,"left": 173.6142755539,"fill": "#7BCDC8"},{"opacity": 1,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 122.0635,"height": 20.32,"width": 29.92,"asset": "Circle","selectable": false,"left": 171.0935,"fill": "#000000"},{"opacity": 0.9,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 123.0635,"height": 20.32,"width": 29.92,"asset": "Circle","selectable": false,"left": 175.0935,"fill": "#E1E1E1"},{"opacity": 1,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 123.0625,"height": 20,"width": 29.9247490628,"asset": "Circle","selectable": false,"left": 173.0935148408,"fill": "#7BCDC8"},{"opacity": 1,"angle": -55.6295017434,"flipX": true,"flipY": true,"top": 143.0450293308,"height": 14.409385845300001,"width": 1.2415753593,"asset": "StrokeBent","selectable": false,"left": 238.9870669233,"fill": "#000000"},{"opacity": 1,"angle": "-61.83175880673859","flipX": false,"flipY": false,"top": 315.8613954946,"height": 93.1791983258,"width": 248.8251515293,"asset": "Eye2","selectable": false,"left": 60.5953046128,"fill": "#000000"},{"opacity": 1,"angle": "-61.83175880673859","flipX": false,"flipY": false,"top": 319.7836999872,"height": 90.30376740560001,"width": 255.2251515293,"asset": "Eye2","selectable": false,"left": 58.7975785985,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 196.7647597232,"height": 75.2768885807,"width": 75.2768885807,"asset": "Circle","selectable": false,"left": 123.2352402768,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 196.7741102676,"height": 72.2847143567,"width": 72.2847143567,"asset": "Circle","selectable": false,"left": 123.2258897324,"fill": "#FFFFFF"},{"opacity": 1,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 140.9375,"height": 20,"width": 29.9247490628,"asset": "Circle","selectable": false,"left": 134.9064851592,"fill": "#7BCDC8"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 0.88,"angle": 0,"flipX": false,"flipY": false,"top": -15,"height": 1764,"width": 1764,"asset": "Square","selectable": false,"left": -80,"fill": "#662D91"},{"opacity": 0.81,"angle": "50","flipX": false,"flipY": false,"top": 148,"height": 484,"width": 585.85065,"asset": "Star3","selectable": false,"left": 185,"fill": "#F49AC2"},{"opacity": 0.13,"angle": "-3","flipX": false,"flipY": false,"top": 146.5,"height": 603,"width": 597.6640869565,"asset": "Star3","selectable": true,"left": 159.3369565217,"fill": "#EC008C"},{"opacity": 0.72,"angle": "28","flipX": false,"flipY": false,"top": 142.175,"height": 584,"width": 551.612625,"asset": "Star3","selectable": false,"left": 174.8125,"fill": "#FFFFFF"},{"opacity": 0.15,"angle": "5","flipX": false,"flipY": false,"top": 140.4875,"height": 484,"width": 551.612625,"asset": "Star3","selectable": false,"left": 186.8125,"fill": "#FFFFFF"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 131.5973729394,"height": 93.6405977458,"width": 134.205652,"asset": "Dogtag","selectable": false,"left": 179.4567372939,"fill": "#000000"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 131.5857372939,"height": 91.8166637746,"width": 131.6719,"asset": "Dogtag","selectable": false,"left": 179.4457372939,"fill": "#7BCDC8"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 125.49036486,"height": 76.8666532644,"width": 120.85165,"asset": "Dogtag","selectable": false,"left": 175.3815737294,"fill": "#000000"},{"opacity": 1,"angle": "-20.364195613476205","flipX": false,"flipY": false,"top": 125.5102627061,"height": 76.7682797746,"width": 122.1662608392,"asset": "Dogtag","selectable": false,"left": 173.6142755539,"fill": "#7BCDC8"},{"opacity": 1,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 122.0635,"height": 20.32,"width": 29.92,"asset": "Circle","selectable": false,"left": 171.0935,"fill": "#000000"},{"opacity": 0.9,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 123.0635,"height": 20.32,"width": 29.92,"asset": "Circle","selectable": false,"left": 175.0935,"fill": "#E1E1E1"},{"opacity": 1,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 123.0625,"height": 20,"width": 29.9247490628,"asset": "Circle","selectable": false,"left": 173.0935148408,"fill": "#7BCDC8"},{"opacity": 1,"angle": -55.6295017434,"flipX": true,"flipY": true,"top": 143.0450293308,"height": 14.409385845300001,"width": 1.2415753593,"asset": "StrokeBent","selectable": false,"left": 238.9870669233,"fill": "#000000"},{"opacity": 1,"angle": "-61.83175880673859","flipX": false,"flipY": false,"top": 315.8613954946,"height": 93.1791983258,"width": 248.8251515293,"asset": "Eye2","selectable": false,"left": 60.5953046128,"fill": "#000000"},{"opacity": 1,"angle": "-61.83175880673859","flipX": false,"flipY": false,"top": 319.7836999872,"height": 90.30376740560001,"width": 255.2251515293,"asset": "Eye2","selectable": false,"left": 58.7975785985,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 196.7647597232,"height": 75.2768885807,"width": 75.2768885807,"asset": "Circle","selectable": false,"left": 123.2352402768,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 196.7741102676,"height": 72.2847143567,"width": 72.2847143567,"asset": "Circle","selectable": false,"left": 123.2258897324,"fill": "#FFFFFF"},{"opacity": 1,"angle": "-25.602562202499804","flipX": false,"flipY": false,"top": 140.9375,"height": 20,"width": 29.9247490628,"asset": "Circle","selectable": false,"left": 134.9064851592,"fill": "#7BCDC8"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告