登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
133
圖層數
40
Fumoffu
作者:
Serof_svb
»
代碼 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": 182,"height": 122,"width": 148,"asset": "Shield4","selectable": true,"left": 157,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95.65625,"height": 103.3125,"width": 100,"asset": "Circle","selectable": true,"left": 59.6875,"fill": "#FDC68A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95,"height": 100,"width": 93,"asset": "Circle","selectable": true,"left": 63.5,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.1578310442,"height": 50.5059341341,"width": 50.5059341341,"asset": "Circle","selectable": true,"left": 60.8421689558,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.0402571044,"height": 47.0725673739,"width": 47.0725673739,"asset": "Circle","selectable": true,"left": 60.9597428956,"fill": "#F9AD81"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 99.2882703957,"height": 42.5765407913,"width": 44.576540791300005,"asset": "Circle","selectable": true,"left": 59.7117296043,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 101,"height": 100,"width": 138,"asset": "Shield","selectable": true,"left": 159,"fill": "#A0410D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 106.5,"height": 133,"width": 136,"asset": "Shield","selectable": true,"left": 157,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95.6771484375,"height": 103.3125,"width": 100,"asset": "Circle","selectable": true,"left": 267.6875,"fill": "#FDC68A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.6958984375,"height": 97.3125,"width": 100.209375,"asset": "Circle","selectable": true,"left": 264.1046875,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 93.8421689558,"height": 50.5059341341,"width": 50.5059341341,"asset": "Circle","selectable": true,"left": 267.1578310442,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 93.852898227,"height": 47.0725673739,"width": 47.0725673739,"asset": "Circle","selectable": true,"left": 266.852898227,"fill": "#F9AD81"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.1945909569,"height": 40.3891819139,"width": 42.68338546,"asset": "Circle","selectable": true,"left": 264.65830727,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 47,"height": 82,"width": 100,"asset": "Circle","selectable": true,"left": 159,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 63.5,"height": 55,"width": 156,"asset": "Circle","selectable": true,"left": 159,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 62.5,"height": 51,"width": 148,"asset": "Circle","selectable": true,"left": 159,"fill": "#39B54A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 48,"height": 80,"width": 101,"asset": "Circle","selectable": true,"left": 158.5,"fill": "#39B54A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 56.34375,"height": 67.3125,"width": 70,"asset": "Circle","selectable": true,"left": 159,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 69.5,"height": 41,"width": 110,"asset": "Circle","selectable": true,"left": 158,"fill": "#005826"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 52.316039915,"height": 101.1327728044,"width": 27.2060310094,"asset": "StrokeBent","selectable": true,"left": 159.2833961563,"fill": "#7B2E00"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 53.3125,"height": 100,"width": 22,"asset": "StrokeBent","selectable": true,"left": 159.2291666667,"fill": "#FFF467"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 58.190625,"height": 61,"width": 12.98828125,"asset": "StrokeBent","selectable": true,"left": 159.5,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.4663120386,"height": 58.3642116639,"width": 37.924826518,"asset": "Circle","selectable": true,"left": 124.653211741,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 149,"height": 50,"width": 29,"asset": "Circle","selectable": true,"left": 124.5,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 154.9145081627,"height": 27.3573879445,"width": 21.4185670591,"asset": "Circle","selectable": true,"left": 125.2907164705,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.9171960533,"height": 26.4972629293,"width": 15.368412499,"asset": "Circle","selectable": true,"left": 127.0480262891,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 132.0542728767,"height": 17.3673205503,"width": 17.2509761098,"asset": "Circle","selectable": true,"left": 130.9460906997,"fill": "#FFFFFF"},{"opacity": 1,"angle": -54.5210382852,"flipX": false,"flipY": false,"top": 117.0586869469,"height": 50.1565389273,"width": 1.9161950802,"asset": "Stroke","selectable": true,"left": 125.8978636447,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 207.4376843368,"height": 35.1246313264,"width": 46.078562826600006,"asset": "Circle","selectable": true,"left": 174.8767814133,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 206.7048720645,"height": 34.590255871,"width": 47.4762640203,"asset": "Circle","selectable": true,"left": 141.4181179898,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 206.0845588235,"height": 31.8308823529,"width": 44.2095588235,"asset": "Circle","selectable": true,"left": 143.0514705882,"fill": "#FFF467"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 204.8930230085,"height": 32.2139539831,"width": 43.99218090810001,"asset": "Circle","selectable": true,"left": 172.8335904541,"fill": "#FFF467"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 147.1823881614,"height": 58.3642116639,"width": 37.924826518,"asset": "Circle","selectable": true,"left": 189.1185150829,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.15625,"height": 50,"width": 29,"asset": "Circle","selectable": true,"left": 188.090625,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152.84195834,"height": 30.316083320000004,"width": 24,"asset": "Circle","selectable": true,"left": 189,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.9171960533,"height": 26.4972629293,"width": 15.368412499,"asset": "Circle","selectable": true,"left": 190.0480262891,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 130.9457271233,"height": 17.3673205503,"width": 17.2509761098,"asset": "Circle","selectable": true,"left": 194.0539093003,"fill": "#FFFFFF"},{"opacity": 1,"angle": 57.9574459257,"flipX": true,"flipY": true,"top": 117.9903678751,"height": 50.1565389273,"width": 4.451715088,"asset": "Stroke","selectable": true,"left": 189.6130820072,"fill": "#111111"},{"opacity": 1,"angle": 131.764708823,"flipX": false,"flipY": true,"top": 126.6270160401,"height": 6.4,"width": 1.28,"asset": "Stroke","selectable": true,"left": 164.98,"fill": "#111111"},{"opacity": 1,"angle": 47.7035986257,"flipX": false,"flipY": false,"top": 203.064824545,"height": 20.7438544146,"width": 20.7438544146,"asset": "KitAssault","selectable": true,"left": 213.064824545,"fill": "#111111"}]'},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": 182,"height": 122,"width": 148,"asset": "Shield4","selectable": true,"left": 157,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95.65625,"height": 103.3125,"width": 100,"asset": "Circle","selectable": true,"left": 59.6875,"fill": "#FDC68A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95,"height": 100,"width": 93,"asset": "Circle","selectable": true,"left": 63.5,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.1578310442,"height": 50.5059341341,"width": 50.5059341341,"asset": "Circle","selectable": true,"left": 60.8421689558,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.0402571044,"height": 47.0725673739,"width": 47.0725673739,"asset": "Circle","selectable": true,"left": 60.9597428956,"fill": "#F9AD81"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 99.2882703957,"height": 42.5765407913,"width": 44.576540791300005,"asset": "Circle","selectable": true,"left": 59.7117296043,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 101,"height": 100,"width": 138,"asset": "Shield","selectable": true,"left": 159,"fill": "#A0410D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": true,"top": 106.5,"height": 133,"width": 136,"asset": "Shield","selectable": true,"left": 157,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 95.6771484375,"height": 103.3125,"width": 100,"asset": "Circle","selectable": true,"left": 267.6875,"fill": "#FDC68A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.6958984375,"height": 97.3125,"width": 100.209375,"asset": "Circle","selectable": true,"left": 264.1046875,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 93.8421689558,"height": 50.5059341341,"width": 50.5059341341,"asset": "Circle","selectable": true,"left": 267.1578310442,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 93.852898227,"height": 47.0725673739,"width": 47.0725673739,"asset": "Circle","selectable": true,"left": 266.852898227,"fill": "#F9AD81"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.1945909569,"height": 40.3891819139,"width": 42.68338546,"asset": "Circle","selectable": true,"left": 264.65830727,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 47,"height": 82,"width": 100,"asset": "Circle","selectable": true,"left": 159,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 63.5,"height": 55,"width": 156,"asset": "Circle","selectable": true,"left": 159,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 62.5,"height": 51,"width": 148,"asset": "Circle","selectable": true,"left": 159,"fill": "#39B54A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 48,"height": 80,"width": 101,"asset": "Circle","selectable": true,"left": 158.5,"fill": "#39B54A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 56.34375,"height": 67.3125,"width": 70,"asset": "Circle","selectable": true,"left": 159,"fill": "#005826"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 69.5,"height": 41,"width": 110,"asset": "Circle","selectable": true,"left": 158,"fill": "#005826"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 52.316039915,"height": 101.1327728044,"width": 27.2060310094,"asset": "StrokeBent","selectable": true,"left": 159.2833961563,"fill": "#7B2E00"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 53.3125,"height": 100,"width": 22,"asset": "StrokeBent","selectable": true,"left": 159.2291666667,"fill": "#FFF467"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 58.190625,"height": 61,"width": 12.98828125,"asset": "StrokeBent","selectable": true,"left": 159.5,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.4663120386,"height": 58.3642116639,"width": 37.924826518,"asset": "Circle","selectable": true,"left": 124.653211741,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 149,"height": 50,"width": 29,"asset": "Circle","selectable": true,"left": 124.5,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 154.9145081627,"height": 27.3573879445,"width": 21.4185670591,"asset": "Circle","selectable": true,"left": 125.2907164705,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.9171960533,"height": 26.4972629293,"width": 15.368412499,"asset": "Circle","selectable": true,"left": 127.0480262891,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 132.0542728767,"height": 17.3673205503,"width": 17.2509761098,"asset": "Circle","selectable": true,"left": 130.9460906997,"fill": "#FFFFFF"},{"opacity": 1,"angle": -54.5210382852,"flipX": false,"flipY": false,"top": 117.0586869469,"height": 50.1565389273,"width": 1.9161950802,"asset": "Stroke","selectable": true,"left": 125.8978636447,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 207.4376843368,"height": 35.1246313264,"width": 46.078562826600006,"asset": "Circle","selectable": true,"left": 174.8767814133,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 206.7048720645,"height": 34.590255871,"width": 47.4762640203,"asset": "Circle","selectable": true,"left": 141.4181179898,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 206.0845588235,"height": 31.8308823529,"width": 44.2095588235,"asset": "Circle","selectable": true,"left": 143.0514705882,"fill": "#FFF467"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 204.8930230085,"height": 32.2139539831,"width": 43.99218090810001,"asset": "Circle","selectable": true,"left": 172.8335904541,"fill": "#FFF467"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 147.1823881614,"height": 58.3642116639,"width": 37.924826518,"asset": "Circle","selectable": true,"left": 189.1185150829,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.15625,"height": 50,"width": 29,"asset": "Circle","selectable": true,"left": 188.090625,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152.84195834,"height": 30.316083320000004,"width": 24,"asset": "Circle","selectable": true,"left": 189,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.9171960533,"height": 26.4972629293,"width": 15.368412499,"asset": "Circle","selectable": true,"left": 190.0480262891,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 130.9457271233,"height": 17.3673205503,"width": 17.2509761098,"asset": "Circle","selectable": true,"left": 194.0539093003,"fill": "#FFFFFF"},{"opacity": 1,"angle": 57.9574459257,"flipX": true,"flipY": true,"top": 117.9903678751,"height": 50.1565389273,"width": 4.451715088,"asset": "Stroke","selectable": true,"left": 189.6130820072,"fill": "#111111"},{"opacity": 1,"angle": 131.764708823,"flipX": false,"flipY": true,"top": 126.6270160401,"height": 6.4,"width": 1.28,"asset": "Stroke","selectable": true,"left": 164.98,"fill": "#111111"},{"opacity": 1,"angle": 47.7035986257,"flipX": false,"flipY": false,"top": 203.064824545,"height": 20.7438544146,"width": 20.7438544146,"asset": "KitAssault","selectable": true,"left": 213.064824545,"fill": "#111111"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告