登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
5
圖層數
40
skeenky
作者:
skeenky
代碼 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:'[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":271.946828398,"left":157.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#7D4900"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":225.0665190319,"left":127.0331984272,"height":15.017332879000001,"width":14.5212215098,"fill":"#8DC73F"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":204.342963652,"left":145.799055516,"height":12.898613712,"width":11.598111032,"fill":"#00746B"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":244.7882969023,"left":202.4724929347,"height":11.7892802126,"width":11.3998105248,"fill":"#9E0B0F"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":132.034531624,"left":217.3640000489,"height":11.9309367519,"width":10.7280000979,"fill":"#F06EA9"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":250.8565019338,"left":160.5550413282,"height":8.2869961324,"width":7.4514597779,"fill":"#A0410D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":182.5796376465,"left":155.8487037954,"height":15.371961701100002,"width":14.8641348435,"fill":"#00746B"},{"asset":"Square","opacity":1,"angle":0,"flipX":true,"flipY":false,"top":148.8972325883,"left":208.1103578449,"height":9.660138444,"width":9.3410069079,"fill":"#855FA8"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":115.3979267957,"left":216.8637676407,"height":11.2041464087,"width":10.834007153,"fill":"#F6989D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":162.6033749725,"left":108.1285004834,"height":14.793250055,"width":14.3045414676,"fill":"#00A651"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":198.1334142921,"left":170.1480420822,"height":6.4795149922,"width":6.2654582699,"fill":"#0072BC"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":125.9250433438,"left":102.646852562,"height":12.1499133123,"width":11.7485297793,"fill":"#005826"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":128.1865858941,"left":153.3939503098,"height":11.6268282118,"width":11.242725275000002,"fill":"#00BFF3"},{"asset":"Square","opacity":1,"angle":0,"flipX":true,"flipY":true,"top":112.0104770998,"left":157.9218447613,"height":9.9790458004,"width":9.7201934816,"fill":"#00AEEF"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":182.2278922277,"left":172.6993503206,"height":11.5442155447,"width":11.1628417931,"fill":"#0054A6"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.0766297505,"left":103.5873204207,"height":9.846740499,"width":8.8378766884,"fill":"#00746B"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":160.182123332,"left":196.3652295296,"height":13.635753336,"width":13.1852837146,"fill":"#855FA8"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":248.236686712,"left":144.3455046183,"height":11.5266265759,"width":11.145833892,"fill":"#A0410D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":96.3810252429,"left":157.2059344433,"height":11.2379495143,"width":10.866693542,"fill":"#0072BC"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.7804041684,"left":151.4522033934,"height":14.439191663200003,"width":15.0955932132,"fill":"#1ABBB4"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":163.253040965,"left":152.8215228242,"height":11.4939180699,"width":11.1142059416,"fill":"#00A99D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":180.946828398,"left":191.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#605CA8"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":183.7558411957,"left":134.8765367968,"height":8.4883176087,"width":8.207898249,"fill":"#00A651"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":200.8649175228,"left":187.3814027355,"height":14.2701649545,"width":13.7987369633,"fill":"#662D91"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":183.946828398,"left":116.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#1A7B30"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":205.946828398,"left":121.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#39B54A"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":267.4866761073,"left":133.7322893058,"height":15.1860386226,"width":16.5354213885,"fill":"#A36209"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":225.5552703465,"left":83.2577221123,"height":9.323227101,"width":9.0152257402,"fill":"#FFF467"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":243,"left":182.5266794447,"height":16,"width":17.5081835449,"fill":"#790000"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":224.4114196532,"left":67.307634008,"height":12.2689641342,"width":12.8482243543,"fill":"#FFF79A"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":229.946828398,"left":100.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#ABA000"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":221.094245492,"left":236.4171683271,"height":15.811509016,"width":15.2891613096,"fill":"#F26C4F"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":221.946828398,"left":192.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#7A0026"},{"asset":"Square","opacity":1,"angle":0,"flipX":true,"flipY":false,"top":260.0271621207,"left":177.2603254738,"height":11.3055117167,"width":12.7804717902,"fill":"#7B2E00"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":210.8627687227,"left":254.6740339664,"height":14.274462554500001,"width":13.8028925881,"fill":"#F7977A"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":228.946828398,"left":216.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#ED1C24"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":244.3715607191,"left":125.3076849266,"height":19.2568785617,"width":18.3651103675,"fill":"#FBAF5C"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":246.4565691959,"left":107.5510703331,"height":11.125824799699998,"width":10.897859334,"fill":"#F7941D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":224.7052510251,"left":175.1279032148,"height":8.5894979498,"width":8.3057360047,"fill":"#4B0049"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":197.1656288731,"left":158.9034312326,"height":8.5439441542,"width":8.2616871206,"fill":"#003663"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":271.946828398,"left":157.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#7D4900"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":225.0665190319,"left":127.0331984272,"height":15.017332879000001,"width":14.5212215098,"fill":"#8DC73F"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":204.342963652,"left":145.799055516,"height":12.898613712,"width":11.598111032,"fill":"#00746B"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":244.7882969023,"left":202.4724929347,"height":11.7892802126,"width":11.3998105248,"fill":"#9E0B0F"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":132.034531624,"left":217.3640000489,"height":11.9309367519,"width":10.7280000979,"fill":"#F06EA9"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":250.8565019338,"left":160.5550413282,"height":8.2869961324,"width":7.4514597779,"fill":"#A0410D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":182.5796376465,"left":155.8487037954,"height":15.371961701100002,"width":14.8641348435,"fill":"#00746B"},{"asset":"Square","opacity":1,"angle":0,"flipX":true,"flipY":false,"top":148.8972325883,"left":208.1103578449,"height":9.660138444,"width":9.3410069079,"fill":"#855FA8"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":115.3979267957,"left":216.8637676407,"height":11.2041464087,"width":10.834007153,"fill":"#F6989D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":162.6033749725,"left":108.1285004834,"height":14.793250055,"width":14.3045414676,"fill":"#00A651"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":198.1334142921,"left":170.1480420822,"height":6.4795149922,"width":6.2654582699,"fill":"#0072BC"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":125.9250433438,"left":102.646852562,"height":12.1499133123,"width":11.7485297793,"fill":"#005826"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":128.1865858941,"left":153.3939503098,"height":11.6268282118,"width":11.242725275000002,"fill":"#00BFF3"},{"asset":"Square","opacity":1,"angle":0,"flipX":true,"flipY":true,"top":112.0104770998,"left":157.9218447613,"height":9.9790458004,"width":9.7201934816,"fill":"#00AEEF"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":182.2278922277,"left":172.6993503206,"height":11.5442155447,"width":11.1628417931,"fill":"#0054A6"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.0766297505,"left":103.5873204207,"height":9.846740499,"width":8.8378766884,"fill":"#00746B"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":160.182123332,"left":196.3652295296,"height":13.635753336,"width":13.1852837146,"fill":"#855FA8"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":248.236686712,"left":144.3455046183,"height":11.5266265759,"width":11.145833892,"fill":"#A0410D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":96.3810252429,"left":157.2059344433,"height":11.2379495143,"width":10.866693542,"fill":"#0072BC"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.7804041684,"left":151.4522033934,"height":14.439191663200003,"width":15.0955932132,"fill":"#1ABBB4"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":163.253040965,"left":152.8215228242,"height":11.4939180699,"width":11.1142059416,"fill":"#00A99D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":180.946828398,"left":191.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#605CA8"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":183.7558411957,"left":134.8765367968,"height":8.4883176087,"width":8.207898249,"fill":"#00A651"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":200.8649175228,"left":187.3814027355,"height":14.2701649545,"width":13.7987369633,"fill":"#662D91"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":183.946828398,"left":116.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#1A7B30"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":205.946828398,"left":121.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#39B54A"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":267.4866761073,"left":133.7322893058,"height":15.1860386226,"width":16.5354213885,"fill":"#A36209"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":225.5552703465,"left":83.2577221123,"height":9.323227101,"width":9.0152257402,"fill":"#FFF467"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":243,"left":182.5266794447,"height":16,"width":17.5081835449,"fill":"#790000"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":224.4114196532,"left":67.307634008,"height":12.2689641342,"width":12.8482243543,"fill":"#FFF79A"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":229.946828398,"left":100.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#ABA000"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":221.094245492,"left":236.4171683271,"height":15.811509016,"width":15.2891613096,"fill":"#F26C4F"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":221.946828398,"left":192.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#7A0026"},{"asset":"Square","opacity":1,"angle":0,"flipX":true,"flipY":false,"top":260.0271621207,"left":177.2603254738,"height":11.3055117167,"width":12.7804717902,"fill":"#7B2E00"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":210.8627687227,"left":254.6740339664,"height":14.274462554500001,"width":13.8028925881,"fill":"#F7977A"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":228.946828398,"left":216.5266794447,"height":18.106343204,"width":17.5081835449,"fill":"#ED1C24"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":244.3715607191,"left":125.3076849266,"height":19.2568785617,"width":18.3651103675,"fill":"#FBAF5C"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":246.4565691959,"left":107.5510703331,"height":11.125824799699998,"width":10.897859334,"fill":"#F7941D"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":224.7052510251,"left":175.1279032148,"height":8.5894979498,"width":8.3057360047,"fill":"#4B0049"},{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":true,"top":197.1656288731,"left":158.9034312326,"height":8.5439441542,"width":8.2616871206,"fill":"#003663"}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告