登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
149
圖層數
20
Kirby
作者:
sileZn
代碼 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": 14.3565714955,"flipX": false,"flipY": false,"top": 282.35671875,"height": 58.7134375,"width": 126,"asset": "Eye2","selectable": true,"left": 224,"fill": "#000000"},{"opacity": 1,"angle": -10.8475501444,"flipX": false,"flipY": false,"top": 280.35671875,"height": 58.7134375,"width": 126,"asset": "Eye2","selectable": true,"left": 98,"fill": "#000000"},{"opacity": 1,"angle": 55.5937556024,"flipX": false,"flipY": false,"top": 183.1274923275,"height": 68.025609655,"width": 155.4138412576,"asset": "Eye2","selectable": true,"left": 246.7069206288,"fill": "#F6989D"},{"opacity": 1,"angle": 14.3565714955,"flipX": false,"flipY": false,"top": 283.2786977983,"height": 49.91023418260001,"width": 107.10818127479999,"asset": "Eye2","selectable": true,"left": 226.7576712908,"fill": "#ED145B"},{"opacity": 1,"angle": -10.8475501444,"flipX": false,"flipY": false,"top": 280.4397059478,"height": 51.509094101,"width": 110.5393608869,"asset": "Eye2","selectable": true,"left": 98.2701055454,"fill": "#ED145B"},{"opacity": 1,"angle": 55.5937556024,"flipX": false,"flipY": false,"top": 121.1274923275,"height": 68.025609655,"width": 155.4138412576,"asset": "Eye2","selectable": true,"left": 50.7069206288,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.6883661067,"height": 250.62326778660002,"width": 250.62326778660002,"asset": "Circle","selectable": true,"left": 157.0955534913,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.391959799,"height": 243.216080402,"width": 243.216080402,"asset": "Circle","selectable": false,"left": 157.391959799,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 127.7578125,"height": 76.484375,"width": 28,"asset": "Circle","selectable": false,"left": 134,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 127.7578125,"height": 76.484375,"width": 28,"asset": "Circle","selectable": false,"left": 184,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.9346733668,"height": 26.1306532663,"width": 26.1306532663,"asset": "Shield","selectable": false,"left": 157.0653266332,"fill": "#000000"},{"opacity": 1,"angle": 76.1039362056,"flipX": false,"flipY": false,"top": 160.1457286432,"height": 41.7085427136,"width": 24.7085427136,"asset": "Circle","selectable": false,"left": 220.3542713568,"fill": "#F26D7D"},{"opacity": 1,"angle": 102.9990939163,"flipX": false,"flipY": false,"top": 160.1457286432,"height": 41.7085427136,"width": 24.7085427136,"asset": "Circle","selectable": false,"left": 94.3542713568,"fill": "#F26D7D"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 128.2146296523,"height": 65.3980093047,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 133.9707081383,"fill": "#0054A6"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 128.2146296523,"height": 65.3980093047,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 183.9707081383,"fill": "#0054A6"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 120.2578125,"height": 51.484375,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 183.9707081383,"fill": "#000000"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 122.2578125,"height": 51.484375,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 133.9707081383,"fill": "#000000"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 109.7578125,"height": 30.484375,"width": 14,"asset": "Circle","selectable": true,"left": 184,"fill": "#FFFFFF"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 108.7578125,"height": 30.484375,"width": 14,"asset": "Circle","selectable": true,"left": 134,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.9167450444,"height": 20.166509911199995,"width": 20.166509911199995,"asset": "Shield","selectable": true,"left": 156.640102028,"fill": "#F26D7D"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": 14.3565714955,"flipX": false,"flipY": false,"top": 282.35671875,"height": 58.7134375,"width": 126,"asset": "Eye2","selectable": true,"left": 224,"fill": "#000000"},{"opacity": 1,"angle": -10.8475501444,"flipX": false,"flipY": false,"top": 280.35671875,"height": 58.7134375,"width": 126,"asset": "Eye2","selectable": true,"left": 98,"fill": "#000000"},{"opacity": 1,"angle": 55.5937556024,"flipX": false,"flipY": false,"top": 183.1274923275,"height": 68.025609655,"width": 155.4138412576,"asset": "Eye2","selectable": true,"left": 246.7069206288,"fill": "#F6989D"},{"opacity": 1,"angle": 14.3565714955,"flipX": false,"flipY": false,"top": 283.2786977983,"height": 49.91023418260001,"width": 107.10818127479999,"asset": "Eye2","selectable": true,"left": 226.7576712908,"fill": "#ED145B"},{"opacity": 1,"angle": -10.8475501444,"flipX": false,"flipY": false,"top": 280.4397059478,"height": 51.509094101,"width": 110.5393608869,"asset": "Eye2","selectable": true,"left": 98.2701055454,"fill": "#ED145B"},{"opacity": 1,"angle": 55.5937556024,"flipX": false,"flipY": false,"top": 121.1274923275,"height": 68.025609655,"width": 155.4138412576,"asset": "Eye2","selectable": true,"left": 50.7069206288,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.6883661067,"height": 250.62326778660002,"width": 250.62326778660002,"asset": "Circle","selectable": true,"left": 157.0955534913,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.391959799,"height": 243.216080402,"width": 243.216080402,"asset": "Circle","selectable": false,"left": 157.391959799,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 127.7578125,"height": 76.484375,"width": 28,"asset": "Circle","selectable": false,"left": 134,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 127.7578125,"height": 76.484375,"width": 28,"asset": "Circle","selectable": false,"left": 184,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.9346733668,"height": 26.1306532663,"width": 26.1306532663,"asset": "Shield","selectable": false,"left": 157.0653266332,"fill": "#000000"},{"opacity": 1,"angle": 76.1039362056,"flipX": false,"flipY": false,"top": 160.1457286432,"height": 41.7085427136,"width": 24.7085427136,"asset": "Circle","selectable": false,"left": 220.3542713568,"fill": "#F26D7D"},{"opacity": 1,"angle": 102.9990939163,"flipX": false,"flipY": false,"top": 160.1457286432,"height": 41.7085427136,"width": 24.7085427136,"asset": "Circle","selectable": false,"left": 94.3542713568,"fill": "#F26D7D"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 128.2146296523,"height": 65.3980093047,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 133.9707081383,"fill": "#0054A6"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 128.2146296523,"height": 65.3980093047,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 183.9707081383,"fill": "#0054A6"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 120.2578125,"height": 51.484375,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 183.9707081383,"fill": "#000000"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 122.2578125,"height": 51.484375,"width": 23.9414162766,"asset": "Circle","selectable": true,"left": 133.9707081383,"fill": "#000000"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 109.7578125,"height": 30.484375,"width": 14,"asset": "Circle","selectable": true,"left": 184,"fill": "#FFFFFF"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": true,"top": 108.7578125,"height": 30.484375,"width": 14,"asset": "Circle","selectable": true,"left": 134,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.9167450444,"height": 20.166509911199995,"width": 20.166509911199995,"asset": "Shield","selectable": true,"left": 156.640102028,"fill": "#F26D7D"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告