登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
29
Cards
作者:
Thomas Mcgowan
»
代碼 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":19.795124368136968,"left":146.33377135348226,"height":259.9394202298824,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":163.9268418942322,"top":149.2772667542707,"flipY":false},{"angle":19.878287136718928,"left":146.5440214296753,"height":256.2231132859073,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":159.50155763239874,"top":149.48751861792462,"flipY":false},{"angle":24.918984506207742,"left":160,"height":256.2231132859073,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":159.50155763239874,"top":152.22076215505913,"flipY":false},{"angle":21.237156454520527,"left":124.192274494313,"height":39.73112905554377,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield3","width":31.998333903330263,"top":27.520861818873545,"flipY":false},{"angle":20.78195348852656,"left":52.22748208998052,"height":37.6288720603697,"flipX":false,"fill":"#000000","opacity":1,"asset":"free_gadget_bullet3","width":28.29924486508322,"top":230.1234417208256,"flipY":false},{"angle":199.33426316335002,"left":244.31010163868095,"height":37.6288720603697,"flipX":false,"fill":"#000000","opacity":1,"asset":"free_gadget_bullet3","width":28.29924486508322,"top":69.80289093298292,"flipY":false},{"angle":24.68354840338987,"left":160.2102496714849,"height":253.84556581479742,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":156.10599208344786,"top":152.6412614980289,"flipY":false},{"angle":29.203536952958814,"left":148.64651865040926,"height":28.250718601019646,"flipX":false,"fill":"#00000","opacity":1,"asset":"MedalFrame","width":29.73456638410651,"top":23.758223804912063,"flipY":false},{"angle":21.417989376821758,"left":173.45597722129747,"height":28.250718601019646,"flipX":false,"fill":"#00000","opacity":1,"asset":"MedalFrame","width":29.73456638410651,"top":279.0013051905934,"flipY":true},{"angle":205.69741466915687,"left":174.9277266754271,"height":12.497841265774353,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Lion2","width":9.559052003635424,"top":278.7910643889619,"flipY":false},{"angle":33.504422043450354,"left":165.04599171092917,"height":256.2231132859073,"flipX":false,"fill":"#00000","opacity":1,"asset":"Square","width":159.50155763239874,"top":153.6925103613385,"flipY":false},{"angle":33.504422043450354,"left":165.04599171092917,"height":253.50649550163357,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":157.2038677474605,"top":153.6925103613385,"flipY":false},{"angle":70.52889820455789,"left":172.8252299605782,"height":151.69993769470403,"flipX":false,"fill":"#5d1515","opacity":1,"asset":"Star4","width":159.50155763239874,"top":151.37976346911958,"flipY":false},{"angle":34.86143242234586,"left":171.35348134959068,"height":151.69445482866044,"flipX":false,"fill":"#00000","opacity":1,"asset":"Star","width":159.50155763239874,"top":143.10272915094308,"flipY":false},{"angle":35.487327169181484,"left":169.04073587385022,"height":110.07365606796951,"flipX":false,"fill":"#5d1515","opacity":1,"asset":"free_icon_star2","width":115.45111581339913,"top":145.4927726675427,"flipY":false},{"angle":34.65036579602871,"left":174.9277266754271,"height":44.51100875513466,"flipX":false,"fill":"#00000","opacity":1,"asset":"FleurDeLis","width":37.91698100186618,"top":36.872013961134776,"flipY":false},{"angle":211.66763957570126,"left":155.8956485597849,"height":44.51100875513466,"flipX":true,"fill":"#00000","opacity":1,"asset":"FleurDeLis","width":37.91698100186618,"top":271.5106291938553,"flipY":false},{"angle":30.40587591458817,"left":160,"height":34.991349628023094,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Wreath","width":20.724610948904967,"top":133.47986905717283,"flipY":false},{"angle":33.39879812171488,"left":184.09667007867307,"height":34.991349628023094,"flipX":true,"fill":"#eeeeee","opacity":1,"asset":"Wreath","width":20.724610948904967,"top":150.74901519662984,"flipY":false},{"angle":34.810523522951925,"left":178.2917214191853,"height":46.57774015217774,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Flames","width":32.45813489135899,"top":133.71879106438897,"flipY":false},{"angle":217.45548758467123,"left":269.95416815405423,"height":30.180374850281343,"flipX":false,"fill":"#00000","opacity":1,"asset":"Skull2","width":38.856558701297246,"top":94.96913657773617,"flipY":false},{"angle":35.522074931503106,"left":60.96601078522369,"height":30.180374850281343,"flipX":false,"fill":"#00000","opacity":1,"asset":"Skull2","width":38.856558701297246,"top":212.28844453135324,"flipY":false},{"angle":37.50924279450682,"left":157.73722908203692,"height":16.73145570873991,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Banner","width":43.60627638250534,"top":162.09451415836074,"flipY":false},{"angle":38.30465824258105,"left":154.27987453437595,"height":5.9665276366605084,"flipX":false,"fill":"#5d1515","opacity":1,"asset":"Heart","width":6.702833945582776,"top":165.3780500771243,"flipY":false},{"angle":15.98761098597017,"left":147.6395685330085,"height":12.497841265774353,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Lion2","width":9.559052003635424,"top":24.1832024897458,"flipY":false},{"angle":30.30413133200747,"left":158.69350817353254,"height":3.462175809909198,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number9","width":2.4629702325705916,"top":167.57071111774718,"flipY":false},{"angle":48.40834053167425,"left":151.38563643917195,"height":3.462175809909198,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number9","width":2.4629702325705916,"top":161.2293109189828,"flipY":false},{"angle":22.321407654070562,"left":161.36413965181643,"height":3.6675602088747463,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number7","width":2.609285710603938,"top":168.65870765240717,"flipY":false},{"angle":54.394350662796704,"left":149.65086820303938,"height":3.716650345168449,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number1","width":1.6459534489548338,"top":159.13315692177122,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":19.795124368136968,"left":146.33377135348226,"height":259.9394202298824,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":163.9268418942322,"top":149.2772667542707,"flipY":false},{"angle":19.878287136718928,"left":146.5440214296753,"height":256.2231132859073,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":159.50155763239874,"top":149.48751861792462,"flipY":false},{"angle":24.918984506207742,"left":160,"height":256.2231132859073,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":159.50155763239874,"top":152.22076215505913,"flipY":false},{"angle":21.237156454520527,"left":124.192274494313,"height":39.73112905554377,"flipX":false,"fill":"#000000","opacity":1,"asset":"Shield3","width":31.998333903330263,"top":27.520861818873545,"flipY":false},{"angle":20.78195348852656,"left":52.22748208998052,"height":37.6288720603697,"flipX":false,"fill":"#000000","opacity":1,"asset":"free_gadget_bullet3","width":28.29924486508322,"top":230.1234417208256,"flipY":false},{"angle":199.33426316335002,"left":244.31010163868095,"height":37.6288720603697,"flipX":false,"fill":"#000000","opacity":1,"asset":"free_gadget_bullet3","width":28.29924486508322,"top":69.80289093298292,"flipY":false},{"angle":24.68354840338987,"left":160.2102496714849,"height":253.84556581479742,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":156.10599208344786,"top":152.6412614980289,"flipY":false},{"angle":29.203536952958814,"left":148.64651865040926,"height":28.250718601019646,"flipX":false,"fill":"#00000","opacity":1,"asset":"MedalFrame","width":29.73456638410651,"top":23.758223804912063,"flipY":false},{"angle":21.417989376821758,"left":173.45597722129747,"height":28.250718601019646,"flipX":false,"fill":"#00000","opacity":1,"asset":"MedalFrame","width":29.73456638410651,"top":279.0013051905934,"flipY":true},{"angle":205.69741466915687,"left":174.9277266754271,"height":12.497841265774353,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Lion2","width":9.559052003635424,"top":278.7910643889619,"flipY":false},{"angle":33.504422043450354,"left":165.04599171092917,"height":256.2231132859073,"flipX":false,"fill":"#00000","opacity":1,"asset":"Square","width":159.50155763239874,"top":153.6925103613385,"flipY":false},{"angle":33.504422043450354,"left":165.04599171092917,"height":253.50649550163357,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":157.2038677474605,"top":153.6925103613385,"flipY":false},{"angle":70.52889820455789,"left":172.8252299605782,"height":151.69993769470403,"flipX":false,"fill":"#5d1515","opacity":1,"asset":"Star4","width":159.50155763239874,"top":151.37976346911958,"flipY":false},{"angle":34.86143242234586,"left":171.35348134959068,"height":151.69445482866044,"flipX":false,"fill":"#00000","opacity":1,"asset":"Star","width":159.50155763239874,"top":143.10272915094308,"flipY":false},{"angle":35.487327169181484,"left":169.04073587385022,"height":110.07365606796951,"flipX":false,"fill":"#5d1515","opacity":1,"asset":"free_icon_star2","width":115.45111581339913,"top":145.4927726675427,"flipY":false},{"angle":34.65036579602871,"left":174.9277266754271,"height":44.51100875513466,"flipX":false,"fill":"#00000","opacity":1,"asset":"FleurDeLis","width":37.91698100186618,"top":36.872013961134776,"flipY":false},{"angle":211.66763957570126,"left":155.8956485597849,"height":44.51100875513466,"flipX":true,"fill":"#00000","opacity":1,"asset":"FleurDeLis","width":37.91698100186618,"top":271.5106291938553,"flipY":false},{"angle":30.40587591458817,"left":160,"height":34.991349628023094,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Wreath","width":20.724610948904967,"top":133.47986905717283,"flipY":false},{"angle":33.39879812171488,"left":184.09667007867307,"height":34.991349628023094,"flipX":true,"fill":"#eeeeee","opacity":1,"asset":"Wreath","width":20.724610948904967,"top":150.74901519662984,"flipY":false},{"angle":34.810523522951925,"left":178.2917214191853,"height":46.57774015217774,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Flames","width":32.45813489135899,"top":133.71879106438897,"flipY":false},{"angle":217.45548758467123,"left":269.95416815405423,"height":30.180374850281343,"flipX":false,"fill":"#00000","opacity":1,"asset":"Skull2","width":38.856558701297246,"top":94.96913657773617,"flipY":false},{"angle":35.522074931503106,"left":60.96601078522369,"height":30.180374850281343,"flipX":false,"fill":"#00000","opacity":1,"asset":"Skull2","width":38.856558701297246,"top":212.28844453135324,"flipY":false},{"angle":37.50924279450682,"left":157.73722908203692,"height":16.73145570873991,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Banner","width":43.60627638250534,"top":162.09451415836074,"flipY":false},{"angle":38.30465824258105,"left":154.27987453437595,"height":5.9665276366605084,"flipX":false,"fill":"#5d1515","opacity":1,"asset":"Heart","width":6.702833945582776,"top":165.3780500771243,"flipY":false},{"angle":15.98761098597017,"left":147.6395685330085,"height":12.497841265774353,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Lion2","width":9.559052003635424,"top":24.1832024897458,"flipY":false},{"angle":30.30413133200747,"left":158.69350817353254,"height":3.462175809909198,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number9","width":2.4629702325705916,"top":167.57071111774718,"flipY":false},{"angle":48.40834053167425,"left":151.38563643917195,"height":3.462175809909198,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number9","width":2.4629702325705916,"top":161.2293109189828,"flipY":false},{"angle":22.321407654070562,"left":161.36413965181643,"height":3.6675602088747463,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number7","width":2.609285710603938,"top":168.65870765240717,"flipY":false},{"angle":54.394350662796704,"left":149.65086820303938,"height":3.716650345168449,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number1","width":1.6459534489548338,"top":159.13315692177122,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告