登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
23
複製總數
1558
圖層數
40
oh! fuck
作者:
orangeskunk
»
代碼 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":40.7719709216,"flipX":false,"flipY":false,"top":206.2890391145,"height":241.66282851,"width":139.4387862382,"asset":"Emblem120","selectable":false,"left":158,"fill":"#FFFFFF"},{"opacity":1,"angle":137.2721084537,"flipX":false,"flipY":true,"top":100,"height":49.2117001163,"width":84.09647438259998,"asset":"Wingpart","selectable":false,"left":229,"fill":"#FFFFFF"},{"opacity":1,"angle":120.9716133324,"flipX":true,"flipY":true,"top":119,"height":49.5342934405,"width":84.64774493730002,"asset":"Wingpart","selectable":false,"left":257,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":123,"height":28.4112149533,"width":28.4112149533,"asset":"Square","selectable":false,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":58.7451414066,"flipX":false,"flipY":false,"top":160.5751033209,"height":11.1357797194,"width":94.8148148148,"asset":"Line","selectable":false,"left":59.0524402421,"fill":"#FFFFFF"},{"opacity":1,"angle":344.7978566373,"flipX":true,"flipY":false,"top":161.4699635214,"height":100.7404040422,"width":48.8010273096,"asset":"Lightning","selectable":false,"left":60.2835967592,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148,"height":51.5181335585,"width":28.9567389638,"asset":"Triangle","selectable":false,"left":74,"fill":"#FFFFFF"},{"opacity":1,"angle":344.7978566373,"flipX":true,"flipY":false,"top":165,"height":72.51425777,"width":33.9149272161,"asset":"Lightning","selectable":false,"left":64,"fill":"#363636"},{"opacity":1,"angle":74.3450445222,"flipX":false,"flipY":true,"top":147,"height":37.458886049,"width":58.5989321627,"asset":"RightTriangle","selectable":false,"left":56,"fill":"#363636"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":91,"height":90.1637731766,"width":62.7224568084,"asset":"Emblem107","selectable":false,"left":83,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":94,"height":134.1635651059,"width":28.5246680872,"asset":"Emblem72","selectable":false,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":82,"height":100,"width":19.3576274084,"asset":"Emblem72","selectable":false,"left":160,"fill":"#363636"},{"opacity":1,"angle":40.7719709216,"flipX":false,"flipY":false,"top":206.2890391145,"height":229.9033883415,"width":132.6536216598,"asset":"Emblem120","selectable":false,"left":158,"fill":"#363636"},{"opacity":1,"angle":137.2721084537,"flipX":false,"flipY":true,"top":101,"height":42.4924720904,"width":72.6141767539,"asset":"Wingpart","selectable":false,"left":229,"fill":"#363636"},{"opacity":1,"angle":120.9716133324,"flipX":true,"flipY":true,"top":119,"height":42.4924720904,"width":72.6141767539,"asset":"Wingpart","selectable":false,"left":256,"fill":"#363636"},{"opacity":1,"angle":40.7719709216,"flipX":false,"flipY":false,"top":206.2890391145,"height":207.9222900094,"width":119.9705884829,"asset":"Emblem120","selectable":false,"left":158,"fill":"#FFFFFF"},{"opacity":1,"angle":120.9716133324,"flipX":true,"flipY":true,"top":118,"height":31.9054473228,"width":54.52231130199999,"asset":"Wingpart","selectable":false,"left":256,"fill":"#FFFFFF"},{"opacity":1,"angle":137.2721084537,"flipX":false,"flipY":true,"top":99,"height":29.5802886155,"width":50.5489137319,"asset":"Wingpart","selectable":false,"left":230,"fill":"#FFFFFF"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":233,"height":126.0153053379,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":136,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":184,"height":114.7656625198,"width":22.2898970453,"asset":"StrokeBent","selectable":false,"left":178,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":149,"height":81.1135575122,"width":18.9055533367,"asset":"StrokeBent","selectable":false,"left":208,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":211,"height":126.0153053379,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":155,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":206,"height":126.0153053379,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":159,"fill":"#363636"},{"opacity":1,"angle":221.029189147,"flipX":false,"flipY":false,"top":158,"height":35.3411758117,"width":23.0301233005,"asset":"Pentagon","selectable":false,"left":200,"fill":"#363636"},{"opacity":1,"angle":137.6305242016,"flipX":false,"flipY":false,"top":265.8487196755,"height":25.112700359,"width":41.5127397485,"asset":"RightTriangle","selectable":false,"left":147,"fill":"#363636"},{"opacity":1,"angle":126.5653075995,"flipX":false,"flipY":true,"top":226.0448191918,"height":21.2746173296,"width":62.4767358498,"asset":"Wingpart","selectable":false,"left":113.4833034093,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":227,"height":118.7711404909,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":140,"fill":"#FFFFFF"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":222,"height":118.7711404909,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":145,"fill":"#FFFFFF"},{"opacity":1,"angle":334.358711637,"flipX":false,"flipY":false,"top":270,"height":27.2559242854,"width":18.3908045977,"asset":"Stroke","selectable":false,"left":166,"fill":"#363636"},{"opacity":1,"angle":220.9772856807,"flipX":false,"flipY":false,"top":164,"height":22.1027136232,"width":56.520153053,"asset":"HalfCircle","selectable":false,"left":195,"fill":"#363636"},{"opacity":1,"angle":41.2972770322,"flipX":false,"flipY":false,"top":123,"height":37.840039017,"width":31.2591832315,"asset":"PlayerMarker","selectable":false,"left":230,"fill":"#FFFFFF"},{"opacity":1,"angle":219.8937173584,"flipX":false,"flipY":false,"top":105.8229297194,"height":35.1559048467,"width":14.6561040942,"asset":"PlayerMarker","selectable":false,"left":244.983964235,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":86.471318795,"width":63.98823546249999,"asset":"Number0","selectable":false,"left":117,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":75.0181639877,"width":55.5129724874,"asset":"Number0","selectable":false,"left":117,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":86.471318795,"width":63.98823546249999,"asset":"Number0","selectable":false,"left":54,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":75.0181639877,"width":55.5129724874,"asset":"Number0","selectable":false,"left":54,"fill":"#363636"},{"opacity":1,"angle":40.9017852925,"flipX":false,"flipY":false,"top":167.9473420309,"height":16.9391688176,"width":74.4132269471,"asset":"Eye2","selectable":false,"left":189.5615573118,"fill":"#FFFFFF"},{"opacity":1,"angle":298.8548410163,"flipX":false,"flipY":false,"top":241,"height":19.6680182017,"width":49.4326594166,"asset":"HalfCircle","selectable":false,"left":192,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":94,"height":81.6817536152,"width":22.4608482442,"asset":"Emblem107","selectable":false,"left":117,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":94,"height":15.9379031444,"width":42.7605083906,"asset":"Emblem107","selectable":false,"left":117,"fill":"#363636"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":40.7719709216,"flipX":false,"flipY":false,"top":206.2890391145,"height":241.66282851,"width":139.4387862382,"asset":"Emblem120","selectable":false,"left":158,"fill":"#FFFFFF"},{"opacity":1,"angle":137.2721084537,"flipX":false,"flipY":true,"top":100,"height":49.2117001163,"width":84.09647438259998,"asset":"Wingpart","selectable":false,"left":229,"fill":"#FFFFFF"},{"opacity":1,"angle":120.9716133324,"flipX":true,"flipY":true,"top":119,"height":49.5342934405,"width":84.64774493730002,"asset":"Wingpart","selectable":false,"left":257,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":123,"height":28.4112149533,"width":28.4112149533,"asset":"Square","selectable":false,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":58.7451414066,"flipX":false,"flipY":false,"top":160.5751033209,"height":11.1357797194,"width":94.8148148148,"asset":"Line","selectable":false,"left":59.0524402421,"fill":"#FFFFFF"},{"opacity":1,"angle":344.7978566373,"flipX":true,"flipY":false,"top":161.4699635214,"height":100.7404040422,"width":48.8010273096,"asset":"Lightning","selectable":false,"left":60.2835967592,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148,"height":51.5181335585,"width":28.9567389638,"asset":"Triangle","selectable":false,"left":74,"fill":"#FFFFFF"},{"opacity":1,"angle":344.7978566373,"flipX":true,"flipY":false,"top":165,"height":72.51425777,"width":33.9149272161,"asset":"Lightning","selectable":false,"left":64,"fill":"#363636"},{"opacity":1,"angle":74.3450445222,"flipX":false,"flipY":true,"top":147,"height":37.458886049,"width":58.5989321627,"asset":"RightTriangle","selectable":false,"left":56,"fill":"#363636"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":91,"height":90.1637731766,"width":62.7224568084,"asset":"Emblem107","selectable":false,"left":83,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":94,"height":134.1635651059,"width":28.5246680872,"asset":"Emblem72","selectable":false,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":82,"height":100,"width":19.3576274084,"asset":"Emblem72","selectable":false,"left":160,"fill":"#363636"},{"opacity":1,"angle":40.7719709216,"flipX":false,"flipY":false,"top":206.2890391145,"height":229.9033883415,"width":132.6536216598,"asset":"Emblem120","selectable":false,"left":158,"fill":"#363636"},{"opacity":1,"angle":137.2721084537,"flipX":false,"flipY":true,"top":101,"height":42.4924720904,"width":72.6141767539,"asset":"Wingpart","selectable":false,"left":229,"fill":"#363636"},{"opacity":1,"angle":120.9716133324,"flipX":true,"flipY":true,"top":119,"height":42.4924720904,"width":72.6141767539,"asset":"Wingpart","selectable":false,"left":256,"fill":"#363636"},{"opacity":1,"angle":40.7719709216,"flipX":false,"flipY":false,"top":206.2890391145,"height":207.9222900094,"width":119.9705884829,"asset":"Emblem120","selectable":false,"left":158,"fill":"#FFFFFF"},{"opacity":1,"angle":120.9716133324,"flipX":true,"flipY":true,"top":118,"height":31.9054473228,"width":54.52231130199999,"asset":"Wingpart","selectable":false,"left":256,"fill":"#FFFFFF"},{"opacity":1,"angle":137.2721084537,"flipX":false,"flipY":true,"top":99,"height":29.5802886155,"width":50.5489137319,"asset":"Wingpart","selectable":false,"left":230,"fill":"#FFFFFF"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":233,"height":126.0153053379,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":136,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":184,"height":114.7656625198,"width":22.2898970453,"asset":"StrokeBent","selectable":false,"left":178,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":149,"height":81.1135575122,"width":18.9055533367,"asset":"StrokeBent","selectable":false,"left":208,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":211,"height":126.0153053379,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":155,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":206,"height":126.0153053379,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":159,"fill":"#363636"},{"opacity":1,"angle":221.029189147,"flipX":false,"flipY":false,"top":158,"height":35.3411758117,"width":23.0301233005,"asset":"Pentagon","selectable":false,"left":200,"fill":"#363636"},{"opacity":1,"angle":137.6305242016,"flipX":false,"flipY":false,"top":265.8487196755,"height":25.112700359,"width":41.5127397485,"asset":"RightTriangle","selectable":false,"left":147,"fill":"#363636"},{"opacity":1,"angle":126.5653075995,"flipX":false,"flipY":true,"top":226.0448191918,"height":21.2746173296,"width":62.4767358498,"asset":"Wingpart","selectable":false,"left":113.4833034093,"fill":"#363636"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":227,"height":118.7711404909,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":140,"fill":"#FFFFFF"},{"opacity":1,"angle":130.9030957141,"flipX":false,"flipY":false,"top":222,"height":118.7711404909,"width":23.1937206,"asset":"StrokeBent","selectable":false,"left":145,"fill":"#FFFFFF"},{"opacity":1,"angle":334.358711637,"flipX":false,"flipY":false,"top":270,"height":27.2559242854,"width":18.3908045977,"asset":"Stroke","selectable":false,"left":166,"fill":"#363636"},{"opacity":1,"angle":220.9772856807,"flipX":false,"flipY":false,"top":164,"height":22.1027136232,"width":56.520153053,"asset":"HalfCircle","selectable":false,"left":195,"fill":"#363636"},{"opacity":1,"angle":41.2972770322,"flipX":false,"flipY":false,"top":123,"height":37.840039017,"width":31.2591832315,"asset":"PlayerMarker","selectable":false,"left":230,"fill":"#FFFFFF"},{"opacity":1,"angle":219.8937173584,"flipX":false,"flipY":false,"top":105.8229297194,"height":35.1559048467,"width":14.6561040942,"asset":"PlayerMarker","selectable":false,"left":244.983964235,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":86.471318795,"width":63.98823546249999,"asset":"Number0","selectable":false,"left":117,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":75.0181639877,"width":55.5129724874,"asset":"Number0","selectable":false,"left":117,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":86.471318795,"width":63.98823546249999,"asset":"Number0","selectable":false,"left":54,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":93,"height":75.0181639877,"width":55.5129724874,"asset":"Number0","selectable":false,"left":54,"fill":"#363636"},{"opacity":1,"angle":40.9017852925,"flipX":false,"flipY":false,"top":167.9473420309,"height":16.9391688176,"width":74.4132269471,"asset":"Eye2","selectable":false,"left":189.5615573118,"fill":"#FFFFFF"},{"opacity":1,"angle":298.8548410163,"flipX":false,"flipY":false,"top":241,"height":19.6680182017,"width":49.4326594166,"asset":"HalfCircle","selectable":false,"left":192,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":94,"height":81.6817536152,"width":22.4608482442,"asset":"Emblem107","selectable":false,"left":117,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":94,"height":15.9379031444,"width":42.7605083906,"asset":"Emblem107","selectable":false,"left":117,"fill":"#363636"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告