登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
6
複製總數
86
圖層數
25
Winson
作者:
Max3o1
»
代碼 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": 165.2144209667,"height": 368.9681429912,"width": 368.9681429912,"asset": "Square","selectable": false,"left": 165.2144209667,"fill": "#6ECFF6"},{"opacity": 1,"angle": -4.3841436799,"flipX": false,"flipY": false,"top": 155.4367074664,"height": 233.8863749159,"width": 176.9587281961,"asset": "Circle","selectable": false,"left": 275.0824936698,"fill": "#000000"},{"opacity": 1,"angle": 1.9699745195,"flipX": false,"flipY": false,"top": 162.7465363275,"height": 228.98816098920003,"width": 170.3576541187,"asset": "Circle","selectable": false,"left": 272.4432957104,"fill": "#FFFFFF"},{"opacity": 1,"angle": 20.4350780789,"flipX": false,"flipY": false,"top": 115.3344552671,"height": 232.6192035767,"width": 175.436628345,"asset": "Circle","selectable": false,"left": 62.1890872007,"fill": "#000000"},{"opacity": 1,"angle": 20.4350780789,"flipX": false,"flipY": false,"top": 123.7465363275,"height": 228.98816098920003,"width": 170.3576541187,"asset": "Circle","selectable": false,"left": 59.4432957104,"fill": "#FFFFFF"},{"opacity": 1,"angle": 104.2046916582,"flipX": false,"flipY": false,"top": 240.5557289822,"height": 60.86605921980001,"width": 9.5551119321,"asset": "StrokeBent","selectable": true,"left": 147.4789765571,"fill": "#438CCA"},{"opacity": 1,"angle": 24.0430795155,"flipX": false,"flipY": false,"top": 254.2623696582,"height": 2.1684034791,"width": 6.719074967200001,"asset": "Eye2","selectable": true,"left": 158.4657674756,"fill": "#438CCA"},{"opacity": 1,"angle": 2.0972873026,"flipX": false,"flipY": false,"top": 246.3522122859,"height": 1.9661274261,"width": 7.2555990418,"asset": "Eye2","selectable": true,"left": 127.722121966,"fill": "#438CCA"},{"opacity": 1,"angle": -8.0101062181,"flipX": false,"flipY": false,"top": 160.6128312432,"height": 167.8607854158,"width": 143.1430770382,"asset": "Circle","selectable": true,"left": 262.2393766446,"fill": "#9E005D"},{"opacity": 1,"angle": 36.1463551469,"flipX": false,"flipY": false,"top": 129.1041319789,"height": 170.7933523095,"width": 143.1430770382,"asset": "Circle","selectable": true,"left": 64.8275788063,"fill": "#9E005D"},{"opacity": 1,"angle": -37.7230452611,"flipX": false,"flipY": false,"top": 173.2854058709,"height": 92.4112840718,"width": 19.4025341081,"asset": "Stroke","selectable": true,"left": 297.3596059448,"fill": "#F06EA9"},{"opacity": 1,"angle": 47.7932888135,"flipX": false,"flipY": false,"top": 141.2854058709,"height": 92.4112840718,"width": 19.4025341081,"asset": "Stroke","selectable": true,"left": 23.3596059448,"fill": "#F06EA9"},{"opacity": 1,"angle": -8.4623133283,"flipX": false,"flipY": false,"top": 158.2621603527,"height": 137.2571188647,"width": 121.50137189540001,"asset": "Circle","selectable": true,"left": 254.2613975489,"fill": "#000000"},{"opacity": 1,"angle": 36.299045323,"flipX": false,"flipY": false,"top": 130.8642137711,"height": 135.3504813047,"width": 121.4280548735,"asset": "Circle","selectable": true,"left": 73.4589994213,"fill": "#000000"},{"opacity": 1,"angle": 28.7460417085,"flipX": false,"flipY": false,"top": 120,"height": 72,"width": 121.10552763819999,"asset": "Circle","selectable": true,"left": 295.5527638191,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.5372739106,"flipX": false,"flipY": false,"top": 86.2342189062,"height": 62.30843215249999,"width": 104.8041048908,"asset": "Circle","selectable": true,"left": 95.255247922,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.5372739106,"flipX": false,"flipY": false,"top": 107.6177504949,"height": 23.919275858,"width": 40.232729493099995,"asset": "Circle","selectable": true,"left": 34.6282930227,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.5372739106,"flipX": false,"flipY": false,"top": 153.6177504949,"height": 23.919275858,"width": 40.232729493099995,"asset": "Circle","selectable": true,"left": 243.6282930227,"fill": "#FFFFFF"},{"opacity": 1,"angle": 209.542746603,"flipX": false,"flipY": false,"top": 22.6348118695,"height": 134.4931648065,"width": 73.7259842039,"asset": "Triangle","selectable": true,"left": 251.401895171,"fill": "#FFF79A"},{"opacity": 1,"angle": 209.542746603,"flipX": false,"flipY": false,"top": 58.0665512856,"height": 176.86420831699996,"width": 73.7283700343,"asset": "Triangle","selectable": true,"left": 105.9569291317,"fill": "#FFF79A"},{"opacity": 1,"angle": 144.8216000898,"flipX": true,"flipY": false,"top": 18.7595914108,"height": 78.8051921783,"width": 243.7949447694,"asset": "Wingpart","selectable": true,"left": 66.8974723847,"fill": "#F26522"},{"opacity": 1,"angle": 144.8216000898,"flipX": true,"flipY": false,"top": 19.2255636894,"height": 65.3681928874,"width": 202.2256977509,"asset": "Wingpart","selectable": true,"left": 197.7795981563,"fill": "#FFF79A"},{"opacity": 1,"angle": 144.8216000898,"flipX": true,"flipY": false,"top": 4.7595914108,"height": 78.8051921783,"width": 243.7949447694,"asset": "Wingpart","selectable": true,"left": 30.8974723847,"fill": "#F26522"},{"opacity": 1,"angle": -75.8997845883,"flipX": false,"flipY": false,"top": 295.4264514063,"height": 33.015154357,"width": 11.2181588863,"asset": "StrokeBent","selectable": true,"left": 116.8351402256,"fill": "#438CCA"},{"opacity": 1,"angle": -75.8997845883,"flipX": false,"flipY": false,"top": 302.1218539057,"height": 29.121707240200003,"width": 11.6741871534,"asset": "StrokeBent","selectable": true,"left": 144.6676626461,"fill": "#438CCA"}]'},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": 165.2144209667,"height": 368.9681429912,"width": 368.9681429912,"asset": "Square","selectable": false,"left": 165.2144209667,"fill": "#6ECFF6"},{"opacity": 1,"angle": -4.3841436799,"flipX": false,"flipY": false,"top": 155.4367074664,"height": 233.8863749159,"width": 176.9587281961,"asset": "Circle","selectable": false,"left": 275.0824936698,"fill": "#000000"},{"opacity": 1,"angle": 1.9699745195,"flipX": false,"flipY": false,"top": 162.7465363275,"height": 228.98816098920003,"width": 170.3576541187,"asset": "Circle","selectable": false,"left": 272.4432957104,"fill": "#FFFFFF"},{"opacity": 1,"angle": 20.4350780789,"flipX": false,"flipY": false,"top": 115.3344552671,"height": 232.6192035767,"width": 175.436628345,"asset": "Circle","selectable": false,"left": 62.1890872007,"fill": "#000000"},{"opacity": 1,"angle": 20.4350780789,"flipX": false,"flipY": false,"top": 123.7465363275,"height": 228.98816098920003,"width": 170.3576541187,"asset": "Circle","selectable": false,"left": 59.4432957104,"fill": "#FFFFFF"},{"opacity": 1,"angle": 104.2046916582,"flipX": false,"flipY": false,"top": 240.5557289822,"height": 60.86605921980001,"width": 9.5551119321,"asset": "StrokeBent","selectable": true,"left": 147.4789765571,"fill": "#438CCA"},{"opacity": 1,"angle": 24.0430795155,"flipX": false,"flipY": false,"top": 254.2623696582,"height": 2.1684034791,"width": 6.719074967200001,"asset": "Eye2","selectable": true,"left": 158.4657674756,"fill": "#438CCA"},{"opacity": 1,"angle": 2.0972873026,"flipX": false,"flipY": false,"top": 246.3522122859,"height": 1.9661274261,"width": 7.2555990418,"asset": "Eye2","selectable": true,"left": 127.722121966,"fill": "#438CCA"},{"opacity": 1,"angle": -8.0101062181,"flipX": false,"flipY": false,"top": 160.6128312432,"height": 167.8607854158,"width": 143.1430770382,"asset": "Circle","selectable": true,"left": 262.2393766446,"fill": "#9E005D"},{"opacity": 1,"angle": 36.1463551469,"flipX": false,"flipY": false,"top": 129.1041319789,"height": 170.7933523095,"width": 143.1430770382,"asset": "Circle","selectable": true,"left": 64.8275788063,"fill": "#9E005D"},{"opacity": 1,"angle": -37.7230452611,"flipX": false,"flipY": false,"top": 173.2854058709,"height": 92.4112840718,"width": 19.4025341081,"asset": "Stroke","selectable": true,"left": 297.3596059448,"fill": "#F06EA9"},{"opacity": 1,"angle": 47.7932888135,"flipX": false,"flipY": false,"top": 141.2854058709,"height": 92.4112840718,"width": 19.4025341081,"asset": "Stroke","selectable": true,"left": 23.3596059448,"fill": "#F06EA9"},{"opacity": 1,"angle": -8.4623133283,"flipX": false,"flipY": false,"top": 158.2621603527,"height": 137.2571188647,"width": 121.50137189540001,"asset": "Circle","selectable": true,"left": 254.2613975489,"fill": "#000000"},{"opacity": 1,"angle": 36.299045323,"flipX": false,"flipY": false,"top": 130.8642137711,"height": 135.3504813047,"width": 121.4280548735,"asset": "Circle","selectable": true,"left": 73.4589994213,"fill": "#000000"},{"opacity": 1,"angle": 28.7460417085,"flipX": false,"flipY": false,"top": 120,"height": 72,"width": 121.10552763819999,"asset": "Circle","selectable": true,"left": 295.5527638191,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.5372739106,"flipX": false,"flipY": false,"top": 86.2342189062,"height": 62.30843215249999,"width": 104.8041048908,"asset": "Circle","selectable": true,"left": 95.255247922,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.5372739106,"flipX": false,"flipY": false,"top": 107.6177504949,"height": 23.919275858,"width": 40.232729493099995,"asset": "Circle","selectable": true,"left": 34.6282930227,"fill": "#FFFFFF"},{"opacity": 1,"angle": 29.5372739106,"flipX": false,"flipY": false,"top": 153.6177504949,"height": 23.919275858,"width": 40.232729493099995,"asset": "Circle","selectable": true,"left": 243.6282930227,"fill": "#FFFFFF"},{"opacity": 1,"angle": 209.542746603,"flipX": false,"flipY": false,"top": 22.6348118695,"height": 134.4931648065,"width": 73.7259842039,"asset": "Triangle","selectable": true,"left": 251.401895171,"fill": "#FFF79A"},{"opacity": 1,"angle": 209.542746603,"flipX": false,"flipY": false,"top": 58.0665512856,"height": 176.86420831699996,"width": 73.7283700343,"asset": "Triangle","selectable": true,"left": 105.9569291317,"fill": "#FFF79A"},{"opacity": 1,"angle": 144.8216000898,"flipX": true,"flipY": false,"top": 18.7595914108,"height": 78.8051921783,"width": 243.7949447694,"asset": "Wingpart","selectable": true,"left": 66.8974723847,"fill": "#F26522"},{"opacity": 1,"angle": 144.8216000898,"flipX": true,"flipY": false,"top": 19.2255636894,"height": 65.3681928874,"width": 202.2256977509,"asset": "Wingpart","selectable": true,"left": 197.7795981563,"fill": "#FFF79A"},{"opacity": 1,"angle": 144.8216000898,"flipX": true,"flipY": false,"top": 4.7595914108,"height": 78.8051921783,"width": 243.7949447694,"asset": "Wingpart","selectable": true,"left": 30.8974723847,"fill": "#F26522"},{"opacity": 1,"angle": -75.8997845883,"flipX": false,"flipY": false,"top": 295.4264514063,"height": 33.015154357,"width": 11.2181588863,"asset": "StrokeBent","selectable": true,"left": 116.8351402256,"fill": "#438CCA"},{"opacity": 1,"angle": -75.8997845883,"flipX": false,"flipY": false,"top": 302.1218539057,"height": 29.121707240200003,"width": 11.6741871534,"asset": "StrokeBent","selectable": true,"left": 144.6676626461,"fill": "#438CCA"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告