登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
7
圖層數
16
Kingdom of Sahrani
作者:
Major91
代碼 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":167.25,"left":165.25,"height":159.5015576324,"width":372.8757788162,"asset":"Square","fill":"#FFFFFF","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.1875,"left":50.18750000000001,"height":159.5015576324,"width":100.37577881619998,"asset":"Square","fill":"#0076A3","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.1875,"left":269.6875,"height":159.5015576324,"width":100.37577881619998,"asset":"Square","fill":"#0076A3","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":164.69525,"left":141.3047,"height":80.39682184469999,"width":48.0507190317,"asset":"Wreath","fill":"#00746B","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":164.19525,"left":180.8047,"height":80.39682184469999,"width":48.0507190317,"asset":"Wreath","fill":"#00746B","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.84375,"left":137.1172,"height":77.5500837445,"width":44.2356957161,"asset":"Wreath","fill":"#005826","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":168.34375,"left":181.61719999999997,"height":77.5500837445,"width":44.2356957161,"asset":"Wreath","fill":"#005826","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.007825,"left":158.914075,"height":45.0174612392,"width":37.8340812211,"asset":"Lion","fill":"#ABA000","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.625,"left":159.332025,"height":41.25447602199999,"width":34.6715508513,"asset":"Lion","fill":"#827B00","selectable":true},{"opacity":1,"angle":18.0668249773,"flipX":true,"flipY":false,"top":144.296875,"left":170.77734999999998,"height":31.591905023699994,"width":16.5603963338,"asset":"Wing1","fill":"#ABA000","selectable":true},{"opacity":1,"angle":18.0668249773,"flipX":true,"flipY":false,"top":145.019525,"left":171.34375,"height":29.93366953010001,"width":15.6911535019,"asset":"Wing1","fill":"#827B00","selectable":true},{"opacity":1,"angle":270.469424516,"flipX":false,"flipY":false,"top":208.60550000000003,"left":159.480475,"height":58.25247241400001,"width":15.963705048199998,"asset":"StrokeBent","fill":"#BACC94","selectable":true},{"opacity":1,"angle":270.469424516,"flipX":false,"flipY":false,"top":212.1055,"left":159.480475,"height":58.25247241400001,"width":15.963705048199998,"asset":"StrokeBent","fill":"#BACC94","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":206.5547,"left":127.17970000000001,"height":12.359399999999994,"width":6.362293678000001,"asset":"Square","fill":"#BACC94","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207.6797,"left":191.1797,"height":12.640600000000006,"width":6.362293678000001,"asset":"Square","fill":"#BACC94","selectable":true},{"asset":"Emblem109","left":159.08689506693008,"top":133.19466381291682,"angle":0,"width":11.55579237540949,"height":6.478670132617049,"opacity":1,"fill":"#827B00","flipX":false,"flipY":false,"selectable":true}]'},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":167.25,"left":165.25,"height":159.5015576324,"width":372.8757788162,"asset":"Square","fill":"#FFFFFF","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.1875,"left":50.18750000000001,"height":159.5015576324,"width":100.37577881619998,"asset":"Square","fill":"#0076A3","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.1875,"left":269.6875,"height":159.5015576324,"width":100.37577881619998,"asset":"Square","fill":"#0076A3","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":164.69525,"left":141.3047,"height":80.39682184469999,"width":48.0507190317,"asset":"Wreath","fill":"#00746B","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":164.19525,"left":180.8047,"height":80.39682184469999,"width":48.0507190317,"asset":"Wreath","fill":"#00746B","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.84375,"left":137.1172,"height":77.5500837445,"width":44.2356957161,"asset":"Wreath","fill":"#005826","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":168.34375,"left":181.61719999999997,"height":77.5500837445,"width":44.2356957161,"asset":"Wreath","fill":"#005826","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.007825,"left":158.914075,"height":45.0174612392,"width":37.8340812211,"asset":"Lion","fill":"#ABA000","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.625,"left":159.332025,"height":41.25447602199999,"width":34.6715508513,"asset":"Lion","fill":"#827B00","selectable":true},{"opacity":1,"angle":18.0668249773,"flipX":true,"flipY":false,"top":144.296875,"left":170.77734999999998,"height":31.591905023699994,"width":16.5603963338,"asset":"Wing1","fill":"#ABA000","selectable":true},{"opacity":1,"angle":18.0668249773,"flipX":true,"flipY":false,"top":145.019525,"left":171.34375,"height":29.93366953010001,"width":15.6911535019,"asset":"Wing1","fill":"#827B00","selectable":true},{"opacity":1,"angle":270.469424516,"flipX":false,"flipY":false,"top":208.60550000000003,"left":159.480475,"height":58.25247241400001,"width":15.963705048199998,"asset":"StrokeBent","fill":"#BACC94","selectable":true},{"opacity":1,"angle":270.469424516,"flipX":false,"flipY":false,"top":212.1055,"left":159.480475,"height":58.25247241400001,"width":15.963705048199998,"asset":"StrokeBent","fill":"#BACC94","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":206.5547,"left":127.17970000000001,"height":12.359399999999994,"width":6.362293678000001,"asset":"Square","fill":"#BACC94","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207.6797,"left":191.1797,"height":12.640600000000006,"width":6.362293678000001,"asset":"Square","fill":"#BACC94","selectable":true},{"asset":"Emblem109","left":159.08689506693008,"top":133.19466381291682,"angle":0,"width":11.55579237540949,"height":6.478670132617049,"opacity":1,"fill":"#827B00","flipX":false,"flipY":false,"selectable":true}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
Flag
ArmA
广告