登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
6
複製總數
348
圖層數
20
Jake The Dog
作者:
besp0ke
»
代碼 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": 303,"height": 726,"width": 570,"asset": "Square","selectable": true,"left": 278,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 128.0603015075,"height": 75.8793969849,"width": 75.8793969849,"asset": "Circle","selectable": false,"left": 204.9396984925,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 129.0603015075,"height": 75.8793969849,"width": 75.8793969849,"asset": "Circle","selectable": false,"left": 105.9396984925,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.2721835428,"height": 49.4556329143,"width": 49.4556329143,"asset": "Circle","selectable": false,"left": 109.7278164572,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 123.2721835428,"height": 49.4556329143,"width": 49.4556329143,"asset": "Circle","selectable": false,"left": 209.7278164572,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157.8888888889,"height": 73.7777777778,"width": 93.3071895425,"asset": "Circle","selectable": true,"left": 158.6535947712,"fill": "#000000"},{"opacity": 1,"angle": 19.4400348282,"flipX": false,"flipY": false,"top": 166.2538461538,"height": 63,"width": 19.3035668286,"asset": "Circle","selectable": true,"left": 115.9692307692,"fill": "#000000"},{"opacity": 1,"angle": 23.9690188626,"flipX": false,"flipY": false,"top": 163.7903588747,"height": 60.9505088057,"width": 18.6755907932,"asset": "Circle","selectable": true,"left": 119.8332915832,"fill": "#F9C029"},{"opacity": 1,"angle": -15.1951286867,"flipX": false,"flipY": false,"top": 165.0226362235,"height": 67.2604778702,"width": 20.939727503599997,"asset": "Circle","selectable": true,"left": 196.4285870263,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157.5108548791,"height": 66.5338457973,"width": 84.14574615540002,"asset": "Circle","selectable": false,"left": 159.0728730777,"fill": "#F9C029"},{"opacity": 1,"angle": -12.4025054438,"flipX": false,"flipY": false,"top": 172.0940085237,"height": 76.7349286473,"width": 22.1765627351,"asset": "Circle","selectable": true,"left": 194.8873504805,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 189.530055736,"height": 24.4369958942,"width": 32.1032526197,"asset": "Circle","selectable": true,"left": 118.0516263099,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152.4234871186,"height": 37.8060869874,"width": 53.4817815919,"asset": "Circle","selectable": true,"left": 156.7408907959,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 189.530055736,"height": 24.4369958942,"width": 32,"asset": "Circle","selectable": true,"left": 195,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187,"height": 24,"width": 26,"asset": "Circle","selectable": true,"left": 117,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187,"height": 26,"width": 26,"asset": "Circle","selectable": true,"left": 196,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.4271356784,"height": 29.1457286432,"width": 21,"asset": "Circle","selectable": true,"left": 121.5,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170.9248480535,"height": 42.1503038931,"width": 2,"asset": "Stroke","selectable": true,"left": 133,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 186.5,"height": 21,"width": 21,"asset": "Circle","selectable": true,"left": 191.5,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.9248480535,"height": 42.1503038931,"width": 2,"asset": "Stroke","selectable": true,"left": 181,"fill": "#000000"}]'},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": 303,"height": 726,"width": 570,"asset": "Square","selectable": true,"left": 278,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 128.0603015075,"height": 75.8793969849,"width": 75.8793969849,"asset": "Circle","selectable": false,"left": 204.9396984925,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 129.0603015075,"height": 75.8793969849,"width": 75.8793969849,"asset": "Circle","selectable": false,"left": 105.9396984925,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.2721835428,"height": 49.4556329143,"width": 49.4556329143,"asset": "Circle","selectable": false,"left": 109.7278164572,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 123.2721835428,"height": 49.4556329143,"width": 49.4556329143,"asset": "Circle","selectable": false,"left": 209.7278164572,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157.8888888889,"height": 73.7777777778,"width": 93.3071895425,"asset": "Circle","selectable": true,"left": 158.6535947712,"fill": "#000000"},{"opacity": 1,"angle": 19.4400348282,"flipX": false,"flipY": false,"top": 166.2538461538,"height": 63,"width": 19.3035668286,"asset": "Circle","selectable": true,"left": 115.9692307692,"fill": "#000000"},{"opacity": 1,"angle": 23.9690188626,"flipX": false,"flipY": false,"top": 163.7903588747,"height": 60.9505088057,"width": 18.6755907932,"asset": "Circle","selectable": true,"left": 119.8332915832,"fill": "#F9C029"},{"opacity": 1,"angle": -15.1951286867,"flipX": false,"flipY": false,"top": 165.0226362235,"height": 67.2604778702,"width": 20.939727503599997,"asset": "Circle","selectable": true,"left": 196.4285870263,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 157.5108548791,"height": 66.5338457973,"width": 84.14574615540002,"asset": "Circle","selectable": false,"left": 159.0728730777,"fill": "#F9C029"},{"opacity": 1,"angle": -12.4025054438,"flipX": false,"flipY": false,"top": 172.0940085237,"height": 76.7349286473,"width": 22.1765627351,"asset": "Circle","selectable": true,"left": 194.8873504805,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 189.530055736,"height": 24.4369958942,"width": 32.1032526197,"asset": "Circle","selectable": true,"left": 118.0516263099,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 152.4234871186,"height": 37.8060869874,"width": 53.4817815919,"asset": "Circle","selectable": true,"left": 156.7408907959,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 189.530055736,"height": 24.4369958942,"width": 32,"asset": "Circle","selectable": true,"left": 195,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187,"height": 24,"width": 26,"asset": "Circle","selectable": true,"left": 117,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 187,"height": 26,"width": 26,"asset": "Circle","selectable": true,"left": 196,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 184.4271356784,"height": 29.1457286432,"width": 21,"asset": "Circle","selectable": true,"left": 121.5,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 170.9248480535,"height": 42.1503038931,"width": 2,"asset": "Stroke","selectable": true,"left": 133,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 186.5,"height": 21,"width": 21,"asset": "Circle","selectable": true,"left": 191.5,"fill": "#F9C029"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 167.9248480535,"height": 42.1503038931,"width": 2,"asset": "Stroke","selectable": true,"left": 181,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
e
jakethedog
adventuretime
#jake
#jakethedog
#adventuretime
广告