登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
22
圖層數
20
Gaz
作者:
PunisherSpirit
»
代碼 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":130.3861323724,"height":478.7972629776,"width":342.069528244,"asset":"Square","selectable":true,"left":165,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":268.125,"height":142.8320290069,"width":97.87577881619998,"asset":"Triangle","selectable":true,"left":185.625,"fill":"#111111"},{"opacity":1,"angle":194.5087293743,"flipX":true,"flipY":false,"top":153.75,"height":172.515524964,"width":81.2624188853,"asset":"Number7","selectable":true,"left":115,"fill":"#4B0049"},{"opacity":1,"angle":2.3528537882,"flipX":false,"flipY":false,"top":204.375,"height":50.1191266366,"width":27.222705340899995,"asset":"Triangle","selectable":true,"left":66.25,"fill":"#4B0049"},{"opacity":1,"angle":355.8675433423,"flipX":false,"flipY":false,"top":164.22243468249996,"height":156.8792079629,"width":193.53741455859998,"asset":"Shield","selectable":true,"left":168.649242663,"fill":"#FFF79A"},{"opacity":1,"angle":359.8746854547,"flipX":false,"flipY":true,"top":190,"height":14.3445290546,"width":21.547619306099996,"asset":"Triangle","selectable":true,"left":148.125,"fill":"#000000"},{"opacity":1,"angle":359.8746854547,"flipX":false,"flipY":true,"top":193.75,"height":19.307645411399996,"width":18.231396667099996,"asset":"Triangle","selectable":true,"left":148.125,"fill":"#FFF79A"},{"opacity":1,"angle":93.378812133,"flipX":false,"flipY":false,"top":205.625,"height":49.0396297959,"width":4.375,"asset":"StrokeBent","selectable":true,"left":167.5,"fill":"#000000"},{"opacity":1,"angle":107.4729941047,"flipX":false,"flipY":false,"top":161.25,"height":67.5262672703,"width":4.375,"asset":"StrokeBent","selectable":true,"left":105.625,"fill":"#000000"},{"opacity":1,"angle":87.6831069633,"flipX":false,"flipY":false,"top":75.6205655825,"height":182.65112475559997,"width":32.0564319062,"asset":"Stroke","selectable":true,"left":151.9189729587,"fill":"#4B0049"},{"opacity":1,"angle":11.1436143631,"flipX":false,"flipY":true,"top":113.75,"height":97.79175496259998,"width":45.0278006659,"asset":"Triangle","selectable":true,"left":71.875,"fill":"#4B0049"},{"opacity":1,"angle":11.1436143631,"flipX":false,"flipY":true,"top":113.41829829790001,"height":77.6402011859,"width":47.3103126318,"asset":"Triangle","selectable":true,"left":140.7223237914,"fill":"#4B0049"},{"opacity":1,"angle":11.1436143631,"flipX":false,"flipY":true,"top":104.8220206612,"height":72.5971662391,"width":45.988850918999994,"asset":"Triangle","selectable":true,"left":210.6079279851,"fill":"#4B0049"},{"opacity":1,"angle":194.5087293743,"flipX":true,"flipY":false,"top":151.1311210793,"height":180.92995889569997,"width":81.2624188853,"asset":"Number7","selectable":true,"left":247.18023565850004,"fill":"#4B0049"},{"opacity":1,"angle":86.0263193261,"flipX":false,"flipY":false,"top":148.75,"height":21.0152234682,"width":119.9536030625,"asset":"Eye2","selectable":true,"left":241.9892103211,"fill":"#FFF79A"},{"opacity":1,"angle":248.4200709431,"flipX":true,"flipY":false,"top":158.125,"height":67.5262672703,"width":4.375,"asset":"StrokeBent","selectable":true,"left":185,"fill":"#000000"},{"opacity":1,"angle":95.9923529814,"flipX":false,"flipY":false,"top":170.625,"height":83.6694022965,"width":18.5186813565,"asset":"PlayerMarker","selectable":true,"left":96.25,"fill":"#000000"},{"opacity":1,"angle":78.2208348097,"flipX":true,"flipY":true,"top":166.25,"height":84.6713877483,"width":18.5186813565,"asset":"PlayerMarker","selectable":true,"left":196.25,"fill":"#000000"},{"opacity":1,"angle":2.3528537882,"flipX":false,"flipY":false,"top":204.375,"height":50.1191266366,"width":27.222705340899995,"asset":"Triangle","selectable":true,"left":197.5,"fill":"#4B0049"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":50.8577834613,"height":310.3757788162,"width":34.8594357477,"asset":"StrokeBent","selectable":true,"left":131.25,"fill":"#790000"}]'},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":130.3861323724,"height":478.7972629776,"width":342.069528244,"asset":"Square","selectable":true,"left":165,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":268.125,"height":142.8320290069,"width":97.87577881619998,"asset":"Triangle","selectable":true,"left":185.625,"fill":"#111111"},{"opacity":1,"angle":194.5087293743,"flipX":true,"flipY":false,"top":153.75,"height":172.515524964,"width":81.2624188853,"asset":"Number7","selectable":true,"left":115,"fill":"#4B0049"},{"opacity":1,"angle":2.3528537882,"flipX":false,"flipY":false,"top":204.375,"height":50.1191266366,"width":27.222705340899995,"asset":"Triangle","selectable":true,"left":66.25,"fill":"#4B0049"},{"opacity":1,"angle":355.8675433423,"flipX":false,"flipY":false,"top":164.22243468249996,"height":156.8792079629,"width":193.53741455859998,"asset":"Shield","selectable":true,"left":168.649242663,"fill":"#FFF79A"},{"opacity":1,"angle":359.8746854547,"flipX":false,"flipY":true,"top":190,"height":14.3445290546,"width":21.547619306099996,"asset":"Triangle","selectable":true,"left":148.125,"fill":"#000000"},{"opacity":1,"angle":359.8746854547,"flipX":false,"flipY":true,"top":193.75,"height":19.307645411399996,"width":18.231396667099996,"asset":"Triangle","selectable":true,"left":148.125,"fill":"#FFF79A"},{"opacity":1,"angle":93.378812133,"flipX":false,"flipY":false,"top":205.625,"height":49.0396297959,"width":4.375,"asset":"StrokeBent","selectable":true,"left":167.5,"fill":"#000000"},{"opacity":1,"angle":107.4729941047,"flipX":false,"flipY":false,"top":161.25,"height":67.5262672703,"width":4.375,"asset":"StrokeBent","selectable":true,"left":105.625,"fill":"#000000"},{"opacity":1,"angle":87.6831069633,"flipX":false,"flipY":false,"top":75.6205655825,"height":182.65112475559997,"width":32.0564319062,"asset":"Stroke","selectable":true,"left":151.9189729587,"fill":"#4B0049"},{"opacity":1,"angle":11.1436143631,"flipX":false,"flipY":true,"top":113.75,"height":97.79175496259998,"width":45.0278006659,"asset":"Triangle","selectable":true,"left":71.875,"fill":"#4B0049"},{"opacity":1,"angle":11.1436143631,"flipX":false,"flipY":true,"top":113.41829829790001,"height":77.6402011859,"width":47.3103126318,"asset":"Triangle","selectable":true,"left":140.7223237914,"fill":"#4B0049"},{"opacity":1,"angle":11.1436143631,"flipX":false,"flipY":true,"top":104.8220206612,"height":72.5971662391,"width":45.988850918999994,"asset":"Triangle","selectable":true,"left":210.6079279851,"fill":"#4B0049"},{"opacity":1,"angle":194.5087293743,"flipX":true,"flipY":false,"top":151.1311210793,"height":180.92995889569997,"width":81.2624188853,"asset":"Number7","selectable":true,"left":247.18023565850004,"fill":"#4B0049"},{"opacity":1,"angle":86.0263193261,"flipX":false,"flipY":false,"top":148.75,"height":21.0152234682,"width":119.9536030625,"asset":"Eye2","selectable":true,"left":241.9892103211,"fill":"#FFF79A"},{"opacity":1,"angle":248.4200709431,"flipX":true,"flipY":false,"top":158.125,"height":67.5262672703,"width":4.375,"asset":"StrokeBent","selectable":true,"left":185,"fill":"#000000"},{"opacity":1,"angle":95.9923529814,"flipX":false,"flipY":false,"top":170.625,"height":83.6694022965,"width":18.5186813565,"asset":"PlayerMarker","selectable":true,"left":96.25,"fill":"#000000"},{"opacity":1,"angle":78.2208348097,"flipX":true,"flipY":true,"top":166.25,"height":84.6713877483,"width":18.5186813565,"asset":"PlayerMarker","selectable":true,"left":196.25,"fill":"#000000"},{"opacity":1,"angle":2.3528537882,"flipX":false,"flipY":false,"top":204.375,"height":50.1191266366,"width":27.222705340899995,"asset":"Triangle","selectable":true,"left":197.5,"fill":"#4B0049"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":50.8577834613,"height":310.3757788162,"width":34.8594357477,"asset":"StrokeBent","selectable":true,"left":131.25,"fill":"#790000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
Gaz
Invader Zim
Zim
Gir
Dib
Sister
Evil
Piggy
广告