登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
13
複製總數
587
圖層數
20
Винни-Пух
作者:
MegBegb
»
代碼 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": 162.2640157471,"height": 419.1008958158,"width": 419.1008958158,"asset": "Square","selectable": true,"left": 162.2640157471,"fill": "#FF0000"},{"opacity": 1,"angle": -19.3103110973,"flipX": false,"flipY": false,"top": 270.7094969705,"height": 110.404943627,"width": 46.9957933363,"asset": "Comma","selectable": true,"left": 274.2555055972,"fill": "#000000"},{"opacity": 1,"angle": 17.3785989568,"flipX": true,"flipY": false,"top": 285.0003973071,"height": 103.1365276061,"width": 63.2815384372,"asset": "Comma","selectable": true,"left": 67.41053673,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 268,"height": 192,"width": 231,"asset": "Circle","selectable": false,"left": 167.5,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.6201264099,"height": 86.46626384040002,"width": 86.46626384040002,"asset": "Circle","selectable": true,"left": 246.2331319202,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 116,"height": 106,"width": 87,"asset": "Circle","selectable": true,"left": 100.5,"fill": "#000000"},{"opacity": 1,"angle": 89.4175231337,"flipX": false,"flipY": false,"top": 100.9945555668,"height": 149.9414189678,"width": 33.9474132385,"asset": "StrokeBent","selectable": true,"left": 168.035527362,"fill": "#000000"},{"opacity": 1,"angle": 171.0476540377,"flipX": false,"flipY": false,"top": 164.461678445,"height": 111.1179066586,"width": 30,"asset": "StrokeBent","selectable": true,"left": 267.5215060393,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 146,"height": 106,"width": 194,"asset": "Circle","selectable": false,"left": 171,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195.5,"height": 149,"width": 41,"asset": "StrokeBent","selectable": true,"left": 71.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195.1063829787,"height": 169.7872340426,"width": 116.2234042553,"asset": "Circle","selectable": false,"left": 115.8882978723,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 181.5,"height": 147,"width": 101,"asset": "Circle","selectable": false,"left": 226.5,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164,"height": 92,"width": 158,"asset": "Circle","selectable": false,"left": 173,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 219,"height": 100,"width": 100,"asset": "Circle","selectable": false,"left": 172,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199,"height": 42,"width": 62.3115577889,"asset": "Circle","selectable": true,"left": 171.1557788945,"fill": "#000000"},{"opacity": 1,"angle": 9.3618474675,"flipX": false,"flipY": false,"top": 158.5,"height": 45,"width": 29,"asset": "Circle","selectable": true,"left": 129.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 10.464667969,"flipX": false,"flipY": false,"top": 160.6676063507,"height": 44.0139673716,"width": 27.277428273,"asset": "Circle","selectable": true,"left": 215.5613935308,"fill": "#FFFFFF"},{"opacity": 1,"angle": 13.1626079335,"flipX": false,"flipY": false,"top": 158.588316709,"height": 21,"width": 16.3535654863,"asset": "Circle","selectable": true,"left": 129.1665933543,"fill": "#000000"},{"opacity": 1,"angle": 9.6473860286,"flipX": false,"flipY": false,"top": 162.0933344142,"height": 21,"width": 16.2764768511,"asset": "Circle","selectable": true,"left": 214.8991401742,"fill": "#000000"},{"opacity": 1,"angle": 5.8151381353,"flipX": false,"flipY": false,"top": 250.4215251057,"height": 4.7621990089,"width": 17.1319792818,"asset": "Dogtag","selectable": true,"left": 167.7029211314,"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": 162.2640157471,"height": 419.1008958158,"width": 419.1008958158,"asset": "Square","selectable": true,"left": 162.2640157471,"fill": "#FF0000"},{"opacity": 1,"angle": -19.3103110973,"flipX": false,"flipY": false,"top": 270.7094969705,"height": 110.404943627,"width": 46.9957933363,"asset": "Comma","selectable": true,"left": 274.2555055972,"fill": "#000000"},{"opacity": 1,"angle": 17.3785989568,"flipX": true,"flipY": false,"top": 285.0003973071,"height": 103.1365276061,"width": 63.2815384372,"asset": "Comma","selectable": true,"left": 67.41053673,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 268,"height": 192,"width": 231,"asset": "Circle","selectable": false,"left": 167.5,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.6201264099,"height": 86.46626384040002,"width": 86.46626384040002,"asset": "Circle","selectable": true,"left": 246.2331319202,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 116,"height": 106,"width": 87,"asset": "Circle","selectable": true,"left": 100.5,"fill": "#000000"},{"opacity": 1,"angle": 89.4175231337,"flipX": false,"flipY": false,"top": 100.9945555668,"height": 149.9414189678,"width": 33.9474132385,"asset": "StrokeBent","selectable": true,"left": 168.035527362,"fill": "#000000"},{"opacity": 1,"angle": 171.0476540377,"flipX": false,"flipY": false,"top": 164.461678445,"height": 111.1179066586,"width": 30,"asset": "StrokeBent","selectable": true,"left": 267.5215060393,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 146,"height": 106,"width": 194,"asset": "Circle","selectable": false,"left": 171,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195.5,"height": 149,"width": 41,"asset": "StrokeBent","selectable": true,"left": 71.5,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 195.1063829787,"height": 169.7872340426,"width": 116.2234042553,"asset": "Circle","selectable": false,"left": 115.8882978723,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 181.5,"height": 147,"width": 101,"asset": "Circle","selectable": false,"left": 226.5,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164,"height": 92,"width": 158,"asset": "Circle","selectable": false,"left": 173,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 219,"height": 100,"width": 100,"asset": "Circle","selectable": false,"left": 172,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 199,"height": 42,"width": 62.3115577889,"asset": "Circle","selectable": true,"left": 171.1557788945,"fill": "#000000"},{"opacity": 1,"angle": 9.3618474675,"flipX": false,"flipY": false,"top": 158.5,"height": 45,"width": 29,"asset": "Circle","selectable": true,"left": 129.5,"fill": "#FFFFFF"},{"opacity": 1,"angle": 10.464667969,"flipX": false,"flipY": false,"top": 160.6676063507,"height": 44.0139673716,"width": 27.277428273,"asset": "Circle","selectable": true,"left": 215.5613935308,"fill": "#FFFFFF"},{"opacity": 1,"angle": 13.1626079335,"flipX": false,"flipY": false,"top": 158.588316709,"height": 21,"width": 16.3535654863,"asset": "Circle","selectable": true,"left": 129.1665933543,"fill": "#000000"},{"opacity": 1,"angle": 9.6473860286,"flipX": false,"flipY": false,"top": 162.0933344142,"height": 21,"width": 16.2764768511,"asset": "Circle","selectable": true,"left": 214.8991401742,"fill": "#000000"},{"opacity": 1,"angle": 5.8151381353,"flipX": false,"flipY": false,"top": 250.4215251057,"height": 4.7621990089,"width": 17.1319792818,"asset": "Dogtag","selectable": true,"left": 167.7029211314,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
vinny-pyx
广告