登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
10
圖層數
25
k
作者:
metamaxl99
»
代碼 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":180,"flipX":false,"flipY":false,"top":215.4259553173,"height":14.509855413099999,"width":48.3259927669,"asset":"Wingpart","selectable":true,"left":124.1859848892,"fill":"#00A651"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":213.8005795506,"height":11.8074205182,"width":39.3253621286,"asset":"Wingpart","selectable":true,"left":121.2722352907,"fill":"#82CA9D"},{"opacity":1,"angle":338.4965330762,"flipX":true,"flipY":false,"top":208.2342598457,"height":13.189855355199999,"width":43.92964894149999,"asset":"Wingpart","selectable":true,"left":193.4730818793,"fill":"#00746B"},{"opacity":1,"angle":338.4965330762,"flipX":true,"flipY":false,"top":208.0981192448,"height":9.7981863223,"width":32.6334803384,"asset":"Wingpart","selectable":true,"left":195.0973599915,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":221.6452229413,"height":94.1480013112,"width":83.0968282201,"asset":"Emblem120","selectable":true,"left":155.0773436666,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":222.0621418158,"height":88.6292503787,"width":78.2258730024,"asset":"Emblem120","selectable":true,"left":155.4453242462,"fill":"#82CA9D"},{"opacity":0.86,"angle":0,"flipX":false,"flipY":false,"top":139.2313207886,"height":110.88825706350002,"width":142.8946358917,"asset":"Emblem120","selectable":false,"left":155.9944998827,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":106.9261646435,"height":40.101693701399995,"width":40.101693701399995,"asset":"Circle","selectable":false,"left":196.9261646435,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":104.6738281949,"height":38.6063665986,"width":38.6063665986,"asset":"Circle","selectable":false,"left":116.6738281949,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":105.4499064642,"height":33.277979303,"width":33.277979303,"asset":"Circle","selectable":false,"left":117.4358731378,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":106.4499064642,"height":33.277979303,"width":33.277979303,"asset":"Circle","selectable":false,"left":197.4358731378,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":139.572983652,"height":106.3043469984,"width":136.9876428785,"asset":"Emblem120","selectable":false,"left":156.4347790589,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":104.1229276328,"height":9.708167723,"width":9.708167723,"asset":"Circle","selectable":false,"left":116.1229276328,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":104.1229276328,"height":9.708167723,"width":9.708167723,"asset":"Circle","selectable":false,"left":198.1229276328,"fill":"#00A651"},{"opacity":1,"angle":271.406753562,"flipX":false,"flipY":false,"top":120.7609305395,"height":34.4321619095,"width":10.3296485728,"asset":"StrokeBent","selectable":false,"left":156.6282791619,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.3656318453,"height":64.6002210747,"width":105.3432939604,"asset":"Circle","selectable":false,"left":156.6315371527,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.5866007806,"height":62.7808214273,"width":102.3764070256,"asset":"Circle","selectable":false,"left":156.9918702153,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.2475382247,"height":9.4589465392,"width":9.4589465392,"asset":"Circle","selectable":false,"left":130.2475382247,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.2475382247,"height":9.4589465392,"width":9.4589465392,"asset":"Circle","selectable":false,"left":185.2475382247,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":177.3029955917,"height":19.5708808893,"width":30.1216036317,"asset":"Circle","selectable":false,"left":157.1985356829,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":177.299340524,"height":18.0101737174,"width":27.7195143705,"asset":"Circle","selectable":false,"left":157.1929101568,"fill":"#FFFFFF"},{"opacity":1,"angle":90.3703571151,"flipX":false,"flipY":false,"top":177.2664819995,"height":19.5808929722,"width":16.2617372505,"asset":"Emblem120","selectable":false,"left":163.6435588274,"fill":"#000000"},{"opacity":1,"angle":90.3703571151,"flipX":false,"flipY":false,"top":177.4070940775,"height":16.5782563943,"width":13.3472446973,"asset":"Emblem120","selectable":false,"left":163.8315458706,"fill":"#FFFFFF"},{"opacity":1,"angle":352.8082781146,"flipX":true,"flipY":false,"top":208.2568582731,"height":31.2311582642,"width":112.4231659795,"asset":"WeaponLMG","selectable":true,"left":161.5456144953,"fill":"#111111"},{"opacity":1,"angle":352.8082781146,"flipX":true,"flipY":false,"top":208.0356844292,"height":30.3550411551,"width":109.2693969664,"asset":"WeaponLMG","selectable":true,"left":160.0357170637,"fill":"#959595"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":215.4259553173,"height":14.509855413099999,"width":48.3259927669,"asset":"Wingpart","selectable":true,"left":124.1859848892,"fill":"#00A651"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":213.8005795506,"height":11.8074205182,"width":39.3253621286,"asset":"Wingpart","selectable":true,"left":121.2722352907,"fill":"#82CA9D"},{"opacity":1,"angle":338.4965330762,"flipX":true,"flipY":false,"top":208.2342598457,"height":13.189855355199999,"width":43.92964894149999,"asset":"Wingpart","selectable":true,"left":193.4730818793,"fill":"#00746B"},{"opacity":1,"angle":338.4965330762,"flipX":true,"flipY":false,"top":208.0981192448,"height":9.7981863223,"width":32.6334803384,"asset":"Wingpart","selectable":true,"left":195.0973599915,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":221.6452229413,"height":94.1480013112,"width":83.0968282201,"asset":"Emblem120","selectable":true,"left":155.0773436666,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":222.0621418158,"height":88.6292503787,"width":78.2258730024,"asset":"Emblem120","selectable":true,"left":155.4453242462,"fill":"#82CA9D"},{"opacity":0.86,"angle":0,"flipX":false,"flipY":false,"top":139.2313207886,"height":110.88825706350002,"width":142.8946358917,"asset":"Emblem120","selectable":false,"left":155.9944998827,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":106.9261646435,"height":40.101693701399995,"width":40.101693701399995,"asset":"Circle","selectable":false,"left":196.9261646435,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":104.6738281949,"height":38.6063665986,"width":38.6063665986,"asset":"Circle","selectable":false,"left":116.6738281949,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":105.4499064642,"height":33.277979303,"width":33.277979303,"asset":"Circle","selectable":false,"left":117.4358731378,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":106.4499064642,"height":33.277979303,"width":33.277979303,"asset":"Circle","selectable":false,"left":197.4358731378,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":139.572983652,"height":106.3043469984,"width":136.9876428785,"asset":"Emblem120","selectable":false,"left":156.4347790589,"fill":"#82CA9D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":104.1229276328,"height":9.708167723,"width":9.708167723,"asset":"Circle","selectable":false,"left":116.1229276328,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":104.1229276328,"height":9.708167723,"width":9.708167723,"asset":"Circle","selectable":false,"left":198.1229276328,"fill":"#00A651"},{"opacity":1,"angle":271.406753562,"flipX":false,"flipY":false,"top":120.7609305395,"height":34.4321619095,"width":10.3296485728,"asset":"StrokeBent","selectable":false,"left":156.6282791619,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.3656318453,"height":64.6002210747,"width":105.3432939604,"asset":"Circle","selectable":false,"left":156.6315371527,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.5866007806,"height":62.7808214273,"width":102.3764070256,"asset":"Circle","selectable":false,"left":156.9918702153,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.2475382247,"height":9.4589465392,"width":9.4589465392,"asset":"Circle","selectable":false,"left":130.2475382247,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.2475382247,"height":9.4589465392,"width":9.4589465392,"asset":"Circle","selectable":false,"left":185.2475382247,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":177.3029955917,"height":19.5708808893,"width":30.1216036317,"asset":"Circle","selectable":false,"left":157.1985356829,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":177.299340524,"height":18.0101737174,"width":27.7195143705,"asset":"Circle","selectable":false,"left":157.1929101568,"fill":"#FFFFFF"},{"opacity":1,"angle":90.3703571151,"flipX":false,"flipY":false,"top":177.2664819995,"height":19.5808929722,"width":16.2617372505,"asset":"Emblem120","selectable":false,"left":163.6435588274,"fill":"#000000"},{"opacity":1,"angle":90.3703571151,"flipX":false,"flipY":false,"top":177.4070940775,"height":16.5782563943,"width":13.3472446973,"asset":"Emblem120","selectable":false,"left":163.8315458706,"fill":"#FFFFFF"},{"opacity":1,"angle":352.8082781146,"flipX":true,"flipY":false,"top":208.2568582731,"height":31.2311582642,"width":112.4231659795,"asset":"WeaponLMG","selectable":true,"left":161.5456144953,"fill":"#111111"},{"opacity":1,"angle":352.8082781146,"flipX":true,"flipY":false,"top":208.0356844292,"height":30.3550411551,"width":109.2693969664,"asset":"WeaponLMG","selectable":true,"left":160.0357170637,"fill":"#959595"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告