登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
1
圖層數
44
tohs
作者:
anon
代碼 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":90,"flipX":false,"flipY":false,"top":50.5,"left":161,"height":212,"width":34,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":161,"left":161,"height":250,"width":34,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":38.480198248343015,"flipX":false,"flipY":false,"top":64.5,"left":49.5,"height":55.13398188742482,"width":30,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":271,"left":161.39845,"height":69,"width":30,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-39.29204311687468,"flipX":true,"flipY":true,"top":64.5665,"left":273.011725,"height":55.13398188742482,"width":30,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":97,"left":161.199225,"height":165.60154999999997,"width":31,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":39.062583900518476,"flipX":false,"flipY":false,"top":106.5,"left":85,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-40.378419155851915,"flipX":true,"flipY":true,"top":106.89845,"left":237.39845,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":150,"left":245,"height":89,"width":36,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":149.5,"left":77,"height":89,"width":36,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":39.062583900518476,"flipX":true,"flipY":true,"top":192.89845,"left":237.39845,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-40.378419155851915,"flipX":true,"flipY":true,"top":191.39845,"left":84.89845,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":202.297,"left":161.5586,"height":165.60154999999997,"width":31.406000000000006,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":270.94925,"left":161.386725,"height":63.898450000000025,"width":26.101499999999987,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":157.9375,"left":160.6875,"height":216,"width":29.375999999999998,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":202.4375,"left":158.984375,"height":136.9721920516779,"width":25.976499999999987,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":39.062583900518476,"flipX":true,"flipY":true,"top":191.875,"left":237.375,"height":26.750700812563014,"width":36.478815345268586,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":151.695325,"left":76.695325,"height":87,"width":30.397590361445783,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":97.4375,"left":159.984375,"height":158.03125,"width":25.976499999999987,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":148.195325,"left":244.695325,"height":87,"width":30.397590361445783,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":50.71875,"left":160.4414,"height":192.59375,"width":30.887676886792452,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-39.29204311687468,"flipX":true,"flipY":true,"top":65.757825,"left":274.25,"height":47.51772314008644,"width":25.855772527246653,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":39.40404795062413,"flipX":true,"flipY":true,"top":65.257825,"left":48.75,"height":47.51772314008644,"width":25.855772527246653,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":49.5,"left":65.5,"height":21.999999999999993,"width":21.999999999999993,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":41,"left":60.5,"height":10.000000000000002,"width":10.000000000000002,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-56.68936917543919,"flipX":false,"flipY":false,"top":43.5,"left":57,"height":10,"width":10,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":47.17474411461005,"flipX":false,"flipY":false,"top":111.33595,"left":229.83595,"height":17.67388129415834,"width":17.67388129415834,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":47.12109639666145,"flipX":false,"flipY":false,"top":102,"left":242,"height":22,"width":29.05872952123486,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207,"left":234.5,"height":17,"width":17,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.5,"left":257,"height":6.000000000000001,"width":6.000000000000001,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":42.5,"left":63.5,"height":14,"width":14,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":47.5,"left":252.5,"height":24,"width":24,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-41.60630809825265,"flipX":false,"flipY":false,"top":44.363275,"left":264.363275,"height":12.727922061357857,"width":12.727922061357857,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-50.1944289077348,"flipX":false,"flipY":false,"top":105.5,"left":78.5,"height":24,"width":24,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":111.5,"left":67,"height":10,"width":10,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-50.1944289077348,"flipX":false,"flipY":false,"top":92,"left":81,"height":10,"width":10,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-48.678444411382884,"flipX":false,"flipY":false,"top":108.832025,"left":88.832025,"height":27.665293228849073,"width":27.665293228849073,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-38.45370921670596,"flipX":false,"flipY":false,"top":188.3711,"left":89.8711,"height":25.74476911150641,"width":25.74476911150641,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":49.67314786277461,"flipX":false,"flipY":false,"top":195.3086,"left":81.3086,"height":27.621088165696808,"width":27.621088165696808,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5,"left":91.5,"height":22,"width":22,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0.31973228483368576,"flipX":false,"flipY":false,"top":152.03525,"left":114.3047,"height":51.07224165480465,"width":22.6159058100337,"asset":"Number1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.914075,"left":201.22265,"height":49.83392486910067,"width":35.45309999999994,"asset":"Number7","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149.629,"left":201.234375,"height":51.26155251783391,"width":36.46874999999999,"asset":"Number7","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-179.44355895553687,"flipX":true,"flipY":true,"top":150.98825,"left":116.671875,"height":54.98413554215854,"width":24.34817799603279,"asset":"Number1","fill":"#05ae05","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":50.5,"left":161,"height":212,"width":34,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":161,"left":161,"height":250,"width":34,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":38.480198248343015,"flipX":false,"flipY":false,"top":64.5,"left":49.5,"height":55.13398188742482,"width":30,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":271,"left":161.39845,"height":69,"width":30,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-39.29204311687468,"flipX":true,"flipY":true,"top":64.5665,"left":273.011725,"height":55.13398188742482,"width":30,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":97,"left":161.199225,"height":165.60154999999997,"width":31,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":39.062583900518476,"flipX":false,"flipY":false,"top":106.5,"left":85,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-40.378419155851915,"flipX":true,"flipY":true,"top":106.89845,"left":237.39845,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":150,"left":245,"height":89,"width":36,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":149.5,"left":77,"height":89,"width":36,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":39.062583900518476,"flipX":true,"flipY":true,"top":192.89845,"left":237.39845,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-40.378419155851915,"flipX":true,"flipY":true,"top":191.39845,"left":84.89845,"height":30.799504410807895,"width":42,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":202.297,"left":161.5586,"height":165.60154999999997,"width":31.406000000000006,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":270.94925,"left":161.386725,"height":63.898450000000025,"width":26.101499999999987,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":157.9375,"left":160.6875,"height":216,"width":29.375999999999998,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":202.4375,"left":158.984375,"height":136.9721920516779,"width":25.976499999999987,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":39.062583900518476,"flipX":true,"flipY":true,"top":191.875,"left":237.375,"height":26.750700812563014,"width":36.478815345268586,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":151.695325,"left":76.695325,"height":87,"width":30.397590361445783,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":97.4375,"left":159.984375,"height":158.03125,"width":25.976499999999987,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":148.195325,"left":244.695325,"height":87,"width":30.397590361445783,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":90,"flipX":true,"flipY":true,"top":50.71875,"left":160.4414,"height":192.59375,"width":30.887676886792452,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-39.29204311687468,"flipX":true,"flipY":true,"top":65.757825,"left":274.25,"height":47.51772314008644,"width":25.855772527246653,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":39.40404795062413,"flipX":true,"flipY":true,"top":65.257825,"left":48.75,"height":47.51772314008644,"width":25.855772527246653,"asset":"Stroke","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":49.5,"left":65.5,"height":21.999999999999993,"width":21.999999999999993,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":41,"left":60.5,"height":10.000000000000002,"width":10.000000000000002,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-56.68936917543919,"flipX":false,"flipY":false,"top":43.5,"left":57,"height":10,"width":10,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":47.17474411461005,"flipX":false,"flipY":false,"top":111.33595,"left":229.83595,"height":17.67388129415834,"width":17.67388129415834,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":47.12109639666145,"flipX":false,"flipY":false,"top":102,"left":242,"height":22,"width":29.05872952123486,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207,"left":234.5,"height":17,"width":17,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.5,"left":257,"height":6.000000000000001,"width":6.000000000000001,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":42.5,"left":63.5,"height":14,"width":14,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":47.5,"left":252.5,"height":24,"width":24,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-41.60630809825265,"flipX":false,"flipY":false,"top":44.363275,"left":264.363275,"height":12.727922061357857,"width":12.727922061357857,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-50.1944289077348,"flipX":false,"flipY":false,"top":105.5,"left":78.5,"height":24,"width":24,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":111.5,"left":67,"height":10,"width":10,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-50.1944289077348,"flipX":false,"flipY":false,"top":92,"left":81,"height":10,"width":10,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-48.678444411382884,"flipX":false,"flipY":false,"top":108.832025,"left":88.832025,"height":27.665293228849073,"width":27.665293228849073,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-38.45370921670596,"flipX":false,"flipY":false,"top":188.3711,"left":89.8711,"height":25.74476911150641,"width":25.74476911150641,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":49.67314786277461,"flipX":false,"flipY":false,"top":195.3086,"left":81.3086,"height":27.621088165696808,"width":27.621088165696808,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5,"left":91.5,"height":22,"width":22,"asset":"Square","fill":"#05ae05","selectable":false},{"opacity":1,"angle":0.31973228483368576,"flipX":false,"flipY":false,"top":152.03525,"left":114.3047,"height":51.07224165480465,"width":22.6159058100337,"asset":"Number1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.914075,"left":201.22265,"height":49.83392486910067,"width":35.45309999999994,"asset":"Number7","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149.629,"left":201.234375,"height":51.26155251783391,"width":36.46874999999999,"asset":"Number7","fill":"#05ae05","selectable":false},{"opacity":1,"angle":-179.44355895553687,"flipX":true,"flipY":true,"top":150.98825,"left":116.671875,"height":54.98413554215854,"width":24.34817799603279,"asset":"Number1","fill":"#05ae05","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告