登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
135
圖層數
20
mr.T
作者:
born2slip
»
代碼 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": 194.2035156377,"height": 202.7358520253,"width": 124.4173508614,"asset": "Circle","selectable": true,"left": 223.9230003819,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.4892517217,"height": 202.7358520253,"width": 124.4173508614,"asset": "Circle","selectable": true,"left": 87.3515587315,"fill": "#000000"},{"opacity": 1,"angle": 90.1895238376,"flipX": false,"flipY": false,"top": 163.0112535726,"height": 188.5684893242,"width": 267.9834121641,"asset": "Dogtag","selectable": true,"left": 157.8306779184,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164.3571472168,"height": 233,"width": 100,"asset": "Circle","selectable": true,"left": 91.4285888672,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 163.2142791748,"height": 233,"width": 100,"asset": "Circle","selectable": true,"left": 224.571472168,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 253.5714416504,"height": 108.5714111328,"width": 233.1428527832,"asset": "Circle","selectable": true,"left": 156.8571624756,"fill": "#000000"},{"opacity": 1,"angle": -89.6003776982,"flipX": false,"flipY": false,"top": 253.2732594727,"height": 96.3188717947,"width": 81.7383917129,"asset": "Dogtag","selectable": true,"left": 154.9126992376,"fill": "#7D4900"},{"opacity": 1,"angle": 20.3891008592,"flipX": false,"flipY": false,"top": 137.9331747717,"height": 64.0226708756,"width": 57.9826782154,"asset": "Circle","selectable": true,"left": 107.6820572654,"fill": "#FFFFFF"},{"opacity": 1,"angle": -20.2971817003,"flipX": false,"flipY": false,"top": 139.1443376559,"height": 63.929051027,"width": 57.9826782154,"asset": "Circle","selectable": true,"left": 209.1373561457,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.899506152,"height": 25.9153126472,"width": 25.9153126472,"asset": "Circle","selectable": true,"left": 112.1006006596,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.828033984,"height": 25.48672378,"width": 25.9153126472,"asset": "Circle","selectable": true,"left": 202.957625806,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 46.1428642273,"height": 46.2857131958,"width": 100,"asset": "Square","selectable": true,"left": 157.7142944336,"fill": "#000000"},{"opacity": 1,"angle": 19.1457435044,"flipX": false,"flipY": false,"top": 112.5166368922,"height": 18.9667872508,"width": 71.7143554687,"asset": "Wingpart","selectable": true,"left": 110.4286499023,"fill": "#000000"},{"opacity": 1,"angle": -21.4590515622,"flipX": true,"flipY": false,"top": 112.9433088957,"height": 18.9667872508,"width": 67.0022655798,"asset": "Wingpart","selectable": true,"left": 204.5136124296,"fill": "#000000"},{"opacity": 1,"angle": -2.1627678008,"flipX": false,"flipY": false,"top": 242.7987782021,"height": 16.2772497478,"width": 68.4157796223,"asset": "Eye2","selectable": true,"left": 156.2570452517,"fill": "#9E0B0F"},{"opacity": 1,"angle": -9.8686906798,"flipX": false,"flipY": false,"top": 238.8387793033,"height": 11.9415317789,"width": 59.3192024063,"asset": "Wingpart","selectable": true,"left": 157.5991735907,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 282.4285888672,"height": 12.571411132799998,"width": 31.5715332031,"asset": "Square","selectable": true,"left": 154.7856445312,"fill": "#000000"},{"opacity": 1,"angle": 87.969370179,"flipX": false,"flipY": false,"top": 236.2148273881,"height": 73.3598881601,"width": 7.3631506059,"asset": "Stroke","selectable": true,"left": 155.5427796032,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.4285736084,"height": 100,"width": 17.571472168,"asset": "Stroke","selectable": true,"left": 157.6429138184,"fill": "#7D4900"},{"opacity": 1,"angle": -88.3709837275,"flipX": false,"flipY": false,"top": 244.8841930088,"height": 74.0480177576,"width": 20.8945415064,"asset": "StrokeBent","selectable": true,"left": 155.1850777616,"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": 194.2035156377,"height": 202.7358520253,"width": 124.4173508614,"asset": "Circle","selectable": true,"left": 223.9230003819,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.4892517217,"height": 202.7358520253,"width": 124.4173508614,"asset": "Circle","selectable": true,"left": 87.3515587315,"fill": "#000000"},{"opacity": 1,"angle": 90.1895238376,"flipX": false,"flipY": false,"top": 163.0112535726,"height": 188.5684893242,"width": 267.9834121641,"asset": "Dogtag","selectable": true,"left": 157.8306779184,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164.3571472168,"height": 233,"width": 100,"asset": "Circle","selectable": true,"left": 91.4285888672,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 163.2142791748,"height": 233,"width": 100,"asset": "Circle","selectable": true,"left": 224.571472168,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 253.5714416504,"height": 108.5714111328,"width": 233.1428527832,"asset": "Circle","selectable": true,"left": 156.8571624756,"fill": "#000000"},{"opacity": 1,"angle": -89.6003776982,"flipX": false,"flipY": false,"top": 253.2732594727,"height": 96.3188717947,"width": 81.7383917129,"asset": "Dogtag","selectable": true,"left": 154.9126992376,"fill": "#7D4900"},{"opacity": 1,"angle": 20.3891008592,"flipX": false,"flipY": false,"top": 137.9331747717,"height": 64.0226708756,"width": 57.9826782154,"asset": "Circle","selectable": true,"left": 107.6820572654,"fill": "#FFFFFF"},{"opacity": 1,"angle": -20.2971817003,"flipX": false,"flipY": false,"top": 139.1443376559,"height": 63.929051027,"width": 57.9826782154,"asset": "Circle","selectable": true,"left": 209.1373561457,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.899506152,"height": 25.9153126472,"width": 25.9153126472,"asset": "Circle","selectable": true,"left": 112.1006006596,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 140.828033984,"height": 25.48672378,"width": 25.9153126472,"asset": "Circle","selectable": true,"left": 202.957625806,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 46.1428642273,"height": 46.2857131958,"width": 100,"asset": "Square","selectable": true,"left": 157.7142944336,"fill": "#000000"},{"opacity": 1,"angle": 19.1457435044,"flipX": false,"flipY": false,"top": 112.5166368922,"height": 18.9667872508,"width": 71.7143554687,"asset": "Wingpart","selectable": true,"left": 110.4286499023,"fill": "#000000"},{"opacity": 1,"angle": -21.4590515622,"flipX": true,"flipY": false,"top": 112.9433088957,"height": 18.9667872508,"width": 67.0022655798,"asset": "Wingpart","selectable": true,"left": 204.5136124296,"fill": "#000000"},{"opacity": 1,"angle": -2.1627678008,"flipX": false,"flipY": false,"top": 242.7987782021,"height": 16.2772497478,"width": 68.4157796223,"asset": "Eye2","selectable": true,"left": 156.2570452517,"fill": "#9E0B0F"},{"opacity": 1,"angle": -9.8686906798,"flipX": false,"flipY": false,"top": 238.8387793033,"height": 11.9415317789,"width": 59.3192024063,"asset": "Wingpart","selectable": true,"left": 157.5991735907,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 282.4285888672,"height": 12.571411132799998,"width": 31.5715332031,"asset": "Square","selectable": true,"left": 154.7856445312,"fill": "#000000"},{"opacity": 1,"angle": 87.969370179,"flipX": false,"flipY": false,"top": 236.2148273881,"height": 73.3598881601,"width": 7.3631506059,"asset": "Stroke","selectable": true,"left": 155.5427796032,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.4285736084,"height": 100,"width": 17.571472168,"asset": "Stroke","selectable": true,"left": 157.6429138184,"fill": "#7D4900"},{"opacity": 1,"angle": -88.3709837275,"flipX": false,"flipY": false,"top": 244.8841930088,"height": 74.0480177576,"width": 20.8945415064,"asset": "StrokeBent","selectable": true,"left": 155.1850777616,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告