登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
319
圖層數
20
HOMER SIMPSON
作者:
GavrishBogdan
»
代碼 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": 163,"height": 347.39960175760007,"width": 347.39960175760007,"asset": "Square","selectable": true,"left": 154,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 211.3040201005,"height": 254.608040201,"width": 113.608040201,"asset": "Square","selectable": true,"left": 274.8040201005,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 48.8022076241,"height": 117.6044152483,"width": 88,"asset": "Comma","selectable": true,"left": 305,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 67,"height": 100,"width": 100,"asset": "Shield2","selectable": true,"left": 314,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 146.391959799,"height": 143.216080402,"width": 143.216080402,"asset": "Circle","selectable": true,"left": 231.608040201,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.8370636846,"height": 136.1062881733,"width": 136.1062881733,"asset": "Circle","selectable": false,"left": 233.0531440866,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 330,"height": 174,"width": 208.5427135678,"asset": "Circle","selectable": false,"left": 183,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 297.5,"height": 169,"width": 186.92955075269998,"asset": "Circle","selectable": true,"left": 195.4647753763,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 209,"height": 68,"width": 144.0856479475,"asset": "Dogtag","selectable": true,"left": 213,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 208,"height": 60,"width": 133,"asset": "Dogtag","selectable": true,"left": 215.5,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 238,"height": 100,"width": 100,"asset": "Square","selectable": true,"left": 122,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.391959799,"height": 143.216080402,"width": 143.216080402,"asset": "Circle","selectable": true,"left": 104.608040201,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.8370636846,"height": 136.1062881733,"width": 136.1062881733,"asset": "Circle","selectable": true,"left": 105.0531440866,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.5778894472,"height": 31.1557788945,"width": 31.1557788945,"asset": "Circle","selectable": true,"left": 88.5778894472,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 321.5,"height": 153,"width": 177,"asset": "Circle","selectable": false,"left": 170.5,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 133.5778894472,"height": 31.1557788945,"width": 31.1557788945,"asset": "Circle","selectable": true,"left": 207,"fill": "#000000"},{"opacity": 1,"angle": 166.5943922091,"flipX": false,"flipY": false,"top": 56.248338454,"height": 54.0485925033,"width": 16.214577751,"asset": "StrokeBent","selectable": true,"left": 263.9683345933,"fill": "#000000"},{"opacity": 1,"angle": 158.3989696988,"flipX": false,"flipY": false,"top": -35,"height": 149.9280980521,"width": 19.5650925838,"asset": "StrokeBent","selectable": true,"left": 239,"fill": "#000000"},{"opacity": 1,"angle": 167.8450583028,"flipX": false,"flipY": false,"top": 289.0605037122,"height": 100,"width": 21.076046763,"asset": "StrokeBent","selectable": true,"left": 282,"fill": "#000000"},{"opacity": 1,"angle": 50.9006917163,"flipX": false,"flipY": false,"top": 275,"height": 128.0700140268,"width": 24.3771393919,"asset": "StrokeBent","selectable": true,"left": 119,"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": 163,"height": 347.39960175760007,"width": 347.39960175760007,"asset": "Square","selectable": true,"left": 154,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 211.3040201005,"height": 254.608040201,"width": 113.608040201,"asset": "Square","selectable": true,"left": 274.8040201005,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 48.8022076241,"height": 117.6044152483,"width": 88,"asset": "Comma","selectable": true,"left": 305,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 67,"height": 100,"width": 100,"asset": "Shield2","selectable": true,"left": 314,"fill": "#00A651"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 146.391959799,"height": 143.216080402,"width": 143.216080402,"asset": "Circle","selectable": true,"left": 231.608040201,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 145.8370636846,"height": 136.1062881733,"width": 136.1062881733,"asset": "Circle","selectable": false,"left": 233.0531440866,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 330,"height": 174,"width": 208.5427135678,"asset": "Circle","selectable": false,"left": 183,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 297.5,"height": 169,"width": 186.92955075269998,"asset": "Circle","selectable": true,"left": 195.4647753763,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 209,"height": 68,"width": 144.0856479475,"asset": "Dogtag","selectable": true,"left": 213,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 208,"height": 60,"width": 133,"asset": "Dogtag","selectable": true,"left": 215.5,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 238,"height": 100,"width": 100,"asset": "Square","selectable": true,"left": 122,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.391959799,"height": 143.216080402,"width": 143.216080402,"asset": "Circle","selectable": true,"left": 104.608040201,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 148.8370636846,"height": 136.1062881733,"width": 136.1062881733,"asset": "Circle","selectable": true,"left": 105.0531440866,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 147.5778894472,"height": 31.1557788945,"width": 31.1557788945,"asset": "Circle","selectable": true,"left": 88.5778894472,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 321.5,"height": 153,"width": 177,"asset": "Circle","selectable": false,"left": 170.5,"fill": "#707070"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 133.5778894472,"height": 31.1557788945,"width": 31.1557788945,"asset": "Circle","selectable": true,"left": 207,"fill": "#000000"},{"opacity": 1,"angle": 166.5943922091,"flipX": false,"flipY": false,"top": 56.248338454,"height": 54.0485925033,"width": 16.214577751,"asset": "StrokeBent","selectable": true,"left": 263.9683345933,"fill": "#000000"},{"opacity": 1,"angle": 158.3989696988,"flipX": false,"flipY": false,"top": -35,"height": 149.9280980521,"width": 19.5650925838,"asset": "StrokeBent","selectable": true,"left": 239,"fill": "#000000"},{"opacity": 1,"angle": 167.8450583028,"flipX": false,"flipY": false,"top": 289.0605037122,"height": 100,"width": 21.076046763,"asset": "StrokeBent","selectable": true,"left": 282,"fill": "#000000"},{"opacity": 1,"angle": 50.9006917163,"flipX": false,"flipY": false,"top": 275,"height": 128.0700140268,"width": 24.3771393919,"asset": "StrokeBent","selectable": true,"left": 119,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告