登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
1
圖層數
29
chilean shield
作者:
anon
代碼 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":"Stroke","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"left":160,"height":8.894242354309782,"width":201.05710664312997,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":97.41061629669954,"flipX":true,"flipY":false,"top":44.82829374267582,"left":197.9012972832471,"height":77.82416838100039,"width":23.46701933301628,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":97.41061629669954,"flipX":true,"flipY":false,"top":45.93035987471898,"left":199.37388948678148,"height":81.76958681738404,"width":24.86269247173463,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-97.41061629669954,"flipX":false,"flipY":false,"top":44.82829374267582,"left":122.86315852759004,"height":77.82416838100039,"width":23.153553519501084,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-97.41061629669954,"flipX":false,"flipY":false,"top":45.93035987471898,"left":122.73587668737864,"height":81.47205288571729,"width":24.665188039637822,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":198.0306253840067,"flipX":true,"flipY":false,"top":111.82390595535965,"left":255.15242824273392,"height":63.80460396975093,"width":18.130525311730864,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-198.0306253840067,"flipX":false,"flipY":false,"top":111.82390595535965,"left":66.53743107092774,"height":63.80460396975093,"width":18.130525311730864,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":195.63620660525106,"flipX":true,"flipY":false,"top":114.41749046649687,"left":259.6901713748823,"height":62.60698929300061,"width":19.945482523937656,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-195.63620660525106,"flipX":false,"flipY":false,"top":114.41749046649687,"left":62.402592999488824,"height":62.60698929300061,"width":19.945482523937656,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-5.945939338302883,"flipX":true,"flipY":false,"top":176.58252790367968,"left":263.1796983966474,"height":71.54966833838245,"width":13.915654132297343,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":5.945939338302883,"flipX":false,"flipY":false,"top":176.58252790367968,"left":59.064499399222115,"height":71.54966833838245,"width":13.915654132297343,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-344.91570454787103,"flipX":true,"flipY":false,"top":207.58766410463025,"left":260.88432553500104,"height":63.732251739741166,"width":12.616393093891734,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":344.91570454787103,"flipX":false,"flipY":false,"top":207.58766410463025,"left":60.20884423943766,"height":63.732251739741166,"width":12.616393093891734,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":359.00441059816325,"flipX":true,"flipY":false,"top":184.01067322558282,"left":258.68971636188735,"height":81.83942519903998,"width":19.11364133290568,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-359.00441059816325,"flipX":false,"flipY":false,"top":184.01067322558282,"left":63.694556989777645,"height":81.83942519903998,"width":19.11364133290568,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":315.32576920536576,"flipX":false,"flipY":false,"top":228.001377120712,"left":81.55902553960163,"height":95.06561590371909,"width":31.20213773674201,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-315.32576920536576,"flipX":true,"flipY":false,"top":228.001377120712,"left":239.33475644800433,"height":95.06561590371909,"width":31.20213773674201,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":66.34883397438142,"flipX":true,"flipY":false,"top":247.03296456687983,"left":225.9836617096299,"height":64.95076174315302,"width":12.494134042680411,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-66.34883397438142,"flipX":false,"flipY":false,"top":247.03296456687983,"left":93.90881734811185,"height":64.95076174315302,"width":12.494134042680411,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":297.40571149455053,"flipX":true,"flipY":true,"top":263.88769121601797,"left":141.3326721497689,"height":49.4370042234372,"width":13.658557875683508,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":299.3884237904584,"flipX":true,"flipY":true,"top":266.3800777297642,"left":141.20166437288592,"height":47.553601357608215,"width":9.884468138144085,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-299.3884237904584,"flipX":false,"flipY":true,"top":266.3800777297642,"left":179.58927503278017,"height":47.553601357608215,"width":9.884468138144085,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":301.53516103400955,"flipX":true,"flipY":true,"top":261.5909325802133,"left":143.6585220379234,"height":45.213930752690565,"width":9.619843737179092,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-301.53516103400955,"flipX":false,"flipY":true,"top":263.88769121601797,"left":177.9345331104829,"height":45.213930752690565,"width":9.619843737179092,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-301.53516103400955,"flipX":false,"flipY":true,"top":261.5909325802133,"left":177.47103208946712,"height":45.213930752690565,"width":9.619843737179092,"fill":"#000000"},{"asset":"Stroke","opacity":1,"angle":144.21757437754076,"flipX":true,"flipY":false,"top":64.25612001244693,"left":253.92835481751985,"height":61.49636995219595,"width":10.376213355738274,"fill":"#000000"},{"asset":"Stroke","opacity":1,"angle":-144.21757437754076,"flipX":false,"flipY":false,"top":64.25612001244693,"left":66.53743107092774,"height":61.4446337850811,"width":10.216216644319278,"fill":"#000000"},{"asset":"Star","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.7388218676566,"left":160,"height":108.70591504732268,"width":114.30057079863197,"fill":"#000000"},{"asset":"Romb","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":281.8321963316578,"left":160.38658538525203,"height":4.1115178198810645,"width":2.105493417464179,"fill":"#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"Stroke","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"left":160,"height":8.894242354309782,"width":201.05710664312997,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":97.41061629669954,"flipX":true,"flipY":false,"top":44.82829374267582,"left":197.9012972832471,"height":77.82416838100039,"width":23.46701933301628,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":97.41061629669954,"flipX":true,"flipY":false,"top":45.93035987471898,"left":199.37388948678148,"height":81.76958681738404,"width":24.86269247173463,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-97.41061629669954,"flipX":false,"flipY":false,"top":44.82829374267582,"left":122.86315852759004,"height":77.82416838100039,"width":23.153553519501084,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-97.41061629669954,"flipX":false,"flipY":false,"top":45.93035987471898,"left":122.73587668737864,"height":81.47205288571729,"width":24.665188039637822,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":198.0306253840067,"flipX":true,"flipY":false,"top":111.82390595535965,"left":255.15242824273392,"height":63.80460396975093,"width":18.130525311730864,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-198.0306253840067,"flipX":false,"flipY":false,"top":111.82390595535965,"left":66.53743107092774,"height":63.80460396975093,"width":18.130525311730864,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":195.63620660525106,"flipX":true,"flipY":false,"top":114.41749046649687,"left":259.6901713748823,"height":62.60698929300061,"width":19.945482523937656,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-195.63620660525106,"flipX":false,"flipY":false,"top":114.41749046649687,"left":62.402592999488824,"height":62.60698929300061,"width":19.945482523937656,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-5.945939338302883,"flipX":true,"flipY":false,"top":176.58252790367968,"left":263.1796983966474,"height":71.54966833838245,"width":13.915654132297343,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":5.945939338302883,"flipX":false,"flipY":false,"top":176.58252790367968,"left":59.064499399222115,"height":71.54966833838245,"width":13.915654132297343,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-344.91570454787103,"flipX":true,"flipY":false,"top":207.58766410463025,"left":260.88432553500104,"height":63.732251739741166,"width":12.616393093891734,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":344.91570454787103,"flipX":false,"flipY":false,"top":207.58766410463025,"left":60.20884423943766,"height":63.732251739741166,"width":12.616393093891734,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":359.00441059816325,"flipX":true,"flipY":false,"top":184.01067322558282,"left":258.68971636188735,"height":81.83942519903998,"width":19.11364133290568,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-359.00441059816325,"flipX":false,"flipY":false,"top":184.01067322558282,"left":63.694556989777645,"height":81.83942519903998,"width":19.11364133290568,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":315.32576920536576,"flipX":false,"flipY":false,"top":228.001377120712,"left":81.55902553960163,"height":95.06561590371909,"width":31.20213773674201,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-315.32576920536576,"flipX":true,"flipY":false,"top":228.001377120712,"left":239.33475644800433,"height":95.06561590371909,"width":31.20213773674201,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":66.34883397438142,"flipX":true,"flipY":false,"top":247.03296456687983,"left":225.9836617096299,"height":64.95076174315302,"width":12.494134042680411,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-66.34883397438142,"flipX":false,"flipY":false,"top":247.03296456687983,"left":93.90881734811185,"height":64.95076174315302,"width":12.494134042680411,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":297.40571149455053,"flipX":true,"flipY":true,"top":263.88769121601797,"left":141.3326721497689,"height":49.4370042234372,"width":13.658557875683508,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":299.3884237904584,"flipX":true,"flipY":true,"top":266.3800777297642,"left":141.20166437288592,"height":47.553601357608215,"width":9.884468138144085,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-299.3884237904584,"flipX":false,"flipY":true,"top":266.3800777297642,"left":179.58927503278017,"height":47.553601357608215,"width":9.884468138144085,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":301.53516103400955,"flipX":true,"flipY":true,"top":261.5909325802133,"left":143.6585220379234,"height":45.213930752690565,"width":9.619843737179092,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-301.53516103400955,"flipX":false,"flipY":true,"top":263.88769121601797,"left":177.9345331104829,"height":45.213930752690565,"width":9.619843737179092,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":-301.53516103400955,"flipX":false,"flipY":true,"top":261.5909325802133,"left":177.47103208946712,"height":45.213930752690565,"width":9.619843737179092,"fill":"#000000"},{"asset":"Stroke","opacity":1,"angle":144.21757437754076,"flipX":true,"flipY":false,"top":64.25612001244693,"left":253.92835481751985,"height":61.49636995219595,"width":10.376213355738274,"fill":"#000000"},{"asset":"Stroke","opacity":1,"angle":-144.21757437754076,"flipX":false,"flipY":false,"top":64.25612001244693,"left":66.53743107092774,"height":61.4446337850811,"width":10.216216644319278,"fill":"#000000"},{"asset":"Star","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.7388218676566,"left":160,"height":108.70591504732268,"width":114.30057079863197,"fill":"#000000"},{"asset":"Romb","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":281.8321963316578,"left":160.38658538525203,"height":4.1115178198810645,"width":2.105493417464179,"fill":"#000000"}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告