登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
7
圖層數
31
mus2ck
作者:
Xanderous
代碼 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":181.703262195,"flipX":false,"flipY":false,"top":133.2519037683,"height":147.27012712799998,"width":19.2858394786,"asset":"StrokeBent","selectable":true,"left":22.884270410999996,"fill":"#00BFF3"},{"opacity":1,"angle":182.4555532409,"flipX":false,"flipY":false,"top":141.6351163238,"height":147.27012712799998,"width":19.2858394786,"asset":"StrokeBent","selectable":true,"left":54.4251048136,"fill":"#00BFF3"},{"opacity":1,"angle":166.3385337715,"flipX":false,"flipY":false,"top":120.6693224852,"height":150.6834048793,"width":19.7328271202,"asset":"StrokeBent","selectable":true,"left":74.5918953149,"fill":"#00BFF3"},{"opacity":1,"angle":165.7793494565,"flipX":false,"flipY":false,"top":128.8920659605,"height":131.1045464448,"width":19.7328271202,"asset":"StrokeBent","selectable":true,"left":71.8071146982,"fill":"#00BFF3"},{"opacity":1,"angle":341.7733143039,"flipX":false,"flipY":false,"top":72.0481515001,"height":42.115926273,"width":41.1985949715,"asset":"Square","selectable":true,"left":41.5969856389,"fill":"#00BFF3"},{"opacity":1,"angle":205.3847252805,"flipX":false,"flipY":false,"top":217.3215151318,"height":41.4207249406,"width":64.192146977,"asset":"Triangle","selectable":true,"left":26.912914694300003,"fill":"#00BFF3"},{"opacity":1,"angle":181.703262195,"flipX":false,"flipY":false,"top":142.9936866546,"height":168.5147623123,"width":43.811580025,"asset":"StrokeBent","selectable":true,"left":39.4628100073,"fill":"#00BFF3"},{"opacity":1,"angle":15.9496293093,"flipX":false,"flipY":false,"top":166.5920287923,"height":96.8465337886,"width":18.9474219044,"asset":"Stroke","selectable":true,"left":37.6124278401,"fill":"#00BFF3"},{"opacity":1,"angle":5.6623177672,"flipX":false,"flipY":false,"top":133.5472316937,"height":117.05083605500002,"width":27.3112334895,"asset":"Stroke","selectable":true,"left":40.436062962899996,"fill":"#00BFF3"},{"opacity":1,"angle":345.0042801055,"flipX":false,"flipY":false,"top":94.16115591529999,"height":80.7928085108,"width":36.5619247827,"asset":"Comma","selectable":true,"left":108.70847239820002,"fill":"#00BFF3"},{"opacity":1,"angle":180.5675122039,"flipX":false,"flipY":false,"top":128.8318152748,"height":136.7039881039,"width":16.4149761954,"asset":"StrokeBent","selectable":true,"left":85.5676976129,"fill":"#00BFF3"},{"opacity":1,"angle":180.5675122039,"flipX":false,"flipY":false,"top":137.8598903346,"height":136.7039881039,"width":16.4149761954,"asset":"StrokeBent","selectable":true,"left":120.2626154558,"fill":"#00BFF3"},{"opacity":1,"angle":193.1726666494,"flipX":true,"flipY":false,"top":162.908337015,"height":80.7928085108,"width":39.9252039531,"asset":"Comma","selectable":true,"left":105.2993307216,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":127.5634378159,"height":83.8321255554,"width":34.0768747015,"asset":"Stroke","selectable":true,"left":107.6447974968,"fill":"#00BFF3"},{"opacity":1,"angle":165.8616086015,"flipX":false,"flipY":false,"top":115.2084994906,"height":134.802147284,"width":16.473758471899995,"asset":"StrokeBent","selectable":true,"left":135.0075803005,"fill":"#00BFF3"},{"opacity":1,"angle":165.6642190895,"flipX":false,"flipY":false,"top":116.3333015441,"height":127.1555376035,"width":16.473758471899995,"asset":"StrokeBent","selectable":true,"left":132.1487267344,"fill":"#00BFF3"},{"opacity":1,"angle":201.3271439588,"flipX":true,"flipY":false,"top":167.9339237515,"height":40.43550954769999,"width":31.7548964432,"asset":"Comma","selectable":true,"left":161.1815237971,"fill":"#00BFF3"},{"opacity":1,"angle":345.5065246135,"flipX":false,"flipY":false,"top":113.2039015943,"height":71.8810357153,"width":24.074780883300004,"asset":"Comma","selectable":true,"left":166.9902465326,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":128.0144397854,"height":88.0890216505,"width":23.9838076926,"asset":"Stroke","selectable":true,"left":159.3717659172,"fill":"#00BFF3"},{"opacity":1,"angle":177.5783747932,"flipX":false,"flipY":false,"top":135.959116821,"height":97.9154400834,"width":25.8243224518,"asset":"StrokeBent","selectable":true,"left":168.5520424742,"fill":"#00BFF3"},{"opacity":1,"angle":154.6386954117,"flipX":false,"flipY":false,"top":118.50025275370001,"height":97.9154400834,"width":14.8612578964,"asset":"StrokeBent","selectable":true,"left":190.1386484461,"fill":"#00BFF3"},{"opacity":1,"angle":176.1473813932,"flipX":false,"flipY":false,"top":128.8180528221,"height":97.9154400834,"width":14.8612578964,"asset":"StrokeBent","selectable":true,"left":166.1676143001,"fill":"#00BFF3"},{"opacity":1,"angle":154.6386954117,"flipX":false,"flipY":false,"top":103.0235526512,"height":97.9154400834,"width":14.8612578964,"asset":"StrokeBent","selectable":true,"left":68.3910276519,"fill":"#00BFF3"},{"opacity":1,"angle":128.9125469936,"flipX":false,"flipY":false,"top":165.6996082771,"height":147.5234233687,"width":39.7724283975,"asset":"StrokeBent","selectable":true,"left":226.908422641,"fill":"#00BFF3"},{"opacity":1,"angle":128.9125469936,"flipX":false,"flipY":false,"top":153.4185094709,"height":180.28425965689996,"width":39.7724283975,"asset":"StrokeBent","selectable":true,"left":248.2079363054,"fill":"#00BFF3"},{"opacity":1,"angle":128.9125469936,"flipX":false,"flipY":false,"top":161.932995628,"height":185.09033411699997,"width":50.64222190659999,"asset":"StrokeBent","selectable":true,"left":233.9716889268,"fill":"#00BFF3"},{"opacity":1,"angle":149.758913661,"flipX":false,"flipY":false,"top":226.1347500742,"height":70.3467954839,"width":90.8604199682,"asset":"Triangle","selectable":true,"left":296.9493961142,"fill":"#00BFF3"},{"opacity":1,"angle":318.5947338104,"flipX":false,"flipY":false,"top":189.3249553361,"height":20.670165668499997,"width":20.219946674099997,"asset":"Square","selectable":true,"left":279.1156541629,"fill":"#00BFF3"},{"opacity":1,"angle":227.7049901226,"flipX":false,"flipY":false,"top":71.4091672437,"height":134.7658879118,"width":14.090280538500002,"asset":"StrokeBent","selectable":true,"left":219.3953619006,"fill":"#00BFF3"},{"opacity":1,"angle":27.9995060028,"flipX":false,"flipY":false,"top":97.3691977409,"height":66.9063657157,"width":12.685034001600002,"asset":"StrokeBent","selectable":true,"left":210.2042990898,"fill":"#00BFF3"},{"opacity":1,"angle":37.0013050384,"flipX":false,"flipY":false,"top":106.3962278966,"height":36.66123693480001,"width":35.8627147802,"asset":"Triangle","selectable":true,"left":195.53932630090003,"fill":"#00BFF3"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":181.703262195,"flipX":false,"flipY":false,"top":133.2519037683,"height":147.27012712799998,"width":19.2858394786,"asset":"StrokeBent","selectable":true,"left":22.884270410999996,"fill":"#00BFF3"},{"opacity":1,"angle":182.4555532409,"flipX":false,"flipY":false,"top":141.6351163238,"height":147.27012712799998,"width":19.2858394786,"asset":"StrokeBent","selectable":true,"left":54.4251048136,"fill":"#00BFF3"},{"opacity":1,"angle":166.3385337715,"flipX":false,"flipY":false,"top":120.6693224852,"height":150.6834048793,"width":19.7328271202,"asset":"StrokeBent","selectable":true,"left":74.5918953149,"fill":"#00BFF3"},{"opacity":1,"angle":165.7793494565,"flipX":false,"flipY":false,"top":128.8920659605,"height":131.1045464448,"width":19.7328271202,"asset":"StrokeBent","selectable":true,"left":71.8071146982,"fill":"#00BFF3"},{"opacity":1,"angle":341.7733143039,"flipX":false,"flipY":false,"top":72.0481515001,"height":42.115926273,"width":41.1985949715,"asset":"Square","selectable":true,"left":41.5969856389,"fill":"#00BFF3"},{"opacity":1,"angle":205.3847252805,"flipX":false,"flipY":false,"top":217.3215151318,"height":41.4207249406,"width":64.192146977,"asset":"Triangle","selectable":true,"left":26.912914694300003,"fill":"#00BFF3"},{"opacity":1,"angle":181.703262195,"flipX":false,"flipY":false,"top":142.9936866546,"height":168.5147623123,"width":43.811580025,"asset":"StrokeBent","selectable":true,"left":39.4628100073,"fill":"#00BFF3"},{"opacity":1,"angle":15.9496293093,"flipX":false,"flipY":false,"top":166.5920287923,"height":96.8465337886,"width":18.9474219044,"asset":"Stroke","selectable":true,"left":37.6124278401,"fill":"#00BFF3"},{"opacity":1,"angle":5.6623177672,"flipX":false,"flipY":false,"top":133.5472316937,"height":117.05083605500002,"width":27.3112334895,"asset":"Stroke","selectable":true,"left":40.436062962899996,"fill":"#00BFF3"},{"opacity":1,"angle":345.0042801055,"flipX":false,"flipY":false,"top":94.16115591529999,"height":80.7928085108,"width":36.5619247827,"asset":"Comma","selectable":true,"left":108.70847239820002,"fill":"#00BFF3"},{"opacity":1,"angle":180.5675122039,"flipX":false,"flipY":false,"top":128.8318152748,"height":136.7039881039,"width":16.4149761954,"asset":"StrokeBent","selectable":true,"left":85.5676976129,"fill":"#00BFF3"},{"opacity":1,"angle":180.5675122039,"flipX":false,"flipY":false,"top":137.8598903346,"height":136.7039881039,"width":16.4149761954,"asset":"StrokeBent","selectable":true,"left":120.2626154558,"fill":"#00BFF3"},{"opacity":1,"angle":193.1726666494,"flipX":true,"flipY":false,"top":162.908337015,"height":80.7928085108,"width":39.9252039531,"asset":"Comma","selectable":true,"left":105.2993307216,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":127.5634378159,"height":83.8321255554,"width":34.0768747015,"asset":"Stroke","selectable":true,"left":107.6447974968,"fill":"#00BFF3"},{"opacity":1,"angle":165.8616086015,"flipX":false,"flipY":false,"top":115.2084994906,"height":134.802147284,"width":16.473758471899995,"asset":"StrokeBent","selectable":true,"left":135.0075803005,"fill":"#00BFF3"},{"opacity":1,"angle":165.6642190895,"flipX":false,"flipY":false,"top":116.3333015441,"height":127.1555376035,"width":16.473758471899995,"asset":"StrokeBent","selectable":true,"left":132.1487267344,"fill":"#00BFF3"},{"opacity":1,"angle":201.3271439588,"flipX":true,"flipY":false,"top":167.9339237515,"height":40.43550954769999,"width":31.7548964432,"asset":"Comma","selectable":true,"left":161.1815237971,"fill":"#00BFF3"},{"opacity":1,"angle":345.5065246135,"flipX":false,"flipY":false,"top":113.2039015943,"height":71.8810357153,"width":24.074780883300004,"asset":"Comma","selectable":true,"left":166.9902465326,"fill":"#00BFF3"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":128.0144397854,"height":88.0890216505,"width":23.9838076926,"asset":"Stroke","selectable":true,"left":159.3717659172,"fill":"#00BFF3"},{"opacity":1,"angle":177.5783747932,"flipX":false,"flipY":false,"top":135.959116821,"height":97.9154400834,"width":25.8243224518,"asset":"StrokeBent","selectable":true,"left":168.5520424742,"fill":"#00BFF3"},{"opacity":1,"angle":154.6386954117,"flipX":false,"flipY":false,"top":118.50025275370001,"height":97.9154400834,"width":14.8612578964,"asset":"StrokeBent","selectable":true,"left":190.1386484461,"fill":"#00BFF3"},{"opacity":1,"angle":176.1473813932,"flipX":false,"flipY":false,"top":128.8180528221,"height":97.9154400834,"width":14.8612578964,"asset":"StrokeBent","selectable":true,"left":166.1676143001,"fill":"#00BFF3"},{"opacity":1,"angle":154.6386954117,"flipX":false,"flipY":false,"top":103.0235526512,"height":97.9154400834,"width":14.8612578964,"asset":"StrokeBent","selectable":true,"left":68.3910276519,"fill":"#00BFF3"},{"opacity":1,"angle":128.9125469936,"flipX":false,"flipY":false,"top":165.6996082771,"height":147.5234233687,"width":39.7724283975,"asset":"StrokeBent","selectable":true,"left":226.908422641,"fill":"#00BFF3"},{"opacity":1,"angle":128.9125469936,"flipX":false,"flipY":false,"top":153.4185094709,"height":180.28425965689996,"width":39.7724283975,"asset":"StrokeBent","selectable":true,"left":248.2079363054,"fill":"#00BFF3"},{"opacity":1,"angle":128.9125469936,"flipX":false,"flipY":false,"top":161.932995628,"height":185.09033411699997,"width":50.64222190659999,"asset":"StrokeBent","selectable":true,"left":233.9716889268,"fill":"#00BFF3"},{"opacity":1,"angle":149.758913661,"flipX":false,"flipY":false,"top":226.1347500742,"height":70.3467954839,"width":90.8604199682,"asset":"Triangle","selectable":true,"left":296.9493961142,"fill":"#00BFF3"},{"opacity":1,"angle":318.5947338104,"flipX":false,"flipY":false,"top":189.3249553361,"height":20.670165668499997,"width":20.219946674099997,"asset":"Square","selectable":true,"left":279.1156541629,"fill":"#00BFF3"},{"opacity":1,"angle":227.7049901226,"flipX":false,"flipY":false,"top":71.4091672437,"height":134.7658879118,"width":14.090280538500002,"asset":"StrokeBent","selectable":true,"left":219.3953619006,"fill":"#00BFF3"},{"opacity":1,"angle":27.9995060028,"flipX":false,"flipY":false,"top":97.3691977409,"height":66.9063657157,"width":12.685034001600002,"asset":"StrokeBent","selectable":true,"left":210.2042990898,"fill":"#00BFF3"},{"opacity":1,"angle":37.0013050384,"flipX":false,"flipY":false,"top":106.3962278966,"height":36.66123693480001,"width":35.8627147802,"asset":"Triangle","selectable":true,"left":195.53932630090003,"fill":"#00BFF3"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告