登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
34
圖層數
20
GermanSourKrout
作者:
GermanSourKrout
»
代碼 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": 139.5,"height": 165,"width": 244,"asset": "Circle","selectable": false,"left": 155,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 180,"height": 56,"width": 156.316037296,"asset": "Circle","selectable": false,"left": 155.841981352,"fill": "#790000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.8994974874,"height": 59.7989949749,"width": 59.7989949749,"asset": "Circle","selectable": false,"left": 119.1005025126,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.8994974874,"height": 59.7989949749,"width": 59.7989949749,"asset": "Circle","selectable": false,"left": 192.1005025126,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 221.9754679929,"height": 65.9509359858,"width": 65.9509359858,"asset": "Circle","selectable": false,"left": 182.176473018,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220.9754679929,"height": 65.9509359858,"width": 65.9509359858,"asset": "Circle","selectable": false,"left": 129.176473018,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.5,"height": 41,"width": 77,"asset": "Square","selectable": false,"left": 154.5,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 234.1495726496,"height": 40.299145299100005,"width": 66,"asset": "Square","selectable": false,"left": 158,"fill": "#F7941D"},{"opacity": 1,"angle": -14.2905487133,"flipX": false,"flipY": false,"top": 211.754247893,"height": 38.0593160196,"width": 41,"asset": "Square","selectable": false,"left": 114.2867152523,"fill": "#F7941D"},{"opacity": 1,"angle": 13.3379484628,"flipX": false,"flipY": false,"top": 211.754247893,"height": 38.0593160196,"width": 41,"asset": "Square","selectable": false,"left": 197.2867152523,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 202.2776496297,"height": 51.4447007406,"width": 24.461272307900003,"asset": "Circle","selectable": false,"left": 137.7693638461,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 202.2776496297,"height": 51.4447007406,"width": 24.461272307900003,"asset": "Circle","selectable": false,"left": 169.7693638461,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 200,"height": 32,"width": 10,"asset": "Circle","selectable": false,"left": 134,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199.6095484263,"height": 32.7809031473,"width": 10,"asset": "Circle","selectable": false,"left": 166,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.429449132,"height": 72.977406455,"width": 53.1046783838,"asset": "Circle","selectable": false,"left": 61.4288389189,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.3316582915,"height": 67.3366834171,"width": 49,"asset": "Circle","selectable": false,"left": 61.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.4292302733,"height": 74.1446229726,"width": 53.9540461646,"asset": "Circle","selectable": false,"left": 246.4289981795,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.3316582915,"height": 67.3366834171,"width": 49,"asset": "Circle","selectable": false,"left": 246.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 105.7476999209,"height": 82.5425635094,"width": 82.5425635094,"asset": "Circle","selectable": false,"left": 153.2523000791,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 106.0290579689,"height": 75.9418840622,"width": 75.9418840622,"asset": "Circle","selectable": false,"left": 152.9709420311,"fill": "#FFFFFF"}]'},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": 139.5,"height": 165,"width": 244,"asset": "Circle","selectable": false,"left": 155,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 180,"height": 56,"width": 156.316037296,"asset": "Circle","selectable": false,"left": 155.841981352,"fill": "#790000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.8994974874,"height": 59.7989949749,"width": 59.7989949749,"asset": "Circle","selectable": false,"left": 119.1005025126,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 193.8994974874,"height": 59.7989949749,"width": 59.7989949749,"asset": "Circle","selectable": false,"left": 192.1005025126,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 221.9754679929,"height": 65.9509359858,"width": 65.9509359858,"asset": "Circle","selectable": false,"left": 182.176473018,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 220.9754679929,"height": 65.9509359858,"width": 65.9509359858,"asset": "Circle","selectable": false,"left": 129.176473018,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.5,"height": 41,"width": 77,"asset": "Square","selectable": false,"left": 154.5,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 234.1495726496,"height": 40.299145299100005,"width": 66,"asset": "Square","selectable": false,"left": 158,"fill": "#F7941D"},{"opacity": 1,"angle": -14.2905487133,"flipX": false,"flipY": false,"top": 211.754247893,"height": 38.0593160196,"width": 41,"asset": "Square","selectable": false,"left": 114.2867152523,"fill": "#F7941D"},{"opacity": 1,"angle": 13.3379484628,"flipX": false,"flipY": false,"top": 211.754247893,"height": 38.0593160196,"width": 41,"asset": "Square","selectable": false,"left": 197.2867152523,"fill": "#F7941D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 202.2776496297,"height": 51.4447007406,"width": 24.461272307900003,"asset": "Circle","selectable": false,"left": 137.7693638461,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 202.2776496297,"height": 51.4447007406,"width": 24.461272307900003,"asset": "Circle","selectable": false,"left": 169.7693638461,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 200,"height": 32,"width": 10,"asset": "Circle","selectable": false,"left": 134,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199.6095484263,"height": 32.7809031473,"width": 10,"asset": "Circle","selectable": false,"left": 166,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.429449132,"height": 72.977406455,"width": 53.1046783838,"asset": "Circle","selectable": false,"left": 61.4288389189,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 141.3316582915,"height": 67.3366834171,"width": 49,"asset": "Circle","selectable": false,"left": 61.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.4292302733,"height": 74.1446229726,"width": 53.9540461646,"asset": "Circle","selectable": false,"left": 246.4289981795,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 139.3316582915,"height": 67.3366834171,"width": 49,"asset": "Circle","selectable": false,"left": 246.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 105.7476999209,"height": 82.5425635094,"width": 82.5425635094,"asset": "Circle","selectable": false,"left": 153.2523000791,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 106.0290579689,"height": 75.9418840622,"width": 75.9418840622,"asset": "Circle","selectable": false,"left": 152.9709420311,"fill": "#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告