登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
57
圖層數
13
Spetsnaz
作者:
Xep_pypr
»
代碼 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": 181.9524351385,"height": 203.9048702771,"width": 263.3524742505,"asset": "Pentagon","selectable": false,"left": 159.6762371253,"fill": "#000000"},{"opacity": 1,"angle": 69.1037597425,"flipX": false,"flipY": false,"top": 115.9532272776,"height": 183.1843127417,"width": 62.20886688,"asset": "StrokeBent","selectable": false,"left": 110.9224369958,"fill": "#000000"},{"opacity": 1,"angle": 117.9672561639,"flipX": false,"flipY": false,"top": 117.7335839037,"height": 181.8244614252,"width": 54.547338427599996,"asset": "StrokeBent","selectable": false,"left": 213.5492072504,"fill": "#000000"},{"opacity": 1,"angle": -25.1198447365,"flipX": false,"flipY": false,"top": 119,"height": 43.770625,"width": 100,"asset": "Eye2","selectable": false,"left": 98,"fill": "#000000"},{"opacity": 1,"angle": 36.4692343901,"flipX": false,"flipY": false,"top": 130,"height": 43.770625,"width": 100,"asset": "Eye2","selectable": false,"left": 218,"fill": "#000000"},{"opacity": 1,"angle": 68.3323612376,"flipX": false,"flipY": false,"top": 119.8454750319,"height": 160.1550343161,"width": 37.3066015705,"asset": "StrokeBent","selectable": false,"left": 110.1870269333,"fill": "#FFFE00"},{"opacity": 1,"angle": 118.6941739434,"flipX": false,"flipY": false,"top": 123.4946006581,"height": 148.4525358932,"width": 33.0190637576,"asset": "StrokeBent","selectable": false,"left": 211.891421021,"fill": "#FFFE00"},{"opacity": 1,"angle": -21.4997790305,"flipX": false,"flipY": false,"top": 213.7376923205,"height": 128.3515934551,"width": 11.5510398659,"asset": "Stroke","selectable": false,"left": 68.2648595824,"fill": "#FFFE00"},{"opacity": 1,"angle": 21.7168923499,"flipX": false,"flipY": false,"top": 217.0150589478,"height": 121.6518174215,"width": 12.839636499,"asset": "Stroke","selectable": false,"left": 247.311128646,"fill": "#FFFE00"},{"opacity": 1,"angle": 91.2318350214,"flipX": false,"flipY": false,"top": 272.224396257,"height": 144.9780448348,"width": 10.5159500969,"asset": "Stroke","selectable": false,"left": 158.3818813704,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 178.8429243586,"height": 138.7911612172,"width": 145.9341834529,"asset": "Star","selectable": false,"left": 158.9670917265,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 181,"height": 95.1053125,"width": 100,"asset": "Star","selectable": false,"left": 158,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 204.1772616699,"height": 58.7570233397,"width": 161.4093079864,"asset": "WeaponCarbine","selectable": false,"left": 153.7046539932,"fill": "#B7B7B7"}]'},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": 181.9524351385,"height": 203.9048702771,"width": 263.3524742505,"asset": "Pentagon","selectable": false,"left": 159.6762371253,"fill": "#000000"},{"opacity": 1,"angle": 69.1037597425,"flipX": false,"flipY": false,"top": 115.9532272776,"height": 183.1843127417,"width": 62.20886688,"asset": "StrokeBent","selectable": false,"left": 110.9224369958,"fill": "#000000"},{"opacity": 1,"angle": 117.9672561639,"flipX": false,"flipY": false,"top": 117.7335839037,"height": 181.8244614252,"width": 54.547338427599996,"asset": "StrokeBent","selectable": false,"left": 213.5492072504,"fill": "#000000"},{"opacity": 1,"angle": -25.1198447365,"flipX": false,"flipY": false,"top": 119,"height": 43.770625,"width": 100,"asset": "Eye2","selectable": false,"left": 98,"fill": "#000000"},{"opacity": 1,"angle": 36.4692343901,"flipX": false,"flipY": false,"top": 130,"height": 43.770625,"width": 100,"asset": "Eye2","selectable": false,"left": 218,"fill": "#000000"},{"opacity": 1,"angle": 68.3323612376,"flipX": false,"flipY": false,"top": 119.8454750319,"height": 160.1550343161,"width": 37.3066015705,"asset": "StrokeBent","selectable": false,"left": 110.1870269333,"fill": "#FFFE00"},{"opacity": 1,"angle": 118.6941739434,"flipX": false,"flipY": false,"top": 123.4946006581,"height": 148.4525358932,"width": 33.0190637576,"asset": "StrokeBent","selectable": false,"left": 211.891421021,"fill": "#FFFE00"},{"opacity": 1,"angle": -21.4997790305,"flipX": false,"flipY": false,"top": 213.7376923205,"height": 128.3515934551,"width": 11.5510398659,"asset": "Stroke","selectable": false,"left": 68.2648595824,"fill": "#FFFE00"},{"opacity": 1,"angle": 21.7168923499,"flipX": false,"flipY": false,"top": 217.0150589478,"height": 121.6518174215,"width": 12.839636499,"asset": "Stroke","selectable": false,"left": 247.311128646,"fill": "#FFFE00"},{"opacity": 1,"angle": 91.2318350214,"flipX": false,"flipY": false,"top": 272.224396257,"height": 144.9780448348,"width": 10.5159500969,"asset": "Stroke","selectable": false,"left": 158.3818813704,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 178.8429243586,"height": 138.7911612172,"width": 145.9341834529,"asset": "Star","selectable": false,"left": 158.9670917265,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 181,"height": 95.1053125,"width": 100,"asset": "Star","selectable": false,"left": 158,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 204.1772616699,"height": 58.7570233397,"width": 161.4093079864,"asset": "WeaponCarbine","selectable": false,"left": 153.7046539932,"fill": "#B7B7B7"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告