登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
7
圖層數
20
Tenente Liana
作者:
Tenente Liana
代碼 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":true,"flipY":true,"top":191.5,"left":222.5,"height":198,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-37.59308787150477,"flipX":true,"flipY":true,"top":61.5,"left":195.5,"height":93.1783053693077,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":191.5,"left":102,"height":198,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":38.7256654429182,"flipX":true,"flipY":true,"top":61,"left":129.5,"height":93.1783053693077,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":24.76575,"left":162.761725,"height":57.53125,"width":47.52512734375,"asset":"PlayerMarker","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191,"left":161.5,"height":198,"width":105.99999999999999,"asset":"Square","fill":"#ffe599","selectable":false},{"opacity":1,"angle":-179.39690880561946,"flipX":false,"flipY":false,"top":71,"left":161.5,"height":72.01706287711606,"width":68.90144600900348,"asset":"Shield","fill":"#ffe599","selectable":false},{"opacity":1,"angle":-15.169073068164257,"flipX":false,"flipY":false,"top":86.664075,"left":197.6797,"height":34.33493618542289,"width":28.36323240937321,"asset":"PlayerMarker","fill":"#ffe599","selectable":false},{"opacity":1,"angle":-161.00545972859794,"flipX":true,"flipY":true,"top":82.664075,"left":125.6797,"height":34.33493618542289,"width":28.36323240937321,"asset":"PlayerMarker","fill":"#ffe599","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":181.27345,"left":162.5,"height":47.551249999999996,"width":50,"asset":"Star","fill":"#ffff00","selectable":false},{"opacity":1,"angle":180,"flipX":true,"flipY":true,"top":259.77345,"left":163.5,"height":47.551249999999996,"width":50,"asset":"Star","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":82.84775,"left":148.5,"height":52.702851077846496,"width":26.999999999999996,"asset":"Wreath3","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":81.84775,"left":178.5,"height":52.702851077846496,"width":26.999999999999996,"asset":"Wreath3","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":80.6797,"left":156.03515,"height":23.36699999999999,"width":13.074347653124994,"asset":"Wing1","fill":"#7f6000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":83.6797,"left":172.53515,"height":23.36699999999999,"width":13.074347653124994,"asset":"Wing1","fill":"#7f6000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":54.66025,"left":258,"height":74.321078125,"width":84.99999999999999,"asset":"Flag","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-15.827674375917844,"flipX":false,"flipY":false,"top":51.5625,"left":244.511725,"height":69.07925642369453,"width":24.359323896085087,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-15.827674375917844,"flipX":true,"flipY":true,"top":46.9415,"left":292.886725,"height":65.00586379206923,"width":25.245890372132077,"asset":"Stroke","fill":"#00ff00","selectable":false},{"opacity":1,"angle":-28.250088347171594,"flipX":false,"flipY":false,"top":75.9414,"left":197.886725,"height":48.886520353414,"width":9.7773040706828,"asset":"Stroke","fill":"#ffe599","selectable":false},{"opacity":1,"angle":28.623332046181368,"flipX":true,"flipY":true,"top":77.9414,"left":124.386725,"height":48.886520353414,"width":9.7773040706828,"asset":"Stroke","fill":"#ffe599","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":191.5,"left":222.5,"height":198,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-37.59308787150477,"flipX":true,"flipY":true,"top":61.5,"left":195.5,"height":93.1783053693077,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":191.5,"left":102,"height":198,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":38.7256654429182,"flipX":true,"flipY":true,"top":61,"left":129.5,"height":93.1783053693077,"width":16,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":24.76575,"left":162.761725,"height":57.53125,"width":47.52512734375,"asset":"PlayerMarker","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191,"left":161.5,"height":198,"width":105.99999999999999,"asset":"Square","fill":"#ffe599","selectable":false},{"opacity":1,"angle":-179.39690880561946,"flipX":false,"flipY":false,"top":71,"left":161.5,"height":72.01706287711606,"width":68.90144600900348,"asset":"Shield","fill":"#ffe599","selectable":false},{"opacity":1,"angle":-15.169073068164257,"flipX":false,"flipY":false,"top":86.664075,"left":197.6797,"height":34.33493618542289,"width":28.36323240937321,"asset":"PlayerMarker","fill":"#ffe599","selectable":false},{"opacity":1,"angle":-161.00545972859794,"flipX":true,"flipY":true,"top":82.664075,"left":125.6797,"height":34.33493618542289,"width":28.36323240937321,"asset":"PlayerMarker","fill":"#ffe599","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":181.27345,"left":162.5,"height":47.551249999999996,"width":50,"asset":"Star","fill":"#ffff00","selectable":false},{"opacity":1,"angle":180,"flipX":true,"flipY":true,"top":259.77345,"left":163.5,"height":47.551249999999996,"width":50,"asset":"Star","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":82.84775,"left":148.5,"height":52.702851077846496,"width":26.999999999999996,"asset":"Wreath3","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":81.84775,"left":178.5,"height":52.702851077846496,"width":26.999999999999996,"asset":"Wreath3","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":80.6797,"left":156.03515,"height":23.36699999999999,"width":13.074347653124994,"asset":"Wing1","fill":"#7f6000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":83.6797,"left":172.53515,"height":23.36699999999999,"width":13.074347653124994,"asset":"Wing1","fill":"#7f6000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":54.66025,"left":258,"height":74.321078125,"width":84.99999999999999,"asset":"Flag","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-15.827674375917844,"flipX":false,"flipY":false,"top":51.5625,"left":244.511725,"height":69.07925642369453,"width":24.359323896085087,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-15.827674375917844,"flipX":true,"flipY":true,"top":46.9415,"left":292.886725,"height":65.00586379206923,"width":25.245890372132077,"asset":"Stroke","fill":"#00ff00","selectable":false},{"opacity":1,"angle":-28.250088347171594,"flipX":false,"flipY":false,"top":75.9414,"left":197.886725,"height":48.886520353414,"width":9.7773040706828,"asset":"Stroke","fill":"#ffe599","selectable":false},{"opacity":1,"angle":28.623332046181368,"flipX":true,"flipY":true,"top":77.9414,"left":124.386725,"height":48.886520353414,"width":9.7773040706828,"asset":"Stroke","fill":"#ffe599","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告