登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
44
複製總數
3804
圖層數
19
rainbow dash
作者:
starsss85
»
代碼 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": 102.5007838225,"height": 223.689067645,"width": 223.689067645,"asset": "Circle","selectable": false,"left": 33.8445338225,"fill": "#6ECFF6"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 298.6387748608,"height": 207.8126862438,"width": 172.6325961213,"asset": "Shield4","selectable": false,"left": -26.2193269393,"fill": "#6ECFF6"},{"opacity": 1,"angle": 2.5138933581,"flipX": false,"flipY": false,"top": 130.5406817665,"height": 19.4564266712,"width": 95.0063415509,"asset": "Wingpart","selectable": false,"left": 113.5151386055,"fill": "#6ECFF6"},{"opacity": 1,"angle": 182.1898585965,"flipX": false,"flipY": true,"top": 174.8905113013,"height": 75.0768772399,"width": 154.0480494225,"asset": "Wingpart","selectable": false,"left": 82.0385864971,"fill": "#6ECFF6"},{"opacity": 1,"angle": -51.0034902068,"flipX": false,"flipY": false,"top": 168.4869321325,"height": 45.475965750200004,"width": 16.7510896992,"asset": "StrokeBent","selectable": false,"left": 121.3037962476,"fill": "#00AEEF"},{"opacity": 1,"angle": -17.7746262842,"flipX": false,"flipY": false,"top": 82.9616056358,"height": 129.5460506932,"width": 95.1779013823,"asset": "Circle","selectable": false,"left": 66.8983801102,"fill": "#000000"},{"opacity": 1,"angle": -18.8313988563,"flipX": false,"flipY": false,"top": 88.139910621,"height": 129.4785542666,"width": 95.2048193137,"asset": "Circle","selectable": false,"left": 67.2167428048,"fill": "#FFFFFF"},{"opacity": 1,"angle": -20.6315721572,"flipX": false,"flipY": false,"top": 102.007665905,"height": 96.3726850183,"width": 75.3768844221,"asset": "Circle","selectable": false,"left": 73.5072094243,"fill": "#EC008C"},{"opacity": 1,"angle": -23.5400392695,"flipX": false,"flipY": false,"top": 106.9808005405,"height": 82.3233450045,"width": 69.34317557,"asset": "Circle","selectable": false,"left": 76.5827382171,"fill": "#000000"},{"opacity": 1,"angle": -60.1297601314,"flipX": false,"flipY": false,"top": 94.0289829653,"height": 28.7558919167,"width": 52.2764940056,"asset": "Circle","selectable": false,"left": 61.2947841541,"fill": "#FFFFFF"},{"opacity": 1,"angle": -42.8654024947,"flipX": false,"flipY": false,"top": 34.3795547508,"height": 27.0532779412,"width": 3.5770445278,"asset": "Stroke","selectable": false,"left": 15.056085034,"fill": "#000000"},{"opacity": 1,"angle": -32.4121127225,"flipX": false,"flipY": false,"top": 15.3795547508,"height": 27.0532779412,"width": 3.5770445278,"asset": "Stroke","selectable": false,"left": 30.056085034,"fill": "#000000"},{"opacity": 1,"angle": -13.9087793481,"flipX": false,"flipY": false,"top": 10.3795547508,"height": 27.0532779412,"width": 3.5770445278,"asset": "Stroke","selectable": false,"left": 46.056085034,"fill": "#000000"},{"opacity": 1,"angle": 53.1116187968,"flipX": false,"flipY": false,"top": -210.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -63.6862795566,"fill": "#FF0000"},{"opacity": 1,"angle": 26.9998331418,"flipX": false,"flipY": false,"top": -9.5607534014,"height": 32.324375,"width": 313.3944366048,"asset": "Wingpart","selectable": false,"left": 41.0680586866,"fill": "#F26522"},{"opacity": 1,"angle": 23.0393369455,"flipX": false,"flipY": false,"top": -84.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -295.6862795566,"fill": "#FFF200"},{"opacity": 1,"angle": 62.7671052712,"flipX": false,"flipY": false,"top": -62.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -141.6862795566,"fill": "#39B54A"},{"opacity": 1,"angle": 62.7671052712,"flipX": false,"flipY": false,"top": -42.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -179.6862795566,"fill": "#0054A6"},{"opacity": 1,"angle": 58.6261888397,"flipX": false,"flipY": false,"top": 10.2166101067,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -191.6862795566,"fill": "#440E62"}]'},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": 102.5007838225,"height": 223.689067645,"width": 223.689067645,"asset": "Circle","selectable": false,"left": 33.8445338225,"fill": "#6ECFF6"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 298.6387748608,"height": 207.8126862438,"width": 172.6325961213,"asset": "Shield4","selectable": false,"left": -26.2193269393,"fill": "#6ECFF6"},{"opacity": 1,"angle": 2.5138933581,"flipX": false,"flipY": false,"top": 130.5406817665,"height": 19.4564266712,"width": 95.0063415509,"asset": "Wingpart","selectable": false,"left": 113.5151386055,"fill": "#6ECFF6"},{"opacity": 1,"angle": 182.1898585965,"flipX": false,"flipY": true,"top": 174.8905113013,"height": 75.0768772399,"width": 154.0480494225,"asset": "Wingpart","selectable": false,"left": 82.0385864971,"fill": "#6ECFF6"},{"opacity": 1,"angle": -51.0034902068,"flipX": false,"flipY": false,"top": 168.4869321325,"height": 45.475965750200004,"width": 16.7510896992,"asset": "StrokeBent","selectable": false,"left": 121.3037962476,"fill": "#00AEEF"},{"opacity": 1,"angle": -17.7746262842,"flipX": false,"flipY": false,"top": 82.9616056358,"height": 129.5460506932,"width": 95.1779013823,"asset": "Circle","selectable": false,"left": 66.8983801102,"fill": "#000000"},{"opacity": 1,"angle": -18.8313988563,"flipX": false,"flipY": false,"top": 88.139910621,"height": 129.4785542666,"width": 95.2048193137,"asset": "Circle","selectable": false,"left": 67.2167428048,"fill": "#FFFFFF"},{"opacity": 1,"angle": -20.6315721572,"flipX": false,"flipY": false,"top": 102.007665905,"height": 96.3726850183,"width": 75.3768844221,"asset": "Circle","selectable": false,"left": 73.5072094243,"fill": "#EC008C"},{"opacity": 1,"angle": -23.5400392695,"flipX": false,"flipY": false,"top": 106.9808005405,"height": 82.3233450045,"width": 69.34317557,"asset": "Circle","selectable": false,"left": 76.5827382171,"fill": "#000000"},{"opacity": 1,"angle": -60.1297601314,"flipX": false,"flipY": false,"top": 94.0289829653,"height": 28.7558919167,"width": 52.2764940056,"asset": "Circle","selectable": false,"left": 61.2947841541,"fill": "#FFFFFF"},{"opacity": 1,"angle": -42.8654024947,"flipX": false,"flipY": false,"top": 34.3795547508,"height": 27.0532779412,"width": 3.5770445278,"asset": "Stroke","selectable": false,"left": 15.056085034,"fill": "#000000"},{"opacity": 1,"angle": -32.4121127225,"flipX": false,"flipY": false,"top": 15.3795547508,"height": 27.0532779412,"width": 3.5770445278,"asset": "Stroke","selectable": false,"left": 30.056085034,"fill": "#000000"},{"opacity": 1,"angle": -13.9087793481,"flipX": false,"flipY": false,"top": 10.3795547508,"height": 27.0532779412,"width": 3.5770445278,"asset": "Stroke","selectable": false,"left": 46.056085034,"fill": "#000000"},{"opacity": 1,"angle": 53.1116187968,"flipX": false,"flipY": false,"top": -210.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -63.6862795566,"fill": "#FF0000"},{"opacity": 1,"angle": 26.9998331418,"flipX": false,"flipY": false,"top": -9.5607534014,"height": 32.324375,"width": 313.3944366048,"asset": "Wingpart","selectable": false,"left": 41.0680586866,"fill": "#F26522"},{"opacity": 1,"angle": 23.0393369455,"flipX": false,"flipY": false,"top": -84.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -295.6862795566,"fill": "#FFF200"},{"opacity": 1,"angle": 62.7671052712,"flipX": false,"flipY": false,"top": -62.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -141.6862795566,"fill": "#39B54A"},{"opacity": 1,"angle": 62.7671052712,"flipX": false,"flipY": false,"top": -42.7833898933,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -179.6862795566,"fill": "#0054A6"},{"opacity": 1,"angle": 58.6261888397,"flipX": false,"flipY": false,"top": 10.2166101067,"height": 134.9897359581,"width": 886.9564524881,"asset": "Banner","selectable": false,"left": -191.6862795566,"fill": "#440E62"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告