登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
35
圖層數
40
moyasi_46
作者:
Emblem 121861
代碼 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":101.5772999159,"flipX":false,"flipY":false,"top":297,"height":280.5732852192,"width":902.6941672338999,"asset":"KitEngineer","selectable":false,"left":121.00000000000001,"fill":"#FDF761"},{"opacity":1,"angle":101.5772999159,"flipX":false,"flipY":false,"top":297,"height":280.5732852192,"width":902.6941672338999,"asset":"KitEngineer","selectable":false,"left":156,"fill":"#CD7B0D"},{"opacity":1,"angle":344,"flipX":false,"flipY":true,"top":-68,"height":241.09526696609998,"width":391.2399434543,"asset":"Banner","selectable":false,"left":184,"fill":"#CE7902"},{"opacity":1,"angle":139.2037402947,"flipX":false,"flipY":false,"top":269.2596246567,"height":125.9607383018,"width":96.3497901242,"asset":"Heart","selectable":false,"left":166.0732846818,"fill":"#ADCED3"},{"opacity":1,"angle":330.4135260144,"flipX":false,"flipY":false,"top":329.3966811099,"height":92.4650287955,"width":152.2053918936,"asset":"Shield6","selectable":false,"left":159.0095696324,"fill":"#FAEED8"},{"opacity":1,"angle":28.368936219,"flipX":false,"flipY":false,"top":297.4996469071,"height":91.9540229885,"width":30.5107385765,"asset":"Square","selectable":false,"left":181.99999999999997,"fill":"#ADCED3"},{"opacity":1,"angle":358.0429753965,"flipX":false,"flipY":false,"top":203.4008209825,"height":430.9314289326,"width":166.8140549748,"asset":"Circle","selectable":false,"left":263.7033120795,"fill":"#AD7566"},{"opacity":1,"angle":2,"flipX":false,"flipY":false,"top":90,"height":389.827057025,"width":297.5403495313,"asset":"Shield4","selectable":false,"left":278,"fill":"#FDF5E2"},{"opacity":1,"angle":171.486184694,"flipX":false,"flipY":false,"top":-11.5,"height":105.72083868389998,"width":135.68016047570003,"asset":"Shield4","selectable":false,"left":297,"fill":"#B07D6A"},{"opacity":1,"angle":222.2755714119,"flipX":false,"flipY":false,"top":49.85625,"height":65.04972081930002,"width":43.44209150969999,"asset":"Star3","selectable":false,"left":187.9973585551,"fill":"#000000"},{"opacity":1,"angle":198.809389324,"flipX":false,"flipY":false,"top":49.63750000000001,"height":66.6444091038,"width":92.66691236929998,"asset":"Circle","selectable":false,"left":209.417582539,"fill":"#FFFFFD"},{"opacity":1,"angle":99.0450622705,"flipX":false,"flipY":false,"top":34.5,"height":91.9540229885,"width":36.69596316129999,"asset":"StrokeBent","selectable":false,"left":211.58100980070003,"fill":"#AAA2D1"},{"opacity":1,"angle":193.919348321,"flipX":false,"flipY":false,"top":54.5,"height":74.3622158426,"width":60.35293360359999,"asset":"Circle","selectable":false,"left":213,"fill":"#000000"},{"opacity":1,"angle":196.1178065839,"flipX":false,"flipY":false,"top":54.275,"height":64.5215391425,"width":50.9817346204,"asset":"Circle","selectable":false,"left":213.1104808936,"fill":"#6E4800"},{"opacity":1,"angle":17.6438025441,"flipX":false,"flipY":false,"top":66.4625,"height":24.062189600000004,"width":37.2918833226,"asset":"Eye2","selectable":false,"left":211.5831851681,"fill":"#F1C73D"},{"opacity":1,"angle":193.385969039,"flipX":false,"flipY":false,"top":53.5,"height":24.841640234499998,"width":14.74222681,"asset":"Circle","selectable":false,"left":213.5,"fill":"#6E4800"},{"opacity":1,"angle":195.9577250248,"flipX":false,"flipY":false,"top":55.50000000000001,"height":15.8600294662,"width":6.5275874577,"asset":"Circle","selectable":false,"left":212.00000000000003,"fill":"#3D040B"},{"opacity":1,"angle":188.4171811651,"flipX":false,"flipY":false,"top":55.50000000000001,"height":29.491580574500002,"width":7.3736855491,"asset":"StrokeBent","selectable":false,"left":225,"fill":"#40030A"},{"opacity":1,"angle":200.8486366361,"flipX":true,"flipY":false,"top":48.5,"height":31.526758766400004,"width":6.5044826363,"asset":"StrokeBent","selectable":false,"left":203,"fill":"#40030A"},{"opacity":1,"angle":173.0387654776,"flipX":false,"flipY":false,"top":76.5,"height":43.58271216930001,"width":187.04447481869997,"asset":"ArrowBent","selectable":false,"left":263,"fill":"#FDF5E2"},{"opacity":1,"angle":281.0833267645,"flipX":false,"flipY":false,"top":76.5,"height":68.1649191347,"width":3.8520294287,"asset":"StrokeBent","selectable":false,"left":211.86410614460002,"fill":"#000000"},{"opacity":1,"angle":91.8952238599,"flipX":false,"flipY":true,"top":4.2804747474,"height":35.6891496389,"width":121.14974157569999,"asset":"Wingpart","selectable":false,"left":137.625,"fill":"#C29079"},{"opacity":1,"angle":114.9338928743,"flipX":false,"flipY":false,"top":26.500000000000004,"height":79.1272225889,"width":14.7770070205,"asset":"StrokeBent","selectable":false,"left":225,"fill":"#000000"},{"opacity":1,"angle":241.791114291,"flipX":false,"flipY":false,"top":23.728795270799996,"height":44.79409496299999,"width":6.664228831100001,"asset":"Stroke","selectable":false,"left":174.8543405407,"fill":"#000000"},{"opacity":1,"angle":162.0670242885,"flipX":false,"flipY":false,"top":45.693749999999994,"height":29.471359077,"width":11.1660550244,"asset":"Triangle","selectable":false,"left":166.7450904036,"fill":"#000000"},{"opacity":1,"angle":59.2619430659,"flipX":false,"flipY":false,"top":45.55625,"height":4.7400372217,"width":29.0625,"asset":"Triangle","selectable":false,"left":256.4340330217,"fill":"#000000"},{"opacity":1,"angle":136.8859455368,"flipX":false,"flipY":false,"top":38.59375,"height":21.8798619561,"width":2.825,"asset":"StrokeBent","selectable":false,"left":261,"fill":"#000000"},{"opacity":1,"angle":331.397561404,"flipX":false,"flipY":false,"top":17.7808502307,"height":68.7982294498,"width":208.8712350499,"asset":"Wingpart","selectable":false,"left":110.1040118793,"fill":"#CE7902"},{"opacity":1,"angle":10,"flipX":false,"flipY":false,"top":91.6265474348,"height":36.7671106887,"width":66.5777936557,"asset":"Circle","selectable":false,"left":151.9697223717,"fill":"#F4B69D"},{"opacity":1,"angle":179.0595425398,"flipX":false,"flipY":false,"top":-25.250000000000004,"height":105.72083868389998,"width":135.68016047570003,"asset":"Shield4","selectable":false,"left":293.5383510391,"fill":"#CC7901"},{"opacity":1,"angle":81.9520561744,"flipX":false,"flipY":true,"top":26.7902729378,"height":75.5840802326,"width":265.6941711999,"asset":"Wingpart","selectable":false,"left":97.8838419527,"fill":"#FDF761"},{"opacity":1,"angle":100.3396356552,"flipX":false,"flipY":false,"top":167.3375,"height":89.1102833699,"width":83.0712301,"asset":"Shield10","selectable":false,"left":275.0153599063,"fill":"#8C0509"},{"opacity":1,"angle":15.2271489055,"flipX":false,"flipY":false,"top":207.6,"height":23.818077647,"width":52.67631781490001,"asset":"Eye2","selectable":false,"left":274.2621456616,"fill":"#E97E6C"},{"opacity":1,"angle":104.1335170427,"flipX":false,"flipY":false,"top":183.90625,"height":47.8902254502,"width":26.1019786291,"asset":"StrokeBent","selectable":false,"left":278.9899868133,"fill":"#FFFFFF"},{"opacity":1,"angle":105.7120595081,"flipX":false,"flipY":false,"top":135.8375,"height":130.4720105586,"width":132.809440183,"asset":"Flag","selectable":false,"left":274.875,"fill":"#FDF5E2"},{"opacity":1,"angle":205.4815031787,"flipX":false,"flipY":false,"top":147.6252838598,"height":22.689678761899998,"width":4.427446686899999,"asset":"StrokeBent","selectable":false,"left":303.7684509386,"fill":"#000000"},{"opacity":1,"angle":102.6088975138,"flipX":false,"flipY":true,"top":-96.5,"height":75.5840802326,"width":265.6941711999,"asset":"Wingpart","selectable":false,"left":146,"fill":"#FDF761"},{"opacity":1,"angle":357,"flipX":false,"flipY":true,"top":-106.00000000000001,"height":272.5314151957,"width":504.8422060188001,"asset":"Banner","selectable":false,"left":245,"fill":"#FDF761"},{"opacity":1,"angle":8.4620147184,"flipX":false,"flipY":false,"top":125,"height":22.689678761899998,"width":4.427446686899999,"asset":"StrokeBent","selectable":false,"left":307.25,"fill":"#000000"},{"opacity":1,"angle":196.6601999962,"flipX":false,"flipY":false,"top":61.362500000000004,"height":1.8425893921000003,"width":17.8567544154,"asset":"Dogtag","selectable":false,"left":239.9540591043,"fill":"#FFFFFD"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":request=newXMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){vare=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":101.5772999159,"flipX":false,"flipY":false,"top":297,"height":280.5732852192,"width":902.6941672338999,"asset":"KitEngineer","selectable":false,"left":121.00000000000001,"fill":"#FDF761"},{"opacity":1,"angle":101.5772999159,"flipX":false,"flipY":false,"top":297,"height":280.5732852192,"width":902.6941672338999,"asset":"KitEngineer","selectable":false,"left":156,"fill":"#CD7B0D"},{"opacity":1,"angle":344,"flipX":false,"flipY":true,"top":-68,"height":241.09526696609998,"width":391.2399434543,"asset":"Banner","selectable":false,"left":184,"fill":"#CE7902"},{"opacity":1,"angle":139.2037402947,"flipX":false,"flipY":false,"top":269.2596246567,"height":125.9607383018,"width":96.3497901242,"asset":"Heart","selectable":false,"left":166.0732846818,"fill":"#ADCED3"},{"opacity":1,"angle":330.4135260144,"flipX":false,"flipY":false,"top":329.3966811099,"height":92.4650287955,"width":152.2053918936,"asset":"Shield6","selectable":false,"left":159.0095696324,"fill":"#FAEED8"},{"opacity":1,"angle":28.368936219,"flipX":false,"flipY":false,"top":297.4996469071,"height":91.9540229885,"width":30.5107385765,"asset":"Square","selectable":false,"left":181.99999999999997,"fill":"#ADCED3"},{"opacity":1,"angle":358.0429753965,"flipX":false,"flipY":false,"top":203.4008209825,"height":430.9314289326,"width":166.8140549748,"asset":"Circle","selectable":false,"left":263.7033120795,"fill":"#AD7566"},{"opacity":1,"angle":2,"flipX":false,"flipY":false,"top":90,"height":389.827057025,"width":297.5403495313,"asset":"Shield4","selectable":false,"left":278,"fill":"#FDF5E2"},{"opacity":1,"angle":171.486184694,"flipX":false,"flipY":false,"top":-11.5,"height":105.72083868389998,"width":135.68016047570003,"asset":"Shield4","selectable":false,"left":297,"fill":"#B07D6A"},{"opacity":1,"angle":222.2755714119,"flipX":false,"flipY":false,"top":49.85625,"height":65.04972081930002,"width":43.44209150969999,"asset":"Star3","selectable":false,"left":187.9973585551,"fill":"#000000"},{"opacity":1,"angle":198.809389324,"flipX":false,"flipY":false,"top":49.63750000000001,"height":66.6444091038,"width":92.66691236929998,"asset":"Circle","selectable":false,"left":209.417582539,"fill":"#FFFFFD"},{"opacity":1,"angle":99.0450622705,"flipX":false,"flipY":false,"top":34.5,"height":91.9540229885,"width":36.69596316129999,"asset":"StrokeBent","selectable":false,"left":211.58100980070003,"fill":"#AAA2D1"},{"opacity":1,"angle":193.919348321,"flipX":false,"flipY":false,"top":54.5,"height":74.3622158426,"width":60.35293360359999,"asset":"Circle","selectable":false,"left":213,"fill":"#000000"},{"opacity":1,"angle":196.1178065839,"flipX":false,"flipY":false,"top":54.275,"height":64.5215391425,"width":50.9817346204,"asset":"Circle","selectable":false,"left":213.1104808936,"fill":"#6E4800"},{"opacity":1,"angle":17.6438025441,"flipX":false,"flipY":false,"top":66.4625,"height":24.062189600000004,"width":37.2918833226,"asset":"Eye2","selectable":false,"left":211.5831851681,"fill":"#F1C73D"},{"opacity":1,"angle":193.385969039,"flipX":false,"flipY":false,"top":53.5,"height":24.841640234499998,"width":14.74222681,"asset":"Circle","selectable":false,"left":213.5,"fill":"#6E4800"},{"opacity":1,"angle":195.9577250248,"flipX":false,"flipY":false,"top":55.50000000000001,"height":15.8600294662,"width":6.5275874577,"asset":"Circle","selectable":false,"left":212.00000000000003,"fill":"#3D040B"},{"opacity":1,"angle":188.4171811651,"flipX":false,"flipY":false,"top":55.50000000000001,"height":29.491580574500002,"width":7.3736855491,"asset":"StrokeBent","selectable":false,"left":225,"fill":"#40030A"},{"opacity":1,"angle":200.8486366361,"flipX":true,"flipY":false,"top":48.5,"height":31.526758766400004,"width":6.5044826363,"asset":"StrokeBent","selectable":false,"left":203,"fill":"#40030A"},{"opacity":1,"angle":173.0387654776,"flipX":false,"flipY":false,"top":76.5,"height":43.58271216930001,"width":187.04447481869997,"asset":"ArrowBent","selectable":false,"left":263,"fill":"#FDF5E2"},{"opacity":1,"angle":281.0833267645,"flipX":false,"flipY":false,"top":76.5,"height":68.1649191347,"width":3.8520294287,"asset":"StrokeBent","selectable":false,"left":211.86410614460002,"fill":"#000000"},{"opacity":1,"angle":91.8952238599,"flipX":false,"flipY":true,"top":4.2804747474,"height":35.6891496389,"width":121.14974157569999,"asset":"Wingpart","selectable":false,"left":137.625,"fill":"#C29079"},{"opacity":1,"angle":114.9338928743,"flipX":false,"flipY":false,"top":26.500000000000004,"height":79.1272225889,"width":14.7770070205,"asset":"StrokeBent","selectable":false,"left":225,"fill":"#000000"},{"opacity":1,"angle":241.791114291,"flipX":false,"flipY":false,"top":23.728795270799996,"height":44.79409496299999,"width":6.664228831100001,"asset":"Stroke","selectable":false,"left":174.8543405407,"fill":"#000000"},{"opacity":1,"angle":162.0670242885,"flipX":false,"flipY":false,"top":45.693749999999994,"height":29.471359077,"width":11.1660550244,"asset":"Triangle","selectable":false,"left":166.7450904036,"fill":"#000000"},{"opacity":1,"angle":59.2619430659,"flipX":false,"flipY":false,"top":45.55625,"height":4.7400372217,"width":29.0625,"asset":"Triangle","selectable":false,"left":256.4340330217,"fill":"#000000"},{"opacity":1,"angle":136.8859455368,"flipX":false,"flipY":false,"top":38.59375,"height":21.8798619561,"width":2.825,"asset":"StrokeBent","selectable":false,"left":261,"fill":"#000000"},{"opacity":1,"angle":331.397561404,"flipX":false,"flipY":false,"top":17.7808502307,"height":68.7982294498,"width":208.8712350499,"asset":"Wingpart","selectable":false,"left":110.1040118793,"fill":"#CE7902"},{"opacity":1,"angle":10,"flipX":false,"flipY":false,"top":91.6265474348,"height":36.7671106887,"width":66.5777936557,"asset":"Circle","selectable":false,"left":151.9697223717,"fill":"#F4B69D"},{"opacity":1,"angle":179.0595425398,"flipX":false,"flipY":false,"top":-25.250000000000004,"height":105.72083868389998,"width":135.68016047570003,"asset":"Shield4","selectable":false,"left":293.5383510391,"fill":"#CC7901"},{"opacity":1,"angle":81.9520561744,"flipX":false,"flipY":true,"top":26.7902729378,"height":75.5840802326,"width":265.6941711999,"asset":"Wingpart","selectable":false,"left":97.8838419527,"fill":"#FDF761"},{"opacity":1,"angle":100.3396356552,"flipX":false,"flipY":false,"top":167.3375,"height":89.1102833699,"width":83.0712301,"asset":"Shield10","selectable":false,"left":275.0153599063,"fill":"#8C0509"},{"opacity":1,"angle":15.2271489055,"flipX":false,"flipY":false,"top":207.6,"height":23.818077647,"width":52.67631781490001,"asset":"Eye2","selectable":false,"left":274.2621456616,"fill":"#E97E6C"},{"opacity":1,"angle":104.1335170427,"flipX":false,"flipY":false,"top":183.90625,"height":47.8902254502,"width":26.1019786291,"asset":"StrokeBent","selectable":false,"left":278.9899868133,"fill":"#FFFFFF"},{"opacity":1,"angle":105.7120595081,"flipX":false,"flipY":false,"top":135.8375,"height":130.4720105586,"width":132.809440183,"asset":"Flag","selectable":false,"left":274.875,"fill":"#FDF5E2"},{"opacity":1,"angle":205.4815031787,"flipX":false,"flipY":false,"top":147.6252838598,"height":22.689678761899998,"width":4.427446686899999,"asset":"StrokeBent","selectable":false,"left":303.7684509386,"fill":"#000000"},{"opacity":1,"angle":102.6088975138,"flipX":false,"flipY":true,"top":-96.5,"height":75.5840802326,"width":265.6941711999,"asset":"Wingpart","selectable":false,"left":146,"fill":"#FDF761"},{"opacity":1,"angle":357,"flipX":false,"flipY":true,"top":-106.00000000000001,"height":272.5314151957,"width":504.8422060188001,"asset":"Banner","selectable":false,"left":245,"fill":"#FDF761"},{"opacity":1,"angle":8.4620147184,"flipX":false,"flipY":false,"top":125,"height":22.689678761899998,"width":4.427446686899999,"asset":"StrokeBent","selectable":false,"left":307.25,"fill":"#000000"},{"opacity":1,"angle":196.6601999962,"flipX":false,"flipY":false,"top":61.362500000000004,"height":1.8425893921000003,"width":17.8567544154,"asset":"Dogtag","selectable":false,"left":239.9540591043,"fill":"#FFFFFD"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
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":255.9849246231
"height":293.9698492462
"width":293.9698492462
"asset":"Circle"
"selectable":false
"left":256.9849246231
"fill":"#F470B9"}
{"opacity":1
"angle":14.3742814033
"flipX":false
"flipY":false
"top":197
"height":218.0972056876
"width":231.433451981
"asset":"Shield4"
"selectable":false
"left":167
"fill":"#000000"}
{"opacity":1
"angle":11.2149389207
"flipX":false
"flipY":false
广告