登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
9
複製總數
119
圖層數
40
高坂穂乃果3
作者:
YOoooooDA
»
代碼 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":332,"flipX":false,"flipY":false,"top":80,"height":429.20593748880003,"width":169.6371821287,"asset":"CrescentMoon","selectable":true,"left":227,"fill":"#A75B2A"},{"opacity":1,"angle":26,"flipX":false,"flipY":false,"top":177.3105390374,"height":332.89549949499997,"width":306.1810169987,"asset":"Shield4","selectable":true,"left":133.4344118715,"fill":"#FCDDC9"},{"opacity":1,"angle":58,"flipX":false,"flipY":true,"top":236,"height":108.97741652890001,"width":328.8240152494,"asset":"ArrowBent","selectable":true,"left":38,"fill":"#BE9081"},{"opacity":1,"angle":176,"flipX":false,"flipY":false,"top":140.3817713578,"height":68.4556412112,"width":74.4738464847,"asset":"Emblem120","selectable":true,"left":120.0266960539,"fill":"#FFFFFF"},{"opacity":1,"angle":84,"flipX":false,"flipY":false,"top":120,"height":86.4496668513,"width":30.2959603882,"asset":"StrokeBent","selectable":true,"left":119,"fill":"#000000"},{"opacity":1,"angle":291,"flipX":false,"flipY":false,"top":140.1599682569,"height":50.5927473197,"width":76.4171273784,"asset":"Emblem120","selectable":true,"left":118.3335123504,"fill":"#000000"},{"opacity":1,"angle":283,"flipX":false,"flipY":false,"top":138.1766255902,"height":39.6998343959,"width":48.9069615222,"asset":"Emblem120","selectable":true,"left":118.4335736086,"fill":"#114994"},{"opacity":1,"angle":15,"flipX":false,"flipY":false,"top":146.0854228507,"height":34.753636341,"width":31.3004553742,"asset":"Emblem120","selectable":true,"left":117.3886537481,"fill":"#5D96CD"},{"opacity":1,"angle":10,"flipX":false,"flipY":false,"top":139,"height":20.8737909812,"width":13.6497073645,"asset":"Circle","selectable":true,"left":119,"fill":"#000000"},{"opacity":1,"angle":37,"flipX":false,"flipY":false,"top":128,"height":26.060510564300003,"width":17.0413866504,"asset":"Circle","selectable":true,"left":106,"fill":"#FFFFFF"},{"opacity":1,"angle":93,"flipX":false,"flipY":false,"top":152,"height":28.227490121800002,"width":3.5544556932,"asset":"StrokeBent","selectable":true,"left":243,"fill":"#000000"},{"opacity":1,"angle":207,"flipX":false,"flipY":false,"top":193,"height":54.6871032278,"width":50.6876757909,"asset":"Emblem120","selectable":true,"left":242,"fill":"#FFFFFF"},{"opacity":1,"angle":130,"flipX":false,"flipY":false,"top":175,"height":58.7736280779,"width":31.507309221,"asset":"StrokeBent","selectable":true,"left":251,"fill":"#000000"},{"opacity":1,"angle":198,"flipX":false,"flipY":false,"top":195,"height":72.2919868843,"width":33.7371927742,"asset":"Emblem120","selectable":true,"left":235,"fill":"#000000"},{"opacity":1,"angle":17,"flipX":false,"flipY":false,"top":185.2028610334,"height":40.3479449451,"width":26.106739015,"asset":"Circle","selectable":true,"left":237.937979158,"fill":"#114994"},{"opacity":1,"angle":17,"flipX":false,"flipY":false,"top":192.730171372,"height":28.3876476871,"width":19.2221047717,"asset":"Emblem120","selectable":true,"left":235,"fill":"#5D96CD"},{"opacity":1,"angle":19,"flipX":false,"flipY":false,"top":186,"height":15.7051727091,"width":9.3995987825,"asset":"Circle","selectable":true,"left":237,"fill":"#000000"},{"opacity":1,"angle":33,"flipX":false,"flipY":false,"top":174,"height":19.6380625552,"width":12.8416446885,"asset":"Circle","selectable":true,"left":232,"fill":"#FFFFFF"},{"opacity":1,"angle":106,"flipX":false,"flipY":false,"top":102.896723758,"height":33.8747301885,"width":3.5544556932,"asset":"StrokeBent","selectable":true,"left":144,"fill":"#000000"},{"opacity":1,"angle":20,"flipX":false,"flipY":false,"top":256.7790236857,"height":153.4225840646,"width":191.190886613,"asset":"Heart","selectable":true,"left":145.1504403079,"fill":"#FCDDC9"},{"opacity":1,"angle":74,"flipX":false,"flipY":false,"top":228,"height":2.6733353808999993,"width":5.94865989,"asset":"Emblem120","selectable":true,"left":205,"fill":"#000000"},{"opacity":1,"angle":10,"flipX":false,"flipY":false,"top":246,"height":542.0095541885,"width":197.27461602560004,"asset":"Shield4","selectable":true,"left":-72,"fill":"#532913"},{"opacity":1,"angle":110,"flipX":false,"flipY":false,"top":80,"height":93.2038834951,"width":12.2372352734,"asset":"CrescentMoon","selectable":true,"left":144,"fill":"#532913"},{"opacity":1,"angle":130,"flipX":false,"flipY":false,"top":132.2871773436,"height":48.53627394429999,"width":10.389001576,"asset":"CrescentMoon","selectable":true,"left":271,"fill":"#532913"},{"opacity":1,"angle":162,"flipX":false,"flipY":false,"top":196,"height":66.8363487961,"width":50.0783080948,"asset":"Emblem120","selectable":true,"left":12,"fill":"#BE9081"},{"opacity":1,"angle":111,"flipX":false,"flipY":false,"top":65,"height":56.86101843339999,"width":30.082206896599995,"asset":"Wing4","selectable":true,"left":273.6765973828,"fill":"#FCDDC9"},{"opacity":1,"angle":248,"flipX":false,"flipY":false,"top":-126,"height":137.3877834849,"width":509.63943020119996,"asset":"Banner","selectable":true,"left":149,"fill":"#A75B2A"},{"opacity":1,"angle":328,"flipX":false,"flipY":false,"top":12.0009614249,"height":251.054938475,"width":164.6752444458,"asset":"CrescentMoon","selectable":true,"left":158.9967887533,"fill":"#A75B2A"},{"opacity":1,"angle":349,"flipX":false,"flipY":false,"top":27,"height":195.59766021939998,"width":77.3070291262,"asset":"CrescentMoon","selectable":true,"left":224,"fill":"#A75B2A"},{"opacity":1,"angle":350,"flipX":false,"flipY":false,"top":74,"height":344.0579811992,"width":135.9837348966,"asset":"CrescentMoon","selectable":true,"left":275,"fill":"#A75B2A"},{"opacity":1,"angle":221,"flipX":false,"flipY":false,"top":62,"height":227.0971287612,"width":113.5485643806,"asset":"CrescentMoon","selectable":true,"left":114,"fill":"#A75B2A"},{"opacity":1,"angle":199,"flipX":false,"flipY":false,"top":92,"height":338.1357825903,"width":155.1434890781,"asset":"CrescentMoon","selectable":true,"left":79,"fill":"#A75B2A"},{"opacity":1,"angle":221,"flipX":false,"flipY":false,"top":6,"height":50.512452001300005,"width":51.9805926282,"asset":"MedalPart2","selectable":true,"left":13,"fill":"#FFFE00"},{"opacity":1,"angle":218,"flipX":false,"flipY":false,"top":71,"height":313.4519930962,"width":156.7259965481,"asset":"CrescentMoon","selectable":true,"left":108,"fill":"#A75B2A"},{"opacity":1,"angle":191,"flipX":false,"flipY":false,"top":348,"height":75.831552,"width":349.5749305856,"asset":"ArrowBent","selectable":true,"left":147,"fill":"#FFFFFF"},{"opacity":1,"angle":327,"flipX":false,"flipY":false,"top":239,"height":11.9630833348,"width":3.2142851501000003,"asset":"StrokeBent","selectable":true,"left":130,"fill":"#000000"},{"opacity":1,"angle":288,"flipX":false,"flipY":false,"top":252,"height":46.6127283722,"width":2.962046411,"asset":"StrokeBent","selectable":true,"left":156,"fill":"#000000"},{"opacity":1,"angle":115,"flipX":false,"flipY":false,"top":264,"height":23.5229084348,"width":2.962046411,"asset":"StrokeBent","selectable":true,"left":196,"fill":"#000000"},{"opacity":1,"angle":260,"flipX":false,"flipY":false,"top":270,"height":7.8942398601,"width":2.962046411,"asset":"StrokeBent","selectable":true,"left":210,"fill":"#000000"},{"opacity":1,"angle":62,"flipX":false,"flipY":false,"top":226,"height":9.5632671347,"width":2.5694937231,"asset":"StrokeBent","selectable":true,"left":123,"fill":"#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":332,"flipX":false,"flipY":false,"top":80,"height":429.20593748880003,"width":169.6371821287,"asset":"CrescentMoon","selectable":true,"left":227,"fill":"#A75B2A"},{"opacity":1,"angle":26,"flipX":false,"flipY":false,"top":177.3105390374,"height":332.89549949499997,"width":306.1810169987,"asset":"Shield4","selectable":true,"left":133.4344118715,"fill":"#FCDDC9"},{"opacity":1,"angle":58,"flipX":false,"flipY":true,"top":236,"height":108.97741652890001,"width":328.8240152494,"asset":"ArrowBent","selectable":true,"left":38,"fill":"#BE9081"},{"opacity":1,"angle":176,"flipX":false,"flipY":false,"top":140.3817713578,"height":68.4556412112,"width":74.4738464847,"asset":"Emblem120","selectable":true,"left":120.0266960539,"fill":"#FFFFFF"},{"opacity":1,"angle":84,"flipX":false,"flipY":false,"top":120,"height":86.4496668513,"width":30.2959603882,"asset":"StrokeBent","selectable":true,"left":119,"fill":"#000000"},{"opacity":1,"angle":291,"flipX":false,"flipY":false,"top":140.1599682569,"height":50.5927473197,"width":76.4171273784,"asset":"Emblem120","selectable":true,"left":118.3335123504,"fill":"#000000"},{"opacity":1,"angle":283,"flipX":false,"flipY":false,"top":138.1766255902,"height":39.6998343959,"width":48.9069615222,"asset":"Emblem120","selectable":true,"left":118.4335736086,"fill":"#114994"},{"opacity":1,"angle":15,"flipX":false,"flipY":false,"top":146.0854228507,"height":34.753636341,"width":31.3004553742,"asset":"Emblem120","selectable":true,"left":117.3886537481,"fill":"#5D96CD"},{"opacity":1,"angle":10,"flipX":false,"flipY":false,"top":139,"height":20.8737909812,"width":13.6497073645,"asset":"Circle","selectable":true,"left":119,"fill":"#000000"},{"opacity":1,"angle":37,"flipX":false,"flipY":false,"top":128,"height":26.060510564300003,"width":17.0413866504,"asset":"Circle","selectable":true,"left":106,"fill":"#FFFFFF"},{"opacity":1,"angle":93,"flipX":false,"flipY":false,"top":152,"height":28.227490121800002,"width":3.5544556932,"asset":"StrokeBent","selectable":true,"left":243,"fill":"#000000"},{"opacity":1,"angle":207,"flipX":false,"flipY":false,"top":193,"height":54.6871032278,"width":50.6876757909,"asset":"Emblem120","selectable":true,"left":242,"fill":"#FFFFFF"},{"opacity":1,"angle":130,"flipX":false,"flipY":false,"top":175,"height":58.7736280779,"width":31.507309221,"asset":"StrokeBent","selectable":true,"left":251,"fill":"#000000"},{"opacity":1,"angle":198,"flipX":false,"flipY":false,"top":195,"height":72.2919868843,"width":33.7371927742,"asset":"Emblem120","selectable":true,"left":235,"fill":"#000000"},{"opacity":1,"angle":17,"flipX":false,"flipY":false,"top":185.2028610334,"height":40.3479449451,"width":26.106739015,"asset":"Circle","selectable":true,"left":237.937979158,"fill":"#114994"},{"opacity":1,"angle":17,"flipX":false,"flipY":false,"top":192.730171372,"height":28.3876476871,"width":19.2221047717,"asset":"Emblem120","selectable":true,"left":235,"fill":"#5D96CD"},{"opacity":1,"angle":19,"flipX":false,"flipY":false,"top":186,"height":15.7051727091,"width":9.3995987825,"asset":"Circle","selectable":true,"left":237,"fill":"#000000"},{"opacity":1,"angle":33,"flipX":false,"flipY":false,"top":174,"height":19.6380625552,"width":12.8416446885,"asset":"Circle","selectable":true,"left":232,"fill":"#FFFFFF"},{"opacity":1,"angle":106,"flipX":false,"flipY":false,"top":102.896723758,"height":33.8747301885,"width":3.5544556932,"asset":"StrokeBent","selectable":true,"left":144,"fill":"#000000"},{"opacity":1,"angle":20,"flipX":false,"flipY":false,"top":256.7790236857,"height":153.4225840646,"width":191.190886613,"asset":"Heart","selectable":true,"left":145.1504403079,"fill":"#FCDDC9"},{"opacity":1,"angle":74,"flipX":false,"flipY":false,"top":228,"height":2.6733353808999993,"width":5.94865989,"asset":"Emblem120","selectable":true,"left":205,"fill":"#000000"},{"opacity":1,"angle":10,"flipX":false,"flipY":false,"top":246,"height":542.0095541885,"width":197.27461602560004,"asset":"Shield4","selectable":true,"left":-72,"fill":"#532913"},{"opacity":1,"angle":110,"flipX":false,"flipY":false,"top":80,"height":93.2038834951,"width":12.2372352734,"asset":"CrescentMoon","selectable":true,"left":144,"fill":"#532913"},{"opacity":1,"angle":130,"flipX":false,"flipY":false,"top":132.2871773436,"height":48.53627394429999,"width":10.389001576,"asset":"CrescentMoon","selectable":true,"left":271,"fill":"#532913"},{"opacity":1,"angle":162,"flipX":false,"flipY":false,"top":196,"height":66.8363487961,"width":50.0783080948,"asset":"Emblem120","selectable":true,"left":12,"fill":"#BE9081"},{"opacity":1,"angle":111,"flipX":false,"flipY":false,"top":65,"height":56.86101843339999,"width":30.082206896599995,"asset":"Wing4","selectable":true,"left":273.6765973828,"fill":"#FCDDC9"},{"opacity":1,"angle":248,"flipX":false,"flipY":false,"top":-126,"height":137.3877834849,"width":509.63943020119996,"asset":"Banner","selectable":true,"left":149,"fill":"#A75B2A"},{"opacity":1,"angle":328,"flipX":false,"flipY":false,"top":12.0009614249,"height":251.054938475,"width":164.6752444458,"asset":"CrescentMoon","selectable":true,"left":158.9967887533,"fill":"#A75B2A"},{"opacity":1,"angle":349,"flipX":false,"flipY":false,"top":27,"height":195.59766021939998,"width":77.3070291262,"asset":"CrescentMoon","selectable":true,"left":224,"fill":"#A75B2A"},{"opacity":1,"angle":350,"flipX":false,"flipY":false,"top":74,"height":344.0579811992,"width":135.9837348966,"asset":"CrescentMoon","selectable":true,"left":275,"fill":"#A75B2A"},{"opacity":1,"angle":221,"flipX":false,"flipY":false,"top":62,"height":227.0971287612,"width":113.5485643806,"asset":"CrescentMoon","selectable":true,"left":114,"fill":"#A75B2A"},{"opacity":1,"angle":199,"flipX":false,"flipY":false,"top":92,"height":338.1357825903,"width":155.1434890781,"asset":"CrescentMoon","selectable":true,"left":79,"fill":"#A75B2A"},{"opacity":1,"angle":221,"flipX":false,"flipY":false,"top":6,"height":50.512452001300005,"width":51.9805926282,"asset":"MedalPart2","selectable":true,"left":13,"fill":"#FFFE00"},{"opacity":1,"angle":218,"flipX":false,"flipY":false,"top":71,"height":313.4519930962,"width":156.7259965481,"asset":"CrescentMoon","selectable":true,"left":108,"fill":"#A75B2A"},{"opacity":1,"angle":191,"flipX":false,"flipY":false,"top":348,"height":75.831552,"width":349.5749305856,"asset":"ArrowBent","selectable":true,"left":147,"fill":"#FFFFFF"},{"opacity":1,"angle":327,"flipX":false,"flipY":false,"top":239,"height":11.9630833348,"width":3.2142851501000003,"asset":"StrokeBent","selectable":true,"left":130,"fill":"#000000"},{"opacity":1,"angle":288,"flipX":false,"flipY":false,"top":252,"height":46.6127283722,"width":2.962046411,"asset":"StrokeBent","selectable":true,"left":156,"fill":"#000000"},{"opacity":1,"angle":115,"flipX":false,"flipY":false,"top":264,"height":23.5229084348,"width":2.962046411,"asset":"StrokeBent","selectable":true,"left":196,"fill":"#000000"},{"opacity":1,"angle":260,"flipX":false,"flipY":false,"top":270,"height":7.8942398601,"width":2.962046411,"asset":"StrokeBent","selectable":true,"left":210,"fill":"#000000"},{"opacity":1,"angle":62,"flipX":false,"flipY":false,"top":226,"height":9.5632671347,"width":2.5694937231,"asset":"StrokeBent","selectable":true,"left":123,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告