登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
16
圖層數
45
James
作者:
nabaz.fa
»
代碼 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.5,"left":170,"height":393,"width":393,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.5,"left":169.5,"height":371,"width":371,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":183.5,"left":118.5,"height":152,"width":26,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":184,"left":173.5,"height":152,"width":26,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":184,"left":230.5,"height":152,"width":26,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":250.5,"left":199,"height":19,"width":62,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":119.5,"left":196,"height":71,"width":23,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":47.5,"left":110,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":64.5,"left":101.8,"height":25.600000000000022,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":17.21068594555046,"flipX":true,"flipY":true,"top":50.5,"left":128.8,"height":54.453761663824416,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":161.98023071822286,"flipX":true,"flipY":true,"top":51,"left":144.5,"height":54.453761663824416,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":-89.38394009160078,"flipX":true,"flipY":true,"top":58.5,"left":135.5,"height":29.116596383696674,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":16.80225703114762,"flipX":true,"flipY":true,"top":55,"left":120.8,"height":15.147606003243984,"width":3.606237456366064,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":76,"left":136.8,"height":43,"width":14,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":19,"left":137.3,"height":43,"width":14,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":60,"left":91.8,"height":17,"width":6.399999999999976,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":47.5,"left":164.3,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":47,"left":193.3,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":44.28607085111439,"flipX":true,"flipY":true,"top":29.5,"left":191.3,"height":44.1848039382667,"width":8.59915694137337,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":135.46922117063096,"flipX":true,"flipY":true,"top":30.377499999999997,"left":166.875,"height":40.641805733395024,"width":8.59915694137337,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":17.5,"left":182,"height":17,"width":192.99999999999997,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":32,"left":202,"height":34,"width":8.999999999999998,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":24.5,"left":155.9,"height":34,"width":8.200000000000045,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":47.5,"left":211.3,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":64.5,"left":218.8,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":29.6725,"left":218.8325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":42.6725,"left":219.3325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":29.6725,"left":247.3325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":178.81712167435626,"flipX":true,"flipY":true,"top":34.6725,"left":240.3325,"height":17.658153291804858,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":53.5,"left":254.3,"height":31,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":42.5,"left":247,"height":22,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":178.81712167435626,"flipX":true,"flipY":true,"top":60.8275,"left":240.265,"height":17.658153291804858,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":65.1725,"left":247.3325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":178.5,"left":234,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":178,"left":154.5,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":102.5,"left":194.5,"height":79,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":254,"left":194.5,"height":79,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":105.5,"left":234,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":88.45184230102204,"flipX":true,"flipY":true,"top":254,"left":157.5,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":176.5,"left":126,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":178,"left":98,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":101.5,"left":112,"height":29,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":253,"left":112.5,"height":27,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":104.5,"left":126.5,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":253.5,"left":101.5,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false}]'},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.5,"left":170,"height":393,"width":393,"asset":"Square","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.5,"left":169.5,"height":371,"width":371,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":183.5,"left":118.5,"height":152,"width":26,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":184,"left":173.5,"height":152,"width":26,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":184,"left":230.5,"height":152,"width":26,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":250.5,"left":199,"height":19,"width":62,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":119.5,"left":196,"height":71,"width":23,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":47.5,"left":110,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":64.5,"left":101.8,"height":25.600000000000022,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":17.21068594555046,"flipX":true,"flipY":true,"top":50.5,"left":128.8,"height":54.453761663824416,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":161.98023071822286,"flipX":true,"flipY":true,"top":51,"left":144.5,"height":54.453761663824416,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":-89.38394009160078,"flipX":true,"flipY":true,"top":58.5,"left":135.5,"height":29.116596383696674,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":16.80225703114762,"flipX":true,"flipY":true,"top":55,"left":120.8,"height":15.147606003243984,"width":3.606237456366064,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":76,"left":136.8,"height":43,"width":14,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":19,"left":137.3,"height":43,"width":14,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":60,"left":91.8,"height":17,"width":6.399999999999976,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":47.5,"left":164.3,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":47,"left":193.3,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":44.28607085111439,"flipX":true,"flipY":true,"top":29.5,"left":191.3,"height":44.1848039382667,"width":8.59915694137337,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":135.46922117063096,"flipX":true,"flipY":true,"top":30.377499999999997,"left":166.875,"height":40.641805733395024,"width":8.59915694137337,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":17.5,"left":182,"height":17,"width":192.99999999999997,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":32,"left":202,"height":34,"width":8.999999999999998,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":24.5,"left":155.9,"height":34,"width":8.200000000000045,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":47.5,"left":211.3,"height":43,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":64.5,"left":218.8,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":29.6725,"left":218.8325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":42.6725,"left":219.3325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":29.6725,"left":247.3325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":178.81712167435626,"flipX":true,"flipY":true,"top":34.6725,"left":240.3325,"height":17.658153291804858,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":53.5,"left":254.3,"height":31,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":42.5,"left":247,"height":22,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":178.81712167435626,"flipX":true,"flipY":true,"top":60.8275,"left":240.265,"height":17.658153291804858,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":89.03551569777346,"flipX":true,"flipY":true,"top":65.1725,"left":247.3325,"height":23.346186821515537,"width":9,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":178.5,"left":234,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":178,"left":154.5,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":102.5,"left":194.5,"height":79,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":254,"left":194.5,"height":79,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":105.5,"left":234,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":88.45184230102204,"flipX":true,"flipY":true,"top":254,"left":157.5,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":176.5,"left":126,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":178,"left":98,"height":152,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":101.5,"left":112,"height":29,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":253,"left":112.5,"height":27,"width":0.9999999999999993,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":104.5,"left":126.5,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":253.5,"left":101.5,"height":7,"width":0.9999999999999993,"asset":"Stroke","fill":"#0c343d","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告