登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
12
me
作者:
me
代碼 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":161.0080618506,"height":276.2893154795,"width":274.2955460091,"asset":"Circle","selectable":true,"left":159.9950534142,"fill":"#FF0000"},{"opacity":1,"angle":359.4453432334,"flipX":false,"flipY":false,"top":161.4183570918,"height":278.3041072388,"width":278.3041072388,"asset":"Bouy","selectable":true,"left":159.6088415172,"fill":"#000000"},{"opacity":0.91,"angle":0,"flipX":false,"flipY":false,"top":161.1865979473,"height":142.6537129569,"width":142.6537129569,"asset":"Circle","selectable":true,"left":160.2681033898,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":125.6215404196,"height":58.1836389777,"width":58.8625922527,"asset":"Emblem76","selectable":true,"left":159.71030146,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":185.5204365141,"height":32.7544118974,"width":6.1000884173,"asset":"Stroke","selectable":true,"left":173.1453580902,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":172.4320908082,"height":37.6384318052,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":192.063163998,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":183.6376657825,"height":19.9147778136,"width":5.1154730327,"asset":"Stroke","selectable":true,"left":186.0196225875,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":190.4970768806,"height":48.7014621007,"width":19.6224744467,"asset":"StrokeBent","selectable":true,"left":113.0156379988,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":true,"top":191.0862964157,"height":47.8733841802,"width":18.5993601138,"asset":"StrokeBent","selectable":true,"left":145.4934233914,"fill":"#000000"},{"opacity":1,"angle":31.1215150312,"flipX":false,"flipY":false,"top":174.8355221791,"height":21.2461913598,"width":5.1154730327,"asset":"Stroke","selectable":true,"left":134.7306877831,"fill":"#000000"},{"opacity":1,"angle":144.4250979672,"flipX":false,"flipY":false,"top":175.9521330221,"height":20.4517365469,"width":5.1154730327,"asset":"Stroke","selectable":true,"left":125.2767447016,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.4844411336,"height":20.9004896723,"width":22.875650915,"asset":"Triangle","selectable":true,"left":129.5093118666,"fill":"#FF0000"}]'},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":161.0080618506,"height":276.2893154795,"width":274.2955460091,"asset":"Circle","selectable":true,"left":159.9950534142,"fill":"#FF0000"},{"opacity":1,"angle":359.4453432334,"flipX":false,"flipY":false,"top":161.4183570918,"height":278.3041072388,"width":278.3041072388,"asset":"Bouy","selectable":true,"left":159.6088415172,"fill":"#000000"},{"opacity":0.91,"angle":0,"flipX":false,"flipY":false,"top":161.1865979473,"height":142.6537129569,"width":142.6537129569,"asset":"Circle","selectable":true,"left":160.2681033898,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":125.6215404196,"height":58.1836389777,"width":58.8625922527,"asset":"Emblem76","selectable":true,"left":159.71030146,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":185.5204365141,"height":32.7544118974,"width":6.1000884173,"asset":"Stroke","selectable":true,"left":173.1453580902,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":172.4320908082,"height":37.6384318052,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":192.063163998,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":183.6376657825,"height":19.9147778136,"width":5.1154730327,"asset":"Stroke","selectable":true,"left":186.0196225875,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":190.4970768806,"height":48.7014621007,"width":19.6224744467,"asset":"StrokeBent","selectable":true,"left":113.0156379988,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":true,"top":191.0862964157,"height":47.8733841802,"width":18.5993601138,"asset":"StrokeBent","selectable":true,"left":145.4934233914,"fill":"#000000"},{"opacity":1,"angle":31.1215150312,"flipX":false,"flipY":false,"top":174.8355221791,"height":21.2461913598,"width":5.1154730327,"asset":"Stroke","selectable":true,"left":134.7306877831,"fill":"#000000"},{"opacity":1,"angle":144.4250979672,"flipX":false,"flipY":false,"top":175.9521330221,"height":20.4517365469,"width":5.1154730327,"asset":"Stroke","selectable":true,"left":125.2767447016,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184.4844411336,"height":20.9004896723,"width":22.875650915,"asset":"Triangle","selectable":true,"left":129.5093118666,"fill":"#FF0000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
AMF
cool
广告