登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
3
圖層數
32
Daniel Yngve
作者:
Lisa Souza
»
代碼 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:'[\n{\n"asset":"Emblem113",\n"left":174.375,\n"top":159.57591516859296,\n"angle":0,\n"width":118.13811913264922,\n"height":158.3481696628141,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":174.87431955291777,\n"top":153.8746105919003,\n"angle":0,\n"width":47.24857680053965,\n"height":58.500778816199386,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":124.42014149132443,\n"top":121.12847854566327,\n"angle":91.28138413328054,\n"width":177.35369377815417,\n"height":43.67781085938905,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":207.62661004670122,\n"top":139.91012633551438,\n"angle":102.5906315831162,\n"width":130.4931036576345,\n"height":26.911643891922274,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":130.97549867964986,\n"top":153.01030880623972,\n"angle":91.28138413328054,\n"width":177.35369377815417,\n"height":44.28867799689623,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":191.00568315718442,\n"top":145.19944938000108,\n"angle":222.7784828413631,\n"width":3.1183121269138123,\n"height":23.214479229078464,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":198.75207813574553,\n"top":144.83097203804599,\n"angle":42.282988175738126,\n"width":0.7999999999999999,\n"height":64.73596067443997,\n"opacity":1,\n"fill":"#000000",\n"flipX":true,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":218.98383050238365,\n"top":156.68516303329363,\n"angle":86.67274162533703,\n"width":175.68460252018332,\n"height":51.003952046122265,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Emblem120",\n"left":174.17055998456533,\n"top":100.41841081567877,\n"angle":179.9011929765635,\n"width":81.71107187142692,\n"height":109.05459684802666,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":204.12403754839156,\n"top":95.25189537626744,\n"angle":180,\n"width":8.001924903216846,\n"height":25.749940946101184,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":154.08851832292544,\n"top":89.62379278438803,\n"angle":285.42179466945015,\n"width":26.811060075843955,\n"height":30.321162142977016,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":192.99323458850685,\n"top":89.50479034412518,\n"angle":78.51523741627562,\n"width":27.770957166051627,\n"height":30.373864314143884,\n"opacity":1,\n"fill":"#000000",\n"flipX":true,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":228.1199149097886,\n"top":123.08073212271506,\n"angle":84.25072189813258,\n"width":192.91017658225235,\n"height":40.75909654137195,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Eye2",\n"left":157.3036942710451,\n"top":86.43721583763063,\n"angle":28.63128190167148,\n"width":18.998460431860384,\n"height":9.91507087430984,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Eye2",\n"left":191.01797185096993,\n"top":85.95896609479813,\n"angle":158.73214969002842,\n"width":19.370242293882498,\n"height":10.487171477560988,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":144.12403754839156,\n"top":97.75189537626744,\n"angle":0,\n"width":8.001924903216846,\n"height":25.74994094610118,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"holiday_Tophat_rim",\n"left":174.46488844485586,\n"top":135.56057395611563,\n"angle":0,\n"width":21.095381153257378,\n"height":3.595989869262107,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":173.0265959731038,\n"top":111.24069993287742,\n"angle":269.0728845714534,\n"width":2.4788403104792422,\n"height":10.10609166200883,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":173.99043719356845,\n"top":141.83998830458972,\n"angle":269.0728845714534,\n"width":2.4788403104792422,\n"height":13.284190157447213,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":169.092037768977,\n"top":115.19534540859308,\n"angle":0,\n"width":3.534542827673631,\n"height":9.140690817186185,\n"opacity":1,\n"fill":"#ED1C24",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":160.66701130271596,\n"top":157.86551902328753,\n"angle":310.06890105378767,\n"width":0.7999999999999999,\n"height":36.214294978856785,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":157.15006618575046,\n"top":147.932439916784,\n"angle":318.0492714995319,\n"width":1.2513109324481064,\n"height":14.48640121805795,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":100.56635010287972,\n"top":159.20232753153422,\n"angle":103.69871474637304,\n"width":38.249876535804006,\n"height":6.740475406745929,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":149.65510089172696,\n"top":154.33743174205026,\n"angle":83.25873056789929,\n"width":63.85417171618516,\n"height":13.168670849826126,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":173.9003446609131,\n"top":43.93788940809969,\n"angle":0,\n"width":69.69931067817375,\n"height":45.375778816199386,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":99.29990910119469,\n"top":188.43805023491527,\n"angle":101.78365774342186,\n"width":57.091338923042734,\n"height":13.611324719896949,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":222.79077197257726,\n"top":60.01405737032187,\n"angle":72.56710820062409,\n"width":82.58472380932704,\n"height":16.730054304055606,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":true,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":126.54077197257728,\n"top":61.26405737032187,\n"angle":104.84857893517906,\n"width":82.58472380932704,\n"height":16.730054304055606,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":203.04808533751714,\n"top":207.01383006238402,\n"angle":112.88944313837523,\n"width":61.637996048326066,\n"height":12.711628073589901,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":154.42592585032628,\n"top":181.05360012479593,\n"angle":74.03763201205557,\n"width":61.57902927818397,\n"height":15.77529447437288,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":true,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":175.46242211838006,\n"top":176.9996105919003,\n"angle":0,\n"width":2.825155763239877,\n"height":17.250778816199386,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":175.70057184115686,\n"top":180.3118623961276,\n"angle":269.5166037569205,\n"width":3.134811899968142,\n"height":11.113646641487946,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n}\n]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
'emblem.emblem.load({\n"objects":[\n{\n"asset":"Emblem113",\n"left":174.375,\n"top":159.57591516859296,\n"angle":0,\n"width":118.13811913264922,\n"height":158.3481696628141,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":174.87431955291777,\n"top":153.8746105919003,\n"angle":0,\n"width":47.24857680053965,\n"height":58.500778816199386,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":124.42014149132443,\n"top":121.12847854566327,\n"angle":91.28138413328054,\n"width":177.35369377815417,\n"height":43.67781085938905,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":207.62661004670122,\n"top":139.91012633551438,\n"angle":102.5906315831162,\n"width":130.4931036576345,\n"height":26.911643891922274,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":130.97549867964986,\n"top":153.01030880623972,\n"angle":91.28138413328054,\n"width":177.35369377815417,\n"height":44.28867799689623,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":191.00568315718442,\n"top":145.19944938000108,\n"angle":222.7784828413631,\n"width":3.1183121269138123,\n"height":23.214479229078464,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":198.75207813574553,\n"top":144.83097203804599,\n"angle":42.282988175738126,\n"width":0.7999999999999999,\n"height":64.73596067443997,\n"opacity":1,\n"fill":"#000000",\n"flipX":true,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":218.98383050238365,\n"top":156.68516303329363,\n"angle":86.67274162533703,\n"width":175.68460252018332,\n"height":51.003952046122265,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Emblem120",\n"left":174.17055998456533,\n"top":100.41841081567877,\n"angle":179.9011929765635,\n"width":81.71107187142692,\n"height":109.05459684802666,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":204.12403754839156,\n"top":95.25189537626744,\n"angle":180,\n"width":8.001924903216846,\n"height":25.749940946101184,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":154.08851832292544,\n"top":89.62379278438803,\n"angle":285.42179466945015,\n"width":26.811060075843955,\n"height":30.321162142977016,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":192.99323458850685,\n"top":89.50479034412518,\n"angle":78.51523741627562,\n"width":27.770957166051627,\n"height":30.373864314143884,\n"opacity":1,\n"fill":"#000000",\n"flipX":true,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":228.1199149097886,\n"top":123.08073212271506,\n"angle":84.25072189813258,\n"width":192.91017658225235,\n"height":40.75909654137195,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Eye2",\n"left":157.3036942710451,\n"top":86.43721583763063,\n"angle":28.63128190167148,\n"width":18.998460431860384,\n"height":9.91507087430984,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Eye2",\n"left":191.01797185096993,\n"top":85.95896609479813,\n"angle":158.73214969002842,\n"width":19.370242293882498,\n"height":10.487171477560988,\n"opacity":1,\n"fill":"#FFFFFF",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":144.12403754839156,\n"top":97.75189537626744,\n"angle":0,\n"width":8.001924903216846,\n"height":25.74994094610118,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"holiday_Tophat_rim",\n"left":174.46488844485586,\n"top":135.56057395611563,\n"angle":0,\n"width":21.095381153257378,\n"height":3.595989869262107,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":173.0265959731038,\n"top":111.24069993287742,\n"angle":269.0728845714534,\n"width":2.4788403104792422,\n"height":10.10609166200883,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":173.99043719356845,\n"top":141.83998830458972,\n"angle":269.0728845714534,\n"width":2.4788403104792422,\n"height":13.284190157447213,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":169.092037768977,\n"top":115.19534540859308,\n"angle":0,\n"width":3.534542827673631,\n"height":9.140690817186185,\n"opacity":1,\n"fill":"#ED1C24",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":160.66701130271596,\n"top":157.86551902328753,\n"angle":310.06890105378767,\n"width":0.7999999999999999,\n"height":36.214294978856785,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"StrokeBent",\n"left":157.15006618575046,\n"top":147.932439916784,\n"angle":318.0492714995319,\n"width":1.2513109324481064,\n"height":14.48640121805795,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":100.56635010287972,\n"top":159.20232753153422,\n"angle":103.69871474637304,\n"width":38.249876535804006,\n"height":6.740475406745929,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":149.65510089172696,\n"top":154.33743174205026,\n"angle":83.25873056789929,\n"width":63.85417171618516,\n"height":13.168670849826126,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Shield4",\n"left":173.9003446609131,\n"top":43.93788940809969,\n"angle":0,\n"width":69.69931067817375,\n"height":45.375778816199386,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":99.29990910119469,\n"top":188.43805023491527,\n"angle":101.78365774342186,\n"width":57.091338923042734,\n"height":13.611324719896949,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":222.79077197257726,\n"top":60.01405737032187,\n"angle":72.56710820062409,\n"width":82.58472380932704,\n"height":16.730054304055606,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":true,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":126.54077197257728,\n"top":61.26405737032187,\n"angle":104.84857893517906,\n"width":82.58472380932704,\n"height":16.730054304055606,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":203.04808533751714,\n"top":207.01383006238402,\n"angle":112.88944313837523,\n"width":61.637996048326066,\n"height":12.711628073589901,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":false,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Wingpart",\n"left":154.42592585032628,\n"top":181.05360012479593,\n"angle":74.03763201205557,\n"width":61.57902927818397,\n"height":15.77529447437288,\n"opacity":1,\n"fill":"#ABA000",\n"flipX":true,\n"flipY":true,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":175.46242211838006,\n"top":176.9996105919003,\n"angle":0,\n"width":2.825155763239877,\n"height":17.250778816199386,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n},\n{\n"asset":"Stroke",\n"left":175.70057184115686,\n"top":180.3118623961276,\n"angle":269.5166037569205,\n"width":3.134811899968142,\n"height":11.113646641487946,\n"opacity":1,\n"fill":"#000000",\n"flipX":false,\n"flipY":false,\n"selectable":true\n}\n]\n});'
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告