登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
272
圖層數
19
Злой Пингвин
作者:
[RuS] Beztormazov
»
代碼 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": 204.783919598,"height": 413.567839196,"width": 413.567839196,"asset": "Square","selectable": false,"left": 206.783919598,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220.9830508475,"height": 170.0338983051,"width": 134.9966101695,"asset": "Circle","selectable": true,"left": 86.4983050847,"fill": "#000000"},{"opacity": 1,"angle": 12.1747400199,"flipX": false,"flipY": false,"top": 136,"height": 100,"width": 81,"asset": "Circle","selectable": false,"left": 85.5,"fill": "#000000"},{"opacity": 1,"angle": 8.6015869497,"flipX": false,"flipY": false,"top": 192.5,"height": 101,"width": 62.8140703518,"asset": "Circle","selectable": true,"left": 80.4070351759,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 226,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 85,"fill": "#FFFFFF"},{"opacity": 1,"angle": 238.9797467674,"flipX": false,"flipY": false,"top": 125.5646126815,"height": 25.331677210099997,"width": 8.0040668974,"asset": "Triangle","selectable": true,"left": 102.1639270953,"fill": "#FFFFFF"},{"opacity": 1,"angle": -58.0940847254,"flipX": false,"flipY": true,"top": 127.0568349919,"height": 19.4749220185,"width": 15.13488169,"asset": "Triangle","selectable": true,"left": 71.8124762374,"fill": "#FFFFFF"},{"opacity": 1,"angle": -33.7774914521,"flipX": true,"flipY": false,"top": 175.6810609526,"height": 57.5276655667,"width": 310.5465907692,"asset": "WeaponShotgun","selectable": false,"left": 137.8022466582,"fill": "#FFFFFF"},{"opacity": 1,"angle": -33.7774914521,"flipX": true,"flipY": false,"top": 180.0743931736,"height": 53.66937838399999,"width": 289.7187348326,"asset": "WeaponShotgun","selectable": true,"left": 131.2187033311,"fill": "#000000"},{"opacity": 1,"angle": 191.0446600268,"flipX": false,"flipY": false,"top": 150.8917929917,"height": 28.9113196036,"width": 36.4576652136,"asset": "PlayerMarker","selectable": true,"left": 83.1776887255,"fill": "#000000"},{"opacity": 1,"angle": 50.7812271738,"flipX": false,"flipY": false,"top": 213.1201791944,"height": 33.2190076152,"width": 82.88612873,"asset": "Circle","selectable": true,"left": 54.1882048871,"fill": "#000000"},{"opacity": 1,"angle": 88.5327209184,"flipX": false,"flipY": false,"top": 173.5,"height": 55,"width": 25,"asset": "Circle","selectable": true,"left": 137.5,"fill": "#000000"},{"opacity": 1,"angle": 34.6158044343,"flipX": false,"flipY": false,"top": 299,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 52.5,"fill": "#000000"},{"opacity": 1,"angle": -10.353809141,"flipX": false,"flipY": false,"top": 297,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 58.5,"fill": "#000000"},{"opacity": 1,"angle": -27.9320108425,"flipX": false,"flipY": false,"top": 299,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 70.5,"fill": "#000000"},{"opacity": 1,"angle": -62.0481240657,"flipX": false,"flipY": false,"top": 295,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 119.5,"fill": "#000000"},{"opacity": 1,"angle": -62.0481240657,"flipX": false,"flipY": false,"top": 281,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 124.5,"fill": "#000000"},{"opacity": 1,"angle": 215.3751607424,"flipX": false,"flipY": false,"top": 59.6335839478,"height": 34.1085271318,"width": 9.1541766222,"asset": "StrokeBent","selectable": true,"left": 267.6766343274,"fill": "#000000"},{"opacity": 1,"angle": 198.0010592894,"flipX": true,"flipY": false,"top": 35.6335839478,"height": 34.1085271318,"width": 9.1541766222,"asset": "StrokeBent","selectable": false,"left": 266.6766343274,"fill": "#000000"}]'},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": 204.783919598,"height": 413.567839196,"width": 413.567839196,"asset": "Square","selectable": false,"left": 206.783919598,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220.9830508475,"height": 170.0338983051,"width": 134.9966101695,"asset": "Circle","selectable": true,"left": 86.4983050847,"fill": "#000000"},{"opacity": 1,"angle": 12.1747400199,"flipX": false,"flipY": false,"top": 136,"height": 100,"width": 81,"asset": "Circle","selectable": false,"left": 85.5,"fill": "#000000"},{"opacity": 1,"angle": 8.6015869497,"flipX": false,"flipY": false,"top": 192.5,"height": 101,"width": 62.8140703518,"asset": "Circle","selectable": true,"left": 80.4070351759,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 226,"height": 100,"width": 100,"asset": "Circle","selectable": true,"left": 85,"fill": "#FFFFFF"},{"opacity": 1,"angle": 238.9797467674,"flipX": false,"flipY": false,"top": 125.5646126815,"height": 25.331677210099997,"width": 8.0040668974,"asset": "Triangle","selectable": true,"left": 102.1639270953,"fill": "#FFFFFF"},{"opacity": 1,"angle": -58.0940847254,"flipX": false,"flipY": true,"top": 127.0568349919,"height": 19.4749220185,"width": 15.13488169,"asset": "Triangle","selectable": true,"left": 71.8124762374,"fill": "#FFFFFF"},{"opacity": 1,"angle": -33.7774914521,"flipX": true,"flipY": false,"top": 175.6810609526,"height": 57.5276655667,"width": 310.5465907692,"asset": "WeaponShotgun","selectable": false,"left": 137.8022466582,"fill": "#FFFFFF"},{"opacity": 1,"angle": -33.7774914521,"flipX": true,"flipY": false,"top": 180.0743931736,"height": 53.66937838399999,"width": 289.7187348326,"asset": "WeaponShotgun","selectable": true,"left": 131.2187033311,"fill": "#000000"},{"opacity": 1,"angle": 191.0446600268,"flipX": false,"flipY": false,"top": 150.8917929917,"height": 28.9113196036,"width": 36.4576652136,"asset": "PlayerMarker","selectable": true,"left": 83.1776887255,"fill": "#000000"},{"opacity": 1,"angle": 50.7812271738,"flipX": false,"flipY": false,"top": 213.1201791944,"height": 33.2190076152,"width": 82.88612873,"asset": "Circle","selectable": true,"left": 54.1882048871,"fill": "#000000"},{"opacity": 1,"angle": 88.5327209184,"flipX": false,"flipY": false,"top": 173.5,"height": 55,"width": 25,"asset": "Circle","selectable": true,"left": 137.5,"fill": "#000000"},{"opacity": 1,"angle": 34.6158044343,"flipX": false,"flipY": false,"top": 299,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 52.5,"fill": "#000000"},{"opacity": 1,"angle": -10.353809141,"flipX": false,"flipY": false,"top": 297,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 58.5,"fill": "#000000"},{"opacity": 1,"angle": -27.9320108425,"flipX": false,"flipY": false,"top": 299,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 70.5,"fill": "#000000"},{"opacity": 1,"angle": -62.0481240657,"flipX": false,"flipY": false,"top": 295,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 119.5,"fill": "#000000"},{"opacity": 1,"angle": -62.0481240657,"flipX": false,"flipY": false,"top": 281,"height": 38,"width": 21,"asset": "Circle","selectable": true,"left": 124.5,"fill": "#000000"},{"opacity": 1,"angle": 215.3751607424,"flipX": false,"flipY": false,"top": 59.6335839478,"height": 34.1085271318,"width": 9.1541766222,"asset": "StrokeBent","selectable": true,"left": 267.6766343274,"fill": "#000000"},{"opacity": 1,"angle": 198.0010592894,"flipX": true,"flipY": false,"top": 35.6335839478,"height": 34.1085271318,"width": 9.1541766222,"asset": "StrokeBent","selectable": false,"left": 266.6766343274,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告