登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
375
圖層數
13
flash
作者:
Fruchtzwerg444
代碼 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":152,"left":159.5,"height":337,"width":322,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162.5,"left":156.5,"height":213,"width":213,"asset":"Circle","fill":"#ffd966","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":162.5,"left":156.5,"height":199,"width":199,"asset":"Circle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":162.5,"left":156,"height":182,"width":182,"asset":"Circle","fill":"#980000","selectable":false},{"opacity":1,"angle":23.45256345419256,"flipX":false,"flipY":false,"top":121.65425,"left":164.1125,"height":211.3099387618247,"width":69.2257962819324,"asset":"Lightning","fill":"#ffd966","selectable":false},{"opacity":1,"angle":23.45256345419256,"flipX":true,"flipY":true,"top":207.15425,"left":142.6125,"height":211.3099387618247,"width":69.2257962819324,"asset":"Lightning","fill":"#ffd966","selectable":false},{"opacity":1,"angle":38.072781873990834,"flipX":false,"flipY":false,"top":82.5,"left":193.5,"height":123.67352720940413,"width":15.476190103562038,"asset":"Triangle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":27.88907856314268,"flipX":true,"flipY":true,"top":168.2375,"left":159.7375,"height":89.3947378406711,"width":23.635405235507047,"asset":"Triangle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":84.32533715740487,"flipX":false,"flipY":false,"top":129.21675,"left":158,"height":76.06593710134365,"width":14.382421943937196,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":57.014413372787956,"flipX":false,"flipY":false,"top":131.71675,"left":183.5,"height":41.743731378769404,"width":17.769226172186382,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":84.32533715740487,"flipX":true,"flipY":true,"top":207.554175,"left":140.191675,"height":75.75119472095017,"width":14.382421943937196,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":60.074381894314165,"flipX":true,"flipY":true,"top":209.304175,"left":163.383325,"height":51.91030024842651,"width":9.651104244337612,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":45.19818314885123,"flipX":true,"flipY":true,"top":247.816675,"left":121.316675,"height":110.1491193088443,"width":14.457818731779549,"asset":"Triangle","fill":"#f1c232","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":false,"flipY":false,"top":152,"left":159.5,"height":337,"width":322,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":162.5,"left":156.5,"height":213,"width":213,"asset":"Circle","fill":"#ffd966","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":162.5,"left":156.5,"height":199,"width":199,"asset":"Circle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":162.5,"left":156,"height":182,"width":182,"asset":"Circle","fill":"#980000","selectable":false},{"opacity":1,"angle":23.45256345419256,"flipX":false,"flipY":false,"top":121.65425,"left":164.1125,"height":211.3099387618247,"width":69.2257962819324,"asset":"Lightning","fill":"#ffd966","selectable":false},{"opacity":1,"angle":23.45256345419256,"flipX":true,"flipY":true,"top":207.15425,"left":142.6125,"height":211.3099387618247,"width":69.2257962819324,"asset":"Lightning","fill":"#ffd966","selectable":false},{"opacity":1,"angle":38.072781873990834,"flipX":false,"flipY":false,"top":82.5,"left":193.5,"height":123.67352720940413,"width":15.476190103562038,"asset":"Triangle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":27.88907856314268,"flipX":true,"flipY":true,"top":168.2375,"left":159.7375,"height":89.3947378406711,"width":23.635405235507047,"asset":"Triangle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":84.32533715740487,"flipX":false,"flipY":false,"top":129.21675,"left":158,"height":76.06593710134365,"width":14.382421943937196,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":57.014413372787956,"flipX":false,"flipY":false,"top":131.71675,"left":183.5,"height":41.743731378769404,"width":17.769226172186382,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":84.32533715740487,"flipX":true,"flipY":true,"top":207.554175,"left":140.191675,"height":75.75119472095017,"width":14.382421943937196,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":60.074381894314165,"flipX":true,"flipY":true,"top":209.304175,"left":163.383325,"height":51.91030024842651,"width":9.651104244337612,"asset":"Romb","fill":"#f1c232","selectable":false},{"opacity":1,"angle":45.19818314885123,"flipX":true,"flipY":true,"top":247.816675,"left":121.316675,"height":110.1491193088443,"width":14.457818731779549,"asset":"Triangle","fill":"#f1c232","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
flash
bigbang
lightning
广告