登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
45
圖層數
14
Emblem 109988
作者:
Володя
»
代碼 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":169.4957562397,"height":679.7955325799,"width":679.7955325799,"asset":"Square","selectable":true,"left":170.4957562397,"fill":"#000000"},{"opacity":1,"angle":-11.2675156096,"flipX":true,"flipY":false,"top":96.2743223184,"height":148.5486446368,"width":100.7798105595,"asset":"Flames","selectable":true,"left":83.5469365298,"fill":"#ED1C24"},{"opacity":1,"angle":-29.1280604494,"flipX":false,"flipY":false,"top":65.4567659945,"height":114.913531989,"width":80.0785720809,"asset":"Flames","selectable":true,"left":176.1963172904,"fill":"#ED1C24"},{"opacity":1,"angle":-28.6611694919,"flipX":false,"flipY":false,"top":58.2256070231,"height":143.2871033668,"width":99.8509612977,"asset":"Flames","selectable":true,"left":224.1464003573,"fill":"#ED1C24"},{"opacity":1,"angle":-20.3586655258,"flipX":false,"flipY":false,"top":146.2607829013,"height":314.0856918837,"width":330.81281926789995,"asset":"Star","selectable":true,"left":171.6278315652,"fill":"#ED1C24"},{"opacity":1,"angle":11.0247791799,"flipX":false,"flipY":false,"top":244.7599956191,"height":189.0966148499,"width":37.2754278815,"asset":"Triangle","selectable":true,"left":163.0356715134,"fill":"#000000"},{"opacity":1,"angle":82.752014014,"flipX":false,"flipY":false,"top":173.0851719587,"height":189.42801340389997,"width":29.8367270021,"asset":"Triangle","selectable":true,"left":91.2808738522,"fill":"#000000"},{"opacity":1,"angle":-20.9405754052,"flipX":false,"flipY":false,"top":78.6596351839,"height":174.30862661129999,"width":28.0376422012,"asset":"Triangle","selectable":true,"left":145.7551486954,"fill":"#000000"},{"opacity":1,"angle":52.0294915027,"flipX":false,"flipY":false,"top":117.0599157958,"height":150.2737850293,"width":47.9415071433,"asset":"Triangle","selectable":true,"left":232.2379632696,"fill":"#000000"},{"opacity":1,"angle":-21.5401593631,"flipX":true,"flipY":false,"top":131.2106022535,"height":199.45520044029996,"width":66.5897156836,"asset":"Wreath","selectable":true,"left":227.0808231964,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":152.4917803077,"height":297.9391665021,"width":302.2385092969,"asset":"Soviet","selectable":true,"left":144.4801352313,"fill":"#ED1C24"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.2187091255,"height":292.4412184129,"width":296.6612243289,"asset":"Soviet","selectable":true,"left":141.2319840993,"fill":"#000000"},{"opacity":1,"angle":55.9896533448,"flipX":true,"flipY":false,"top":214.0030953672,"height":182.838708969,"width":66.5897156836,"asset":"Wreath","selectable":true,"left":191.9552646197,"fill":"#000000"},{"opacity":1,"angle":-46.3559424217,"flipX":false,"flipY":false,"top":191.1158729923,"height":245.176213173,"width":3.6855558938,"asset":"Stroke","selectable":true,"left":194.6945265772,"fill":"#ED1C24"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":varrequest=newXMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){vare=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":169.4957562397,"height":679.7955325799,"width":679.7955325799,"asset":"Square","selectable":true,"left":170.4957562397,"fill":"#000000"},{"opacity":1,"angle":-11.2675156096,"flipX":true,"flipY":false,"top":96.2743223184,"height":148.5486446368,"width":100.7798105595,"asset":"Flames","selectable":true,"left":83.5469365298,"fill":"#ED1C24"},{"opacity":1,"angle":-29.1280604494,"flipX":false,"flipY":false,"top":65.4567659945,"height":114.913531989,"width":80.0785720809,"asset":"Flames","selectable":true,"left":176.1963172904,"fill":"#ED1C24"},{"opacity":1,"angle":-28.6611694919,"flipX":false,"flipY":false,"top":58.2256070231,"height":143.2871033668,"width":99.8509612977,"asset":"Flames","selectable":true,"left":224.1464003573,"fill":"#ED1C24"},{"opacity":1,"angle":-20.3586655258,"flipX":false,"flipY":false,"top":146.2607829013,"height":314.0856918837,"width":330.81281926789995,"asset":"Star","selectable":true,"left":171.6278315652,"fill":"#ED1C24"},{"opacity":1,"angle":11.0247791799,"flipX":false,"flipY":false,"top":244.7599956191,"height":189.0966148499,"width":37.2754278815,"asset":"Triangle","selectable":true,"left":163.0356715134,"fill":"#000000"},{"opacity":1,"angle":82.752014014,"flipX":false,"flipY":false,"top":173.0851719587,"height":189.42801340389997,"width":29.8367270021,"asset":"Triangle","selectable":true,"left":91.2808738522,"fill":"#000000"},{"opacity":1,"angle":-20.9405754052,"flipX":false,"flipY":false,"top":78.6596351839,"height":174.30862661129999,"width":28.0376422012,"asset":"Triangle","selectable":true,"left":145.7551486954,"fill":"#000000"},{"opacity":1,"angle":52.0294915027,"flipX":false,"flipY":false,"top":117.0599157958,"height":150.2737850293,"width":47.9415071433,"asset":"Triangle","selectable":true,"left":232.2379632696,"fill":"#000000"},{"opacity":1,"angle":-21.5401593631,"flipX":true,"flipY":false,"top":131.2106022535,"height":199.45520044029996,"width":66.5897156836,"asset":"Wreath","selectable":true,"left":227.0808231964,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":152.4917803077,"height":297.9391665021,"width":302.2385092969,"asset":"Soviet","selectable":true,"left":144.4801352313,"fill":"#ED1C24"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.2187091255,"height":292.4412184129,"width":296.6612243289,"asset":"Soviet","selectable":true,"left":141.2319840993,"fill":"#000000"},{"opacity":1,"angle":55.9896533448,"flipX":true,"flipY":false,"top":214.0030953672,"height":182.838708969,"width":66.5897156836,"asset":"Wreath","selectable":true,"left":191.9552646197,"fill":"#000000"},{"opacity":1,"angle":-46.3559424217,"flipX":false,"flipY":false,"top":191.1158729923,"height":245.176213173,"width":3.6855558938,"asset":"Stroke","selectable":true,"left":194.6945265772,"fill":"#ED1C24"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告