登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
14
圖層數
18
4COM
作者:
Serj Groza
»
代碼 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": 180,"height": 247.00089349759998,"width": 146.2932260741,"asset": "Wreath","selectable": false,"left": 79,"fill": "#ABA000"},{"opacity": 1,"angle": -0.7269626128,"flipX": true,"flipY": false,"top": 179,"height": 246.832763196,"width": 146.1936461743,"asset": "Wreath","selectable": false,"left": 243,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 209.8775854111,"height": 172.7701708221,"width": 168.8481724175,"asset": "Heart","selectable": false,"left": 161.4240862087,"fill": "#005E20"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 203,"height": 100,"width": 9,"asset": "Stroke","selectable": false,"left": 122.5,"fill": "#ABA000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 200.75,"height": 100,"width": 11.5,"asset": "Stroke","selectable": false,"left": 134.5,"fill": "#ABA000"},{"opacity": 1,"angle": 10.677554406,"flipX": false,"flipY": false,"top": 123.0285225656,"height": 93.5300287549,"width": 93.5300287549,"asset": "Square","selectable": false,"left": 201.0287981097,"fill": "#003471"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 182,"height": 235.04879734180003,"width": 189.3016906316,"asset": "Shield3","selectable": false,"left": 160,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 207.4114146964,"height": 84.8228293927,"width": 56.08618015119999,"asset": "Lightning1","selectable": false,"left": 204.0176911744,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 263,"height": 41.4293984527,"width": 41.4293984527,"asset": "Circle","selectable": false,"left": 162,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 272.7330725453,"height": 88.7665254431,"width": 114.284919379,"asset": "Skull2","selectable": false,"left": 162.5681446421,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 47.1877531128,"height": 39.259534290800005,"width": 41.2800644452,"asset": "Star","selectable": false,"left": 79.6400322226,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 48.5609654531,"height": 39.4410501713,"width": 41.4709222172,"asset": "Star","selectable": false,"left": 242.9722444033,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.1641604499,"height": 70.5161333998,"width": 73.3108816669,"asset": "Clubs","selectable": false,"left": 201.6554408334,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 43.0076832224,"height": 50.9087977723,"width": 137.359319453,"asset": "Eagle","selectable": false,"left": 162.6796597265,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 150,"height": 79.3077097833,"width": 65.4853673145,"asset": "Number4","selectable": false,"left": 156,"fill": "#ABA000"},{"opacity": 0.61,"angle": 0,"flipX": false,"flipY": false,"top": 150,"height": 79.3077097833,"width": 65.4853673145,"asset": "Number4","selectable": false,"left": 156,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 244,"height": 37.3042436263,"width": 37.3042436263,"asset": "KitRecon","selectable": false,"left": 163,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120,"height": 68.1762625322,"width": 76.5896338058,"asset": "Heart","selectable": false,"left": 112,"fill": "#9E0B0F"}]'},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": 180,"height": 247.00089349759998,"width": 146.2932260741,"asset": "Wreath","selectable": false,"left": 79,"fill": "#ABA000"},{"opacity": 1,"angle": -0.7269626128,"flipX": true,"flipY": false,"top": 179,"height": 246.832763196,"width": 146.1936461743,"asset": "Wreath","selectable": false,"left": 243,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 209.8775854111,"height": 172.7701708221,"width": 168.8481724175,"asset": "Heart","selectable": false,"left": 161.4240862087,"fill": "#005E20"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 203,"height": 100,"width": 9,"asset": "Stroke","selectable": false,"left": 122.5,"fill": "#ABA000"},{"opacity": 1,"angle": 90,"flipX": false,"flipY": false,"top": 200.75,"height": 100,"width": 11.5,"asset": "Stroke","selectable": false,"left": 134.5,"fill": "#ABA000"},{"opacity": 1,"angle": 10.677554406,"flipX": false,"flipY": false,"top": 123.0285225656,"height": 93.5300287549,"width": 93.5300287549,"asset": "Square","selectable": false,"left": 201.0287981097,"fill": "#003471"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 182,"height": 235.04879734180003,"width": 189.3016906316,"asset": "Shield3","selectable": false,"left": 160,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 207.4114146964,"height": 84.8228293927,"width": 56.08618015119999,"asset": "Lightning1","selectable": false,"left": 204.0176911744,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 263,"height": 41.4293984527,"width": 41.4293984527,"asset": "Circle","selectable": false,"left": 162,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 272.7330725453,"height": 88.7665254431,"width": 114.284919379,"asset": "Skull2","selectable": false,"left": 162.5681446421,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 47.1877531128,"height": 39.259534290800005,"width": 41.2800644452,"asset": "Star","selectable": false,"left": 79.6400322226,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 48.5609654531,"height": 39.4410501713,"width": 41.4709222172,"asset": "Star","selectable": false,"left": 242.9722444033,"fill": "#ABA000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 121.1641604499,"height": 70.5161333998,"width": 73.3108816669,"asset": "Clubs","selectable": false,"left": 201.6554408334,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 43.0076832224,"height": 50.9087977723,"width": 137.359319453,"asset": "Eagle","selectable": false,"left": 162.6796597265,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 150,"height": 79.3077097833,"width": 65.4853673145,"asset": "Number4","selectable": false,"left": 156,"fill": "#ABA000"},{"opacity": 0.61,"angle": 0,"flipX": false,"flipY": false,"top": 150,"height": 79.3077097833,"width": 65.4853673145,"asset": "Number4","selectable": false,"left": 156,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 244,"height": 37.3042436263,"width": 37.3042436263,"asset": "KitRecon","selectable": false,"left": 163,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120,"height": 68.1762625322,"width": 76.5896338058,"asset": "Heart","selectable": false,"left": 112,"fill": "#9E0B0F"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告