登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
63
圖層數
36
Mauricio Bespalhok
作者:
Mauricio2309
代碼 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":269.0726244781,"height":320.84944203109995,"width":320.84944203109995,"asset":"Square","selectable":true,"left":808.0726244781,"fill":"#000000"},{"opacity":1,"angle":227.7870668129,"flipX":false,"flipY":false,"top":57.5676606361,"height":174.90712391610003,"width":67.0166788872,"asset":"Stroke","selectable":true,"left":892.0593627067001,"fill":"#707070"},{"opacity":1,"angle":134.958926238,"flipX":false,"flipY":false,"top":205.5676606361,"height":174.90712391610003,"width":67.0166788872,"asset":"Stroke","selectable":true,"left":-153.9406372933,"fill":"#707070"},{"opacity":1,"angle":359.4708801074,"flipX":false,"flipY":false,"top":282.5676606361,"height":174.90712391610003,"width":67.0166788872,"asset":"Stroke","selectable":true,"left":-254.9406372933,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":278,"height":91.9540229885,"width":33.004377338,"asset":"Stroke","selectable":true,"left":538.9821179351,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":281,"height":91.9540229885,"width":33.0136750323,"asset":"Stroke","selectable":true,"left":-186.0226761885,"fill":"#FF0000"},{"opacity":1,"angle":227.7710714751,"flipX":false,"flipY":false,"top":81.7449264992,"height":119.0585384918,"width":32.8775644558,"asset":"Stroke","selectable":true,"left":825.0967866391,"fill":"#FF0000"},{"opacity":1,"angle":227.7710714751,"flipX":false,"flipY":false,"top":27.919937609200005,"height":137.4327683578,"width":30.915170529400005,"asset":"Stroke","selectable":true,"left":752.3710613575,"fill":"#FF0000"},{"opacity":1,"angle":134.6968387668,"flipX":false,"flipY":false,"top":140.8288258422,"height":129.7334361628,"width":32.2280498258,"asset":"Stroke","selectable":true,"left":-238.86566326760004,"fill":"#FF0000"},{"opacity":0.2,"angle":495.467876047,"flipX":false,"flipY":false,"top":135.889526552,"height":134.05697373879997,"width":9.74164936,"asset":"Stroke","selectable":true,"left":-243.1183005802,"fill":"#000000"},{"opacity":0.2,"angle":587.8963212617,"flipX":false,"flipY":false,"top":170.2710071483,"height":111.48682202509998,"width":9.74164936,"asset":"Stroke","selectable":true,"left":753.2067139533999,"fill":"#000000"},{"opacity":0.2,"angle":360.3165469584,"flipX":false,"flipY":false,"top":424.15088497400006,"height":69.8802547964,"width":10.7144071508,"asset":"Stroke","selectable":true,"left":648.4853019015,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.6290240978,"height":257.107768152,"width":206.0614311707,"asset":"Shield6","selectable":true,"left":158.8205473101,"fill":"#CCCCCC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":76.4722789135,"height":122.25202466800002,"width":188.87234234510004,"asset":"Pentagon","selectable":true,"left":158.0263972424,"fill":"#CCCCCC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.49421198889996,"height":249.42948966730003,"width":202.41511486110002,"asset":"Shield6","selectable":true,"left":159.0031982812,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":79.4950708954,"height":122.2067383175,"width":187.8754576099,"asset":"Pentagon","selectable":true,"left":158.52483961,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":173.9999710213,"height":234.5342190882,"width":188.5029200848,"asset":"Shield6","selectable":true,"left":159.0135412245,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":84.9950443234,"height":117.2394356481,"width":187.8754576099,"asset":"Pentagon","selectable":true,"left":158.52483961,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":202.01166815980002,"height":156.9954421669,"width":41.7410587861,"asset":"Stroke","selectable":true,"left":161.5227334366,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207.49453420340004,"height":167.96117425409997,"width":22.838549955799998,"asset":"Stroke","selectable":true,"left":161.223872679,"fill":"#ACACAC"},{"opacity":1,"angle":121.5048122504,"flipX":false,"flipY":false,"top":99.819752764,"height":97.80259846599999,"width":41.7410587861,"asset":"Stroke","selectable":true,"left":113.2447272055,"fill":"#FF0000"},{"opacity":1,"angle":121.7166352644,"flipX":false,"flipY":false,"top":99.0170561465,"height":108.07170219519999,"width":22.838549955799998,"asset":"Stroke","selectable":true,"left":109.73620857930001,"fill":"#ACACAC"},{"opacity":1,"angle":239.656540406,"flipX":false,"flipY":false,"top":103.2449775501,"height":96.17516235939999,"width":41.7410587861,"asset":"Stroke","selectable":true,"left":207.9385001882,"fill":"#FF0000"},{"opacity":1,"angle":239.1015802633,"flipX":false,"flipY":false,"top":101.5800679085,"height":109.38607770029999,"width":22.838549955799998,"asset":"Stroke","selectable":true,"left":208.2416406696,"fill":"#ACACAC"},{"opacity":1,"angle":315.0630559466,"flipX":false,"flipY":false,"top":281.0898229062,"height":48.494693014999996,"width":6.5212647826,"asset":"Stroke","selectable":true,"left":145.6009696257,"fill":"#262626"},{"opacity":1,"angle":404.663746737,"flipX":false,"flipY":false,"top":281.7946409468,"height":47.9392605395,"width":6.483849015200001,"asset":"Stroke","selectable":true,"left":176.7252565665,"fill":"#262626"},{"opacity":1,"angle":539.7526351588,"flipX":false,"flipY":false,"top":86.0295896796,"height":35.776898162,"width":5.8208361087,"asset":"Stroke","selectable":true,"left":257.0189242472,"fill":"#262626"},{"opacity":1,"angle":539.7526351588,"flipX":false,"flipY":false,"top":87.5221066827,"height":38.7965547651,"width":6.736538080400001,"asset":"Stroke","selectable":true,"left":61.472438174,"fill":"#262626"},{"opacity":1,"angle":424.7603311997,"flipX":false,"flipY":false,"top":62.1599890031,"height":38.73941577990001,"width":5.325007930899999,"asset":"Stroke","selectable":true,"left":77.0869658656,"fill":"#262626"},{"opacity":1,"angle":294.5010532585,"flipX":false,"flipY":false,"top":62.88765474510001,"height":37.1248690649,"width":5.1412701045,"asset":"Stroke","selectable":true,"left":240.7097051682,"fill":"#262626"},{"opacity":0.15,"angle":25.3174513353,"flipX":true,"flipY":false,"top":194.2760232433,"height":230.2364302464,"width":45.84703777159999,"asset":"StrokeBent","selectable":true,"left":215.1147259154,"fill":"#000000"},{"opacity":0.15,"angle":474.9502514868,"flipX":false,"flipY":false,"top":53.4540291359,"height":121.99855888630002,"width":13.5599289194,"asset":"Stroke","selectable":true,"left":200.9013104468,"fill":"#000000"},{"opacity":0.11,"angle":302.8098677107,"flipX":false,"flipY":false,"top":80.42974730809999,"height":87.5352360508,"width":7.1553164698,"asset":"Stroke","selectable":false,"left":126.9403201186,"fill":"#000000"},{"opacity":0.2,"angle":302.0788625172,"flipX":false,"flipY":false,"top":107.692167173,"height":108.1251524231,"width":5.258149670199999,"asset":"Stroke","selectable":false,"left":107.16526295000001,"fill":"#000000"},{"opacity":0.2,"angle":539.6469466539,"flipX":false,"flipY":false,"top":210.4691781933,"height":148.0641268491,"width":5.258149670199999,"asset":"Stroke","selectable":false,"left":152.4247992415,"fill":"#000000"},{"opacity":0.1,"angle":359.8259774659,"flipX":false,"flipY":false,"top":197.50528669830004,"height":116.26065897969998,"width":5.3576585141,"asset":"Stroke","selectable":false,"left":186.2419519817,"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":269.0726244781,"height":320.84944203109995,"width":320.84944203109995,"asset":"Square","selectable":true,"left":808.0726244781,"fill":"#000000"},{"opacity":1,"angle":227.7870668129,"flipX":false,"flipY":false,"top":57.5676606361,"height":174.90712391610003,"width":67.0166788872,"asset":"Stroke","selectable":true,"left":892.0593627067001,"fill":"#707070"},{"opacity":1,"angle":134.958926238,"flipX":false,"flipY":false,"top":205.5676606361,"height":174.90712391610003,"width":67.0166788872,"asset":"Stroke","selectable":true,"left":-153.9406372933,"fill":"#707070"},{"opacity":1,"angle":359.4708801074,"flipX":false,"flipY":false,"top":282.5676606361,"height":174.90712391610003,"width":67.0166788872,"asset":"Stroke","selectable":true,"left":-254.9406372933,"fill":"#707070"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":278,"height":91.9540229885,"width":33.004377338,"asset":"Stroke","selectable":true,"left":538.9821179351,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":281,"height":91.9540229885,"width":33.0136750323,"asset":"Stroke","selectable":true,"left":-186.0226761885,"fill":"#FF0000"},{"opacity":1,"angle":227.7710714751,"flipX":false,"flipY":false,"top":81.7449264992,"height":119.0585384918,"width":32.8775644558,"asset":"Stroke","selectable":true,"left":825.0967866391,"fill":"#FF0000"},{"opacity":1,"angle":227.7710714751,"flipX":false,"flipY":false,"top":27.919937609200005,"height":137.4327683578,"width":30.915170529400005,"asset":"Stroke","selectable":true,"left":752.3710613575,"fill":"#FF0000"},{"opacity":1,"angle":134.6968387668,"flipX":false,"flipY":false,"top":140.8288258422,"height":129.7334361628,"width":32.2280498258,"asset":"Stroke","selectable":true,"left":-238.86566326760004,"fill":"#FF0000"},{"opacity":0.2,"angle":495.467876047,"flipX":false,"flipY":false,"top":135.889526552,"height":134.05697373879997,"width":9.74164936,"asset":"Stroke","selectable":true,"left":-243.1183005802,"fill":"#000000"},{"opacity":0.2,"angle":587.8963212617,"flipX":false,"flipY":false,"top":170.2710071483,"height":111.48682202509998,"width":9.74164936,"asset":"Stroke","selectable":true,"left":753.2067139533999,"fill":"#000000"},{"opacity":0.2,"angle":360.3165469584,"flipX":false,"flipY":false,"top":424.15088497400006,"height":69.8802547964,"width":10.7144071508,"asset":"Stroke","selectable":true,"left":648.4853019015,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.6290240978,"height":257.107768152,"width":206.0614311707,"asset":"Shield6","selectable":true,"left":158.8205473101,"fill":"#CCCCCC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":76.4722789135,"height":122.25202466800002,"width":188.87234234510004,"asset":"Pentagon","selectable":true,"left":158.0263972424,"fill":"#CCCCCC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.49421198889996,"height":249.42948966730003,"width":202.41511486110002,"asset":"Shield6","selectable":true,"left":159.0031982812,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":79.4950708954,"height":122.2067383175,"width":187.8754576099,"asset":"Pentagon","selectable":true,"left":158.52483961,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":173.9999710213,"height":234.5342190882,"width":188.5029200848,"asset":"Shield6","selectable":true,"left":159.0135412245,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":84.9950443234,"height":117.2394356481,"width":187.8754576099,"asset":"Pentagon","selectable":true,"left":158.52483961,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":202.01166815980002,"height":156.9954421669,"width":41.7410587861,"asset":"Stroke","selectable":true,"left":161.5227334366,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":207.49453420340004,"height":167.96117425409997,"width":22.838549955799998,"asset":"Stroke","selectable":true,"left":161.223872679,"fill":"#ACACAC"},{"opacity":1,"angle":121.5048122504,"flipX":false,"flipY":false,"top":99.819752764,"height":97.80259846599999,"width":41.7410587861,"asset":"Stroke","selectable":true,"left":113.2447272055,"fill":"#FF0000"},{"opacity":1,"angle":121.7166352644,"flipX":false,"flipY":false,"top":99.0170561465,"height":108.07170219519999,"width":22.838549955799998,"asset":"Stroke","selectable":true,"left":109.73620857930001,"fill":"#ACACAC"},{"opacity":1,"angle":239.656540406,"flipX":false,"flipY":false,"top":103.2449775501,"height":96.17516235939999,"width":41.7410587861,"asset":"Stroke","selectable":true,"left":207.9385001882,"fill":"#FF0000"},{"opacity":1,"angle":239.1015802633,"flipX":false,"flipY":false,"top":101.5800679085,"height":109.38607770029999,"width":22.838549955799998,"asset":"Stroke","selectable":true,"left":208.2416406696,"fill":"#ACACAC"},{"opacity":1,"angle":315.0630559466,"flipX":false,"flipY":false,"top":281.0898229062,"height":48.494693014999996,"width":6.5212647826,"asset":"Stroke","selectable":true,"left":145.6009696257,"fill":"#262626"},{"opacity":1,"angle":404.663746737,"flipX":false,"flipY":false,"top":281.7946409468,"height":47.9392605395,"width":6.483849015200001,"asset":"Stroke","selectable":true,"left":176.7252565665,"fill":"#262626"},{"opacity":1,"angle":539.7526351588,"flipX":false,"flipY":false,"top":86.0295896796,"height":35.776898162,"width":5.8208361087,"asset":"Stroke","selectable":true,"left":257.0189242472,"fill":"#262626"},{"opacity":1,"angle":539.7526351588,"flipX":false,"flipY":false,"top":87.5221066827,"height":38.7965547651,"width":6.736538080400001,"asset":"Stroke","selectable":true,"left":61.472438174,"fill":"#262626"},{"opacity":1,"angle":424.7603311997,"flipX":false,"flipY":false,"top":62.1599890031,"height":38.73941577990001,"width":5.325007930899999,"asset":"Stroke","selectable":true,"left":77.0869658656,"fill":"#262626"},{"opacity":1,"angle":294.5010532585,"flipX":false,"flipY":false,"top":62.88765474510001,"height":37.1248690649,"width":5.1412701045,"asset":"Stroke","selectable":true,"left":240.7097051682,"fill":"#262626"},{"opacity":0.15,"angle":25.3174513353,"flipX":true,"flipY":false,"top":194.2760232433,"height":230.2364302464,"width":45.84703777159999,"asset":"StrokeBent","selectable":true,"left":215.1147259154,"fill":"#000000"},{"opacity":0.15,"angle":474.9502514868,"flipX":false,"flipY":false,"top":53.4540291359,"height":121.99855888630002,"width":13.5599289194,"asset":"Stroke","selectable":true,"left":200.9013104468,"fill":"#000000"},{"opacity":0.11,"angle":302.8098677107,"flipX":false,"flipY":false,"top":80.42974730809999,"height":87.5352360508,"width":7.1553164698,"asset":"Stroke","selectable":false,"left":126.9403201186,"fill":"#000000"},{"opacity":0.2,"angle":302.0788625172,"flipX":false,"flipY":false,"top":107.692167173,"height":108.1251524231,"width":5.258149670199999,"asset":"Stroke","selectable":false,"left":107.16526295000001,"fill":"#000000"},{"opacity":0.2,"angle":539.6469466539,"flipX":false,"flipY":false,"top":210.4691781933,"height":148.0641268491,"width":5.258149670199999,"asset":"Stroke","selectable":false,"left":152.4247992415,"fill":"#000000"},{"opacity":0.1,"angle":359.8259774659,"flipX":false,"flipY":false,"top":197.50528669830004,"height":116.26065897969998,"width":5.3576585141,"asset":"Stroke","selectable":false,"left":186.2419519817,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告