登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
54
圖層數
40
BERSERKER
作者:
Maikel Alvarez
»
代碼 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:'[{"asset":"Triangle","opacity":1,"angle":275.41386393094405,"flipX":false,"flipY":false,"top":318.600510507914,"left":284.5986320874255,"height":71.66864308959767,"width":75.14734824959963,"fill":"#0C0C0C"},{"asset":"Shield4","opacity":1,"angle":15.704895687825388,"flipX":false,"flipY":false,"top":319.3937736290059,"left":199.8204748954612,"height":106.95865184858228,"width":146.78714966035173,"fill":"#C6A59D"},{"asset":"Shield4","opacity":1,"angle":351.13852338975744,"flipX":false,"flipY":false,"top":159.64755186123088,"left":246.22559483555946,"height":278.46618277514096,"width":196.5557137058201,"fill":"#FFE9E1"},{"asset":"Heart","opacity":1,"angle":355.0396577115863,"flipX":false,"flipY":false,"top":275.2733881501206,"left":282.6899754314684,"height":76.12977628963743,"width":155.36293786640306,"fill":"#FFE9E1"},{"asset":"Triangle","opacity":1,"angle":346.5922315112141,"flipX":false,"flipY":true,"top":161.8486857687215,"left":191.42994047514208,"height":26.870085199904388,"width":13.254045016194667,"fill":"#101010"},{"asset":"StrokeBent","opacity":1,"angle":98.14814548308749,"flipX":false,"flipY":false,"top":158.08240571358024,"left":242.88594899263506,"height":38.92077621503278,"width":16.763968706755037,"fill":"#000000"},{"asset":"Triangle","opacity":1,"angle":39.950248620914984,"flipX":false,"flipY":false,"top":156.53840045372561,"left":247.26890541571385,"height":8.373638085526167,"width":33.849251188911076,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":13.078078031904246,"flipX":false,"flipY":false,"top":166.70033951159326,"left":222.47770174135283,"height":30.598226878318435,"width":62.873214729409106,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":334.7677899471516,"flipX":false,"flipY":false,"top":164.07452088425305,"left":214.61697776819793,"height":35.86846719443419,"width":31.294374021901703,"fill":"#1E0000"},{"asset":"Circle","opacity":1,"angle":334.7677899471516,"flipX":false,"flipY":false,"top":164.8121105919003,"left":214.1871105919003,"height":32.93514740856496,"width":28.735123134284162,"fill":"#80cef1"},{"asset":"Eye2","opacity":0.21,"angle":2.3663573743543926,"flipX":false,"flipY":false,"top":157.4301985372088,"left":216.47481280115898,"height":17.407414330218067,"width":53.18671506874317,"fill":"#000000"},{"asset":"Wingpart","opacity":1,"angle":357.7799793603893,"flipX":false,"flipY":false,"top":151.41395261287116,"left":217.64571891191585,"height":9.78567477058558,"width":76.80421898569642,"fill":"#101010"},{"asset":"StrokeBent","opacity":1,"angle":7.389680271046923,"flipX":true,"flipY":true,"top":53.01893610874456,"left":227.95663856251983,"height":178.21620346681632,"width":63.88595048528266,"fill":"#d4e7f0"},{"asset":"Triangle","opacity":1,"angle":61.15260709495918,"flipX":false,"flipY":false,"top":135.0098788653111,"left":199.2209473774996,"height":27.489546166618855,"width":14.372307004940446,"fill":"#FFE9E1"},{"asset":"Triangle","opacity":1,"angle":1.243702464692251,"flipX":false,"flipY":false,"top":167.76416288356162,"left":107.90347968577596,"height":313.49817133268044,"width":160.5767740651533,"fill":"#aacbe2"},{"asset":"Triangle","opacity":1,"angle":1.243702464692251,"flipX":false,"flipY":false,"top":276.8998258280647,"left":107.90347968577596,"height":167.51417868888828,"width":102.55710844670797,"fill":"#a4bfd9"},{"asset":"Banner","opacity":1,"angle":98.45479284427513,"flipX":true,"flipY":true,"top":434.62949784124174,"left":123.87804518796679,"height":162.73061225465756,"width":424.11587953845367,"fill":"#7cb6da"},{"asset":"Wingpart","opacity":1,"angle":0.9737376810458853,"flipX":false,"flipY":false,"top":313.75,"left":151.0621105919003,"height":51.557881619937696,"width":117.87577881619939,"fill":"#0C0C0C"},{"asset":"Romb","opacity":1,"angle":1.8249353353351274,"flipX":false,"flipY":false,"top":178.75,"left":121.24028037383177,"height":102.5,"width":42.51943925233647,"fill":"#D8B6B6"},{"asset":"Wingpart","opacity":1,"angle":249.359836847655,"flipX":true,"flipY":false,"top":239.15735865409135,"left":183.5280704505305,"height":15.376311253604129,"width":163.09829004113814,"fill":"#80cef1"},{"asset":"StrokeBent","opacity":1,"angle":1.378126016211752,"flipX":false,"flipY":false,"top":182.8125,"left":210.37751464051647,"height":483.1652688531862,"width":193.79404735325238,"fill":"#aacbe2"},{"asset":"Shield10","opacity":0.59,"angle":359.0352995352092,"flipX":false,"flipY":false,"top":95.30533229166669,"left":296.5560176735094,"height":198.14961827328827,"width":70.66492989635456,"fill":"#b1d6e5"},{"asset":"StrokeBent","opacity":1,"angle":95.43494216315544,"flipX":false,"flipY":false,"top":109.96896153770646,"left":235.97159323068186,"height":57.109118635480876,"width":5.797105280383761,"fill":"#929292"},{"asset":"StrokeBent","opacity":0.39,"angle":99.29729336155215,"flipX":false,"flipY":false,"top":144.90478835468156,"left":228.130767096238,"height":64.15359991814913,"width":5.6839889945542765,"fill":"#000000"},{"asset":"StrokeBent","opacity":0.39,"angle":106.61845918854316,"flipX":false,"flipY":false,"top":138.87909813439555,"left":240.5723003994783,"height":26.057613192434665,"width":2.8893552075619056,"fill":"#000000"},{"asset":"Triangle","opacity":1,"angle":328.6447832201667,"flipX":false,"flipY":false,"top":209.75698413636528,"left":309.6886748159927,"height":17.704967112396517,"width":10.095561536746978,"fill":"#CAB1A9"},{"asset":"StrokeBent","opacity":1,"angle":1.0594557623624041,"flipX":false,"flipY":false,"top":182.9810102841383,"left":154.63191350571597,"height":340.30039993454534,"width":82.61670126418132,"fill":"#a4bfd9"},{"asset":"Eye2","opacity":0.21,"angle":161.48215543793117,"flipX":false,"flipY":false,"top":32.204683134599996,"left":259.32774288371047,"height":92.77373997567376,"width":309.0959284267221,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":1.1188338780717078,"flipX":false,"flipY":false,"top":-10.406227605119582,"left":223.3603241783283,"height":75.6272838706753,"width":172.78090927574212,"fill":"#232323"},{"asset":"Circle","opacity":0.64,"angle":0,"flipX":false,"flipY":false,"top":164.8121105919003,"left":214.1871105919003,"height":7.875778816199386,"width":7.875778816199386,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169.6875,"left":230,"height":6.875,"width":18.75,"fill":"#FFFFFF"},{"asset":"Wingpart","opacity":0.16,"angle":0,"flipX":false,"flipY":false,"top":198.4375,"left":222.8125,"height":14.375,"width":75.625,"fill":"#EFD6CE"},{"asset":"Eye2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.8125,"left":238.125,"height":1.875,"width":13.75,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":291.75804700267236,"flipX":false,"flipY":false,"top":263.3458725882122,"left":288.6779206238212,"height":38.54026456698294,"width":7.897916320833825,"fill":"#1E0000"},{"asset":"StrokeBent","opacity":1,"angle":295.1492021062558,"flipX":false,"flipY":false,"top":263.3458725882122,"left":287.202216066482,"height":38.010147540996094,"width":8.281962035442072,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":344.88033130245213,"flipX":false,"flipY":false,"top":15.247046662969382,"left":210.37751464051647,"height":138.53334158364984,"width":310.95124850831803,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":263.53433312797796,"flipX":false,"flipY":false,"top":74.0025515446983,"left":202.81500422075118,"height":246.3384006157118,"width":34.43640452189705,"fill":"#eeeeee"},{"asset":"Shield6","opacity":1,"angle":308.75119721769335,"flipX":false,"flipY":false,"top":64.0401770012943,"left":120.15227689036796,"height":25.1116156634206,"width":7.768029861344268,"fill":"#80cef1"},{"asset":"Shield6","opacity":1,"angle":37.89758991406983,"flipX":false,"flipY":false,"top":64.0401770012943,"left":121.24028037383177,"height":25.1116156634206,"width":7.768029861344268,"fill":"#80cef1"},{"asset":"Emblem107","opacity":1,"angle":326.80886071245277,"flipX":false,"flipY":false,"top":58.34764512848976,"left":112.02008850064713,"height":2.7223946408954993,"width":3.4157129019545733,"fill":"#eeeeee"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":varrequest=newXMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){vare=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:'[{"asset":"Triangle","opacity":1,"angle":275.41386393094405,"flipX":false,"flipY":false,"top":318.600510507914,"left":284.5986320874255,"height":71.66864308959767,"width":75.14734824959963,"fill":"#0C0C0C"},{"asset":"Shield4","opacity":1,"angle":15.704895687825388,"flipX":false,"flipY":false,"top":319.3937736290059,"left":199.8204748954612,"height":106.95865184858228,"width":146.78714966035173,"fill":"#C6A59D"},{"asset":"Shield4","opacity":1,"angle":351.13852338975744,"flipX":false,"flipY":false,"top":159.64755186123088,"left":246.22559483555946,"height":278.46618277514096,"width":196.5557137058201,"fill":"#FFE9E1"},{"asset":"Heart","opacity":1,"angle":355.0396577115863,"flipX":false,"flipY":false,"top":275.2733881501206,"left":282.6899754314684,"height":76.12977628963743,"width":155.36293786640306,"fill":"#FFE9E1"},{"asset":"Triangle","opacity":1,"angle":346.5922315112141,"flipX":false,"flipY":true,"top":161.8486857687215,"left":191.42994047514208,"height":26.870085199904388,"width":13.254045016194667,"fill":"#101010"},{"asset":"StrokeBent","opacity":1,"angle":98.14814548308749,"flipX":false,"flipY":false,"top":158.08240571358024,"left":242.88594899263506,"height":38.92077621503278,"width":16.763968706755037,"fill":"#000000"},{"asset":"Triangle","opacity":1,"angle":39.950248620914984,"flipX":false,"flipY":false,"top":156.53840045372561,"left":247.26890541571385,"height":8.373638085526167,"width":33.849251188911076,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":13.078078031904246,"flipX":false,"flipY":false,"top":166.70033951159326,"left":222.47770174135283,"height":30.598226878318435,"width":62.873214729409106,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":334.7677899471516,"flipX":false,"flipY":false,"top":164.07452088425305,"left":214.61697776819793,"height":35.86846719443419,"width":31.294374021901703,"fill":"#1E0000"},{"asset":"Circle","opacity":1,"angle":334.7677899471516,"flipX":false,"flipY":false,"top":164.8121105919003,"left":214.1871105919003,"height":32.93514740856496,"width":28.735123134284162,"fill":"#80cef1"},{"asset":"Eye2","opacity":0.21,"angle":2.3663573743543926,"flipX":false,"flipY":false,"top":157.4301985372088,"left":216.47481280115898,"height":17.407414330218067,"width":53.18671506874317,"fill":"#000000"},{"asset":"Wingpart","opacity":1,"angle":357.7799793603893,"flipX":false,"flipY":false,"top":151.41395261287116,"left":217.64571891191585,"height":9.78567477058558,"width":76.80421898569642,"fill":"#101010"},{"asset":"StrokeBent","opacity":1,"angle":7.389680271046923,"flipX":true,"flipY":true,"top":53.01893610874456,"left":227.95663856251983,"height":178.21620346681632,"width":63.88595048528266,"fill":"#d4e7f0"},{"asset":"Triangle","opacity":1,"angle":61.15260709495918,"flipX":false,"flipY":false,"top":135.0098788653111,"left":199.2209473774996,"height":27.489546166618855,"width":14.372307004940446,"fill":"#FFE9E1"},{"asset":"Triangle","opacity":1,"angle":1.243702464692251,"flipX":false,"flipY":false,"top":167.76416288356162,"left":107.90347968577596,"height":313.49817133268044,"width":160.5767740651533,"fill":"#aacbe2"},{"asset":"Triangle","opacity":1,"angle":1.243702464692251,"flipX":false,"flipY":false,"top":276.8998258280647,"left":107.90347968577596,"height":167.51417868888828,"width":102.55710844670797,"fill":"#a4bfd9"},{"asset":"Banner","opacity":1,"angle":98.45479284427513,"flipX":true,"flipY":true,"top":434.62949784124174,"left":123.87804518796679,"height":162.73061225465756,"width":424.11587953845367,"fill":"#7cb6da"},{"asset":"Wingpart","opacity":1,"angle":0.9737376810458853,"flipX":false,"flipY":false,"top":313.75,"left":151.0621105919003,"height":51.557881619937696,"width":117.87577881619939,"fill":"#0C0C0C"},{"asset":"Romb","opacity":1,"angle":1.8249353353351274,"flipX":false,"flipY":false,"top":178.75,"left":121.24028037383177,"height":102.5,"width":42.51943925233647,"fill":"#D8B6B6"},{"asset":"Wingpart","opacity":1,"angle":249.359836847655,"flipX":true,"flipY":false,"top":239.15735865409135,"left":183.5280704505305,"height":15.376311253604129,"width":163.09829004113814,"fill":"#80cef1"},{"asset":"StrokeBent","opacity":1,"angle":1.378126016211752,"flipX":false,"flipY":false,"top":182.8125,"left":210.37751464051647,"height":483.1652688531862,"width":193.79404735325238,"fill":"#aacbe2"},{"asset":"Shield10","opacity":0.59,"angle":359.0352995352092,"flipX":false,"flipY":false,"top":95.30533229166669,"left":296.5560176735094,"height":198.14961827328827,"width":70.66492989635456,"fill":"#b1d6e5"},{"asset":"StrokeBent","opacity":1,"angle":95.43494216315544,"flipX":false,"flipY":false,"top":109.96896153770646,"left":235.97159323068186,"height":57.109118635480876,"width":5.797105280383761,"fill":"#929292"},{"asset":"StrokeBent","opacity":0.39,"angle":99.29729336155215,"flipX":false,"flipY":false,"top":144.90478835468156,"left":228.130767096238,"height":64.15359991814913,"width":5.6839889945542765,"fill":"#000000"},{"asset":"StrokeBent","opacity":0.39,"angle":106.61845918854316,"flipX":false,"flipY":false,"top":138.87909813439555,"left":240.5723003994783,"height":26.057613192434665,"width":2.8893552075619056,"fill":"#000000"},{"asset":"Triangle","opacity":1,"angle":328.6447832201667,"flipX":false,"flipY":false,"top":209.75698413636528,"left":309.6886748159927,"height":17.704967112396517,"width":10.095561536746978,"fill":"#CAB1A9"},{"asset":"StrokeBent","opacity":1,"angle":1.0594557623624041,"flipX":false,"flipY":false,"top":182.9810102841383,"left":154.63191350571597,"height":340.30039993454534,"width":82.61670126418132,"fill":"#a4bfd9"},{"asset":"Eye2","opacity":0.21,"angle":161.48215543793117,"flipX":false,"flipY":false,"top":32.204683134599996,"left":259.32774288371047,"height":92.77373997567376,"width":309.0959284267221,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":1.1188338780717078,"flipX":false,"flipY":false,"top":-10.406227605119582,"left":223.3603241783283,"height":75.6272838706753,"width":172.78090927574212,"fill":"#232323"},{"asset":"Circle","opacity":0.64,"angle":0,"flipX":false,"flipY":false,"top":164.8121105919003,"left":214.1871105919003,"height":7.875778816199386,"width":7.875778816199386,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169.6875,"left":230,"height":6.875,"width":18.75,"fill":"#FFFFFF"},{"asset":"Wingpart","opacity":0.16,"angle":0,"flipX":false,"flipY":false,"top":198.4375,"left":222.8125,"height":14.375,"width":75.625,"fill":"#EFD6CE"},{"asset":"Eye2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":182.8125,"left":238.125,"height":1.875,"width":13.75,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":291.75804700267236,"flipX":false,"flipY":false,"top":263.3458725882122,"left":288.6779206238212,"height":38.54026456698294,"width":7.897916320833825,"fill":"#1E0000"},{"asset":"StrokeBent","opacity":1,"angle":295.1492021062558,"flipX":false,"flipY":false,"top":263.3458725882122,"left":287.202216066482,"height":38.010147540996094,"width":8.281962035442072,"fill":"#FFFFFF"},{"asset":"Circle","opacity":1,"angle":344.88033130245213,"flipX":false,"flipY":false,"top":15.247046662969382,"left":210.37751464051647,"height":138.53334158364984,"width":310.95124850831803,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":263.53433312797796,"flipX":false,"flipY":false,"top":74.0025515446983,"left":202.81500422075118,"height":246.3384006157118,"width":34.43640452189705,"fill":"#eeeeee"},{"asset":"Shield6","opacity":1,"angle":308.75119721769335,"flipX":false,"flipY":false,"top":64.0401770012943,"left":120.15227689036796,"height":25.1116156634206,"width":7.768029861344268,"fill":"#80cef1"},{"asset":"Shield6","opacity":1,"angle":37.89758991406983,"flipX":false,"flipY":false,"top":64.0401770012943,"left":121.24028037383177,"height":25.1116156634206,"width":7.768029861344268,"fill":"#80cef1"},{"asset":"Emblem107","opacity":1,"angle":326.80886071245277,"flipX":false,"flipY":false,"top":58.34764512848976,"left":112.02008850064713,"height":2.7223946408954993,"width":3.4157129019545733,"fill":"#eeeeee"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告