登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
464
圖層數
18
Hallo win!?
作者:
DaBRO_Soprano
»
代碼 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": 160.8040201005,"height": 321.608040201,"width": 321.608040201,"asset": "Square","selectable": true,"left": 158.8040201005,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 165.4524785975,"height": 213.014640795,"width": 213.014640795,"asset": "Circle","selectable": true,"left": 167.4524785975,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 135,"height": 186,"width": 220.3821656051,"asset": "Circle","selectable": true,"left": 165.1910828025,"fill": "#000000"},{"opacity": 1,"angle": 13.1340223064,"flipX": false,"flipY": false,"top": 122,"height": 78,"width": 100,"asset": "Circle","selectable": true,"left": 108,"fill": "#FFFFFF"},{"opacity": 1,"angle": -10.0497768333,"flipX": false,"flipY": false,"top": 121.3806925905,"height": 72.8216036689,"width": 100,"asset": "Circle","selectable": true,"left": 231.3713651302,"fill": "#FFFFFF"},{"opacity": 1,"angle": 9.7112308624,"flipX": false,"flipY": false,"top": 155.9098061091,"height": 66.7820566732,"width": 206.2025635046,"asset": "ArrowBent","selectable": true,"left": 45.8111659369,"fill": "#000000"},{"opacity": 1,"angle": 124.4723104578,"flipX": false,"flipY": false,"top": 95.7264600171,"height": 194.2303276457,"width": 58.2690982937,"asset": "StrokeBent","selectable": true,"left": 107.8118943019,"fill": "#000000"},{"opacity": 1,"angle": 77.5545464259,"flipX": false,"flipY": false,"top": 138.1691624433,"height": 392.9874040615,"width": 78.9001136443,"asset": "StrokeBent","selectable": true,"left": 344.2054163749,"fill": "#000000"},{"opacity": 1,"angle": 70.8688054631,"flipX": false,"flipY": false,"top": 52.1691624433,"height": 392.9874040615,"width": 78.9001136443,"asset": "StrokeBent","selectable": true,"left": 339.2054163749,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 270.6904478027,"height": 35.3808956053,"width": 35.3808956053,"asset": "Circle","selectable": true,"left": 140.6904478027,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 275.6904478027,"height": 35.3808956053,"width": 35.3808956053,"asset": "Circle","selectable": true,"left": 198.6904478027,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 246.8300401734,"height": 29.1017108638,"width": 29.1017108638,"asset": "Circle","selectable": true,"left": 242.5508554319,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 243.8300401734,"height": 29.1017108638,"width": 29.1017108638,"asset": "Circle","selectable": true,"left": 89.5508554319,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.3829831335,"height": 20.2075967838,"width": 20.2075967838,"asset": "Circle","selectable": true,"left": 81.1037983919,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213.5829701251,"height": 23.5958509604,"width": 23.5958509604,"asset": "Circle","selectable": true,"left": 121.7979254802,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 224.5829701251,"height": 23.5958509604,"width": 23.5958509604,"asset": "Circle","selectable": true,"left": 166.7979254802,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213.5829701251,"height": 23.5958509604,"width": 23.5958509604,"asset": "Circle","selectable": true,"left": 206.7979254802,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.8383776047,"height": 17.0850360013,"width": 17.0850360013,"asset": "Circle","selectable": true,"left": 250.5425180006,"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": 160.8040201005,"height": 321.608040201,"width": 321.608040201,"asset": "Square","selectable": true,"left": 158.8040201005,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 165.4524785975,"height": 213.014640795,"width": 213.014640795,"asset": "Circle","selectable": true,"left": 167.4524785975,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 135,"height": 186,"width": 220.3821656051,"asset": "Circle","selectable": true,"left": 165.1910828025,"fill": "#000000"},{"opacity": 1,"angle": 13.1340223064,"flipX": false,"flipY": false,"top": 122,"height": 78,"width": 100,"asset": "Circle","selectable": true,"left": 108,"fill": "#FFFFFF"},{"opacity": 1,"angle": -10.0497768333,"flipX": false,"flipY": false,"top": 121.3806925905,"height": 72.8216036689,"width": 100,"asset": "Circle","selectable": true,"left": 231.3713651302,"fill": "#FFFFFF"},{"opacity": 1,"angle": 9.7112308624,"flipX": false,"flipY": false,"top": 155.9098061091,"height": 66.7820566732,"width": 206.2025635046,"asset": "ArrowBent","selectable": true,"left": 45.8111659369,"fill": "#000000"},{"opacity": 1,"angle": 124.4723104578,"flipX": false,"flipY": false,"top": 95.7264600171,"height": 194.2303276457,"width": 58.2690982937,"asset": "StrokeBent","selectable": true,"left": 107.8118943019,"fill": "#000000"},{"opacity": 1,"angle": 77.5545464259,"flipX": false,"flipY": false,"top": 138.1691624433,"height": 392.9874040615,"width": 78.9001136443,"asset": "StrokeBent","selectable": true,"left": 344.2054163749,"fill": "#000000"},{"opacity": 1,"angle": 70.8688054631,"flipX": false,"flipY": false,"top": 52.1691624433,"height": 392.9874040615,"width": 78.9001136443,"asset": "StrokeBent","selectable": true,"left": 339.2054163749,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 270.6904478027,"height": 35.3808956053,"width": 35.3808956053,"asset": "Circle","selectable": true,"left": 140.6904478027,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 275.6904478027,"height": 35.3808956053,"width": 35.3808956053,"asset": "Circle","selectable": true,"left": 198.6904478027,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 246.8300401734,"height": 29.1017108638,"width": 29.1017108638,"asset": "Circle","selectable": true,"left": 242.5508554319,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 243.8300401734,"height": 29.1017108638,"width": 29.1017108638,"asset": "Circle","selectable": true,"left": 89.5508554319,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.3829831335,"height": 20.2075967838,"width": 20.2075967838,"asset": "Circle","selectable": true,"left": 81.1037983919,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213.5829701251,"height": 23.5958509604,"width": 23.5958509604,"asset": "Circle","selectable": true,"left": 121.7979254802,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 224.5829701251,"height": 23.5958509604,"width": 23.5958509604,"asset": "Circle","selectable": true,"left": 166.7979254802,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 213.5829701251,"height": 23.5958509604,"width": 23.5958509604,"asset": "Circle","selectable": true,"left": 206.7979254802,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 185.8383776047,"height": 17.0850360013,"width": 17.0850360013,"asset": "Circle","selectable": true,"left": 250.5425180006,"fill": "#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
face
广告