登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
17
圖層數
37
卵
作者:
おもちスパゲッティ
»
代碼 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":0,"flipX":false,"flipY":false,"top":285.625,"height":159.58441558441555,"width":79.79220779220778,"asset":"CrescentMoon","selectable":true,"left":296.25,"fill":"#ACACAC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":168.47249702354532,"height":502.63942153732506,"width":270.9027862548828,"asset":"CrescentMoon","selectable":true,"left":209.0972137451172,"fill":"#959595"},{"opacity":1,"angle":305.4346701341974,"flipX":false,"flipY":false,"top":385.4549475016282,"height":299.0556254722758,"width":138.34317757009345,"asset":"Shield5","selectable":true,"left":247.32062816976872,"fill":"#005952"},{"opacity":1,"angle":25.709553817146677,"flipX":false,"flipY":false,"top":291.68467688192754,"height":66.84787896519623,"width":57.39578946502783,"asset":"Shield4","selectable":true,"left":207.08207972448008,"fill":"#EBEBEB"},{"opacity":1,"angle":1.9339695630541056,"flipX":false,"flipY":false,"top":267.1304069845229,"height":191.41871159587785,"width":57.39578946502783,"asset":"Shield4","selectable":true,"left":180.31410657587296,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":128.22889610389612,"height":371.0422077922077,"width":156.66692451377963,"asset":"CrescentMoon","selectable":true,"left":86.56235836078595,"fill":"#A0A0A0"},{"opacity":1,"angle":305.4346701341974,"flipX":false,"flipY":false,"top":371.0799475016282,"height":299.0556254722758,"width":138.34317757009345,"asset":"Shield5","selectable":true,"left":202.32062816976872,"fill":"#00746B"},{"opacity":1,"angle":247.319691218573,"flipX":false,"flipY":false,"top":-82.6681529856144,"height":1068.9143546851058,"width":460.9302603716057,"asset":"Shield4","selectable":true,"left":604.0072542256463,"fill":"#FFFFFF"},{"opacity":1,"angle":112.92439801732452,"flipX":false,"flipY":false,"top":143.125,"height":43.33543501206144,"width":5.829508604867613,"asset":"StrokeBent","selectable":true,"left":278.125,"fill":"#000000"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":18.819169643121363,"height":248.4727548706582,"width":124.2363774353291,"asset":"CrescentMoon","selectable":true,"left":302.22208482156066,"fill":"#A0A0A0"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":47.93043795008419,"height":248.4727548706582,"width":152.42325303398746,"asset":"CrescentMoon","selectable":true,"left":372.33488013017364,"fill":"#959595"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":-11.180830356878637,"height":248.4727548706582,"width":124.2363774353291,"asset":"CrescentMoon","selectable":true,"left":349.0970848215606,"fill":"#A0A0A0"},{"opacity":1,"angle":28.86653678534922,"flipX":true,"flipY":false,"top":93.89770518581068,"height":279.31510666902756,"width":160.0029508335797,"asset":"CrescentMoon","selectable":true,"left":241.88320252694348,"fill":"#ACACAC"},{"opacity":1,"angle":28.86653678534922,"flipX":true,"flipY":false,"top":68.2032178226189,"height":317.0818928157457,"width":193.14144355148898,"asset":"CrescentMoon","selectable":true,"left":235.55005615929625,"fill":"#ACACAC"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":32.36620870455841,"height":347.8871469947075,"width":202.25452167948936,"asset":"CrescentMoon","selectable":true,"left":208.17015363947988,"fill":"#A0A0A0"},{"opacity":1,"angle":16.816599633378956,"flipX":true,"flipY":false,"top":-20.92464068867315,"height":351.30409249838107,"width":91.01519489675688,"asset":"CrescentMoon","selectable":true,"left":303.2374061605375,"fill":"#A0A0A0"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":-68.125,"height":159.6436525612472,"width":91.22494432071268,"asset":"Drop","selectable":true,"left":63.125,"fill":"#626262"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":154.57711676557958,"height":340.2901939590749,"width":206.7239442998219,"asset":"CrescentMoon","selectable":true,"left":192.84086825380706,"fill":"#A0A0A0"},{"opacity":1,"angle":23.861766168765207,"flipX":true,"flipY":false,"top":116.42617073777582,"height":350.943384264879,"width":213.1956838870558,"asset":"CrescentMoon","selectable":true,"left":163.05020833465014,"fill":"#ACACAC"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":31.25,"height":364.25870494751575,"width":182.12935247375788,"asset":"CrescentMoon","selectable":true,"left":166.25,"fill":"#A0A0A0"},{"opacity":1,"angle":25.480926524903925,"flipX":true,"flipY":true,"top":-8.536195923578376,"height":129.76633080832082,"width":29.42216136750883,"asset":"CrescentMoon","selectable":true,"left":121.2957397456576,"fill":"#7D7D7D"},{"opacity":1,"angle":339.0963934381077,"flipX":true,"flipY":false,"top":171.5065160270551,"height":138.94315358652736,"width":33.02931819684382,"asset":"CrescentMoon","selectable":true,"left":123.67656523152124,"fill":"#7D7D7D"},{"opacity":1,"angle":104.09028001895604,"flipX":false,"flipY":false,"top":106.875,"height":96.97292528901644,"width":6.808068507851531,"asset":"StrokeBent","selectable":true,"left":223.75,"fill":"#000000"},{"opacity":1,"angle":120.24111505906127,"flipX":false,"flipY":false,"top":126.51782792500249,"height":65.70526505986653,"width":6.057345976742887,"asset":"StrokeBent","selectable":true,"left":276.44363143459327,"fill":"#000000"},{"opacity":1,"angle":36.38767561557568,"flipX":true,"flipY":false,"top":224.486121675628,"height":10.040362177698015,"width":3.647916671277045,"asset":"StrokeBent","selectable":true,"left":311.6978709954357,"fill":"#000000"},{"opacity":1,"angle":298.61218079638826,"flipX":false,"flipY":false,"top":266.698092252353,"height":24.235617838583252,"width":5.209056382130477,"asset":"StrokeBent","selectable":true,"left":278.2666887089593,"fill":"#000000"},{"opacity":1,"angle":297.2842275395889,"flipX":false,"flipY":false,"top":147.5306433649899,"height":98.22536805658956,"width":8.682867884607894,"asset":"StrokeBent","selectable":true,"left":211.7409601712817,"fill":"#000000"},{"opacity":1,"angle":282.7139387349662,"flipX":false,"flipY":false,"top":166.25,"height":104.21921492737435,"width":9.529754152818839,"asset":"StrokeBent","selectable":true,"left":265.2659858232202,"fill":"#000000"},{"opacity":1,"angle":282.7139387349662,"flipX":false,"flipY":false,"top":167.6090313534237,"height":100.99221687871494,"width":9.902368713482872,"asset":"StrokeBent","selectable":true,"left":254.4593327856106,"fill":"#000000"},{"opacity":1,"angle":297.2842275395889,"flipX":false,"flipY":false,"top":151.1744048529159,"height":99.48020501745212,"width":8.093736939581788,"asset":"StrokeBent","selectable":true,"left":215.4225838079907,"fill":"#000000"},{"opacity":1,"angle":283.4199973560187,"flipX":false,"flipY":false,"top":171.1609047702496,"height":28.69176482423155,"width":4.0123793172860545,"asset":"Stroke","selectable":true,"left":263.71828653726755,"fill":"#000000"},{"opacity":1,"angle":222.0157565891595,"flipX":false,"flipY":false,"top":166.07967465213414,"height":18.52756560552986,"width":49.973787062899504,"asset":"Shield","selectable":true,"left":220.8802574448361,"fill":"#000000"},{"opacity":1,"angle":206.61260017420912,"flipX":false,"flipY":false,"top":167.57752705590514,"height":18.52756560552986,"width":26.5435584321526,"asset":"Shield","selectable":true,"left":231.97922271929187,"fill":"#000000"},{"opacity":1,"angle":314.19661936256176,"flipX":false,"flipY":false,"top":158.125,"height":96.28457624896448,"width":5.419513658766455,"asset":"StrokeBent","selectable":true,"left":201.875,"fill":"#000000"},{"opacity":1,"angle":259.3428718424631,"flipX":false,"flipY":false,"top":185,"height":80.59358648281733,"width":5.419513658766455,"asset":"StrokeBent","selectable":true,"left":277.5,"fill":"#000000"},{"asset":"Circle","left":209.6391679341092,"top":234.23107701100164,"angle":15.923182882623976,"width":77.35525758512702,"height":35.81566284728716,"opacity":0.24,"fill":"#F49AC2","flipX":false,"flipY":false,"selectable":true},{"asset":"Circle","left":248.95665431081335,"top":147.80802890588035,"angle":19.962845261432328,"width":153.64576925322814,"height":30.0681291966459,"opacity":0.11,"fill":"#F49AC2","flipX":false,"flipY":false,"selectable":true}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":{"objects":[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":285.625,"height":159.58441558441555,"width":79.79220779220778,"asset":"CrescentMoon","selectable":true,"left":296.25,"fill":"#ACACAC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":168.47249702354532,"height":502.63942153732506,"width":270.9027862548828,"asset":"CrescentMoon","selectable":true,"left":209.0972137451172,"fill":"#959595"},{"opacity":1,"angle":305.4346701341974,"flipX":false,"flipY":false,"top":385.4549475016282,"height":299.0556254722758,"width":138.34317757009345,"asset":"Shield5","selectable":true,"left":247.32062816976872,"fill":"#005952"},{"opacity":1,"angle":25.709553817146677,"flipX":false,"flipY":false,"top":291.68467688192754,"height":66.84787896519623,"width":57.39578946502783,"asset":"Shield4","selectable":true,"left":207.08207972448008,"fill":"#EBEBEB"},{"opacity":1,"angle":1.9339695630541056,"flipX":false,"flipY":false,"top":267.1304069845229,"height":191.41871159587785,"width":57.39578946502783,"asset":"Shield4","selectable":true,"left":180.31410657587296,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":128.22889610389612,"height":371.0422077922077,"width":156.66692451377963,"asset":"CrescentMoon","selectable":true,"left":86.56235836078595,"fill":"#A0A0A0"},{"opacity":1,"angle":305.4346701341974,"flipX":false,"flipY":false,"top":371.0799475016282,"height":299.0556254722758,"width":138.34317757009345,"asset":"Shield5","selectable":true,"left":202.32062816976872,"fill":"#00746B"},{"opacity":1,"angle":247.319691218573,"flipX":false,"flipY":false,"top":-82.6681529856144,"height":1068.9143546851058,"width":460.9302603716057,"asset":"Shield4","selectable":true,"left":604.0072542256463,"fill":"#FFFFFF"},{"opacity":1,"angle":112.92439801732452,"flipX":false,"flipY":false,"top":143.125,"height":43.33543501206144,"width":5.829508604867613,"asset":"StrokeBent","selectable":true,"left":278.125,"fill":"#000000"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":18.819169643121363,"height":248.4727548706582,"width":124.2363774353291,"asset":"CrescentMoon","selectable":true,"left":302.22208482156066,"fill":"#A0A0A0"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":47.93043795008419,"height":248.4727548706582,"width":152.42325303398746,"asset":"CrescentMoon","selectable":true,"left":372.33488013017364,"fill":"#959595"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":-11.180830356878637,"height":248.4727548706582,"width":124.2363774353291,"asset":"CrescentMoon","selectable":true,"left":349.0970848215606,"fill":"#A0A0A0"},{"opacity":1,"angle":28.86653678534922,"flipX":true,"flipY":false,"top":93.89770518581068,"height":279.31510666902756,"width":160.0029508335797,"asset":"CrescentMoon","selectable":true,"left":241.88320252694348,"fill":"#ACACAC"},{"opacity":1,"angle":28.86653678534922,"flipX":true,"flipY":false,"top":68.2032178226189,"height":317.0818928157457,"width":193.14144355148898,"asset":"CrescentMoon","selectable":true,"left":235.55005615929625,"fill":"#ACACAC"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":32.36620870455841,"height":347.8871469947075,"width":202.25452167948936,"asset":"CrescentMoon","selectable":true,"left":208.17015363947988,"fill":"#A0A0A0"},{"opacity":1,"angle":16.816599633378956,"flipX":true,"flipY":false,"top":-20.92464068867315,"height":351.30409249838107,"width":91.01519489675688,"asset":"CrescentMoon","selectable":true,"left":303.2374061605375,"fill":"#A0A0A0"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":-68.125,"height":159.6436525612472,"width":91.22494432071268,"asset":"Drop","selectable":true,"left":63.125,"fill":"#626262"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":154.57711676557958,"height":340.2901939590749,"width":206.7239442998219,"asset":"CrescentMoon","selectable":true,"left":192.84086825380706,"fill":"#A0A0A0"},{"opacity":1,"angle":23.861766168765207,"flipX":true,"flipY":false,"top":116.42617073777582,"height":350.943384264879,"width":213.1956838870558,"asset":"CrescentMoon","selectable":true,"left":163.05020833465014,"fill":"#ACACAC"},{"opacity":1,"angle":33.42710690226563,"flipX":true,"flipY":false,"top":31.25,"height":364.25870494751575,"width":182.12935247375788,"asset":"CrescentMoon","selectable":true,"left":166.25,"fill":"#A0A0A0"},{"opacity":1,"angle":25.480926524903925,"flipX":true,"flipY":true,"top":-8.536195923578376,"height":129.76633080832082,"width":29.42216136750883,"asset":"CrescentMoon","selectable":true,"left":121.2957397456576,"fill":"#7D7D7D"},{"opacity":1,"angle":339.0963934381077,"flipX":true,"flipY":false,"top":171.5065160270551,"height":138.94315358652736,"width":33.02931819684382,"asset":"CrescentMoon","selectable":true,"left":123.67656523152124,"fill":"#7D7D7D"},{"opacity":1,"angle":104.09028001895604,"flipX":false,"flipY":false,"top":106.875,"height":96.97292528901644,"width":6.808068507851531,"asset":"StrokeBent","selectable":true,"left":223.75,"fill":"#000000"},{"opacity":1,"angle":120.24111505906127,"flipX":false,"flipY":false,"top":126.51782792500249,"height":65.70526505986653,"width":6.057345976742887,"asset":"StrokeBent","selectable":true,"left":276.44363143459327,"fill":"#000000"},{"opacity":1,"angle":36.38767561557568,"flipX":true,"flipY":false,"top":224.486121675628,"height":10.040362177698015,"width":3.647916671277045,"asset":"StrokeBent","selectable":true,"left":311.6978709954357,"fill":"#000000"},{"opacity":1,"angle":298.61218079638826,"flipX":false,"flipY":false,"top":266.698092252353,"height":24.235617838583252,"width":5.209056382130477,"asset":"StrokeBent","selectable":true,"left":278.2666887089593,"fill":"#000000"},{"opacity":1,"angle":297.2842275395889,"flipX":false,"flipY":false,"top":147.5306433649899,"height":98.22536805658956,"width":8.682867884607894,"asset":"StrokeBent","selectable":true,"left":211.7409601712817,"fill":"#000000"},{"opacity":1,"angle":282.7139387349662,"flipX":false,"flipY":false,"top":166.25,"height":104.21921492737435,"width":9.529754152818839,"asset":"StrokeBent","selectable":true,"left":265.2659858232202,"fill":"#000000"},{"opacity":1,"angle":282.7139387349662,"flipX":false,"flipY":false,"top":167.6090313534237,"height":100.99221687871494,"width":9.902368713482872,"asset":"StrokeBent","selectable":true,"left":254.4593327856106,"fill":"#000000"},{"opacity":1,"angle":297.2842275395889,"flipX":false,"flipY":false,"top":151.1744048529159,"height":99.48020501745212,"width":8.093736939581788,"asset":"StrokeBent","selectable":true,"left":215.4225838079907,"fill":"#000000"},{"opacity":1,"angle":283.4199973560187,"flipX":false,"flipY":false,"top":171.1609047702496,"height":28.69176482423155,"width":4.0123793172860545,"asset":"Stroke","selectable":true,"left":263.71828653726755,"fill":"#000000"},{"opacity":1,"angle":222.0157565891595,"flipX":false,"flipY":false,"top":166.07967465213414,"height":18.52756560552986,"width":49.973787062899504,"asset":"Shield","selectable":true,"left":220.8802574448361,"fill":"#000000"},{"opacity":1,"angle":206.61260017420912,"flipX":false,"flipY":false,"top":167.57752705590514,"height":18.52756560552986,"width":26.5435584321526,"asset":"Shield","selectable":true,"left":231.97922271929187,"fill":"#000000"},{"opacity":1,"angle":314.19661936256176,"flipX":false,"flipY":false,"top":158.125,"height":96.28457624896448,"width":5.419513658766455,"asset":"StrokeBent","selectable":true,"left":201.875,"fill":"#000000"},{"opacity":1,"angle":259.3428718424631,"flipX":false,"flipY":false,"top":185,"height":80.59358648281733,"width":5.419513658766455,"asset":"StrokeBent","selectable":true,"left":277.5,"fill":"#000000"},{"asset":"Circle","left":209.6391679341092,"top":234.23107701100164,"angle":15.923182882623976,"width":77.35525758512702,"height":35.81566284728716,"opacity":0.24,"fill":"#F49AC2","flipX":false,"flipY":false,"selectable":true},{"asset":"Circle","left":248.95665431081335,"top":147.80802890588035,"angle":19.962845261432328,"width":153.64576925322814,"height":30.0681291966459,"opacity":0.11,"fill":"#F49AC2","flipX":false,"flipY":false,"selectable":true}]}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告