登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
164
圖層數
20
George Augusto
作者:
Sirius_Gryff
代碼 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": 168.7724075046,"height": 249.5448150092,"width": 249.5448150092,"asset": "Circle","selectable": false,"left": 164.7724075046,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 168.5089667208,"height": 229.0179334416,"width": 229.0179334416,"asset": "Circle","selectable": false,"left": 164.5089667208,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 204.6941021977,"height": 134.6117956047,"width": 155,"asset": "Circle","selectable": false,"left": 163.5,"fill": "#000000"},{"opacity": 0.5,"angle": 0,"flipX": false,"flipY": false,"top": 201.7204269426,"height": 116.6644450945,"width": 131.9926203624,"asset": "Circle","selectable": false,"left": 162.9963101812,"fill": "#EC008C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.5,"height": 89,"width": 162,"asset": "Square","selectable": false,"left": 164,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 194,"height": 172,"width": 12,"asset": "Stroke","selectable": false,"left": 155,"fill": "#000000"},{"opacity": 1,"angle": -20.6314258083,"flipX": false,"flipY": false,"top": 244.3742052172,"height": 36.881365385,"width": 88.1263641439,"asset": "Circle","selectable": false,"left": 179.8231339105,"fill": "#F6989D"},{"opacity": 1,"angle": 258.0622032092,"flipX": false,"flipY": false,"top": 251.3351219979,"height": 105.736784008,"width": 33.4652210052,"asset": "StrokeBent","selectable": false,"left": 175.3594300818,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.210861947,"height": 81.5782761061,"width": 81.5782761061,"asset": "Circle","selectable": false,"left": 203.210861947,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.210861947,"height": 81.5782761061,"width": 81.5782761061,"asset": "Circle","selectable": false,"left": 107.210861947,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.6114388596,"height": 60.7771222807,"width": 60.7771222807,"asset": "Circle","selectable": false,"left": 203.8102850343,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.6114388596,"height": 60.7771222807,"width": 60.7771222807,"asset": "Circle","selectable": false,"left": 106.8102850343,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 169.5,"height": 180.0585514871,"width": 29,"asset": "Stroke","selectable": false,"left": 158.1328864186,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 153.5,"height": 80,"width": 11,"asset": "Stroke","selectable": false,"left": 107,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 153.5,"height": 80,"width": 11,"asset": "Stroke","selectable": false,"left": 203,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 126.5,"height": 109,"width": 16,"asset": "Stroke","selectable": false,"left": 155,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.7125874903,"height": 26.574825019399995,"width": 26.574825019399995,"asset": "Circle","selectable": false,"left": 124.2874125097,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.7125874903,"height": 26.574825019399995,"width": 26.574825019399995,"asset": "Circle","selectable": false,"left": 220.2874125097,"fill": "#000000"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 168,"height": 178,"width": 36,"asset": "StrokeBent","selectable": false,"left": 155,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 157,"height": 21,"width": 30,"asset": "StrokeBent","selectable": false,"left": 154.5,"fill": "#FFFE00"}]'},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": 168.7724075046,"height": 249.5448150092,"width": 249.5448150092,"asset": "Circle","selectable": false,"left": 164.7724075046,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 168.5089667208,"height": 229.0179334416,"width": 229.0179334416,"asset": "Circle","selectable": false,"left": 164.5089667208,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 204.6941021977,"height": 134.6117956047,"width": 155,"asset": "Circle","selectable": false,"left": 163.5,"fill": "#000000"},{"opacity": 0.5,"angle": 0,"flipX": false,"flipY": false,"top": 201.7204269426,"height": 116.6644450945,"width": 131.9926203624,"asset": "Circle","selectable": false,"left": 162.9963101812,"fill": "#EC008C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.5,"height": 89,"width": 162,"asset": "Square","selectable": false,"left": 164,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 194,"height": 172,"width": 12,"asset": "Stroke","selectable": false,"left": 155,"fill": "#000000"},{"opacity": 1,"angle": -20.6314258083,"flipX": false,"flipY": false,"top": 244.3742052172,"height": 36.881365385,"width": 88.1263641439,"asset": "Circle","selectable": false,"left": 179.8231339105,"fill": "#F6989D"},{"opacity": 1,"angle": 258.0622032092,"flipX": false,"flipY": false,"top": 251.3351219979,"height": 105.736784008,"width": 33.4652210052,"asset": "StrokeBent","selectable": false,"left": 175.3594300818,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.210861947,"height": 81.5782761061,"width": 81.5782761061,"asset": "Circle","selectable": false,"left": 203.210861947,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.210861947,"height": 81.5782761061,"width": 81.5782761061,"asset": "Circle","selectable": false,"left": 107.210861947,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.6114388596,"height": 60.7771222807,"width": 60.7771222807,"asset": "Circle","selectable": false,"left": 203.8102850343,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.6114388596,"height": 60.7771222807,"width": 60.7771222807,"asset": "Circle","selectable": false,"left": 106.8102850343,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 169.5,"height": 180.0585514871,"width": 29,"asset": "Stroke","selectable": false,"left": 158.1328864186,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 153.5,"height": 80,"width": 11,"asset": "Stroke","selectable": false,"left": 107,"fill": "#000000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 153.5,"height": 80,"width": 11,"asset": "Stroke","selectable": false,"left": 203,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 126.5,"height": 109,"width": 16,"asset": "Stroke","selectable": false,"left": 155,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.7125874903,"height": 26.574825019399995,"width": 26.574825019399995,"asset": "Circle","selectable": false,"left": 124.2874125097,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.7125874903,"height": 26.574825019399995,"width": 26.574825019399995,"asset": "Circle","selectable": false,"left": 220.2874125097,"fill": "#000000"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 168,"height": 178,"width": 36,"asset": "StrokeBent","selectable": false,"left": 155,"fill": "#FFFE00"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 157,"height": 21,"width": 30,"asset": "StrokeBent","selectable": false,"left": 154.5,"fill": "#FFFE00"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
awsome
smile
smiley
广告