登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
9
圖層數
40
RR
作者:
skeenky
代碼 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:'[{"angle":29.4390814802,"left":267.5276185687,"height":97.51492542419999,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":30.239984151600005,"top":214.0378558091,"flipY":false},{"angle":29.4390814802,"left":265.901447608,"height":98.7438131212,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Circle","width":30.239984151600005,"top":214.5618176854,"flipY":false},{"angle":288.9804550868,"left":273.206532331,"height":31.742506556099997,"flipX":false,"fill":"#000000","opacity":0.46,"asset":"CrescentMoon","width":32.5181844872,"top":190.5555090334,"flipY":false},{"angle":6.9356093873,"left":280.1724556358,"height":25.167809745299998,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Circle","width":6.270333849800001,"top":207.1534875485,"flipY":false},{"angle":24.0066180412,"left":116.58202460150001,"height":581.1598252365,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":353.427104629,"top":136.6692153623,"flipY":false},{"angle":24.0066180412,"left":115.0712497715,"height":581.1598252365,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Circle","width":352.8561680848,"top":135.3030748337,"flipY":false},{"angle":0,"left":35.1037620705,"height":51.14215497,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem120","width":33.7581659189,"top":65.571077485,"flipY":true},{"angle":6.6259169778,"left":210.2159386706,"height":46.5480286139,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem120","width":33.9223841828,"top":133.4107324913,"flipY":true},{"angle":0,"left":76.5625,"height":95.68827881619998,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":108.125,"top":65.6566394081,"flipY":false},{"angle":0,"left":76.5625,"height":95.68827881619998,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Circle","width":105.62500000000001,"top":64.4066394081,"flipY":false},{"angle":0,"left":36.1830789687,"height":50.625,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Emblem120","width":33.4167997153,"top":65.3125,"flipY":true},{"angle":0,"left":235.3125,"height":69.7507788162,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":74.375,"top":139.2503894081,"flipY":false},{"angle":0,"left":235.3125,"height":68.8132788162,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Circle","width":71.875,"top":138.4691394081,"flipY":false},{"angle":3.631714563,"left":212.0208798145,"height":47.308405458,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Emblem120","width":34.8861391822,"top":134.0181618838,"flipY":true},{"angle":117.2322084829,"left":238.4915335899,"height":77.2561965422,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":12.099855785,"top":126.4569344906,"flipY":false},{"angle":206.516048936,"left":232.64426403960002,"height":41.750927987100006,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"BentLine","width":130.1244988958,"top":135.956024923,"flipY":false},{"angle":210.9342114075,"left":249.7518680178,"height":26.410167302000005,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"MedalPart2","width":78.9273369152,"top":117.12120162680002,"flipY":false},{"angle":203.2802739693,"left":90.5759181697,"height":44.0342714847,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"MedalPart2","width":129.9565912594,"top":41.41016430359999,"flipY":false},{"angle":289.9969732162,"left":63.6434160862,"height":44.6622099835,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":14.032582913000002,"flipY":false},{"angle":289.4875006424,"left":118.22091653160001,"height":80.3515096124,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":35.0667806306,"flipY":false},{"angle":268.1834176562,"left":162.5071992048,"height":22.539334667499997,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":46.7894898922,"flipY":false},{"angle":230.0729062185,"left":176.7775510579,"height":22.2664089457,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":49.3770734394,"flipY":false},{"angle":25.6440065614,"left":186.2666007783,"height":14.661630258599999,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":37.9331624996,"flipY":false},{"angle":17.8221249223,"left":203.875380371,"height":15.3724617586,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":45.0948026977,"flipY":false},{"angle":172.7671464337,"left":202.3371073758,"height":23.3060053467,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":63.2364114438,"flipY":false},{"angle":161.1633867653,"left":207.8727942802,"height":17.8104662493,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":64.5871453217,"flipY":false},{"angle":120.1914422304,"left":243.866204574,"height":76.52763448810002,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":92.83677721939999,"flipY":false},{"angle":103.6326929077,"left":174.7144198652,"height":20.5442108823,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":128.1127612998,"top":152.7048002041,"flipY":false},{"angle":103.6326929077,"left":175.7229971467,"height":20.0456456796,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Eye2","width":126.5877235025,"top":153.4308724432,"flipY":false},{"angle":47.7179930912,"left":148.1678768059,"height":28.1343025126,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":214.1547823386,"flipY":false},{"angle":47.0857213623,"left":153.1278643413,"height":29.275639120400005,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Stroke","width":8.3433958332,"top":216.8257106032,"flipY":false},{"angle":0,"left":77.5316394081,"height":7.187500000000001,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":6.9382788162,"top":67.65625,"flipY":false},{"angle":33.0550517947,"left":235.2446598092,"height":6.2639339624999995,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":6.0007788162,"top":132.7683513341,"flipY":false},{"angle":80.7043477448,"left":129.246414755,"height":4.000000000000001,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":207.36110485750004,"flipY":false},{"angle":27.8855439454,"left":194.2286891611,"height":21.395353920999998,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4205595689,"top":56.1179238733,"flipY":false},{"angle":15.7238912407,"left":101.7162295384,"height":20.654007260400004,"flipX":false,"fill":"#61423C","opacity":1,"asset":"Eye2","width":46.2939688046,"top":267.8914638723,"flipY":false},{"angle":28.4292647397,"left":116.1962433087,"height":15.211280906699999,"flipX":true,"fill":"#61423C","opacity":1,"asset":"RightTriangle","width":14.9080458916,"top":272.5825327214,"flipY":true},{"angle":199.0942451032,"left":99.5139138062,"height":15.9375,"flipX":false,"fill":"#996F63","opacity":1,"asset":"HalfCircle","width":47.279074351000006,"top":270.282626016,"flipY":false},{"angle":112.3260278749,"left":76.2993780876,"height":109.66492370969999,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":19.0433442827,"top":58.0652107762,"flipY":false},{"angle":202.7159866173,"left":72.1507310949,"height":48.1816646054,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"BentLine","width":165.737101907,"top":69.1208878445,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":29.4390814802,"left":267.5276185687,"height":97.51492542419999,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":30.239984151600005,"top":214.0378558091,"flipY":false},{"angle":29.4390814802,"left":265.901447608,"height":98.7438131212,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Circle","width":30.239984151600005,"top":214.5618176854,"flipY":false},{"angle":288.9804550868,"left":273.206532331,"height":31.742506556099997,"flipX":false,"fill":"#000000","opacity":0.46,"asset":"CrescentMoon","width":32.5181844872,"top":190.5555090334,"flipY":false},{"angle":6.9356093873,"left":280.1724556358,"height":25.167809745299998,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Circle","width":6.270333849800001,"top":207.1534875485,"flipY":false},{"angle":24.0066180412,"left":116.58202460150001,"height":581.1598252365,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":353.427104629,"top":136.6692153623,"flipY":false},{"angle":24.0066180412,"left":115.0712497715,"height":581.1598252365,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Circle","width":352.8561680848,"top":135.3030748337,"flipY":false},{"angle":0,"left":35.1037620705,"height":51.14215497,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem120","width":33.7581659189,"top":65.571077485,"flipY":true},{"angle":6.6259169778,"left":210.2159386706,"height":46.5480286139,"flipX":false,"fill":"#000000","opacity":1,"asset":"Emblem120","width":33.9223841828,"top":133.4107324913,"flipY":true},{"angle":0,"left":76.5625,"height":95.68827881619998,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":108.125,"top":65.6566394081,"flipY":false},{"angle":0,"left":76.5625,"height":95.68827881619998,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Circle","width":105.62500000000001,"top":64.4066394081,"flipY":false},{"angle":0,"left":36.1830789687,"height":50.625,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Emblem120","width":33.4167997153,"top":65.3125,"flipY":true},{"angle":0,"left":235.3125,"height":69.7507788162,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":74.375,"top":139.2503894081,"flipY":false},{"angle":0,"left":235.3125,"height":68.8132788162,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Circle","width":71.875,"top":138.4691394081,"flipY":false},{"angle":3.631714563,"left":212.0208798145,"height":47.308405458,"flipX":false,"fill":"#C8C9D4","opacity":1,"asset":"Emblem120","width":34.8861391822,"top":134.0181618838,"flipY":true},{"angle":117.2322084829,"left":238.4915335899,"height":77.2561965422,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":12.099855785,"top":126.4569344906,"flipY":false},{"angle":206.516048936,"left":232.64426403960002,"height":41.750927987100006,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"BentLine","width":130.1244988958,"top":135.956024923,"flipY":false},{"angle":210.9342114075,"left":249.7518680178,"height":26.410167302000005,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"MedalPart2","width":78.9273369152,"top":117.12120162680002,"flipY":false},{"angle":203.2802739693,"left":90.5759181697,"height":44.0342714847,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"MedalPart2","width":129.9565912594,"top":41.41016430359999,"flipY":false},{"angle":289.9969732162,"left":63.6434160862,"height":44.6622099835,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":14.032582913000002,"flipY":false},{"angle":289.4875006424,"left":118.22091653160001,"height":80.3515096124,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":35.0667806306,"flipY":false},{"angle":268.1834176562,"left":162.5071992048,"height":22.539334667499997,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":46.7894898922,"flipY":false},{"angle":230.0729062185,"left":176.7775510579,"height":22.2664089457,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":49.3770734394,"flipY":false},{"angle":25.6440065614,"left":186.2666007783,"height":14.661630258599999,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":37.9331624996,"flipY":false},{"angle":17.8221249223,"left":203.875380371,"height":15.3724617586,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":45.0948026977,"flipY":false},{"angle":172.7671464337,"left":202.3371073758,"height":23.3060053467,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":63.2364114438,"flipY":false},{"angle":161.1633867653,"left":207.8727942802,"height":17.8104662493,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":64.5871453217,"flipY":false},{"angle":120.1914422304,"left":243.866204574,"height":76.52763448810002,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":3.5361125018000004,"top":92.83677721939999,"flipY":false},{"angle":103.6326929077,"left":174.7144198652,"height":20.5442108823,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":128.1127612998,"top":152.7048002041,"flipY":false},{"angle":103.6326929077,"left":175.7229971467,"height":20.0456456796,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Eye2","width":126.5877235025,"top":153.4308724432,"flipY":false},{"angle":47.7179930912,"left":148.1678768059,"height":28.1343025126,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":214.1547823386,"flipY":false},{"angle":47.0857213623,"left":153.1278643413,"height":29.275639120400005,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"Stroke","width":8.3433958332,"top":216.8257106032,"flipY":false},{"angle":0,"left":77.5316394081,"height":7.187500000000001,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":6.9382788162,"top":67.65625,"flipY":false},{"angle":33.0550517947,"left":235.2446598092,"height":6.2639339624999995,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":6.0007788162,"top":132.7683513341,"flipY":false},{"angle":80.7043477448,"left":129.246414755,"height":4.000000000000001,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4081304085999997,"top":207.36110485750004,"flipY":false},{"angle":27.8855439454,"left":194.2286891611,"height":21.395353920999998,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":1.4205595689,"top":56.1179238733,"flipY":false},{"angle":15.7238912407,"left":101.7162295384,"height":20.654007260400004,"flipX":false,"fill":"#61423C","opacity":1,"asset":"Eye2","width":46.2939688046,"top":267.8914638723,"flipY":false},{"angle":28.4292647397,"left":116.1962433087,"height":15.211280906699999,"flipX":true,"fill":"#61423C","opacity":1,"asset":"RightTriangle","width":14.9080458916,"top":272.5825327214,"flipY":true},{"angle":199.0942451032,"left":99.5139138062,"height":15.9375,"flipX":false,"fill":"#996F63","opacity":1,"asset":"HalfCircle","width":47.279074351000006,"top":270.282626016,"flipY":false},{"angle":112.3260278749,"left":76.2993780876,"height":109.66492370969999,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":19.0433442827,"top":58.0652107762,"flipY":false},{"angle":202.7159866173,"left":72.1507310949,"height":48.1816646054,"flipX":false,"fill":"#C9B2A5","opacity":1,"asset":"BentLine","width":165.737101907,"top":69.1208878445,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告