登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
15
圖層數
40
???
作者:
red herb
»
代碼 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:'[{"angle":0,"left":160,"height":321.47174770039425,"flipX":false,"fill":"#f47e40","opacity":1,"asset":"Square","width":321.47174770039425,"top":160,"flipY":false},{"angle":12.891931316641903,"left":79.26412614980289,"height":70.85413929040736,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":45.839638229031436,"top":41.419185282522996,"flipY":false},{"angle":10.502896453108267,"left":112.06307490144548,"height":70.85413929040735,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":34.369345787627424,"top":43.94218134034166,"flipY":false},{"angle":10.502896453108267,"left":137.71353482260184,"height":70.85413929040735,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":32.13482392227339,"top":58.239159001314064,"flipY":false},{"angle":18.157101526703382,"left":152.01051248357425,"height":70.85413929040735,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":61.0242912380276,"top":75.90013140604468,"flipY":false},{"angle":10.502896453108267,"left":43.10118265440211,"height":82.99775794711363,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":43.23651889503212,"top":62.02365308804205,"flipY":false},{"angle":24.25798660043134,"left":26.701708278580824,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":35.38417392953408,"top":118.7910643889619,"flipY":false},{"angle":51.953152954409816,"left":33.429697766097256,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":27.71451695339403,"top":149.90801576872536,"flipY":false},{"angle":51.953152954409816,"left":44.36268068331144,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":33.96310943017671,"top":175.13797634691198,"flipY":false},{"angle":51.953152954409816,"left":60.76215505913272,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":33.96310943017671,"top":195.74244415243103,"flipY":false},{"angle":340.12477674616855,"left":167.98948751642575,"height":233.69615735129196,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Emblem107","width":163.632263728653,"top":292.45729303547967,"flipY":false},{"angle":80.83018883817276,"left":266.3863337713535,"height":77.57645341553163,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":285.4385332652481,"top":261.3403416557162,"flipY":false},{"angle":276.14724717655804,"left":19.553219448094612,"height":19.296862519165824,"flipX":false,"fill":"#000000","opacity":1,"asset":"holiday_Tophat_detail","width":24.08396098745443,"top":83.67936925098554,"flipY":false},{"angle":17.523852957350897,"left":191.1169513797635,"height":14.551015282232942,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":73.89135767686732,"top":65.38764783180027,"flipY":false},{"angle":77.54820270080847,"left":211.30091984231277,"height":59.79971892271626,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Romb","width":15.17905099488192,"top":107.01708278580816,"flipY":false},{"angle":165.74932698285542,"left":234.42838370565048,"height":89.43702985695187,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Shield4","width":44.26370784004887,"top":113.74507227332458,"flipY":false},{"angle":22.186671807334914,"left":214.87516425755587,"height":40.57818659658344,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Square","width":30.39296651190684,"top":88.3048620236531,"flipY":false},{"angle":343.42847890719077,"left":117.31931668856768,"height":238.42312746386335,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Circle","width":151.78131919528747,"top":169.04073587385022,"flipY":false},{"angle":338.6837709593082,"left":90.40735873850198,"height":49.4386674824145,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield2","width":49.4386674824145,"top":166.51773981603154,"flipY":false},{"angle":336.9910409186778,"left":89.56636005256243,"height":51.70699512148791,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Shield2","width":49.50960694329778,"top":163.99474375821288,"flipY":false},{"angle":0,"left":195.32194480946126,"height":60.34165571616295,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Circle","width":45.41392904073588,"top":146.12352168199737,"flipY":false},{"angle":175.24156508805137,"left":102.81208935611039,"height":159.5330743841689,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Emblem120","width":119.53295765276495,"top":334.08672798948754,"flipY":false},{"angle":335.7907252744147,"left":100.49934296977662,"height":9.212190619330324,"flipX":false,"fill":"#000000","opacity":1,"asset":"holiday_Tophat_rim","width":63.34174301920937,"top":190.9067017082786,"flipY":false},{"angle":10.82273244834875,"left":237.7923784494087,"height":24.227421088936076,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Circle","width":50.200962616714385,"top":144.86202365308804,"flipY":false},{"angle":241.6746878695359,"left":100.49934296977662,"height":47.516425755584756,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":5.6762422067375295,"top":194.6911957950066,"flipY":false},{"angle":1.046474978942531,"left":186.07095926412617,"height":11.366246770831893,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":84.12353899129205,"top":81.57687253613666,"flipY":false},{"angle":357.27445295888975,"left":186.07095926412617,"height":12.69604850437694,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":68.09906302250839,"top":96.08409986859395,"flipY":false},{"angle":268.2787840616554,"left":88.72536136662288,"height":27.37878245700145,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":6.021370362961604,"top":204.78318002628123,"flipY":false},{"angle":8.866808538341404,"left":67.27989487516426,"height":23.227942675393276,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":6.021370362961604,"top":192.16819973718793,"flipY":false},{"angle":219.94686573768678,"left":113.53482260183969,"height":33.97633600189354,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":190.9067017082786,"flipY":false},{"angle":193.85249298511008,"left":203.94218134034168,"height":30.565209374491733,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":195.74244415243103,"flipY":false},{"angle":71.1681432133879,"left":203.10118265440212,"height":19.60315213214558,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":135.40078843626807,"flipY":true},{"angle":248.41663667933202,"left":108.0683311432326,"height":32.81672473593067,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":217.39816031537453,"flipY":false},{"angle":348.87565744757495,"left":87.46386333771355,"height":9.577131709152848,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem88","width":10.634661820754511,"top":219.08015768725363,"flipY":false},{"angle":22.553549659190598,"left":126.14980289093299,"height":4.967194329149221,"flipX":true,"fill":"#000000","opacity":1,"asset":"Emblem88","width":22.11010655135246,"top":167.77923784494087,"flipY":false},{"angle":337.83035199496453,"left":85.78186596583444,"height":5.761045226786153,"flipX":true,"fill":"#000000","opacity":1,"asset":"Emblem88","width":22.261181358082396,"top":142.54927726675427,"flipY":false},{"angle":129.52544384142908,"left":57.6084099868594,"height":5.761045226786153,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem88","width":22.261181358082396,"top":161.05124835742444,"flipY":false},{"angle":322.6007901892697,"left":90.40735873850198,"height":4.31780232311917,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":16.288860374386957,"top":153.48226018396846,"flipY":false},{"angle":334.11339297183184,"left":62.23390275952694,"height":3.5001865967438293,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":11.770065029579232,"top":170.30223390275955,"flipY":false},{"angle":329.95193790753785,"left":275.0065703022339,"height":84.83734728049072,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Emblem82","width":44.2559510112307,"top":64.33639947437582,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":160,"height":321.47174770039425,"flipX":false,"fill":"#f47e40","opacity":1,"asset":"Square","width":321.47174770039425,"top":160,"flipY":false},{"angle":12.891931316641903,"left":79.26412614980289,"height":70.85413929040736,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":45.839638229031436,"top":41.419185282522996,"flipY":false},{"angle":10.502896453108267,"left":112.06307490144548,"height":70.85413929040735,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":34.369345787627424,"top":43.94218134034166,"flipY":false},{"angle":10.502896453108267,"left":137.71353482260184,"height":70.85413929040735,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":32.13482392227339,"top":58.239159001314064,"flipY":false},{"angle":18.157101526703382,"left":152.01051248357425,"height":70.85413929040735,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":61.0242912380276,"top":75.90013140604468,"flipY":false},{"angle":10.502896453108267,"left":43.10118265440211,"height":82.99775794711363,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":43.23651889503212,"top":62.02365308804205,"flipY":false},{"angle":24.25798660043134,"left":26.701708278580824,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":35.38417392953408,"top":118.7910643889619,"flipY":false},{"angle":51.953152954409816,"left":33.429697766097256,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":27.71451695339403,"top":149.90801576872536,"flipY":false},{"angle":51.953152954409816,"left":44.36268068331144,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":33.96310943017671,"top":175.13797634691198,"flipY":false},{"angle":51.953152954409816,"left":60.76215505913272,"height":57.31337479583953,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":33.96310943017671,"top":195.74244415243103,"flipY":false},{"angle":340.12477674616855,"left":167.98948751642575,"height":233.69615735129196,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Emblem107","width":163.632263728653,"top":292.45729303547967,"flipY":false},{"angle":80.83018883817276,"left":266.3863337713535,"height":77.57645341553163,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":285.4385332652481,"top":261.3403416557162,"flipY":false},{"angle":276.14724717655804,"left":19.553219448094612,"height":19.296862519165824,"flipX":false,"fill":"#000000","opacity":1,"asset":"holiday_Tophat_detail","width":24.08396098745443,"top":83.67936925098554,"flipY":false},{"angle":17.523852957350897,"left":191.1169513797635,"height":14.551015282232942,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":73.89135767686732,"top":65.38764783180027,"flipY":false},{"angle":77.54820270080847,"left":211.30091984231277,"height":59.79971892271626,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Romb","width":15.17905099488192,"top":107.01708278580816,"flipY":false},{"angle":165.74932698285542,"left":234.42838370565048,"height":89.43702985695187,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Shield4","width":44.26370784004887,"top":113.74507227332458,"flipY":false},{"angle":22.186671807334914,"left":214.87516425755587,"height":40.57818659658344,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Square","width":30.39296651190684,"top":88.3048620236531,"flipY":false},{"angle":343.42847890719077,"left":117.31931668856768,"height":238.42312746386335,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Circle","width":151.78131919528747,"top":169.04073587385022,"flipY":false},{"angle":338.6837709593082,"left":90.40735873850198,"height":49.4386674824145,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield2","width":49.4386674824145,"top":166.51773981603154,"flipY":false},{"angle":336.9910409186778,"left":89.56636005256243,"height":51.70699512148791,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Shield2","width":49.50960694329778,"top":163.99474375821288,"flipY":false},{"angle":0,"left":195.32194480946126,"height":60.34165571616295,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Circle","width":45.41392904073588,"top":146.12352168199737,"flipY":false},{"angle":175.24156508805137,"left":102.81208935611039,"height":159.5330743841689,"flipX":false,"fill":"#eac49f","opacity":1,"asset":"Emblem120","width":119.53295765276495,"top":334.08672798948754,"flipY":false},{"angle":335.7907252744147,"left":100.49934296977662,"height":9.212190619330324,"flipX":false,"fill":"#000000","opacity":1,"asset":"holiday_Tophat_rim","width":63.34174301920937,"top":190.9067017082786,"flipY":false},{"angle":10.82273244834875,"left":237.7923784494087,"height":24.227421088936076,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Circle","width":50.200962616714385,"top":144.86202365308804,"flipY":false},{"angle":241.6746878695359,"left":100.49934296977662,"height":47.516425755584756,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":5.6762422067375295,"top":194.6911957950066,"flipY":false},{"angle":1.046474978942531,"left":186.07095926412617,"height":11.366246770831893,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":84.12353899129205,"top":81.57687253613666,"flipY":false},{"angle":357.27445295888975,"left":186.07095926412617,"height":12.69604850437694,"flipX":false,"fill":"#eccda8","opacity":1,"asset":"Eye2","width":68.09906302250839,"top":96.08409986859395,"flipY":false},{"angle":268.2787840616554,"left":88.72536136662288,"height":27.37878245700145,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":6.021370362961604,"top":204.78318002628123,"flipY":false},{"angle":8.866808538341404,"left":67.27989487516426,"height":23.227942675393276,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":6.021370362961604,"top":192.16819973718793,"flipY":false},{"angle":219.94686573768678,"left":113.53482260183969,"height":33.97633600189354,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":190.9067017082786,"flipY":false},{"angle":193.85249298511008,"left":203.94218134034168,"height":30.565209374491733,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":195.74244415243103,"flipY":false},{"angle":71.1681432133879,"left":203.10118265440212,"height":19.60315213214558,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":135.40078843626807,"flipY":true},{"angle":248.41663667933202,"left":108.0683311432326,"height":32.81672473593067,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":4.845711430572009,"top":217.39816031537453,"flipY":false},{"angle":348.87565744757495,"left":87.46386333771355,"height":9.577131709152848,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem88","width":10.634661820754511,"top":219.08015768725363,"flipY":false},{"angle":22.553549659190598,"left":126.14980289093299,"height":4.967194329149221,"flipX":true,"fill":"#000000","opacity":1,"asset":"Emblem88","width":22.11010655135246,"top":167.77923784494087,"flipY":false},{"angle":337.83035199496453,"left":85.78186596583444,"height":5.761045226786153,"flipX":true,"fill":"#000000","opacity":1,"asset":"Emblem88","width":22.261181358082396,"top":142.54927726675427,"flipY":false},{"angle":129.52544384142908,"left":57.6084099868594,"height":5.761045226786153,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem88","width":22.261181358082396,"top":161.05124835742444,"flipY":false},{"angle":322.6007901892697,"left":90.40735873850198,"height":4.31780232311917,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":16.288860374386957,"top":153.48226018396846,"flipY":false},{"angle":334.11339297183184,"left":62.23390275952694,"height":3.5001865967438293,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":11.770065029579232,"top":170.30223390275955,"flipY":false},{"angle":329.95193790753785,"left":275.0065703022339,"height":84.83734728049072,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Emblem82","width":44.2559510112307,"top":64.33639947437582,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告