登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
8
複製總數
86
圖層數
16
Derpy cutie mark
作者:
27KyCTMAH27
»
代碼 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": 157.4533784387,"height": 301.0932431226,"width": 301.0932431226,"asset": "Circle","selectable": true,"left": 167.5466215613,"fill": "#FFFF9C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157,"height": 286.738047315,"width": 286.738047315,"asset": "Circle","selectable": true,"left": 168,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 58.040201005,"height": 83.9195979899,"width": 83.9195979899,"asset": "Circle","selectable": true,"left": 164.959798995,"fill": "#D9DDF8"},{"opacity": 1,"angle": 4.1578801231,"flipX": false,"flipY": false,"top": 98.4222926173,"height": 50.576925760099996,"width": 39.6474457301,"asset": "Circle","selectable": true,"left": 95.6601744364,"fill": "#D9DDF8"},{"opacity": 1,"angle": 12.1153679083,"flipX": false,"flipY": false,"top": 135.5188340712,"height": 50.7573664221,"width": 42.4032713858,"asset": "Circle","selectable": true,"left": 138.3161905994,"fill": "#D9DDF8"},{"opacity": 1,"angle": 12.1153679083,"flipX": false,"flipY": false,"top": 137.1267001877,"height": 65.1091968396,"width": 52.07400103170001,"asset": "Circle","selectable": true,"left": 197.6285873536,"fill": "#D9DDF8"},{"opacity": 1,"angle": 7.5242217636,"flipX": false,"flipY": false,"top": 205.9707924476,"height": 74.1394666377,"width": 65.308767167,"asset": "Circle","selectable": true,"left": 158.9418509228,"fill": "#D9DDF8"},{"opacity": 1,"angle": 7.5242217636,"flipX": false,"flipY": false,"top": 216.4573891958,"height": 36.4848794408,"width": 32.0340186272,"asset": "Circle","selectable": true,"left": 221.982385358,"fill": "#D9DDF8"},{"opacity": 1,"angle": 7.5242217636,"flipX": false,"flipY": false,"top": 263.9856576452,"height": 42.1254071275,"width": 36.9864474621,"asset": "Circle","selectable": true,"left": 202.8065788941,"fill": "#D9DDF8"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 35.1585816455,"height": 17.5377560902,"width": 38,"asset": "Eye2","selectable": true,"left": 162.3275682501,"fill": "#D8FCFA"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 92.3050734652,"height": 17.5377560902,"width": 27.7125006332,"asset": "Eye2","selectable": true,"left": 96.3132171144,"fill": "#D8FCFA"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 120,"height": 15.4983126372,"width": 24.4898490184,"asset": "Eye2","selectable": true,"left": 195,"fill": "#D8FCFA"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 126,"height": 15.4983126372,"width": 24.4898490184,"asset": "Eye2","selectable": true,"left": 136,"fill": "#D8FCFA"},{"opacity": 1,"angle": -17.9424669814,"flipX": false,"flipY": false,"top": 191,"height": 15.4983126372,"width": 24.4898490184,"asset": "Eye2","selectable": true,"left": 152,"fill": "#D8FCFA"},{"opacity": 1,"angle": 11.761624731,"flipX": false,"flipY": false,"top": 253,"height": 10.615208348100001,"width": 16.7737518162,"asset": "Eye2","selectable": true,"left": 204,"fill": "#D8FCFA"},{"opacity": 1,"angle": -20.7828920393,"flipX": false,"flipY": false,"top": 208,"height": 10.615208348100001,"width": 16.7737518162,"asset": "Eye2","selectable": true,"left": 219,"fill": "#D8FCFA"}]'},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": 157.4533784387,"height": 301.0932431226,"width": 301.0932431226,"asset": "Circle","selectable": true,"left": 167.5466215613,"fill": "#FFFF9C"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157,"height": 286.738047315,"width": 286.738047315,"asset": "Circle","selectable": true,"left": 168,"fill": "#C2C2C2"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 58.040201005,"height": 83.9195979899,"width": 83.9195979899,"asset": "Circle","selectable": true,"left": 164.959798995,"fill": "#D9DDF8"},{"opacity": 1,"angle": 4.1578801231,"flipX": false,"flipY": false,"top": 98.4222926173,"height": 50.576925760099996,"width": 39.6474457301,"asset": "Circle","selectable": true,"left": 95.6601744364,"fill": "#D9DDF8"},{"opacity": 1,"angle": 12.1153679083,"flipX": false,"flipY": false,"top": 135.5188340712,"height": 50.7573664221,"width": 42.4032713858,"asset": "Circle","selectable": true,"left": 138.3161905994,"fill": "#D9DDF8"},{"opacity": 1,"angle": 12.1153679083,"flipX": false,"flipY": false,"top": 137.1267001877,"height": 65.1091968396,"width": 52.07400103170001,"asset": "Circle","selectable": true,"left": 197.6285873536,"fill": "#D9DDF8"},{"opacity": 1,"angle": 7.5242217636,"flipX": false,"flipY": false,"top": 205.9707924476,"height": 74.1394666377,"width": 65.308767167,"asset": "Circle","selectable": true,"left": 158.9418509228,"fill": "#D9DDF8"},{"opacity": 1,"angle": 7.5242217636,"flipX": false,"flipY": false,"top": 216.4573891958,"height": 36.4848794408,"width": 32.0340186272,"asset": "Circle","selectable": true,"left": 221.982385358,"fill": "#D9DDF8"},{"opacity": 1,"angle": 7.5242217636,"flipX": false,"flipY": false,"top": 263.9856576452,"height": 42.1254071275,"width": 36.9864474621,"asset": "Circle","selectable": true,"left": 202.8065788941,"fill": "#D9DDF8"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 35.1585816455,"height": 17.5377560902,"width": 38,"asset": "Eye2","selectable": true,"left": 162.3275682501,"fill": "#D8FCFA"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 92.3050734652,"height": 17.5377560902,"width": 27.7125006332,"asset": "Eye2","selectable": true,"left": 96.3132171144,"fill": "#D8FCFA"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 120,"height": 15.4983126372,"width": 24.4898490184,"asset": "Eye2","selectable": true,"left": 195,"fill": "#D8FCFA"},{"opacity": 1,"angle": -12.8788501283,"flipX": false,"flipY": false,"top": 126,"height": 15.4983126372,"width": 24.4898490184,"asset": "Eye2","selectable": true,"left": 136,"fill": "#D8FCFA"},{"opacity": 1,"angle": -17.9424669814,"flipX": false,"flipY": false,"top": 191,"height": 15.4983126372,"width": 24.4898490184,"asset": "Eye2","selectable": true,"left": 152,"fill": "#D8FCFA"},{"opacity": 1,"angle": 11.761624731,"flipX": false,"flipY": false,"top": 253,"height": 10.615208348100001,"width": 16.7737518162,"asset": "Eye2","selectable": true,"left": 204,"fill": "#D8FCFA"},{"opacity": 1,"angle": -20.7828920393,"flipX": false,"flipY": false,"top": 208,"height": 10.615208348100001,"width": 16.7737518162,"asset": "Eye2","selectable": true,"left": 219,"fill": "#D8FCFA"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告