登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
1
圖層數
32
EcuReich
作者:
IktanETC
»
代碼 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:'[{"asset":"Square","left":159.0625,"top":183.125,"angle":0,"width":241.25,"height":40,"opacity":1,"fill":"#FF0000","flipX":false,"flipY":false,"selectable":false},{"asset":"Square","left":158.125,"top":143.4375,"angle":0,"width":243.125,"height":44.375,"opacity":1,"fill":"#0017FF","flipX":false,"flipY":false,"selectable":false},{"asset":"Square","left":158.4375,"top":95.9375,"angle":0,"width":242.5,"height":61.875,"opacity":1,"fill":"#FFFE00","flipX":false,"flipY":false,"selectable":false},{"asset":"Shield","left":162.1558605919003,"top":134.2503894080997,"angle":0,"width":90.06327881619939,"height":89.75077881619939,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Shield","left":162.5,"top":133.6253894080997,"angle":0,"width":81.875,"height":81.00077881619939,"opacity":1,"fill":"#FF0000","flipX":false,"flipY":false,"selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":138.21631619937693,"height":47.68263239875388,"width":80.68827881619939,"asset":"Eagle","selectable":false,"left":162.4683605919003,"fill":"#000000"},{"asset":"Crown2","left":161.25,"top":108.44315420560747,"angle":0,"width":25.625,"height":10.63630841121494,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Shield","left":162.1875,"top":175.3125,"angle":0,"width":123.75,"height":19.375,"opacity":1,"fill":"#D7D7D7","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":118.28441394080997,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":123.12380162186362,"top":167.52947422234854,"angle":269.8908157268206,"width":2.446974990297459,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":122.5,"top":173.75,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":123.12617115354587,"top":180.61457636856497,"angle":269.8908157268206,"width":2.4755478796591746,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":132.1875,"top":174.0625,"angle":0,"width":3.75,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":137.5,"top":180,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":137.5,"top":168.125,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":145.78441394080997,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":150.625,"top":180,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":155.15941394080997,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":162.87764753435732,"top":173.78305375909463,"angle":17.762153416776847,"width":3.216205008030002,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":169.74678269242943,"top":173.5997910579963,"angle":338.0001346109579,"width":3.162502406993042,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":true,"selectable":false},{"asset":"Stroke","left":166.61621097082238,"top":174.83545865138922,"angle":270.2221086101414,"width":3.33627907454062,"height":8.851102558706998,"opacity":1,"fill":"#000000","flipX":false,"flipY":true,"selectable":false},{"asset":"Stroke","left":177.34058605919003,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":182.3658404688392,"top":170.30264295762382,"angle":305.3090532041779,"width":3.4633302100380803,"height":11.867923026342737,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":183.23341983021768,"top":176.72905620322595,"angle":44.220288352165014,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":195,"top":179.375,"angle":90,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":195,"top":168.125,"angle":90,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":191.25,"top":172.5,"angle":180,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":198.75,"top":172.5,"angle":180,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":205,"top":173.4375,"angle":180,"width":3.9191651050190046,"height":14.375,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":209.375,"top":169.375,"angle":136.84802487589215,"width":2.6422540209472345,"height":10.01154629884173,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":209.375,"top":174.375,"angle":66.60077680026411,"width":2.6422540209472345,"height":10.01154629884173,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":210,"top":177.47108924718364,"angle":135.62591977696718,"width":3.6899503942102996,"height":6.314121825985737,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"Square","left":159.0625,"top":183.125,"angle":0,"width":241.25,"height":40,"opacity":1,"fill":"#FF0000","flipX":false,"flipY":false,"selectable":false},{"asset":"Square","left":158.125,"top":143.4375,"angle":0,"width":243.125,"height":44.375,"opacity":1,"fill":"#0017FF","flipX":false,"flipY":false,"selectable":false},{"asset":"Square","left":158.4375,"top":95.9375,"angle":0,"width":242.5,"height":61.875,"opacity":1,"fill":"#FFFE00","flipX":false,"flipY":false,"selectable":false},{"asset":"Shield","left":162.1558605919003,"top":134.2503894080997,"angle":0,"width":90.06327881619939,"height":89.75077881619939,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Shield","left":162.5,"top":133.6253894080997,"angle":0,"width":81.875,"height":81.00077881619939,"opacity":1,"fill":"#FF0000","flipX":false,"flipY":false,"selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":138.21631619937693,"height":47.68263239875388,"width":80.68827881619939,"asset":"Eagle","selectable":false,"left":162.4683605919003,"fill":"#000000"},{"asset":"Crown2","left":161.25,"top":108.44315420560747,"angle":0,"width":25.625,"height":10.63630841121494,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Shield","left":162.1875,"top":175.3125,"angle":0,"width":123.75,"height":19.375,"opacity":1,"fill":"#D7D7D7","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":118.28441394080997,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":123.12380162186362,"top":167.52947422234854,"angle":269.8908157268206,"width":2.446974990297459,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":122.5,"top":173.75,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":123.12617115354587,"top":180.61457636856497,"angle":269.8908157268206,"width":2.4755478796591746,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":132.1875,"top":174.0625,"angle":0,"width":3.75,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":137.5,"top":180,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":137.5,"top":168.125,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":145.78441394080997,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":150.625,"top":180,"angle":269.8908157268206,"width":3.704702848569319,"height":7.490426487902937,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":155.15941394080997,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":162.87764753435732,"top":173.78305375909463,"angle":17.762153416776847,"width":3.216205008030002,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":169.74678269242943,"top":173.5997910579963,"angle":338.0001346109579,"width":3.162502406993042,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":true,"selectable":false},{"asset":"Stroke","left":166.61621097082238,"top":174.83545865138922,"angle":270.2221086101414,"width":3.33627907454062,"height":8.851102558706998,"opacity":1,"fill":"#000000","flipX":false,"flipY":true,"selectable":false},{"asset":"Stroke","left":177.34058605919003,"top":174.0625,"angle":0,"width":3.4438278816199386,"height":15.625,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":182.3658404688392,"top":170.30264295762382,"angle":305.3090532041779,"width":3.4633302100380803,"height":11.867923026342737,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":183.23341983021768,"top":176.72905620322595,"angle":44.220288352165014,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":195,"top":179.375,"angle":90,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":195,"top":168.125,"angle":90,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":191.25,"top":172.5,"angle":180,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":198.75,"top":172.5,"angle":180,"width":3.4633302100380803,"height":11.50430536229841,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":205,"top":173.4375,"angle":180,"width":3.9191651050190046,"height":14.375,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":209.375,"top":169.375,"angle":136.84802487589215,"width":2.6422540209472345,"height":10.01154629884173,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":209.375,"top":174.375,"angle":66.60077680026411,"width":2.6422540209472345,"height":10.01154629884173,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":210,"top":177.47108924718364,"angle":135.62591977696718,"width":3.6899503942102996,"height":6.314121825985737,"opacity":1,"fill":"#000000","flipX":false,"flipY":false,"selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告