登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
155
圖層數
31
ESL
作者:
Buraching
代碼 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":158.5352799347,"height":321.0639104291,"width":367.8870565584999,"asset":"Square","selectable":true,"left":166.406824669,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.8015986937,"height":258.5605757892,"width":196.4064896076,"asset":"Emblem107","selectable":true,"left":164.6967283707,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.5013897492,"height":42.7356814891,"width":62.75767494590001,"asset":"Number0","selectable":true,"left":120.3561363235,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.4984326942,"height":24.841605355,"width":35.7357494233,"asset":"Square","selectable":true,"left":118.0204510714,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247,"height":91.9540229885,"width":91.9540229885,"asset":"Square","selectable":true,"left":180,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.5554481326,"height":42.8431267232,"width":51.6956017429,"asset":"Number0","selectable":true,"left":167.9338881557,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.995348907,"height":29.8044201879,"width":48.71077878050001,"asset":"Square","selectable":true,"left":166.5076105739,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":242.4911310992,"height":6.8942989067,"width":26.8242231709,"asset":"Dogtag","selectable":true,"left":167.4968056618,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":242.4911310992,"height":6.8942989067,"width":26.7382381629,"asset":"Dogtag","selectable":true,"left":167.5397981658,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":258.4911310992,"height":6.8942989067,"width":26.8242231709,"asset":"Dogtag","selectable":true,"left":167.4968056618,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":258.4911310992,"height":6.8942989067,"width":26.8242231709,"asset":"Dogtag","selectable":true,"left":167.4968056618,"fill":"#EBEBEB"},{"opacity":1,"angle":275.2310185788,"flipX":false,"flipY":false,"top":246.4843836912,"height":74.4238201546,"width":14.3309373473,"asset":"PlayerMarker","selectable":true,"left":201.1856684195,"fill":"#EBEBEB"},{"opacity":1,"angle":456.1219889393,"flipX":false,"flipY":false,"top":254.4843836912,"height":74.4238201546,"width":14.3309373473,"asset":"PlayerMarker","selectable":true,"left":138.1856684195,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":249.4837606838,"height":6.8193732194,"width":34.3403364378,"asset":"Line","selectable":true,"left":113.7627608115,"fill":"#000000"},{"opacity":1,"angle":90.1636820855,"flipX":true,"flipY":true,"top":245.2264146665,"height":12.8700406954,"width":32.3589095188,"asset":"Line","selectable":true,"left":208.2717366658,"fill":"#000000"},{"opacity":1,"angle":47.6563534991,"flipX":false,"flipY":false,"top":259.56194851,"height":21.7861587473,"width":22.9164180139,"asset":"HalfCircle","selectable":true,"left":212.5425679064,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.452991453,"height":10.7578347578,"width":32.8376040013,"asset":"Line","selectable":true,"left":226.5170620541,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":244.4592608879,"height":30.7264812679,"width":28.8867404304,"asset":"Square","selectable":true,"left":228.466358721,"fill":"#EBEBEB"},{"opacity":1,"angle":241.7922936063,"flipX":false,"flipY":false,"top":148.2000809303,"height":252.6344887025,"width":41.5637328793,"asset":"PlayerMarker","selectable":true,"left":156.7755846659,"fill":"#0054A6"},{"opacity":1,"angle":250.8925721186,"flipX":false,"flipY":false,"top":101.6036817107,"height":91.9540229885,"width":44.4230549025,"asset":"Triangle","selectable":true,"left":228.8274082032,"fill":"#0054A6"},{"opacity":1,"angle":230.6851857222,"flipX":false,"flipY":false,"top":120.4477918562,"height":253.2843262988,"width":46.9579980041,"asset":"PlayerMarker","selectable":true,"left":137.2898885358,"fill":"#000000"},{"opacity":1,"angle":219.2250961089,"flipX":false,"flipY":false,"top":72.4339215965,"height":89.2393056243,"width":51.816737194699996,"asset":"Triangle","selectable":true,"left":206.1686027828,"fill":"#000000"},{"opacity":1,"angle":326.346387719,"flipX":false,"flipY":false,"top":60.8218496405,"height":26.4235235195,"width":91.9540229885,"asset":"Square","selectable":true,"left":223.7764883934,"fill":"#000000"},{"opacity":1,"angle":250.6430530903,"flipX":false,"flipY":false,"top":183.1101137318,"height":236.5389714046,"width":40.5991665981,"asset":"PlayerMarker","selectable":true,"left":162.8183270423,"fill":"#000000"},{"opacity":1,"angle":251.9482858549,"flipX":false,"flipY":false,"top":188.5208400338,"height":195.5607844974,"width":34.8956595837,"asset":"PlayerMarker","selectable":true,"left":134.2656384991,"fill":"#000000"},{"opacity":1,"angle":336.6013162638,"flipX":false,"flipY":false,"top":150.3931827041,"height":27.0174998528,"width":79.390871718,"asset":"Square","selectable":true,"left":236.2097799133,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.0445447058,"height":35.8649335768,"width":29.8836251656,"asset":"Square","selectable":true,"left":266.0351989114,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":96,"height":91.9540229885,"width":16.924123608,"asset":"Square","selectable":true,"left":271.4850503097,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":199,"height":91.9540229885,"width":24.8992014896,"asset":"Square","selectable":true,"left":53.4725892505,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.5000932472,"height":8.8868011751,"width":32.7897466347,"asset":"Dogtag","selectable":true,"left":177.0015972239,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":250.5000932472,"height":8.8868011751,"width":32.7897466347,"asset":"Dogtag","selectable":true,"left":159.0015972239,"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":158.5352799347,"height":321.0639104291,"width":367.8870565584999,"asset":"Square","selectable":true,"left":166.406824669,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.8015986937,"height":258.5605757892,"width":196.4064896076,"asset":"Emblem107","selectable":true,"left":164.6967283707,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.5013897492,"height":42.7356814891,"width":62.75767494590001,"asset":"Number0","selectable":true,"left":120.3561363235,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.4984326942,"height":24.841605355,"width":35.7357494233,"asset":"Square","selectable":true,"left":118.0204510714,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247,"height":91.9540229885,"width":91.9540229885,"asset":"Square","selectable":true,"left":180,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.5554481326,"height":42.8431267232,"width":51.6956017429,"asset":"Number0","selectable":true,"left":167.9338881557,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.995348907,"height":29.8044201879,"width":48.71077878050001,"asset":"Square","selectable":true,"left":166.5076105739,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":242.4911310992,"height":6.8942989067,"width":26.8242231709,"asset":"Dogtag","selectable":true,"left":167.4968056618,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":242.4911310992,"height":6.8942989067,"width":26.7382381629,"asset":"Dogtag","selectable":true,"left":167.5397981658,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":258.4911310992,"height":6.8942989067,"width":26.8242231709,"asset":"Dogtag","selectable":true,"left":167.4968056618,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":258.4911310992,"height":6.8942989067,"width":26.8242231709,"asset":"Dogtag","selectable":true,"left":167.4968056618,"fill":"#EBEBEB"},{"opacity":1,"angle":275.2310185788,"flipX":false,"flipY":false,"top":246.4843836912,"height":74.4238201546,"width":14.3309373473,"asset":"PlayerMarker","selectable":true,"left":201.1856684195,"fill":"#EBEBEB"},{"opacity":1,"angle":456.1219889393,"flipX":false,"flipY":false,"top":254.4843836912,"height":74.4238201546,"width":14.3309373473,"asset":"PlayerMarker","selectable":true,"left":138.1856684195,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":249.4837606838,"height":6.8193732194,"width":34.3403364378,"asset":"Line","selectable":true,"left":113.7627608115,"fill":"#000000"},{"opacity":1,"angle":90.1636820855,"flipX":true,"flipY":true,"top":245.2264146665,"height":12.8700406954,"width":32.3589095188,"asset":"Line","selectable":true,"left":208.2717366658,"fill":"#000000"},{"opacity":1,"angle":47.6563534991,"flipX":false,"flipY":false,"top":259.56194851,"height":21.7861587473,"width":22.9164180139,"asset":"HalfCircle","selectable":true,"left":212.5425679064,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":265.452991453,"height":10.7578347578,"width":32.8376040013,"asset":"Line","selectable":true,"left":226.5170620541,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":244.4592608879,"height":30.7264812679,"width":28.8867404304,"asset":"Square","selectable":true,"left":228.466358721,"fill":"#EBEBEB"},{"opacity":1,"angle":241.7922936063,"flipX":false,"flipY":false,"top":148.2000809303,"height":252.6344887025,"width":41.5637328793,"asset":"PlayerMarker","selectable":true,"left":156.7755846659,"fill":"#0054A6"},{"opacity":1,"angle":250.8925721186,"flipX":false,"flipY":false,"top":101.6036817107,"height":91.9540229885,"width":44.4230549025,"asset":"Triangle","selectable":true,"left":228.8274082032,"fill":"#0054A6"},{"opacity":1,"angle":230.6851857222,"flipX":false,"flipY":false,"top":120.4477918562,"height":253.2843262988,"width":46.9579980041,"asset":"PlayerMarker","selectable":true,"left":137.2898885358,"fill":"#000000"},{"opacity":1,"angle":219.2250961089,"flipX":false,"flipY":false,"top":72.4339215965,"height":89.2393056243,"width":51.816737194699996,"asset":"Triangle","selectable":true,"left":206.1686027828,"fill":"#000000"},{"opacity":1,"angle":326.346387719,"flipX":false,"flipY":false,"top":60.8218496405,"height":26.4235235195,"width":91.9540229885,"asset":"Square","selectable":true,"left":223.7764883934,"fill":"#000000"},{"opacity":1,"angle":250.6430530903,"flipX":false,"flipY":false,"top":183.1101137318,"height":236.5389714046,"width":40.5991665981,"asset":"PlayerMarker","selectable":true,"left":162.8183270423,"fill":"#000000"},{"opacity":1,"angle":251.9482858549,"flipX":false,"flipY":false,"top":188.5208400338,"height":195.5607844974,"width":34.8956595837,"asset":"PlayerMarker","selectable":true,"left":134.2656384991,"fill":"#000000"},{"opacity":1,"angle":336.6013162638,"flipX":false,"flipY":false,"top":150.3931827041,"height":27.0174998528,"width":79.390871718,"asset":"Square","selectable":true,"left":236.2097799133,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.0445447058,"height":35.8649335768,"width":29.8836251656,"asset":"Square","selectable":true,"left":266.0351989114,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":96,"height":91.9540229885,"width":16.924123608,"asset":"Square","selectable":true,"left":271.4850503097,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":199,"height":91.9540229885,"width":24.8992014896,"asset":"Square","selectable":true,"left":53.4725892505,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":250.5000932472,"height":8.8868011751,"width":32.7897466347,"asset":"Dogtag","selectable":true,"left":177.0015972239,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":250.5000932472,"height":8.8868011751,"width":32.7897466347,"asset":"Dogtag","selectable":true,"left":159.0015972239,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告