登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
266
圖層數
21
kuma
代碼 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": 71.4020100503,"height": 160.8040201005,"width": 160.8040201005,"asset": "Circle","selectable": true,"left": 308.4020100503,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 66.7379941882,"height": 151.4759883764,"width": 158,"asset": "Circle","selectable": true,"left": 31,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 66.7604968406,"height": 133.5209936812,"width": 133.5209936812,"asset": "Circle","selectable": true,"left": 32.7604968406,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 67.7604968406,"height": 133.5209936812,"width": 133.5209936812,"asset": "Circle","selectable": true,"left": 306.7604968406,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 70.8969849246,"height": 77.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 13,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 72.8969849246,"height": 73.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 11,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 81.8969849246,"height": 77.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 313,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 84.8969849246,"height": 73.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 313,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 146.472361809,"height": 229.0552763819,"width": 355.3972293419,"asset": "Circle","selectable": true,"left": 158.643338289,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.5,"height": 205,"width": 341.4221105528,"asset": "Circle","selectable": true,"left": 159.2889447236,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 218.4013350372,"height": 317.1973299256,"width": 392.5706377962,"asset": "Circle","selectable": true,"left": 161.4668355035,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 212.0990219233,"height": 314.1980438466,"width": 394.3695086313,"asset": "Circle","selectable": true,"left": 157.2606622913,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 278.5,"height": 73,"width": 102,"asset": "Circle","selectable": true,"left": 161,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 282.94265625,"height": 59.8853125,"width": 100,"asset": "Eye2","selectable": true,"left": 161,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262.5,"height": 26.9999999999,"width": 26,"asset": "Circle","selectable": true,"left": 159,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 237.6331658291,"height": 46.7336683417,"width": 46.7336683417,"asset": "Circle","selectable": true,"left": 61.6331658291,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 244.6331658291,"height": 46.7336683417,"width": 46.7336683417,"asset": "Circle","selectable": true,"left": 264.6331658291,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 286.7833695961,"height": 20.433260807899998,"width": 29,"asset": "Circle","selectable": true,"left": 159.5,"fill": "#790000"},{"opacity": 1,"angle": -49.8795317624,"flipX": false,"flipY": false,"top": 274.5173162423,"height": 50.6488417887,"width": 24.815167948100004,"asset": "StrokeBent","selectable": true,"left": 170.8735354892,"fill": "#000000"},{"opacity": 1,"angle": 40.5333756227,"flipX": true,"flipY": false,"top": 272.8411249492,"height": 42.5822773338,"width": 22.7789678254,"asset": "StrokeBent","selectable": true,"left": 148.4256750098,"fill": "#000000"},{"opacity": 1,"angle": -84.7126998851,"flipX": false,"flipY": false,"top": 290.7000842347,"height": 35.6589147287,"width": 14.158991773099999,"asset": "StrokeBent","selectable": true,"left": 157.9450887792,"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": 71.4020100503,"height": 160.8040201005,"width": 160.8040201005,"asset": "Circle","selectable": true,"left": 308.4020100503,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 66.7379941882,"height": 151.4759883764,"width": 158,"asset": "Circle","selectable": true,"left": 31,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 66.7604968406,"height": 133.5209936812,"width": 133.5209936812,"asset": "Circle","selectable": true,"left": 32.7604968406,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 67.7604968406,"height": 133.5209936812,"width": 133.5209936812,"asset": "Circle","selectable": true,"left": 306.7604968406,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 70.8969849246,"height": 77.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 13,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 72.8969849246,"height": 73.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 11,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 81.8969849246,"height": 77.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 313,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 84.8969849246,"height": 73.7939698492,"width": 88,"asset": "Circle","selectable": true,"left": 313,"fill": "#F6989D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 146.472361809,"height": 229.0552763819,"width": 355.3972293419,"asset": "Circle","selectable": true,"left": 158.643338289,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.5,"height": 205,"width": 341.4221105528,"asset": "Circle","selectable": true,"left": 159.2889447236,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 218.4013350372,"height": 317.1973299256,"width": 392.5706377962,"asset": "Circle","selectable": true,"left": 161.4668355035,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 212.0990219233,"height": 314.1980438466,"width": 394.3695086313,"asset": "Circle","selectable": true,"left": 157.2606622913,"fill": "#FFF79A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 278.5,"height": 73,"width": 102,"asset": "Circle","selectable": true,"left": 161,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 282.94265625,"height": 59.8853125,"width": 100,"asset": "Eye2","selectable": true,"left": 161,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262.5,"height": 26.9999999999,"width": 26,"asset": "Circle","selectable": true,"left": 159,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 237.6331658291,"height": 46.7336683417,"width": 46.7336683417,"asset": "Circle","selectable": true,"left": 61.6331658291,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 244.6331658291,"height": 46.7336683417,"width": 46.7336683417,"asset": "Circle","selectable": true,"left": 264.6331658291,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 286.7833695961,"height": 20.433260807899998,"width": 29,"asset": "Circle","selectable": true,"left": 159.5,"fill": "#790000"},{"opacity": 1,"angle": -49.8795317624,"flipX": false,"flipY": false,"top": 274.5173162423,"height": 50.6488417887,"width": 24.815167948100004,"asset": "StrokeBent","selectable": true,"left": 170.8735354892,"fill": "#000000"},{"opacity": 1,"angle": 40.5333756227,"flipX": true,"flipY": false,"top": 272.8411249492,"height": 42.5822773338,"width": 22.7789678254,"asset": "StrokeBent","selectable": true,"left": 148.4256750098,"fill": "#000000"},{"opacity": 1,"angle": -84.7126998851,"flipX": false,"flipY": false,"top": 290.7000842347,"height": 35.6589147287,"width": 14.158991773099999,"asset": "StrokeBent","selectable": true,"left": 157.9450887792,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告