登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
21
圖層數
13
raeeeeeeee
作者:
diegooo
»
代碼 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":36.7019479637,"flipX":false,"flipY":false,"top":161.1232944192,"height":96.10992925839999,"width":269.3754622376,"asset":"WeaponCarbine","selectable":false,"left":138.5130659868,"fill":"#000000"},{"opacity":1,"angle":145.2837479107,"flipX":false,"flipY":true,"top":160.3930948136,"height":101.80260105160002,"width":274.6571445812,"asset":"WeaponCarbine","selectable":true,"left":166.27985395529998,"fill":"#000000"},{"opacity":0.5,"angle":145.2837479107,"flipX":false,"flipY":true,"top":162.2680948136,"height":101.80260105160002,"width":274.6571445812,"asset":"WeaponCarbine","selectable":true,"left":165.02985395529998,"fill":"#111111"},{"opacity":0.5,"angle":36.7019479637,"flipX":false,"flipY":false,"top":162.3732944192,"height":96.10992925839999,"width":269.3754622376,"asset":"WeaponCarbine","selectable":true,"left":140.3880659868,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.625,"height":227.5,"width":236.875,"asset":"Star","selectable":true,"left":156.5625,"fill":"#A36209"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.8610184207,"height":192.4164916702,"width":200.93073574420004,"asset":"Star","selectable":true,"left":157.0346321279,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.7174640951,"height":158.6293830188,"width":165.6485801397,"asset":"Star","selectable":true,"left":156.8935543257,"fill":"#959595"},{"opacity":0.5,"angle":18.6550642888,"flipX":false,"flipY":false,"top":90.2432380237,"height":93.2363891907,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":143.1306146704,"fill":"#000000"},{"opacity":0.5,"angle":18.6550642888,"flipX":false,"flipY":false,"top":223.7842946727,"height":93.2363891907,"width":8.2450579264,"asset":"Stroke","selectable":true,"left":100.01172025590002,"fill":"#000000"},{"opacity":0.5,"angle":305.2658663258,"flipX":false,"flipY":false,"top":153.3682380237,"height":93.2363891907,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":75.6306146704,"fill":"#000000"},{"opacity":0.5,"angle":307.0857038996,"flipX":false,"flipY":false,"top":241.20349031030003,"height":93.2363891907,"width":7.6650578305,"asset":"Stroke","selectable":true,"left":195.2246355183,"fill":"#000000"},{"opacity":0.5,"angle":53.1733345492,"flipX":false,"flipY":false,"top":154.8126572199,"height":96.75853635959999,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":235.16527042150003,"fill":"#000000"},{"opacity":0.5,"angle":52.8554659976,"flipX":false,"flipY":false,"top":236.4932380237,"height":93.2363891907,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":123.1306146704,"fill":"#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":36.7019479637,"flipX":false,"flipY":false,"top":161.1232944192,"height":96.10992925839999,"width":269.3754622376,"asset":"WeaponCarbine","selectable":false,"left":138.5130659868,"fill":"#000000"},{"opacity":1,"angle":145.2837479107,"flipX":false,"flipY":true,"top":160.3930948136,"height":101.80260105160002,"width":274.6571445812,"asset":"WeaponCarbine","selectable":true,"left":166.27985395529998,"fill":"#000000"},{"opacity":0.5,"angle":145.2837479107,"flipX":false,"flipY":true,"top":162.2680948136,"height":101.80260105160002,"width":274.6571445812,"asset":"WeaponCarbine","selectable":true,"left":165.02985395529998,"fill":"#111111"},{"opacity":0.5,"angle":36.7019479637,"flipX":false,"flipY":false,"top":162.3732944192,"height":96.10992925839999,"width":269.3754622376,"asset":"WeaponCarbine","selectable":true,"left":140.3880659868,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.625,"height":227.5,"width":236.875,"asset":"Star","selectable":true,"left":156.5625,"fill":"#A36209"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.8610184207,"height":192.4164916702,"width":200.93073574420004,"asset":"Star","selectable":true,"left":157.0346321279,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.7174640951,"height":158.6293830188,"width":165.6485801397,"asset":"Star","selectable":true,"left":156.8935543257,"fill":"#959595"},{"opacity":0.5,"angle":18.6550642888,"flipX":false,"flipY":false,"top":90.2432380237,"height":93.2363891907,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":143.1306146704,"fill":"#000000"},{"opacity":0.5,"angle":18.6550642888,"flipX":false,"flipY":false,"top":223.7842946727,"height":93.2363891907,"width":8.2450579264,"asset":"Stroke","selectable":true,"left":100.01172025590002,"fill":"#000000"},{"opacity":0.5,"angle":305.2658663258,"flipX":false,"flipY":false,"top":153.3682380237,"height":93.2363891907,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":75.6306146704,"fill":"#000000"},{"opacity":0.5,"angle":307.0857038996,"flipX":false,"flipY":false,"top":241.20349031030003,"height":93.2363891907,"width":7.6650578305,"asset":"Stroke","selectable":true,"left":195.2246355183,"fill":"#000000"},{"opacity":0.5,"angle":53.1733345492,"flipX":false,"flipY":false,"top":154.8126572199,"height":96.75853635959999,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":235.16527042150003,"fill":"#000000"},{"opacity":0.5,"angle":52.8554659976,"flipX":false,"flipY":false,"top":236.4932380237,"height":93.2363891907,"width":6.9386313189,"asset":"Stroke","selectable":true,"left":123.1306146704,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告