登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
38
圖層數
33
Emblem 759
作者:
spy_tian
代碼 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": 229,"height": 100,"width": 100,"asset": "Shield2","selectable": true,"left": 162,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162,"height": 90.778482084,"width": 76.772965182,"asset": "MedalRing4","selectable": true,"left": 162,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 151,"height": 89.9497487437,"width": 89.9497487437,"asset": "Circle","selectable": false,"left": 162,"fill": "#FFFFFF"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": true,"top": 163,"height": 26.1967213115,"width": 11,"asset": "StrokeBent","selectable": false,"left": 150,"fill": "#363636"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 163,"height": 26.1967213115,"width": 11,"asset": "StrokeBent","selectable": false,"left": 176,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170,"height": 11.5913521157,"width": 7.9901419231,"asset": "Stroke","selectable": false,"left": 159,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170,"height": 11.5913521157,"width": 7.9901419231,"asset": "Stroke","selectable": false,"left": 167,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 165,"height": 7.7047191064,"width": 6.1731831957,"asset": "Stroke","selectable": false,"left": 163,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152,"height": 9.2278696633,"width": 9.2278696633,"asset": "Shield","selectable": false,"left": 163,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 168,"height": 6.4,"width": 1.28,"asset": "Stroke","selectable": true,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 174,"height": 6.4,"width": 1.28,"asset": "Stroke","selectable": true,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 182,"height": 16.5829145729,"width": 16.5829145729,"asset": "Square","selectable": true,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 72.3572020013,"flipX": true,"flipY": true,"top": 222,"height": 15.479382545600002,"width": 37.536202591,"asset": "Eye2","selectable": true,"left": 217,"fill": "#FFFFFF"},{"opacity": 1,"angle": 295.2391576658,"flipX": true,"flipY": true,"top": 220,"height": 15.479382545600002,"width": 37.536202591,"asset": "Eye2","selectable": true,"left": 106,"fill": "#FFFFFF"},{"opacity": 1,"angle": 113.3144310949,"flipX": false,"flipY": false,"top": 213,"height": 9.749166328,"width": 19.698037755,"asset": "Dogtag","selectable": true,"left": 159,"fill": "#363636"},{"opacity": 1,"angle": 86.4648196286,"flipX": false,"flipY": false,"top": 213,"height": 9.749166328,"width": 19.698037755,"asset": "Dogtag","selectable": true,"left": 166,"fill": "#363636"},{"opacity": 1,"angle": 49.7125925003,"flipX": true,"flipY": false,"top": 238,"height": 43.6247279324,"width": 70.915058563,"asset": "WeaponHandgun","selectable": true,"left": 221,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 222,"height": 18.5929648241,"width": 18.5929648241,"asset": "Shield","selectable": true,"left": 190,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220,"height": 11.632298707400002,"width": 11.8001559255,"asset": "Soviet","selectable": true,"left": 190,"fill": "#FFFE00"},{"opacity": 0.49,"angle": 0,"flipX": false,"flipY": false,"top": 179,"height": 266.4628888046,"width": 266.4628888046,"asset": "Forbidden","selectable": true,"left": 165,"fill": "#9E0B0F"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 95,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 145,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 95,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 179,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 95,"height": 26.761304765799995,"width": 85.14506322719998,"asset": "Wingpart","selectable": true,"left": 179,"fill": "#363636"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 95,"height": 26.761304765799995,"width": 85.14506322719998,"asset": "Wingpart","selectable": true,"left": 145.3806523829,"fill": "#363636"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 102,"height": 24.46370593,"width": 88.76718276169998,"asset": "Wingpart","selectable": true,"left": 147,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 102,"height": 24.46370593,"width": 88.76718276169998,"asset": "Wingpart","selectable": true,"left": 177,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 137.476193914,"height": 5.851623561,"width": 5.851623561,"asset": "Circle","selectable": false,"left": 149,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 137.476193914,"height": 5.851623561,"width": 5.851623561,"asset": "Circle","selectable": false,"left": 178,"fill": "#363636"},{"opacity": 1,"angle": 92.990363837,"flipX": false,"flipY": false,"top": 136.1599611625,"height": 16.9794232075,"width": 5.0938269623,"asset": "StrokeBent","selectable": true,"left": 147.4667961249,"fill": "#363636"},{"opacity": 1,"angle": 270,"flipX": true,"flipY": false,"top": 136.1599611625,"height": 16.9794232075,"width": 5.0938269623,"asset": "StrokeBent","selectable": true,"left": 180,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 278.55734375,"height": 12.8853125,"width": 45,"asset": "Eye2","selectable": true,"left": 137,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 278.55734375,"height": 12.8853125,"width": 45,"asset": "Eye2","selectable": true,"left": 187,"fill": "#FFFFFF"},{"opacity": 1,"angle": -61.1296953715,"flipX": false,"flipY": false,"top": 234,"height": 43.6247279324,"width": 70.915058563,"asset": "WeaponHandgun","selectable": true,"left": 103,"fill": "#FFFFFF"}]'},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": 229,"height": 100,"width": 100,"asset": "Shield2","selectable": true,"left": 162,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 162,"height": 90.778482084,"width": 76.772965182,"asset": "MedalRing4","selectable": true,"left": 162,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 151,"height": 89.9497487437,"width": 89.9497487437,"asset": "Circle","selectable": false,"left": 162,"fill": "#FFFFFF"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": true,"top": 163,"height": 26.1967213115,"width": 11,"asset": "StrokeBent","selectable": false,"left": 150,"fill": "#363636"},{"opacity": 1,"angle": 270,"flipX": false,"flipY": false,"top": 163,"height": 26.1967213115,"width": 11,"asset": "StrokeBent","selectable": false,"left": 176,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170,"height": 11.5913521157,"width": 7.9901419231,"asset": "Stroke","selectable": false,"left": 159,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170,"height": 11.5913521157,"width": 7.9901419231,"asset": "Stroke","selectable": false,"left": 167,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 165,"height": 7.7047191064,"width": 6.1731831957,"asset": "Stroke","selectable": false,"left": 163,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152,"height": 9.2278696633,"width": 9.2278696633,"asset": "Shield","selectable": false,"left": 163,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 168,"height": 6.4,"width": 1.28,"asset": "Stroke","selectable": true,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 174,"height": 6.4,"width": 1.28,"asset": "Stroke","selectable": true,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 182,"height": 16.5829145729,"width": 16.5829145729,"asset": "Square","selectable": true,"left": 163,"fill": "#FFFFFF"},{"opacity": 1,"angle": 72.3572020013,"flipX": true,"flipY": true,"top": 222,"height": 15.479382545600002,"width": 37.536202591,"asset": "Eye2","selectable": true,"left": 217,"fill": "#FFFFFF"},{"opacity": 1,"angle": 295.2391576658,"flipX": true,"flipY": true,"top": 220,"height": 15.479382545600002,"width": 37.536202591,"asset": "Eye2","selectable": true,"left": 106,"fill": "#FFFFFF"},{"opacity": 1,"angle": 113.3144310949,"flipX": false,"flipY": false,"top": 213,"height": 9.749166328,"width": 19.698037755,"asset": "Dogtag","selectable": true,"left": 159,"fill": "#363636"},{"opacity": 1,"angle": 86.4648196286,"flipX": false,"flipY": false,"top": 213,"height": 9.749166328,"width": 19.698037755,"asset": "Dogtag","selectable": true,"left": 166,"fill": "#363636"},{"opacity": 1,"angle": 49.7125925003,"flipX": true,"flipY": false,"top": 238,"height": 43.6247279324,"width": 70.915058563,"asset": "WeaponHandgun","selectable": true,"left": 221,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 222,"height": 18.5929648241,"width": 18.5929648241,"asset": "Shield","selectable": true,"left": 190,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220,"height": 11.632298707400002,"width": 11.8001559255,"asset": "Soviet","selectable": true,"left": 190,"fill": "#FFFE00"},{"opacity": 0.49,"angle": 0,"flipX": false,"flipY": false,"top": 179,"height": 266.4628888046,"width": 266.4628888046,"asset": "Forbidden","selectable": true,"left": 165,"fill": "#9E0B0F"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 95,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 145,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 95,"height": 32.324375,"width": 100,"asset": "Wingpart","selectable": true,"left": 179,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 95,"height": 26.761304765799995,"width": 85.14506322719998,"asset": "Wingpart","selectable": true,"left": 179,"fill": "#363636"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 95,"height": 26.761304765799995,"width": 85.14506322719998,"asset": "Wingpart","selectable": true,"left": 145.3806523829,"fill": "#363636"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 102,"height": 24.46370593,"width": 88.76718276169998,"asset": "Wingpart","selectable": true,"left": 147,"fill": "#FFFFFF"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 102,"height": 24.46370593,"width": 88.76718276169998,"asset": "Wingpart","selectable": true,"left": 177,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 137.476193914,"height": 5.851623561,"width": 5.851623561,"asset": "Circle","selectable": false,"left": 149,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 137.476193914,"height": 5.851623561,"width": 5.851623561,"asset": "Circle","selectable": false,"left": 178,"fill": "#363636"},{"opacity": 1,"angle": 92.990363837,"flipX": false,"flipY": false,"top": 136.1599611625,"height": 16.9794232075,"width": 5.0938269623,"asset": "StrokeBent","selectable": true,"left": 147.4667961249,"fill": "#363636"},{"opacity": 1,"angle": 270,"flipX": true,"flipY": false,"top": 136.1599611625,"height": 16.9794232075,"width": 5.0938269623,"asset": "StrokeBent","selectable": true,"left": 180,"fill": "#363636"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 278.55734375,"height": 12.8853125,"width": 45,"asset": "Eye2","selectable": true,"left": 137,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 278.55734375,"height": 12.8853125,"width": 45,"asset": "Eye2","selectable": true,"left": 187,"fill": "#FFFFFF"},{"opacity": 1,"angle": -61.1296953715,"flipX": false,"flipY": false,"top": 234,"height": 43.6247279324,"width": 70.915058563,"asset": "WeaponHandgun","selectable": true,"left": 103,"fill": "#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告