登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
8
複製總數
251
圖層數
20
Kelvin de Castro
作者:
Kelvin de Castro
代碼 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":160,"height":320,"width":320,"asset":"Square","selectable":true,"left":160,"fill":"#F9AD81"},{"opacity":1,"angle":158,"flipX":false,"flipY":false,"top":160.92437888884706,"height":201.37057205503973,"width":410.20877545,"asset":"Eye2","selectable":true,"left":162.36844053140945,"fill":"#000000"},{"opacity":1,"angle":158,"flipX":false,"flipY":false,"top":160.6930952751,"height":189.118662029,"width":400.46995782769994,"asset":"Eye2","selectable":true,"left":161.4321446506,"fill":"#FFFFFF"},{"opacity":0.35,"angle":251,"flipX":true,"flipY":false,"top":113.6326251824,"height":348.79209482159996,"width":90.7715570452,"asset":"StrokeBent","selectable":true,"left":152.7810130205,"fill":"#D7D7D7"},{"opacity":0.2,"angle":251,"flipX":false,"flipY":false,"top":210.0589723879,"height":346.79715550919997,"width":87.2429989826,"asset":"StrokeBent","selectable":true,"left":169.1774137642,"fill":"#D7D7D7"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":161.5625,"height":191.875,"width":194.375,"asset":"Circle","selectable":true,"left":161.5625,"fill":"#000000"},{"opacity":0.98,"angle":29,"flipX":false,"flipY":false,"top":161.13188519989998,"height":59.717190991100004,"width":190.5990585776,"asset":"Eye2","selectable":true,"left":161.66191526,"fill":"#FF0000"},{"opacity":0.99,"angle":90,"flipX":false,"flipY":false,"top":161.25,"height":63.75000000000001,"width":191.25,"asset":"Eye2","selectable":true,"left":163.125,"fill":"#FF0000"},{"opacity":0.99,"angle":149,"flipX":false,"flipY":false,"top":163.16256688909996,"height":59.2450590743,"width":191.9428764131,"asset":"Eye2","selectable":true,"left":162.6473035208,"fill":"#FF0000"},{"opacity":0.37,"angle":60,"flipX":false,"flipY":false,"top":46.58196134565833,"height":429.85769161131316,"width":171.3086412161595,"asset":"StrokeBent","selectable":true,"left":86.01713186952921,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162.1356638308,"height":30.728672338500004,"width":29.375,"asset":"Circle","selectable":true,"left":162.8125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162.3753894081,"height":91.00077881619998,"width":8.125,"asset":"StrokeBent","selectable":true,"left":132.8125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":162.3753894081,"height":91.00077881619998,"width":7.9001168224,"asset":"StrokeBent","selectable":true,"left":193.54994158880004,"fill":"#000000"},{"opacity":1,"angle":298.5692759467,"flipX":true,"flipY":true,"top":137.3117902217,"height":92.9542074555,"width":7.9358942362,"asset":"StrokeBent","selectable":true,"left":176.5878577606,"fill":"#000000"},{"opacity":1,"angle":298,"flipX":false,"flipY":true,"top":187.6391569555,"height":91.00077881619998,"width":8.7811562085,"asset":"StrokeBent","selectable":true,"left":148.9686905395,"fill":"#000000"},{"opacity":1,"angle":239,"flipX":true,"flipY":true,"top":137.2610818216,"height":91.41555248539999,"width":8.8167640801,"asset":"StrokeBent","selectable":true,"left":149.7228499959,"fill":"#000000"},{"opacity":1,"angle":59,"flipX":true,"flipY":true,"top":186.6872347871,"height":95.1527715628,"width":7.8510676896,"asset":"StrokeBent","selectable":true,"left":177.4502171648,"fill":"#000000"},{"opacity":0.36,"angle":338,"flipX":false,"flipY":false,"top":136.3301010719,"height":34.7806901705,"width":88.94805737569999,"asset":"Circle","selectable":true,"left":224.5492229442,"fill":"#FFFFFF"},{"opacity":1,"angle":72,"flipX":false,"flipY":false,"top":34.8248784823212,"height":347.80670653072013,"width":75.44652070870615,"asset":"StrokeBent","selectable":true,"left":140.9178065717614,"fill":"#000000"},{"opacity":0.37,"angle":237.75205206600003,"flipX":false,"flipY":false,"top":292.8099085725188,"height":418.2801035577334,"width":126.70763892673989,"asset":"StrokeBent","selectable":true,"left":253.9540966569257,"fill":"#FDC68A"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":320,"width":320,"asset":"Square","selectable":true,"left":160,"fill":"#F9AD81"},{"opacity":1,"angle":158,"flipX":false,"flipY":false,"top":160.92437888884706,"height":201.37057205503973,"width":410.20877545,"asset":"Eye2","selectable":true,"left":162.36844053140945,"fill":"#000000"},{"opacity":1,"angle":158,"flipX":false,"flipY":false,"top":160.6930952751,"height":189.118662029,"width":400.46995782769994,"asset":"Eye2","selectable":true,"left":161.4321446506,"fill":"#FFFFFF"},{"opacity":0.35,"angle":251,"flipX":true,"flipY":false,"top":113.6326251824,"height":348.79209482159996,"width":90.7715570452,"asset":"StrokeBent","selectable":true,"left":152.7810130205,"fill":"#D7D7D7"},{"opacity":0.2,"angle":251,"flipX":false,"flipY":false,"top":210.0589723879,"height":346.79715550919997,"width":87.2429989826,"asset":"StrokeBent","selectable":true,"left":169.1774137642,"fill":"#D7D7D7"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":161.5625,"height":191.875,"width":194.375,"asset":"Circle","selectable":true,"left":161.5625,"fill":"#000000"},{"opacity":0.98,"angle":29,"flipX":false,"flipY":false,"top":161.13188519989998,"height":59.717190991100004,"width":190.5990585776,"asset":"Eye2","selectable":true,"left":161.66191526,"fill":"#FF0000"},{"opacity":0.99,"angle":90,"flipX":false,"flipY":false,"top":161.25,"height":63.75000000000001,"width":191.25,"asset":"Eye2","selectable":true,"left":163.125,"fill":"#FF0000"},{"opacity":0.99,"angle":149,"flipX":false,"flipY":false,"top":163.16256688909996,"height":59.2450590743,"width":191.9428764131,"asset":"Eye2","selectable":true,"left":162.6473035208,"fill":"#FF0000"},{"opacity":0.37,"angle":60,"flipX":false,"flipY":false,"top":46.58196134565833,"height":429.85769161131316,"width":171.3086412161595,"asset":"StrokeBent","selectable":true,"left":86.01713186952921,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162.1356638308,"height":30.728672338500004,"width":29.375,"asset":"Circle","selectable":true,"left":162.8125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162.3753894081,"height":91.00077881619998,"width":8.125,"asset":"StrokeBent","selectable":true,"left":132.8125,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":162.3753894081,"height":91.00077881619998,"width":7.9001168224,"asset":"StrokeBent","selectable":true,"left":193.54994158880004,"fill":"#000000"},{"opacity":1,"angle":298.5692759467,"flipX":true,"flipY":true,"top":137.3117902217,"height":92.9542074555,"width":7.9358942362,"asset":"StrokeBent","selectable":true,"left":176.5878577606,"fill":"#000000"},{"opacity":1,"angle":298,"flipX":false,"flipY":true,"top":187.6391569555,"height":91.00077881619998,"width":8.7811562085,"asset":"StrokeBent","selectable":true,"left":148.9686905395,"fill":"#000000"},{"opacity":1,"angle":239,"flipX":true,"flipY":true,"top":137.2610818216,"height":91.41555248539999,"width":8.8167640801,"asset":"StrokeBent","selectable":true,"left":149.7228499959,"fill":"#000000"},{"opacity":1,"angle":59,"flipX":true,"flipY":true,"top":186.6872347871,"height":95.1527715628,"width":7.8510676896,"asset":"StrokeBent","selectable":true,"left":177.4502171648,"fill":"#000000"},{"opacity":0.36,"angle":338,"flipX":false,"flipY":false,"top":136.3301010719,"height":34.7806901705,"width":88.94805737569999,"asset":"Circle","selectable":true,"left":224.5492229442,"fill":"#FFFFFF"},{"opacity":1,"angle":72,"flipX":false,"flipY":false,"top":34.8248784823212,"height":347.80670653072013,"width":75.44652070870615,"asset":"StrokeBent","selectable":true,"left":140.9178065717614,"fill":"#000000"},{"opacity":0.37,"angle":237.75205206600003,"flipX":false,"flipY":false,"top":292.8099085725188,"height":418.2801035577334,"width":126.70763892673989,"asset":"StrokeBent","selectable":true,"left":253.9540966569257,"fill":"#FDC68A"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告