登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
4
複製總數
47
圖層數
40
Hanako
作者:
MrDadGuy
»
代碼 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":178.9889329922,"flipX":false,"flipY":false,"top":99,"height":188.1696951347,"width":208.0032025556,"asset":"Circle","selectable":false,"left":160.3940012472,"fill":"#4E4552"},{"opacity":1,"angle":4.4491375298,"flipX":false,"flipY":false,"top":216,"height":241.5910058141,"width":91.9540229885,"asset":"Square","selectable":false,"left":94,"fill":"#4E4552"},{"opacity":1,"angle":354.6420996754,"flipX":false,"flipY":false,"top":212,"height":241.5910058141,"width":91.9540229885,"asset":"Square","selectable":false,"left":229,"fill":"#4E4552"},{"opacity":1,"angle":9.3190982701,"flipX":false,"flipY":false,"top":189.3507079801,"height":51.31667915919999,"width":16.5508449019,"asset":"Circle","selectable":false,"left":239,"fill":"#F1D3C4"},{"opacity":1,"angle":359.4094980393,"flipX":false,"flipY":false,"top":334,"height":117.30117846229999,"width":110.6312509127,"asset":"MedalPart2","selectable":false,"left":163,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":335,"height":193.3727217388,"width":61.3760486619,"asset":"Tower","selectable":false,"left":163,"fill":"#F5DFD1"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.28753536,"height":191.3789522684,"width":153.0404208907,"asset":"Shield","selectable":false,"left":161.0015382393,"fill":"#F7E9DC"},{"opacity":1,"angle":249.9535348945,"flipX":false,"flipY":false,"top":237,"height":20.9952832777,"width":8.9055212008,"asset":"CrescentMoon","selectable":false,"left":145,"fill":"#BC8690"},{"opacity":1,"angle":338.7189283676,"flipX":false,"flipY":false,"top":243,"height":52.1553951924,"width":7.3104947184,"asset":"StrokeBent","selectable":false,"left":136.7759544177,"fill":"#BC8690"},{"opacity":1,"angle":275.4908848529,"flipX":false,"flipY":false,"top":244,"height":37.2763592221,"width":9.4128097828,"asset":"StrokeBent","selectable":false,"left":117,"fill":"#BC8690"},{"opacity":1,"angle":338.7189283676,"flipX":false,"flipY":false,"top":232,"height":78.4732961148,"width":7.3104947184,"asset":"StrokeBent","selectable":false,"left":121,"fill":"#BC8690"},{"opacity":1,"angle":276.6265892981,"flipX":false,"flipY":false,"top":196,"height":24.706001012600005,"width":10.7405990174,"asset":"CrescentMoon","selectable":false,"left":147,"fill":"#BC8690"},{"opacity":1,"angle":274.3710006433,"flipX":false,"flipY":false,"top":222,"height":20.9952832777,"width":8.9055212008,"asset":"CrescentMoon","selectable":false,"left":138,"fill":"#BC8690"},{"opacity":1,"angle":583.9595206263,"flipX":false,"flipY":false,"top":180,"height":24.706001012600005,"width":10.7405990174,"asset":"CrescentMoon","selectable":false,"left":143,"fill":"#BC8690"},{"opacity":1,"angle":620.0440788438,"flipX":false,"flipY":false,"top":229,"height":37.2762974578,"width":7.1888142398,"asset":"StrokeBent","selectable":false,"left":113,"fill":"#BC8690"},{"opacity":1,"angle":338.7189283676,"flipX":false,"flipY":false,"top":233,"height":52.1553951924,"width":7.3104947184,"asset":"StrokeBent","selectable":false,"left":107,"fill":"#BC8690"},{"opacity":1,"angle":454.2215857016,"flipX":false,"flipY":false,"top":256,"height":20.9952832777,"width":8.9055212008,"asset":"CrescentMoon","selectable":false,"left":137,"fill":"#BC8690"},{"opacity":1,"angle":435.4106071636,"flipX":false,"flipY":false,"top":237,"height":33.1255431114,"width":6.712584739799999,"asset":"StrokeBent","selectable":false,"left":127,"fill":"#BC8690"},{"opacity":1,"angle":416.9756583407,"flipX":false,"flipY":false,"top":221,"height":33.1255431114,"width":6.712584739799999,"asset":"StrokeBent","selectable":false,"left":116,"fill":"#BC8690"},{"opacity":1,"angle":288.5527513557,"flipX":false,"flipY":false,"top":164,"height":45.4340280954,"width":27.1917446672,"asset":"CrescentMoon","selectable":false,"left":204,"fill":"#221E26"},{"opacity":0.46,"angle":248.6031753943,"flipX":false,"flipY":false,"top":219,"height":43.8712459304,"width":94.2013948252,"asset":"Eye2","selectable":false,"left":112,"fill":"#A85E6B"},{"opacity":1,"angle":345.7778503531,"flipX":false,"flipY":false,"top":175.0709929292,"height":45.8025165853,"width":38.184935853,"asset":"Circle","selectable":false,"left":202.5164359412,"fill":"#FDFCFC"},{"opacity":1,"angle":352.751299594,"flipX":false,"flipY":false,"top":174.0652434578,"height":47.2752765596,"width":30.6493461055,"asset":"Circle","selectable":false,"left":203.5701158277,"fill":"#43364A"},{"opacity":1,"angle":352.751299594,"flipX":false,"flipY":false,"top":179.5068889589,"height":28.8975967098,"width":24.183383374099996,"asset":"Circle","selectable":false,"left":204,"fill":"#AD889B"},{"opacity":0.8,"angle":352.751299594,"flipX":false,"flipY":false,"top":171,"height":17.6312311355,"width":28.6821907188,"asset":"Circle","selectable":false,"left":203.4402042282,"fill":"#4F3E57"},{"opacity":1,"angle":352.751299594,"flipX":false,"flipY":false,"top":180.4987159035,"height":15.9508178744,"width":13.5614668166,"asset":"Circle","selectable":false,"left":204.6727301467,"fill":"#40364C"},{"opacity":1,"angle":100.8934489782,"flipX":false,"flipY":false,"top":160,"height":43.9294205689,"width":17.7338944796,"asset":"StrokeBent","selectable":false,"left":202,"fill":"#221E26"},{"opacity":1,"angle":326.4513256654,"flipX":false,"flipY":false,"top":183.6002584964,"height":5.3000142961,"width":9.2616289272,"asset":"Circle","selectable":false,"left":196.4933191056,"fill":"#FDFAFB"},{"opacity":1,"angle":178.9889329922,"flipX":false,"flipY":false,"top":52.0005463287,"height":91.9540229885,"width":165.193035759,"asset":"Circle","selectable":false,"left":159.9690435142,"fill":"#4E4552"},{"opacity":1,"angle":268.3687572976,"flipX":false,"flipY":true,"top":147.4446698168,"height":37.2902715169,"width":175.3138649639,"asset":"Wingpart","selectable":false,"left":87.0316888664,"fill":"#4E4552"},{"opacity":1,"angle":268.3687572976,"flipX":false,"flipY":true,"top":139.4848056267,"height":37.2902715169,"width":181.2359933393,"asset":"Wingpart","selectable":false,"left":116.947397111,"fill":"#4E4552"},{"opacity":1,"angle":239.4093639331,"flipX":false,"flipY":true,"top":126,"height":37.2902715169,"width":140.8383702096,"asset":"Wingpart","selectable":false,"left":220,"fill":"#4E4552"},{"opacity":1,"angle":254.9888243745,"flipX":false,"flipY":false,"top":105.3100100206,"height":27.9581079123,"width":91.9540229885,"asset":"Eye2","selectable":false,"left":168,"fill":"#4E4552"},{"opacity":1,"angle":178.2992877168,"flipX":false,"flipY":false,"top":155.7646293255,"height":134.6811364527,"width":18.6505496494,"asset":"CrescentMoon","selectable":false,"left":143.7428366174,"fill":"#4E4552"},{"opacity":1,"angle":162.8785530055,"flipX":false,"flipY":false,"top":143,"height":111.81470123080001,"width":42.4291996041,"asset":"Triangle","selectable":false,"left":146,"fill":"#4E4552"},{"opacity":1,"angle":94.9806396779,"flipX":false,"flipY":false,"top":94.0599825631,"height":177.5910756839,"width":111.6026559643,"asset":"StrokeBent","selectable":false,"left":166.6882824073,"fill":"#4E4552"},{"opacity":1,"angle":159.6329161107,"flipX":false,"flipY":false,"top":179,"height":89.1428237472,"width":28.228408610099997,"asset":"StrokeBent","selectable":false,"left":236,"fill":"#4E4552"},{"opacity":1,"angle":109.3297408882,"flipX":false,"flipY":false,"top":133,"height":61.0340161483,"width":4.8620087599,"asset":"StrokeBent","selectable":false,"left":206,"fill":"#4A424F"},{"opacity":1,"angle":268.8658408702,"flipX":false,"flipY":false,"top":245,"height":19.0335487839,"width":4.3529733483,"asset":"StrokeBent","selectable":false,"left":162,"fill":"#B6998B"},{"opacity":1,"angle":187.8595181783,"flipX":false,"flipY":false,"top":213,"height":10.3842315274,"width":2.0545701631,"asset":"StrokeBent","selectable":false,"left":159,"fill":"#A48E84"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":178.9889329922,"flipX":false,"flipY":false,"top":99,"height":188.1696951347,"width":208.0032025556,"asset":"Circle","selectable":false,"left":160.3940012472,"fill":"#4E4552"},{"opacity":1,"angle":4.4491375298,"flipX":false,"flipY":false,"top":216,"height":241.5910058141,"width":91.9540229885,"asset":"Square","selectable":false,"left":94,"fill":"#4E4552"},{"opacity":1,"angle":354.6420996754,"flipX":false,"flipY":false,"top":212,"height":241.5910058141,"width":91.9540229885,"asset":"Square","selectable":false,"left":229,"fill":"#4E4552"},{"opacity":1,"angle":9.3190982701,"flipX":false,"flipY":false,"top":189.3507079801,"height":51.31667915919999,"width":16.5508449019,"asset":"Circle","selectable":false,"left":239,"fill":"#F1D3C4"},{"opacity":1,"angle":359.4094980393,"flipX":false,"flipY":false,"top":334,"height":117.30117846229999,"width":110.6312509127,"asset":"MedalPart2","selectable":false,"left":163,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":335,"height":193.3727217388,"width":61.3760486619,"asset":"Tower","selectable":false,"left":163,"fill":"#F5DFD1"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.28753536,"height":191.3789522684,"width":153.0404208907,"asset":"Shield","selectable":false,"left":161.0015382393,"fill":"#F7E9DC"},{"opacity":1,"angle":249.9535348945,"flipX":false,"flipY":false,"top":237,"height":20.9952832777,"width":8.9055212008,"asset":"CrescentMoon","selectable":false,"left":145,"fill":"#BC8690"},{"opacity":1,"angle":338.7189283676,"flipX":false,"flipY":false,"top":243,"height":52.1553951924,"width":7.3104947184,"asset":"StrokeBent","selectable":false,"left":136.7759544177,"fill":"#BC8690"},{"opacity":1,"angle":275.4908848529,"flipX":false,"flipY":false,"top":244,"height":37.2763592221,"width":9.4128097828,"asset":"StrokeBent","selectable":false,"left":117,"fill":"#BC8690"},{"opacity":1,"angle":338.7189283676,"flipX":false,"flipY":false,"top":232,"height":78.4732961148,"width":7.3104947184,"asset":"StrokeBent","selectable":false,"left":121,"fill":"#BC8690"},{"opacity":1,"angle":276.6265892981,"flipX":false,"flipY":false,"top":196,"height":24.706001012600005,"width":10.7405990174,"asset":"CrescentMoon","selectable":false,"left":147,"fill":"#BC8690"},{"opacity":1,"angle":274.3710006433,"flipX":false,"flipY":false,"top":222,"height":20.9952832777,"width":8.9055212008,"asset":"CrescentMoon","selectable":false,"left":138,"fill":"#BC8690"},{"opacity":1,"angle":583.9595206263,"flipX":false,"flipY":false,"top":180,"height":24.706001012600005,"width":10.7405990174,"asset":"CrescentMoon","selectable":false,"left":143,"fill":"#BC8690"},{"opacity":1,"angle":620.0440788438,"flipX":false,"flipY":false,"top":229,"height":37.2762974578,"width":7.1888142398,"asset":"StrokeBent","selectable":false,"left":113,"fill":"#BC8690"},{"opacity":1,"angle":338.7189283676,"flipX":false,"flipY":false,"top":233,"height":52.1553951924,"width":7.3104947184,"asset":"StrokeBent","selectable":false,"left":107,"fill":"#BC8690"},{"opacity":1,"angle":454.2215857016,"flipX":false,"flipY":false,"top":256,"height":20.9952832777,"width":8.9055212008,"asset":"CrescentMoon","selectable":false,"left":137,"fill":"#BC8690"},{"opacity":1,"angle":435.4106071636,"flipX":false,"flipY":false,"top":237,"height":33.1255431114,"width":6.712584739799999,"asset":"StrokeBent","selectable":false,"left":127,"fill":"#BC8690"},{"opacity":1,"angle":416.9756583407,"flipX":false,"flipY":false,"top":221,"height":33.1255431114,"width":6.712584739799999,"asset":"StrokeBent","selectable":false,"left":116,"fill":"#BC8690"},{"opacity":1,"angle":288.5527513557,"flipX":false,"flipY":false,"top":164,"height":45.4340280954,"width":27.1917446672,"asset":"CrescentMoon","selectable":false,"left":204,"fill":"#221E26"},{"opacity":0.46,"angle":248.6031753943,"flipX":false,"flipY":false,"top":219,"height":43.8712459304,"width":94.2013948252,"asset":"Eye2","selectable":false,"left":112,"fill":"#A85E6B"},{"opacity":1,"angle":345.7778503531,"flipX":false,"flipY":false,"top":175.0709929292,"height":45.8025165853,"width":38.184935853,"asset":"Circle","selectable":false,"left":202.5164359412,"fill":"#FDFCFC"},{"opacity":1,"angle":352.751299594,"flipX":false,"flipY":false,"top":174.0652434578,"height":47.2752765596,"width":30.6493461055,"asset":"Circle","selectable":false,"left":203.5701158277,"fill":"#43364A"},{"opacity":1,"angle":352.751299594,"flipX":false,"flipY":false,"top":179.5068889589,"height":28.8975967098,"width":24.183383374099996,"asset":"Circle","selectable":false,"left":204,"fill":"#AD889B"},{"opacity":0.8,"angle":352.751299594,"flipX":false,"flipY":false,"top":171,"height":17.6312311355,"width":28.6821907188,"asset":"Circle","selectable":false,"left":203.4402042282,"fill":"#4F3E57"},{"opacity":1,"angle":352.751299594,"flipX":false,"flipY":false,"top":180.4987159035,"height":15.9508178744,"width":13.5614668166,"asset":"Circle","selectable":false,"left":204.6727301467,"fill":"#40364C"},{"opacity":1,"angle":100.8934489782,"flipX":false,"flipY":false,"top":160,"height":43.9294205689,"width":17.7338944796,"asset":"StrokeBent","selectable":false,"left":202,"fill":"#221E26"},{"opacity":1,"angle":326.4513256654,"flipX":false,"flipY":false,"top":183.6002584964,"height":5.3000142961,"width":9.2616289272,"asset":"Circle","selectable":false,"left":196.4933191056,"fill":"#FDFAFB"},{"opacity":1,"angle":178.9889329922,"flipX":false,"flipY":false,"top":52.0005463287,"height":91.9540229885,"width":165.193035759,"asset":"Circle","selectable":false,"left":159.9690435142,"fill":"#4E4552"},{"opacity":1,"angle":268.3687572976,"flipX":false,"flipY":true,"top":147.4446698168,"height":37.2902715169,"width":175.3138649639,"asset":"Wingpart","selectable":false,"left":87.0316888664,"fill":"#4E4552"},{"opacity":1,"angle":268.3687572976,"flipX":false,"flipY":true,"top":139.4848056267,"height":37.2902715169,"width":181.2359933393,"asset":"Wingpart","selectable":false,"left":116.947397111,"fill":"#4E4552"},{"opacity":1,"angle":239.4093639331,"flipX":false,"flipY":true,"top":126,"height":37.2902715169,"width":140.8383702096,"asset":"Wingpart","selectable":false,"left":220,"fill":"#4E4552"},{"opacity":1,"angle":254.9888243745,"flipX":false,"flipY":false,"top":105.3100100206,"height":27.9581079123,"width":91.9540229885,"asset":"Eye2","selectable":false,"left":168,"fill":"#4E4552"},{"opacity":1,"angle":178.2992877168,"flipX":false,"flipY":false,"top":155.7646293255,"height":134.6811364527,"width":18.6505496494,"asset":"CrescentMoon","selectable":false,"left":143.7428366174,"fill":"#4E4552"},{"opacity":1,"angle":162.8785530055,"flipX":false,"flipY":false,"top":143,"height":111.81470123080001,"width":42.4291996041,"asset":"Triangle","selectable":false,"left":146,"fill":"#4E4552"},{"opacity":1,"angle":94.9806396779,"flipX":false,"flipY":false,"top":94.0599825631,"height":177.5910756839,"width":111.6026559643,"asset":"StrokeBent","selectable":false,"left":166.6882824073,"fill":"#4E4552"},{"opacity":1,"angle":159.6329161107,"flipX":false,"flipY":false,"top":179,"height":89.1428237472,"width":28.228408610099997,"asset":"StrokeBent","selectable":false,"left":236,"fill":"#4E4552"},{"opacity":1,"angle":109.3297408882,"flipX":false,"flipY":false,"top":133,"height":61.0340161483,"width":4.8620087599,"asset":"StrokeBent","selectable":false,"left":206,"fill":"#4A424F"},{"opacity":1,"angle":268.8658408702,"flipX":false,"flipY":false,"top":245,"height":19.0335487839,"width":4.3529733483,"asset":"StrokeBent","selectable":false,"left":162,"fill":"#B6998B"},{"opacity":1,"angle":187.8595181783,"flipX":false,"flipY":false,"top":213,"height":10.3842315274,"width":2.0545701631,"asset":"StrokeBent","selectable":false,"left":159,"fill":"#A48E84"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告