登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
78
圖層數
20
Marco Antônio Souza de Paula
作者:
Marco Antônio Souza de Paula
代碼 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":116.3902837857,"height":654.211842577,"width":643.8217521344,"asset":"Circle","selectable":true,"left":114.8435464892,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.0367000303,"height":314.0734000607,"width":294,"asset":"Circle","selectable":true,"left":158,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":126.1909547739,"height":76.3819095477,"width":108,"asset":"Circle","selectable":true,"left":77,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":124.1909547739,"height":76.3819095477,"width":108,"asset":"Circle","selectable":true,"left":246,"fill":"#000000"},{"opacity":1,"angle":181.0272819009,"flipX":false,"flipY":false,"top":206.3117032646,"height":61.74965053929999,"width":68.7553010439,"asset":"Heart","selectable":true,"left":158.4229359823,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.3216341928,"height":339.3567316143,"width":10,"asset":"Stroke","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":142.5412011321,"flipX":false,"flipY":false,"top":255.0369741947,"height":162.00558454780003,"width":56.764652475800006,"asset":"StrokeBent","selectable":true,"left":69.4691463841,"fill":"#000000"},{"opacity":1,"angle":219.6143246184,"flipX":true,"flipY":false,"top":250.0369741947,"height":162.00558454780003,"width":56.764652475800006,"asset":"StrokeBent","selectable":true,"left":253.4691463841,"fill":"#000000"},{"opacity":1,"angle":219.6143246184,"flipX":true,"flipY":false,"top":286.3192268105,"height":258.4073866497,"width":150.4134346136,"asset":"StrokeBent","selectable":true,"left":293.9434767635,"fill":"#000000"},{"opacity":1,"angle":-28.6617575147,"flipX":true,"flipY":false,"top":302.3192268105,"height":258.4073866497,"width":150.4134346136,"asset":"StrokeBent","selectable":true,"left":32.9434767635,"fill":"#000000"},{"opacity":1,"angle":90.3783602243,"flipX":false,"flipY":false,"top":137.6851399378,"height":89.1993601741,"width":213.434891628,"asset":"Dogtag","selectable":true,"left":9.7555706623,"fill":"#000000"},{"opacity":1,"angle":90.3783602243,"flipX":false,"flipY":false,"top":127.6851399378,"height":89.1993601741,"width":213.434891628,"asset":"Dogtag","selectable":true,"left":303.7555706623,"fill":"#000000"},{"opacity":1,"angle":91.0563344527,"flipX":false,"flipY":false,"top":302.236046173,"height":122.0181539229,"width":77.9638807558,"asset":"Wing4","selectable":true,"left":214.8775256616,"fill":"#000000"},{"opacity":1,"angle":91.0563344527,"flipX":false,"flipY":true,"top":300.236046173,"height":122.0181539229,"width":77.9638807558,"asset":"Wing4","selectable":true,"left":102.8775256616,"fill":"#000000"},{"opacity":1,"angle":199.3933398224,"flipX":false,"flipY":false,"top":190.2118786957,"height":98.964002502,"width":63.2333586612,"asset":"Wing4","selectable":true,"left":55.569838555,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":192.2118786957,"height":98.964002502,"width":63.2333586612,"asset":"Wing4","selectable":false,"left":257.569838555,"fill":"#000000"},{"opacity":1,"angle":66.3498432002,"flipX":true,"flipY":false,"top":46.1793387259,"height":189.27994103039998,"width":84.3127248811,"asset":"Wing4","selectable":false,"left":70.56837599,"fill":"#000000"},{"opacity":1,"angle":-20.094058564,"flipX":true,"flipY":false,"top":122.6927416621,"height":100,"width":71.5053343009,"asset":"Wing4","selectable":false,"left":99.5733994446,"fill":"#000000"},{"opacity":1,"angle":5.0359079155,"flipX":false,"flipY":false,"top":122,"height":100,"width":63.8953125,"asset":"Wing4","selectable":false,"left":218,"fill":"#000000"},{"opacity":1,"angle":-60.5981807687,"flipX":false,"flipY":false,"top":37.4617231626,"height":192.5496088692,"width":84.3127248811,"asset":"Wing4","selectable":false,"left":231.5823642052,"fill":"#000000"}]'},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":116.3902837857,"height":654.211842577,"width":643.8217521344,"asset":"Circle","selectable":true,"left":114.8435464892,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.0367000303,"height":314.0734000607,"width":294,"asset":"Circle","selectable":true,"left":158,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":126.1909547739,"height":76.3819095477,"width":108,"asset":"Circle","selectable":true,"left":77,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":124.1909547739,"height":76.3819095477,"width":108,"asset":"Circle","selectable":true,"left":246,"fill":"#000000"},{"opacity":1,"angle":181.0272819009,"flipX":false,"flipY":false,"top":206.3117032646,"height":61.74965053929999,"width":68.7553010439,"asset":"Heart","selectable":true,"left":158.4229359823,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.3216341928,"height":339.3567316143,"width":10,"asset":"Stroke","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":142.5412011321,"flipX":false,"flipY":false,"top":255.0369741947,"height":162.00558454780003,"width":56.764652475800006,"asset":"StrokeBent","selectable":true,"left":69.4691463841,"fill":"#000000"},{"opacity":1,"angle":219.6143246184,"flipX":true,"flipY":false,"top":250.0369741947,"height":162.00558454780003,"width":56.764652475800006,"asset":"StrokeBent","selectable":true,"left":253.4691463841,"fill":"#000000"},{"opacity":1,"angle":219.6143246184,"flipX":true,"flipY":false,"top":286.3192268105,"height":258.4073866497,"width":150.4134346136,"asset":"StrokeBent","selectable":true,"left":293.9434767635,"fill":"#000000"},{"opacity":1,"angle":-28.6617575147,"flipX":true,"flipY":false,"top":302.3192268105,"height":258.4073866497,"width":150.4134346136,"asset":"StrokeBent","selectable":true,"left":32.9434767635,"fill":"#000000"},{"opacity":1,"angle":90.3783602243,"flipX":false,"flipY":false,"top":137.6851399378,"height":89.1993601741,"width":213.434891628,"asset":"Dogtag","selectable":true,"left":9.7555706623,"fill":"#000000"},{"opacity":1,"angle":90.3783602243,"flipX":false,"flipY":false,"top":127.6851399378,"height":89.1993601741,"width":213.434891628,"asset":"Dogtag","selectable":true,"left":303.7555706623,"fill":"#000000"},{"opacity":1,"angle":91.0563344527,"flipX":false,"flipY":false,"top":302.236046173,"height":122.0181539229,"width":77.9638807558,"asset":"Wing4","selectable":true,"left":214.8775256616,"fill":"#000000"},{"opacity":1,"angle":91.0563344527,"flipX":false,"flipY":true,"top":300.236046173,"height":122.0181539229,"width":77.9638807558,"asset":"Wing4","selectable":true,"left":102.8775256616,"fill":"#000000"},{"opacity":1,"angle":199.3933398224,"flipX":false,"flipY":false,"top":190.2118786957,"height":98.964002502,"width":63.2333586612,"asset":"Wing4","selectable":true,"left":55.569838555,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":192.2118786957,"height":98.964002502,"width":63.2333586612,"asset":"Wing4","selectable":false,"left":257.569838555,"fill":"#000000"},{"opacity":1,"angle":66.3498432002,"flipX":true,"flipY":false,"top":46.1793387259,"height":189.27994103039998,"width":84.3127248811,"asset":"Wing4","selectable":false,"left":70.56837599,"fill":"#000000"},{"opacity":1,"angle":-20.094058564,"flipX":true,"flipY":false,"top":122.6927416621,"height":100,"width":71.5053343009,"asset":"Wing4","selectable":false,"left":99.5733994446,"fill":"#000000"},{"opacity":1,"angle":5.0359079155,"flipX":false,"flipY":false,"top":122,"height":100,"width":63.8953125,"asset":"Wing4","selectable":false,"left":218,"fill":"#000000"},{"opacity":1,"angle":-60.5981807687,"flipX":false,"flipY":false,"top":37.4617231626,"height":192.5496088692,"width":84.3127248811,"asset":"Wing4","selectable":false,"left":231.5823642052,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
emblem.emblem.load({"objects":[{"opacity":1
"angle":0
"flipX":false
"flipY":false
"top":116.3902837857
"height":654.211842577
"width":643.8217521344
"asset":"Circle"
"selectable":true
"left":114.8435464892
"fill":"#000000"}
{"opacity":1
"angle":0
"flipX":false
"flipY":false
"top":170.0367000303
"height":314.0734000607
"width":294
"asset":"Circle"
"selectable":true
"left":158
"fill":"#FFFFFF"}
{"opacity":1
"angle":0
"flipX":false
"flipY":false
"top":126.1909547739
"height":76.3819095477
"width":108
"asset":"Circle"
"selectable":true
"left":77
"fill":"#000000"}
{"opacity":1
"angle":0
"flipX":false
"flipY":false
"top":124.1909547739
"height":76.3819095477
"width":108
"asset":"Circle"
"selectable":true
"left":246
"fill":"#000000"}
{"opacity":1
"angle":181.0272819009
"flipX":false
"flipY":false
"top":206.3117032646
"height":61.74965053929999
"width":68.7553010439
"asset":"Heart"
"selectable":true
"left":158.4229359823
"fill":"#000000"}
{"opacity":1
"angle":0
"flipX":false
"flipY":false
"top":170.3216341928
"height":339.3567316143
"width":10
"asset":"Stroke"
"selectable":true
"left":158
"fill":"#000000"}
{"opacity":1
"angle":142.5412011321
"flipX":false
"flipY":false
"top":255.0369741947
"height":162.00558454780003
"width":56.764652475800006
"asset":"StrokeBent"
"selectable":true
"left":69.4691463841
"fill":"#000000"}
{"opacity":1
"angle":219.6143246184
"flipX":true
"flipY":false
"top":250.0369741947
"height":162.00558454780003
"width":56.764652475800006
"asset":"StrokeBent"
"selectable":true
"left":253.4691463841
"fill":"#000000"}
{"opacity":1
"angle":219.6143246184
"flipX":true
"flipY":false
"top":286.3192268105
"height":258.4073866497
"width":150.4134346136
"asset":"StrokeBent"
"selectable":true
"left":293.9434767635
"fill":"#000000"}
{"opacity":1
"angle":-28.6617575147
"flipX":true
"flipY":false
"top":302.3192268105
"height":258.4073866497
"width":150.4134346136
"asset":"StrokeBent"
"selectable":true
"left":32.9434767635
"fill":"#000000"}
{"opacity":1
"angle":90.3783602243
"flipX":false
"flipY":false
"top":137.6851399378
"height":89.1993601741
"width":213.434891628
"asset":"Dogtag"
"selectable":true
"left":9.7555706623
"fill":"#000000"}
{"opacity":1
"angle":90.3783602243
"flipX":false
"flipY":false
"top":127.6851399378
"height":89.1993601741
"width":213.434891628
"asset":"Dogtag"
"selectable":true
"left":303.7555706623
"fill":"#000000"}
{"opacity":1
"angle":91.0563344527
"flipX":false
"flipY":false
"top":302.236046173
"height":122.0181539229
"width":77.9638807558
"asset":"Wing4"
"selectable":true
"left":214.8775256616
"fill":"#000000"}
{"opacity":1
"angle":91.0563344527
"flipX":false
"flipY":true
"top":300.236046173
"height":122.0181539229
"width":77.9638807558
"asset":"Wing4"
"selectable":true
"left":102.8775256616
"fill":"#000000"}
{"opacity":1
"angle":199.3933398224
"flipX":false
"flipY":false
"top":190.2118786957
"height":98.964002502
"width":63.2333586612
"asset":"Wing4"
"selectable":true
"left":55.569838555
"fill":"#000000"}
{"opacity":1
"angle":0
"flipX":false
"flipY":true
"top":192.2118786957
"height":98.964002502
"width":63.2333586612
"asset":"Wing4"
"selectable":false
"left":257.569838555
"fill":"#000000"}
{"opacity":1
"angle":66.3498432002
"flipX":true
"flipY":false
"top":46.1793387259
"height":189.27994103039998
"width":84.3127248811
"asset":"Wing4"
"selectable":false
"left":70.56837599
"fill":"#000000"}
{"opacity":1
"angle":-20.094058564
"flipX":true
"flipY":false
"top":122.6927416621
"height":100
"width":71.5053343009
"asset":"Wing4"
"selectable":false
"left":99.5733994446
"fill":"#000000"}
{"opacity":1
"angle":5.0359079155
"flipX":false
"flipY":false
"top":122
"height":100
"width":63.8953125
"asset":"Wing4"
"selectable":false
"left":218
"fill":"#000000"}
{"opacity":1
"angle":-60.5981807687
"flipX":false
"flipY":false
"top":37.4617231626
"height":192.5496088692
"width":84.3127248811
"asset":"Wing4"
"selectable":false
"left":231.5823642052
"fill":"#000000"}]});
广告