登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
4
複製總數
98
圖層數
32
BF
作者:
mol4yner
代碼 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": -24.7226620779,"flipX": false,"flipY": false,"top": 180,"height": 157,"width": 46,"asset": "Wreath","selectable": true,"left": 310,"fill": "#ABA000"},{"opacity": 1,"angle": 180,"flipX": false,"flipY": false,"top": 140,"height": 144.7547342537,"width": 304.7542798477,"asset": "Dogtag","selectable": true,"left": 159,"fill": "#555555"},{"opacity": 1,"angle": 153.4617745019,"flipX": false,"flipY": false,"top": 194,"height": 156.9875937485,"width": 305.077617642,"asset": "Dogtag","selectable": true,"left": 173,"fill": "#ACACAC"},{"opacity": 1,"angle": -29.2415624543,"flipX": false,"flipY": false,"top": 294,"height": 22.6890756303,"width": 4.5378151261,"asset": "Stroke","selectable": true,"left": 109,"fill": "#000000"},{"opacity": 1,"angle": -28.591704614,"flipX": false,"flipY": false,"top": 292,"height": 24.278525277999996,"width": 12.00359375,"asset": "Number8","selectable": true,"left": 113,"fill": "#000000"},{"opacity": 1,"angle": -5.8142532755,"flipX": false,"flipY": false,"top": 284,"height": 24.3697478992,"width": 4.8739495798,"asset": "Stroke","selectable": true,"left": 126,"fill": "#000000"},{"opacity": 1,"angle": -45.4182082717,"flipX": false,"flipY": false,"top": 281,"height": 24.3697478992,"width": 4.8739495798,"asset": "Stroke","selectable": true,"left": 133,"fill": "#000000"},{"opacity": 1,"angle": 61.1134182331,"flipX": false,"flipY": false,"top": 284,"height": 10.9243697479,"width": 2.1848739496,"asset": "Stroke","selectable": true,"left": 130,"fill": "#000000"},{"opacity": 1,"angle": -27.5889620822,"flipX": false,"flipY": false,"top": 274,"height": 23.5294117647,"width": 4.7058823529,"asset": "Stroke","selectable": true,"left": 149,"fill": "#000000"},{"opacity": 1,"angle": 61.3929794177,"flipX": false,"flipY": false,"top": 264,"height": 18.2991165304,"width": 3.6598233061,"asset": "Stroke","selectable": true,"left": 144,"fill": "#000000"},{"opacity": 1,"angle": -26.4414803129,"flipX": false,"flipY": false,"top": 263,"height": 23.5294117647,"width": 4.7058823529,"asset": "Stroke","selectable": true,"left": 168,"fill": "#000000"},{"opacity": 1,"angle": 59.5857570631,"flipX": false,"flipY": false,"top": 254,"height": 19.3277310924,"width": 3.8655462185,"asset": "Stroke","selectable": true,"left": 162,"fill": "#000000"},{"opacity": 1,"angle": -26.3898352722,"flipX": true,"flipY": false,"top": 254.8934083226,"height": 25.9032649621,"width": 4.1810924644,"asset": "Stroke","selectable": true,"left": 184.5751988053,"fill": "#000000"},{"opacity": 1,"angle": 63.4349488229,"flipX": false,"flipY": false,"top": 261,"height": 14.7536403901,"width": 2.950728078,"asset": "Stroke","selectable": true,"left": 197.2030229331,"fill": "#000000"},{"opacity": 1,"angle": -27.0978615091,"flipX": false,"flipY": false,"top": 244,"height": 23.607903497,"width": 4.7215806994,"asset": "Stroke","selectable": true,"left": 204,"fill": "#000000"},{"opacity": 1,"angle": 62.6395321045,"flipX": false,"flipY": false,"top": 231,"height": 15.126050420200002,"width": 3.025210084,"asset": "Stroke","selectable": true,"left": 204,"fill": "#000000"},{"opacity": 1,"angle": 62.6875715975,"flipX": false,"flipY": false,"top": 239.363423048,"height": 16.4832379375,"width": 3.2966475875,"asset": "Stroke","selectable": true,"left": 209,"fill": "#000000"},{"opacity": 1,"angle": 61.2751225314,"flipX": false,"flipY": false,"top": 250,"height": 16.8067226891,"width": 3.3613445378,"asset": "Stroke","selectable": true,"left": 215,"fill": "#000000"},{"opacity": 1,"angle": -26.0098866386,"flipX": false,"flipY": false,"top": 233.3940332483,"height": 25.8091358566,"width": 5.1618271713,"asset": "Stroke","selectable": true,"left": 222.7757030509,"fill": "#000000"},{"opacity": 1,"angle": 62.8011252009,"flipX": false,"flipY": false,"top": 220,"height": 16.8067226891,"width": 3.3613445378,"asset": "Stroke","selectable": true,"left": 225,"fill": "#000000"},{"opacity": 1,"angle": 63.298347691,"flipX": false,"flipY": false,"top": 228,"height": 13.4453781513,"width": 2.6890756303,"asset": "Stroke","selectable": true,"left": 230,"fill": "#000000"},{"opacity": 1,"angle": -24.5346835422,"flipX": false,"flipY": false,"top": 225,"height": 24.3697478992,"width": 4.8739495798,"asset": "Stroke","selectable": true,"left": 243,"fill": "#000000"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": false,"top": 85.9532762566,"height": 134.0934474869,"width": 47.9726105248,"asset": "Wreath","selectable": true,"left": 287.9863052624,"fill": "#ABA000"},{"opacity": 1,"angle": -24.9408255441,"flipX": false,"flipY": false,"top": 218.8528920725,"height": 27.5134850352,"width": 5.502697007,"asset": "Stroke","selectable": true,"left": 250.8921330123,"fill": "#000000"},{"opacity": 1,"angle": 61.7751019907,"flipX": false,"flipY": false,"top": 204,"height": 15.9663865546,"width": 3.1932773109,"asset": "Stroke","selectable": true,"left": 251,"fill": "#000000"},{"opacity": 1,"angle": 62.181299407,"flipX": false,"flipY": false,"top": 214,"height": 15.126050420200002,"width": 3.025210084,"asset": "Stroke","selectable": true,"left": 255,"fill": "#000000"},{"opacity": 1,"angle": 64.7593740432,"flipX": false,"flipY": false,"top": 226,"height": 17.5726927939,"width": 3.5145385588,"asset": "Stroke","selectable": true,"left": 263,"fill": "#000000"},{"opacity": 1,"angle": -24.4582860891,"flipX": false,"flipY": false,"top": 208,"height": 28.924210713200004,"width": 5.7848421426,"asset": "Stroke","selectable": true,"left": 271,"fill": "#000000"},{"opacity": 1,"angle": 61.6538716924,"flipX": false,"flipY": false,"top": 214.8799585168,"height": 14.9428889147,"width": 2.9885777829,"asset": "Stroke","selectable": true,"left": 284.938429427,"fill": "#000000"},{"opacity": 1,"angle": -26.5917203251,"flipX": false,"flipY": false,"top": 198.9208749635,"height": 29.915761988999996,"width": 5.9831523978,"asset": "Stroke","selectable": true,"left": 290.7169242639,"fill": "#000000"},{"opacity": 1,"angle": -26.5065869539,"flipX": false,"flipY": false,"top": 196,"height": 29.3088423026,"width": 16.9011365915,"asset": "Number0","selectable": true,"left": 295.1149784132,"fill": "#000000"},{"opacity": 1,"angle": -26.2968234382,"flipX": false,"flipY": false,"top": 188.750490172,"height": 63.6087703378,"width": 174.737367867,"asset": "WeaponCarbine","selectable": true,"left": 160,"fill": "#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": -24.7226620779,"flipX": false,"flipY": false,"top": 180,"height": 157,"width": 46,"asset": "Wreath","selectable": true,"left": 310,"fill": "#ABA000"},{"opacity": 1,"angle": 180,"flipX": false,"flipY": false,"top": 140,"height": 144.7547342537,"width": 304.7542798477,"asset": "Dogtag","selectable": true,"left": 159,"fill": "#555555"},{"opacity": 1,"angle": 153.4617745019,"flipX": false,"flipY": false,"top": 194,"height": 156.9875937485,"width": 305.077617642,"asset": "Dogtag","selectable": true,"left": 173,"fill": "#ACACAC"},{"opacity": 1,"angle": -29.2415624543,"flipX": false,"flipY": false,"top": 294,"height": 22.6890756303,"width": 4.5378151261,"asset": "Stroke","selectable": true,"left": 109,"fill": "#000000"},{"opacity": 1,"angle": -28.591704614,"flipX": false,"flipY": false,"top": 292,"height": 24.278525277999996,"width": 12.00359375,"asset": "Number8","selectable": true,"left": 113,"fill": "#000000"},{"opacity": 1,"angle": -5.8142532755,"flipX": false,"flipY": false,"top": 284,"height": 24.3697478992,"width": 4.8739495798,"asset": "Stroke","selectable": true,"left": 126,"fill": "#000000"},{"opacity": 1,"angle": -45.4182082717,"flipX": false,"flipY": false,"top": 281,"height": 24.3697478992,"width": 4.8739495798,"asset": "Stroke","selectable": true,"left": 133,"fill": "#000000"},{"opacity": 1,"angle": 61.1134182331,"flipX": false,"flipY": false,"top": 284,"height": 10.9243697479,"width": 2.1848739496,"asset": "Stroke","selectable": true,"left": 130,"fill": "#000000"},{"opacity": 1,"angle": -27.5889620822,"flipX": false,"flipY": false,"top": 274,"height": 23.5294117647,"width": 4.7058823529,"asset": "Stroke","selectable": true,"left": 149,"fill": "#000000"},{"opacity": 1,"angle": 61.3929794177,"flipX": false,"flipY": false,"top": 264,"height": 18.2991165304,"width": 3.6598233061,"asset": "Stroke","selectable": true,"left": 144,"fill": "#000000"},{"opacity": 1,"angle": -26.4414803129,"flipX": false,"flipY": false,"top": 263,"height": 23.5294117647,"width": 4.7058823529,"asset": "Stroke","selectable": true,"left": 168,"fill": "#000000"},{"opacity": 1,"angle": 59.5857570631,"flipX": false,"flipY": false,"top": 254,"height": 19.3277310924,"width": 3.8655462185,"asset": "Stroke","selectable": true,"left": 162,"fill": "#000000"},{"opacity": 1,"angle": -26.3898352722,"flipX": true,"flipY": false,"top": 254.8934083226,"height": 25.9032649621,"width": 4.1810924644,"asset": "Stroke","selectable": true,"left": 184.5751988053,"fill": "#000000"},{"opacity": 1,"angle": 63.4349488229,"flipX": false,"flipY": false,"top": 261,"height": 14.7536403901,"width": 2.950728078,"asset": "Stroke","selectable": true,"left": 197.2030229331,"fill": "#000000"},{"opacity": 1,"angle": -27.0978615091,"flipX": false,"flipY": false,"top": 244,"height": 23.607903497,"width": 4.7215806994,"asset": "Stroke","selectable": true,"left": 204,"fill": "#000000"},{"opacity": 1,"angle": 62.6395321045,"flipX": false,"flipY": false,"top": 231,"height": 15.126050420200002,"width": 3.025210084,"asset": "Stroke","selectable": true,"left": 204,"fill": "#000000"},{"opacity": 1,"angle": 62.6875715975,"flipX": false,"flipY": false,"top": 239.363423048,"height": 16.4832379375,"width": 3.2966475875,"asset": "Stroke","selectable": true,"left": 209,"fill": "#000000"},{"opacity": 1,"angle": 61.2751225314,"flipX": false,"flipY": false,"top": 250,"height": 16.8067226891,"width": 3.3613445378,"asset": "Stroke","selectable": true,"left": 215,"fill": "#000000"},{"opacity": 1,"angle": -26.0098866386,"flipX": false,"flipY": false,"top": 233.3940332483,"height": 25.8091358566,"width": 5.1618271713,"asset": "Stroke","selectable": true,"left": 222.7757030509,"fill": "#000000"},{"opacity": 1,"angle": 62.8011252009,"flipX": false,"flipY": false,"top": 220,"height": 16.8067226891,"width": 3.3613445378,"asset": "Stroke","selectable": true,"left": 225,"fill": "#000000"},{"opacity": 1,"angle": 63.298347691,"flipX": false,"flipY": false,"top": 228,"height": 13.4453781513,"width": 2.6890756303,"asset": "Stroke","selectable": true,"left": 230,"fill": "#000000"},{"opacity": 1,"angle": -24.5346835422,"flipX": false,"flipY": false,"top": 225,"height": 24.3697478992,"width": 4.8739495798,"asset": "Stroke","selectable": true,"left": 243,"fill": "#000000"},{"opacity": 1,"angle": 180,"flipX": true,"flipY": false,"top": 85.9532762566,"height": 134.0934474869,"width": 47.9726105248,"asset": "Wreath","selectable": true,"left": 287.9863052624,"fill": "#ABA000"},{"opacity": 1,"angle": -24.9408255441,"flipX": false,"flipY": false,"top": 218.8528920725,"height": 27.5134850352,"width": 5.502697007,"asset": "Stroke","selectable": true,"left": 250.8921330123,"fill": "#000000"},{"opacity": 1,"angle": 61.7751019907,"flipX": false,"flipY": false,"top": 204,"height": 15.9663865546,"width": 3.1932773109,"asset": "Stroke","selectable": true,"left": 251,"fill": "#000000"},{"opacity": 1,"angle": 62.181299407,"flipX": false,"flipY": false,"top": 214,"height": 15.126050420200002,"width": 3.025210084,"asset": "Stroke","selectable": true,"left": 255,"fill": "#000000"},{"opacity": 1,"angle": 64.7593740432,"flipX": false,"flipY": false,"top": 226,"height": 17.5726927939,"width": 3.5145385588,"asset": "Stroke","selectable": true,"left": 263,"fill": "#000000"},{"opacity": 1,"angle": -24.4582860891,"flipX": false,"flipY": false,"top": 208,"height": 28.924210713200004,"width": 5.7848421426,"asset": "Stroke","selectable": true,"left": 271,"fill": "#000000"},{"opacity": 1,"angle": 61.6538716924,"flipX": false,"flipY": false,"top": 214.8799585168,"height": 14.9428889147,"width": 2.9885777829,"asset": "Stroke","selectable": true,"left": 284.938429427,"fill": "#000000"},{"opacity": 1,"angle": -26.5917203251,"flipX": false,"flipY": false,"top": 198.9208749635,"height": 29.915761988999996,"width": 5.9831523978,"asset": "Stroke","selectable": true,"left": 290.7169242639,"fill": "#000000"},{"opacity": 1,"angle": -26.5065869539,"flipX": false,"flipY": false,"top": 196,"height": 29.3088423026,"width": 16.9011365915,"asset": "Number0","selectable": true,"left": 295.1149784132,"fill": "#000000"},{"opacity": 1,"angle": -26.2968234382,"flipX": false,"flipY": false,"top": 188.750490172,"height": 63.6087703378,"width": 174.737367867,"asset": "WeaponCarbine","selectable": true,"left": 160,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告