登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
8
複製總數
60
圖層數
40
Doug
作者:
seriosbrad
»
代碼 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": 138,"height": 252,"width": 262.8140703518,"asset": "Circle","selectable": false,"left": 161.4070351759,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 137.2907923228,"height": 246.6961872333,"width": 257.2826551867,"asset": "Circle","selectable": false,"left": 160.7103062631,"fill": "#86A53F"},{"opacity": 1,"angle": -85.016203905,"flipX": false,"flipY": false,"top": 89.398831184,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 99.934429281,"fill": "#000000"},{"opacity": 1,"angle": -85.016203905,"flipX": true,"flipY": false,"top": 73,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 102,"fill": "#000000"},{"opacity": 1,"angle": -67.5441296132,"flipX": true,"flipY": false,"top": 53.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 128.065570719,"fill": "#000000"},{"opacity": 1,"angle": -33.5621085097,"flipX": true,"flipY": false,"top": 69.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 140.065570719,"fill": "#000000"},{"opacity": 1,"angle": -2.7072890885,"flipX": true,"flipY": false,"top": 80.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 147,"fill": "#000000"},{"opacity": 1,"angle": -2.7072890885,"flipX": true,"flipY": false,"top": 80.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 147,"fill": "#000000"},{"opacity": 1,"angle": 37.4071665079,"flipX": false,"flipY": false,"top": 50.8400925125,"height": 26.301974429700003,"width": 4.4876343344,"asset": "StrokeBent","selectable": false,"left": 161.5327728244,"fill": "#000000"},{"opacity": 1,"angle": -13.2441626953,"flipX": false,"flipY": false,"top": 124.8495415822,"height": 168.80597099530002,"width": 135.8980725276,"asset": "Circle","selectable": false,"left": 130.6307653457,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 114,"height": 150,"width": 138,"asset": "Circle","selectable": false,"left": 126,"fill": "#000000"},{"opacity": 1,"angle": -13.2441626953,"flipX": false,"flipY": false,"top": 124.5202034922,"height": 166.4651175048,"width": 134.0135569767,"asset": "Circle","selectable": false,"left": 130.4187923656,"fill": "#FFE7C9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 113.7377686959,"height": 147.3885359016,"width": 135.5974530294,"asset": "Circle","selectable": false,"left": 126.2412527997,"fill": "#FFE7C9"},{"opacity": 1,"angle": 3.7621743533,"flipX": false,"flipY": false,"top": 129.7194344404,"height": 74.7741260842,"width": 105.0991004806,"asset": "Circle","selectable": false,"left": 137.8266488104,"fill": "#000000"},{"opacity": 1,"angle": 3.7621743533,"flipX": false,"flipY": false,"top": 129.900581435,"height": 72.6978372853,"width": 105.0991004806,"asset": "Circle","selectable": false,"left": 135.9880883422,"fill": "#FFE7C9"},{"opacity": 1,"angle": -9.0656792544,"flipX": false,"flipY": false,"top": 141.8940081559,"height": 26.9148761685,"width": 43.9433453867,"asset": "Circle","selectable": false,"left": 76.2753361865,"fill": "#000000"},{"opacity": 1,"angle": -16.2055407974,"flipX": false,"flipY": false,"top": 122.3301313265,"height": 129.1642368453,"width": 94.6644781076,"asset": "Circle","selectable": false,"left": 107.0616148543,"fill": "#FFE7C9"},{"opacity": 1,"angle": -76.4317992107,"flipX": false,"flipY": false,"top": 171.9608937144,"height": 43.6774650872,"width": 6.870252886000001,"asset": "StrokeBent","selectable": false,"left": 144.5830078679,"fill": "#000000"},{"opacity": 1,"angle": 213.3071057874,"flipX": true,"flipY": false,"top": 183.2592459195,"height": 21.7593841211,"width": 3.6636674941,"asset": "StrokeBent","selectable": false,"left": 159.5059220962,"fill": "#000000"},{"opacity": 1,"angle": -54.3471148877,"flipX": false,"flipY": false,"top": 179.6617475914,"height": 40.1937748864,"width": 6.3222853561,"asset": "StrokeBent","selectable": false,"left": 137.6358722209,"fill": "#000000"},{"opacity": 1,"angle": 60.1182914785,"flipX": true,"flipY": false,"top": 165.0491037972,"height": 15.7132150887,"width": 1.7157132151,"asset": "Stroke","selectable": false,"left": 124.026808019,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102.736337469,"height": 10.0014225491,"width": 8.1952833005,"asset": "Circle","selectable": false,"left": 120.9743897397,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.9639112553,"height": 11.5483982949,"width": 5.4294019802,"asset": "Circle","selectable": false,"left": 176.0169668812,"fill": "#000000"},{"opacity": 1,"angle": 21.9682230788,"flipX": false,"flipY": false,"top": 76.0625451924,"height": 20.0144615712,"width": 5.0282639453,"asset": "StrokeBent","selectable": false,"left": 105.0523777494,"fill": "#000000"},{"opacity": 1,"angle": -9.0656792544,"flipX": false,"flipY": false,"top": 141.9123112272,"height": 24.188700759600003,"width": 44.2211055276,"asset": "Circle","selectable": false,"left": 78.0997053259,"fill": "#FFE7C9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232.5,"height": 33,"width": 62,"asset": "Circle","selectable": false,"left": 131,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232.4962462181,"height": 30.9006373347,"width": 58.0557428713,"asset": "Circle","selectable": false,"left": 131.0070525599,"fill": "#FFE7C9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216,"height": 36,"width": 21,"asset": "Square","selectable": false,"left": 131.5,"fill": "#FFE7C9"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 226.0716524289,"height": 22.9287772391,"width": 2.9807410411,"asset": "StrokeBent","selectable": false,"left": 132.0310493858,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216.0608940257,"height": 19.4860882103,"width": 1.28,"asset": "Stroke","selectable": false,"left": 120.1670158765,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216,"height": 19.4860882103,"width": 1.28,"asset": "Stroke","selectable": false,"left": 142,"fill": "#000000"},{"opacity": 1,"angle": -67.0778496049,"flipX": false,"flipY": false,"top": 33.9636405951,"height": 11.6350095829,"width": 3.4977123685000002,"asset": "StrokeBent","selectable": false,"left": 137.0364345038,"fill": "#000000"},{"opacity": 1,"angle": 269.4934575863,"flipX": false,"flipY": false,"top": 33.6979135141,"height": 9.4475969878,"width": 2.840133186,"asset": "StrokeBent","selectable": false,"left": 109.0295847207,"fill": "#000000"},{"opacity": 1,"angle": -87.0052599637,"flipX": false,"flipY": false,"top": 238.6090650293,"height": 54.9260172357,"width": 15.1888260962,"asset": "StrokeBent","selectable": false,"left": 130.0815505343,"fill": "#F4DCBD"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.1937244449,"height": 61.99182236429999,"width": 61.99182236429999,"asset": "Circle","selectable": false,"left": 212.1937244449,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.189921534,"height": 60.774890882600005,"width": 60.774890882600005,"asset": "Circle","selectable": false,"left": 212.189921534,"fill": "#EA4323"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.1547052318,"height": 49.5056741658,"width": 49.5056741658,"asset": "Circle","selectable": false,"left": 212.1547052318,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.1486651767,"height": 47.5728565318,"width": 47.5728565318,"asset": "Circle","selectable": false,"left": 212.1486651767,"fill": "#86A53F"},{"opacity": 1,"angle": -30.473727151,"flipX": false,"flipY": false,"top": 228.0801324621,"height": 25.642387874,"width": 5.8302692429,"asset": "Stroke","selectable": false,"left": 223.0910979569,"fill": "#EA4323"},{"opacity": 1,"angle": 46.1653471709,"flipX": false,"flipY": false,"top": 77.2486987341,"height": 115.9990504106,"width": 51.42557469089999,"asset": "StrokeBent","selectable": true,"left": 98.4780192746,"fill": "#F4DCBD"}]'},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": 138,"height": 252,"width": 262.8140703518,"asset": "Circle","selectable": false,"left": 161.4070351759,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 137.2907923228,"height": 246.6961872333,"width": 257.2826551867,"asset": "Circle","selectable": false,"left": 160.7103062631,"fill": "#86A53F"},{"opacity": 1,"angle": -85.016203905,"flipX": false,"flipY": false,"top": 89.398831184,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 99.934429281,"fill": "#000000"},{"opacity": 1,"angle": -85.016203905,"flipX": true,"flipY": false,"top": 73,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 102,"fill": "#000000"},{"opacity": 1,"angle": -67.5441296132,"flipX": true,"flipY": false,"top": 53.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 128.065570719,"fill": "#000000"},{"opacity": 1,"angle": -33.5621085097,"flipX": true,"flipY": false,"top": 69.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 140.065570719,"fill": "#000000"},{"opacity": 1,"angle": -2.7072890885,"flipX": true,"flipY": false,"top": 80.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 147,"fill": "#000000"},{"opacity": 1,"angle": -2.7072890885,"flipX": true,"flipY": false,"top": 80.2810173673,"height": 89.925557546,"width": 6.2947890282,"asset": "StrokeBent","selectable": false,"left": 147,"fill": "#000000"},{"opacity": 1,"angle": 37.4071665079,"flipX": false,"flipY": false,"top": 50.8400925125,"height": 26.301974429700003,"width": 4.4876343344,"asset": "StrokeBent","selectable": false,"left": 161.5327728244,"fill": "#000000"},{"opacity": 1,"angle": -13.2441626953,"flipX": false,"flipY": false,"top": 124.8495415822,"height": 168.80597099530002,"width": 135.8980725276,"asset": "Circle","selectable": false,"left": 130.6307653457,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 114,"height": 150,"width": 138,"asset": "Circle","selectable": false,"left": 126,"fill": "#000000"},{"opacity": 1,"angle": -13.2441626953,"flipX": false,"flipY": false,"top": 124.5202034922,"height": 166.4651175048,"width": 134.0135569767,"asset": "Circle","selectable": false,"left": 130.4187923656,"fill": "#FFE7C9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 113.7377686959,"height": 147.3885359016,"width": 135.5974530294,"asset": "Circle","selectable": false,"left": 126.2412527997,"fill": "#FFE7C9"},{"opacity": 1,"angle": 3.7621743533,"flipX": false,"flipY": false,"top": 129.7194344404,"height": 74.7741260842,"width": 105.0991004806,"asset": "Circle","selectable": false,"left": 137.8266488104,"fill": "#000000"},{"opacity": 1,"angle": 3.7621743533,"flipX": false,"flipY": false,"top": 129.900581435,"height": 72.6978372853,"width": 105.0991004806,"asset": "Circle","selectable": false,"left": 135.9880883422,"fill": "#FFE7C9"},{"opacity": 1,"angle": -9.0656792544,"flipX": false,"flipY": false,"top": 141.8940081559,"height": 26.9148761685,"width": 43.9433453867,"asset": "Circle","selectable": false,"left": 76.2753361865,"fill": "#000000"},{"opacity": 1,"angle": -16.2055407974,"flipX": false,"flipY": false,"top": 122.3301313265,"height": 129.1642368453,"width": 94.6644781076,"asset": "Circle","selectable": false,"left": 107.0616148543,"fill": "#FFE7C9"},{"opacity": 1,"angle": -76.4317992107,"flipX": false,"flipY": false,"top": 171.9608937144,"height": 43.6774650872,"width": 6.870252886000001,"asset": "StrokeBent","selectable": false,"left": 144.5830078679,"fill": "#000000"},{"opacity": 1,"angle": 213.3071057874,"flipX": true,"flipY": false,"top": 183.2592459195,"height": 21.7593841211,"width": 3.6636674941,"asset": "StrokeBent","selectable": false,"left": 159.5059220962,"fill": "#000000"},{"opacity": 1,"angle": -54.3471148877,"flipX": false,"flipY": false,"top": 179.6617475914,"height": 40.1937748864,"width": 6.3222853561,"asset": "StrokeBent","selectable": false,"left": 137.6358722209,"fill": "#000000"},{"opacity": 1,"angle": 60.1182914785,"flipX": true,"flipY": false,"top": 165.0491037972,"height": 15.7132150887,"width": 1.7157132151,"asset": "Stroke","selectable": false,"left": 124.026808019,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 102.736337469,"height": 10.0014225491,"width": 8.1952833005,"asset": "Circle","selectable": false,"left": 120.9743897397,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 97.9639112553,"height": 11.5483982949,"width": 5.4294019802,"asset": "Circle","selectable": false,"left": 176.0169668812,"fill": "#000000"},{"opacity": 1,"angle": 21.9682230788,"flipX": false,"flipY": false,"top": 76.0625451924,"height": 20.0144615712,"width": 5.0282639453,"asset": "StrokeBent","selectable": false,"left": 105.0523777494,"fill": "#000000"},{"opacity": 1,"angle": -9.0656792544,"flipX": false,"flipY": false,"top": 141.9123112272,"height": 24.188700759600003,"width": 44.2211055276,"asset": "Circle","selectable": false,"left": 78.0997053259,"fill": "#FFE7C9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232.5,"height": 33,"width": 62,"asset": "Circle","selectable": false,"left": 131,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 232.4962462181,"height": 30.9006373347,"width": 58.0557428713,"asset": "Circle","selectable": false,"left": 131.0070525599,"fill": "#FFE7C9"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216,"height": 36,"width": 21,"asset": "Square","selectable": false,"left": 131.5,"fill": "#FFE7C9"},{"opacity": 1,"angle": 90,"flipX": true,"flipY": false,"top": 226.0716524289,"height": 22.9287772391,"width": 2.9807410411,"asset": "StrokeBent","selectable": false,"left": 132.0310493858,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216.0608940257,"height": 19.4860882103,"width": 1.28,"asset": "Stroke","selectable": false,"left": 120.1670158765,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 216,"height": 19.4860882103,"width": 1.28,"asset": "Stroke","selectable": false,"left": 142,"fill": "#000000"},{"opacity": 1,"angle": -67.0778496049,"flipX": false,"flipY": false,"top": 33.9636405951,"height": 11.6350095829,"width": 3.4977123685000002,"asset": "StrokeBent","selectable": false,"left": 137.0364345038,"fill": "#000000"},{"opacity": 1,"angle": 269.4934575863,"flipX": false,"flipY": false,"top": 33.6979135141,"height": 9.4475969878,"width": 2.840133186,"asset": "StrokeBent","selectable": false,"left": 109.0295847207,"fill": "#000000"},{"opacity": 1,"angle": -87.0052599637,"flipX": false,"flipY": false,"top": 238.6090650293,"height": 54.9260172357,"width": 15.1888260962,"asset": "StrokeBent","selectable": false,"left": 130.0815505343,"fill": "#F4DCBD"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.1937244449,"height": 61.99182236429999,"width": 61.99182236429999,"asset": "Circle","selectable": false,"left": 212.1937244449,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.189921534,"height": 60.774890882600005,"width": 60.774890882600005,"asset": "Circle","selectable": false,"left": 212.189921534,"fill": "#EA4323"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.1547052318,"height": 49.5056741658,"width": 49.5056741658,"asset": "Circle","selectable": false,"left": 212.1547052318,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 205.1486651767,"height": 47.5728565318,"width": 47.5728565318,"asset": "Circle","selectable": false,"left": 212.1486651767,"fill": "#86A53F"},{"opacity": 1,"angle": -30.473727151,"flipX": false,"flipY": false,"top": 228.0801324621,"height": 25.642387874,"width": 5.8302692429,"asset": "Stroke","selectable": false,"left": 223.0910979569,"fill": "#EA4323"},{"opacity": 1,"angle": 46.1653471709,"flipX": false,"flipY": false,"top": 77.2486987341,"height": 115.9990504106,"width": 51.42557469089999,"asset": "StrokeBent","selectable": true,"left": 98.4780192746,"fill": "#F4DCBD"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
doug
cartoon
广告