登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
65
圖層數
15
Devgru Red Squadron
作者:
TOXiCxR3ACTiONZ
代碼 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":-179.81954280836888,"flipX":true,"flipY":true,"top":159.5925,"left":164.5525,"height":317.1865436603665,"width":275.10976622792105,"asset":"Shield5","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.895,"left":164.345,"height":309.79,"width":268.69442031250003,"asset":"Shield5","fill":"#000000","selectable":false},{"opacity":1,"angle":-89.69919992113674,"flipX":true,"flipY":true,"top":100.595,"left":72.47,"height":30.191652674153626,"width":24.9411355762891,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.60607452967257,"flipX":true,"flipY":false,"top":101.0125,"left":161.9025,"height":200.7721461727942,"width":16.014354779390164,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.62,"left":164.7225,"height":258.76,"width":20.55500000000006,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.0875,"left":155.6925,"height":174.17992565055758,"width":146.41999999999996,"asset":"Lion","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-47.30796016986801,"flipX":false,"flipY":true,"top":150.055,"left":191.2775,"height":13.11012158982155,"width":42.10056325578421,"asset":"ArrowBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":90.52085637450196,"flipX":false,"flipY":true,"top":116.005,"left":200.1325,"height":13.013098643397157,"width":44.04304024686625,"asset":"ArrowBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":164.5051514008614,"flipX":false,"flipY":false,"top":135.05,"left":222.76749999999998,"height":13.103508663397663,"width":45.47304192708981,"asset":"ArrowBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-89.69919992113674,"flipX":false,"flipY":false,"top":102.595,"left":250.47,"height":33.07429669798931,"width":24.9411355762891,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-22.061239180214862,"flipX":false,"flipY":false,"top":68.9675,"left":150.4975,"height":3.9394687499999987,"width":8.999999999999998,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":179.6731190263468,"flipX":true,"flipY":true,"top":275.495,"left":164.7575,"height":42.99446012302886,"width":35.51745479225837,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-0.24591336996222943,"flipX":true,"flipY":true,"top":38.995000000000004,"left":164.7575,"height":42.99446012302886,"width":35.51745479225837,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":32.62368720087972,"flipX":false,"flipY":false,"top":125.9975,"left":210.9975,"height":26.850329196176748,"width":6.9999999999999964,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":32.91240049073265,"flipX":false,"flipY":false,"top":113.0725,"left":219.5375,"height":13.52332915586891,"width":16.914057527625594,"asset":"PlayerMarker","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":-179.81954280836888,"flipX":true,"flipY":true,"top":159.5925,"left":164.5525,"height":317.1865436603665,"width":275.10976622792105,"asset":"Shield5","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.895,"left":164.345,"height":309.79,"width":268.69442031250003,"asset":"Shield5","fill":"#000000","selectable":false},{"opacity":1,"angle":-89.69919992113674,"flipX":true,"flipY":true,"top":100.595,"left":72.47,"height":30.191652674153626,"width":24.9411355762891,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":90.60607452967257,"flipX":true,"flipY":false,"top":101.0125,"left":161.9025,"height":200.7721461727942,"width":16.014354779390164,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.62,"left":164.7225,"height":258.76,"width":20.55500000000006,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.0875,"left":155.6925,"height":174.17992565055758,"width":146.41999999999996,"asset":"Lion","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-47.30796016986801,"flipX":false,"flipY":true,"top":150.055,"left":191.2775,"height":13.11012158982155,"width":42.10056325578421,"asset":"ArrowBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":90.52085637450196,"flipX":false,"flipY":true,"top":116.005,"left":200.1325,"height":13.013098643397157,"width":44.04304024686625,"asset":"ArrowBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":164.5051514008614,"flipX":false,"flipY":false,"top":135.05,"left":222.76749999999998,"height":13.103508663397663,"width":45.47304192708981,"asset":"ArrowBent","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-89.69919992113674,"flipX":false,"flipY":false,"top":102.595,"left":250.47,"height":33.07429669798931,"width":24.9411355762891,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-22.061239180214862,"flipX":false,"flipY":false,"top":68.9675,"left":150.4975,"height":3.9394687499999987,"width":8.999999999999998,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":179.6731190263468,"flipX":true,"flipY":true,"top":275.495,"left":164.7575,"height":42.99446012302886,"width":35.51745479225837,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-0.24591336996222943,"flipX":true,"flipY":true,"top":38.995000000000004,"left":164.7575,"height":42.99446012302886,"width":35.51745479225837,"asset":"PlayerMarker","fill":"#ff0000","selectable":false},{"opacity":1,"angle":32.62368720087972,"flipX":false,"flipY":false,"top":125.9975,"left":210.9975,"height":26.850329196176748,"width":6.9999999999999964,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":32.91240049073265,"flipX":false,"flipY":false,"top":113.0725,"left":219.5375,"height":13.52332915586891,"width":16.914057527625594,"asset":"PlayerMarker","fill":"#f1c232","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告