登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
4
圖層數
38
Mafioso
作者:
DonBastiano91
代碼 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":128.04204993429698,"height":391.87736120236536,"flipX":false,"fill":"#40b08f","opacity":1,"asset":"Square","width":391.87736120236536,"top":193.63994743758215,"flipY":false},{"angle":359.42609301620587,"left":158.3180026281209,"height":125.36486992854798,"flipX":false,"fill":"#000000","opacity":1,"asset":"Pentagon","width":161.61629471787188,"top":166.09724047306176,"flipY":false},{"angle":90.19998672933302,"left":160,"height":204.77125023117446,"flipX":false,"fill":"#40b08f","opacity":1,"asset":"Stroke","width":48.431025704947785,"top":132.45729303547964,"flipY":false},{"angle":0,"left":160,"height":113.08629039709265,"flipX":false,"fill":"#7f7f7f","opacity":1,"asset":"Circle","width":110.17082785808148,"top":134.7700394218134,"flipY":false},{"angle":0,"left":177.24047306176087,"height":90.77179235791722,"flipX":false,"fill":"#575757","opacity":1,"asset":"Circle","width":79.89487516425756,"top":134.7700394218134,"flipY":false},{"angle":270.45054150312933,"left":160,"height":116.95099283045613,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":42.40631353460798,"top":173.245729303548,"flipY":false},{"angle":90.2356060385863,"left":160,"height":105.12022258501783,"flipX":false,"fill":"#575757","opacity":1,"asset":"StrokeBent","width":47.850467289719624,"top":93.14060446780553,"flipY":false},{"angle":359.786875225853,"left":158.52825229960578,"height":22.33741617484392,"flipX":false,"fill":"#000000","opacity":1,"asset":"Dogtag","width":150.53876478318003,"top":111.43232588699081,"flipY":false},{"angle":2.8024925664892217,"left":122.15505913272011,"height":56.49774805918079,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":56.49774805918079,"top":82.6281208935611,"flipY":false},{"angle":356.592808002345,"left":190.69645203679372,"height":56.49774805918079,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":56.49774805918079,"top":81.57687253613666,"flipY":false},{"angle":0.9413820537377985,"left":155.37450722733246,"height":62.74895549744997,"flipX":false,"fill":"#000000","opacity":1,"asset":"Pentagon","width":65.97990917485622,"top":70.43363994743758,"flipY":false},{"angle":0,"left":117.95006570302235,"height":22.25841533076349,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":50.85240462242312,"top":110.59132720105126,"flipY":false},{"angle":40.956436909200555,"left":18.291721419185283,"height":37.4797828371685,"flipX":false,"fill":"#000000","opacity":1,"asset":"WeaponHandgun","width":60.92601881543642,"top":98.60709592641263,"flipY":false},{"angle":-40.956436909200555,"left":296.66228646517743,"height":37.4797828371685,"flipX":true,"fill":"#000000","opacity":1,"asset":"WeaponHandgun","width":60.92601881543642,"top":101.97109067017084,"flipY":false},{"angle":310.4553944464514,"left":26.49145860709593,"height":46.52816806304486,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.084105632853894,"top":85.36136662286467,"flipY":false},{"angle":-310.4553944464514,"left":288.46254927726676,"height":42.305863700219255,"flipX":true,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.084105632853894,"top":89.56636005256243,"flipY":false},{"angle":309.87164895164034,"left":26.49145860709593,"height":13.462344336342047,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.433729511626984,"top":123.83705650459922,"flipY":false},{"angle":54.53447177466364,"left":288.46254927726676,"height":13.462344336342047,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.433729511626984,"top":126.36005256241788,"flipY":false},{"angle":0,"left":34.270696452036795,"height":28.2014888407523,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Circle","width":28.2014888407523,"top":119.63206307490145,"flipY":false},{"angle":0,"left":280.6833114323259,"height":28.2014888407523,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Circle","width":28.2014888407523,"top":123.62680683311433,"flipY":false},{"angle":304.56399910757364,"left":74.21813403416557,"height":83.29007156598684,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":31.90031152647975,"top":147.5952693823916,"flipY":false},{"angle":-304.56399910757364,"left":241.57687253613668,"height":83.29007156598684,"flipX":true,"fill":"#000000","opacity":1,"asset":"Stroke","width":31.90031152647975,"top":150.11826544021025,"flipY":false},{"angle":215.78537815439603,"left":29.85545335085414,"height":8.638441805779726,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Dogtag","width":21.66989217572109,"top":105.12483574244416,"flipY":false},{"angle":-215.78537815439603,"left":285.09855453350855,"height":8.638441805779726,"flipX":true,"fill":"#ababab","opacity":1,"asset":"Dogtag","width":21.66989217572109,"top":108.90932982917215,"flipY":false},{"angle":0,"left":134.9802890932983,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":0,"left":151.37976346911958,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":0,"left":168.19973718791064,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":0,"left":185.86070959264129,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":89.4746861039099,"left":109.54007884362682,"height":20.190139917639943,"flipX":false,"fill":"#7f7f7f","opacity":1,"asset":"PlayerMarker","width":18.71911699074876,"top":134.55978975032852,"flipY":false},{"angle":-89.4746861039099,"left":213.82391590013142,"height":16.823459344396603,"flipX":true,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":18.71911699074876,"top":134.13929040735874,"flipY":false},{"angle":0,"left":118.58081471747701,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":20.183968462549277,"top":131.61629434954008,"flipY":true},{"angle":111.38236962519186,"left":109.32982917214193,"height":7.938190226760141,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":7.113882824694756,"top":123.62680683311433,"flipY":true},{"angle":-111.38236962519186,"left":211.93166885676743,"height":7.938190226760141,"flipX":true,"fill":"#782900","opacity":1,"asset":"Triangle","width":7.113882824694756,"top":123.20630749014455,"flipY":true},{"angle":0,"left":203.5216819973719,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.1957950065703,"flipY":true},{"angle":0,"left":159.36925098554534,"height":151.69096573208722,"flipX":false,"fill":"#000000","opacity":1,"asset":"Pentagon","width":122.78580814717478,"top":202.26018396846257,"flipY":false},{"angle":0,"left":159.36925098554534,"height":65.62593036506242,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":76.95137976346912,"top":289.934296977661,"flipY":false},{"angle":330.938591083171,"left":196.79369250985548,"height":30.379930801541136,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":2.7109407080477497,"top":72.32588699080156,"flipY":false},{"angle":90.54224191592492,"left":157.26675427069645,"height":118.99924549673952,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Stroke","width":5.351422293948446,"top":97.97634691195796,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":128.04204993429698,"height":391.87736120236536,"flipX":false,"fill":"#40b08f","opacity":1,"asset":"Square","width":391.87736120236536,"top":193.63994743758215,"flipY":false},{"angle":359.42609301620587,"left":158.3180026281209,"height":125.36486992854798,"flipX":false,"fill":"#000000","opacity":1,"asset":"Pentagon","width":161.61629471787188,"top":166.09724047306176,"flipY":false},{"angle":90.19998672933302,"left":160,"height":204.77125023117446,"flipX":false,"fill":"#40b08f","opacity":1,"asset":"Stroke","width":48.431025704947785,"top":132.45729303547964,"flipY":false},{"angle":0,"left":160,"height":113.08629039709265,"flipX":false,"fill":"#7f7f7f","opacity":1,"asset":"Circle","width":110.17082785808148,"top":134.7700394218134,"flipY":false},{"angle":0,"left":177.24047306176087,"height":90.77179235791722,"flipX":false,"fill":"#575757","opacity":1,"asset":"Circle","width":79.89487516425756,"top":134.7700394218134,"flipY":false},{"angle":270.45054150312933,"left":160,"height":116.95099283045613,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":42.40631353460798,"top":173.245729303548,"flipY":false},{"angle":90.2356060385863,"left":160,"height":105.12022258501783,"flipX":false,"fill":"#575757","opacity":1,"asset":"StrokeBent","width":47.850467289719624,"top":93.14060446780553,"flipY":false},{"angle":359.786875225853,"left":158.52825229960578,"height":22.33741617484392,"flipX":false,"fill":"#000000","opacity":1,"asset":"Dogtag","width":150.53876478318003,"top":111.43232588699081,"flipY":false},{"angle":2.8024925664892217,"left":122.15505913272011,"height":56.49774805918079,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":56.49774805918079,"top":82.6281208935611,"flipY":false},{"angle":356.592808002345,"left":190.69645203679372,"height":56.49774805918079,"flipX":false,"fill":"#000000","opacity":1,"asset":"Triangle","width":56.49774805918079,"top":81.57687253613666,"flipY":false},{"angle":0.9413820537377985,"left":155.37450722733246,"height":62.74895549744997,"flipX":false,"fill":"#000000","opacity":1,"asset":"Pentagon","width":65.97990917485622,"top":70.43363994743758,"flipY":false},{"angle":0,"left":117.95006570302235,"height":22.25841533076349,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":50.85240462242312,"top":110.59132720105126,"flipY":false},{"angle":40.956436909200555,"left":18.291721419185283,"height":37.4797828371685,"flipX":false,"fill":"#000000","opacity":1,"asset":"WeaponHandgun","width":60.92601881543642,"top":98.60709592641263,"flipY":false},{"angle":-40.956436909200555,"left":296.66228646517743,"height":37.4797828371685,"flipX":true,"fill":"#000000","opacity":1,"asset":"WeaponHandgun","width":60.92601881543642,"top":101.97109067017084,"flipY":false},{"angle":310.4553944464514,"left":26.49145860709593,"height":46.52816806304486,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.084105632853894,"top":85.36136662286467,"flipY":false},{"angle":-310.4553944464514,"left":288.46254927726676,"height":42.305863700219255,"flipX":true,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.084105632853894,"top":89.56636005256243,"flipY":false},{"angle":309.87164895164034,"left":26.49145860709593,"height":13.462344336342047,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.433729511626984,"top":123.83705650459922,"flipY":false},{"angle":54.53447177466364,"left":288.46254927726676,"height":13.462344336342047,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":6.433729511626984,"top":126.36005256241788,"flipY":false},{"angle":0,"left":34.270696452036795,"height":28.2014888407523,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Circle","width":28.2014888407523,"top":119.63206307490145,"flipY":false},{"angle":0,"left":280.6833114323259,"height":28.2014888407523,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Circle","width":28.2014888407523,"top":123.62680683311433,"flipY":false},{"angle":304.56399910757364,"left":74.21813403416557,"height":83.29007156598684,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":31.90031152647975,"top":147.5952693823916,"flipY":false},{"angle":-304.56399910757364,"left":241.57687253613668,"height":83.29007156598684,"flipX":true,"fill":"#000000","opacity":1,"asset":"Stroke","width":31.90031152647975,"top":150.11826544021025,"flipY":false},{"angle":215.78537815439603,"left":29.85545335085414,"height":8.638441805779726,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Dogtag","width":21.66989217572109,"top":105.12483574244416,"flipY":false},{"angle":-215.78537815439603,"left":285.09855453350855,"height":8.638441805779726,"flipX":true,"fill":"#ababab","opacity":1,"asset":"Dogtag","width":21.66989217572109,"top":108.90932982917215,"flipY":false},{"angle":0,"left":134.9802890932983,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":0,"left":151.37976346911958,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":0,"left":168.19973718791064,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":0,"left":185.86070959264129,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.61629434954008,"flipY":true},{"angle":89.4746861039099,"left":109.54007884362682,"height":20.190139917639943,"flipX":false,"fill":"#7f7f7f","opacity":1,"asset":"PlayerMarker","width":18.71911699074876,"top":134.55978975032852,"flipY":false},{"angle":-89.4746861039099,"left":213.82391590013142,"height":16.823459344396603,"flipX":true,"fill":"#575757","opacity":1,"asset":"PlayerMarker","width":18.71911699074876,"top":134.13929040735874,"flipY":false},{"angle":0,"left":118.58081471747701,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":20.183968462549277,"top":131.61629434954008,"flipY":true},{"angle":111.38236962519186,"left":109.32982917214193,"height":7.938190226760141,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":7.113882824694756,"top":123.62680683311433,"flipY":true},{"angle":-111.38236962519186,"left":211.93166885676743,"height":7.938190226760141,"flipX":true,"fill":"#782900","opacity":1,"asset":"Triangle","width":7.113882824694756,"top":123.20630749014455,"flipY":true},{"angle":0,"left":203.5216819973719,"height":19.70740339602497,"flipX":false,"fill":"#782900","opacity":1,"asset":"Triangle","width":17.660972404730614,"top":131.1957950065703,"flipY":true},{"angle":0,"left":159.36925098554534,"height":151.69096573208722,"flipX":false,"fill":"#000000","opacity":1,"asset":"Pentagon","width":122.78580814717478,"top":202.26018396846257,"flipY":false},{"angle":0,"left":159.36925098554534,"height":65.62593036506242,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":76.95137976346912,"top":289.934296977661,"flipY":false},{"angle":330.938591083171,"left":196.79369250985548,"height":30.379930801541136,"flipX":false,"fill":"#ababab","opacity":1,"asset":"Stroke","width":2.7109407080477497,"top":72.32588699080156,"flipY":false},{"angle":90.54224191592492,"left":157.26675427069645,"height":118.99924549673952,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Stroke","width":5.351422293948446,"top":97.97634691195796,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
mafioso
mafia
gangster
cool
pistols
black
guns
hat
emblem
DonBastiano91
广告