登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
45
圖層數
20
Pohack
作者:
Pohack
代碼 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": 271.0810301508,"height": 55.0879396985,"width": 55.0879396985,"asset": "Circle","selectable": true,"left": 117.4560301508,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 271.0760050251,"height": 57.0979899497,"width": 57.0979899497,"asset": "Circle","selectable": true,"left": 207.4510050251,"fill": "#464646"},{"opacity": 1,"angle": 146.5024153141,"flipX": true,"flipY": false,"top": 205.9787324658,"height": 97.1748908164,"width": 34.1664474916,"asset": "Comma","selectable": true,"left": 262.4566342822,"fill": "#FFF200"},{"opacity": 1,"angle": 31.6059302529,"flipX": true,"flipY": true,"top": 206.9787324658,"height": 97.1748908164,"width": 34.1664474916,"asset": "Comma","selectable": true,"left": 62.4566342822,"fill": "#FFF200"},{"opacity": 1,"angle": 221.3188214025,"flipX": false,"flipY": false,"top": 29.6977863623,"height": 56.258283917499995,"width": 11.8653002037,"asset": "Comma","selectable": true,"left": 166.3369941958,"fill": "#000000"},{"opacity": 1,"angle": -52.0508519393,"flipX": false,"flipY": true,"top": 35.5291244666,"height": 52.552323456,"width": 11.08368494,"asset": "Comma","selectable": true,"left": 154.0385062578,"fill": "#000000"},{"opacity": 1,"angle": 89.8459598058,"flipX": false,"flipY": false,"top": 150.2595673013,"height": 142.9957088889,"width": 239.4952167609,"asset": "Dogtag","selectable": true,"left": 163.4171444603,"fill": "#FFF200"},{"opacity": 1,"angle": -40.6333398434,"flipX": false,"flipY": false,"top": 190.0000114441,"height": 33.1415625,"width": 100,"asset": "ArrowBent","selectable": true,"left": 199.0000076294,"fill": "#0072BC"},{"opacity": 1,"angle": 90.458847386,"flipX": false,"flipY": false,"top": 100.3391651453,"height": 144.9111892777,"width": 42.8483905822,"asset": "StrokeBent","selectable": true,"left": 163.4231676473,"fill": "#555555"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 98.9272764184,"height": 65.0252025192,"width": 65.0252025192,"asset": "Circle","selectable": true,"left": 128.989674124,"fill": "#CCCCCC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.9407800372,"height": 54.385069498,"width": 54.385069498,"asset": "Circle","selectable": true,"left": 128.7500096233,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 98.9272764184,"height": 65.0252025192,"width": 65.0252025192,"asset": "Circle","selectable": true,"left": 193.989674124,"fill": "#CCCCCC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.9407800372,"height": 54.385069498,"width": 54.385069498,"asset": "Circle","selectable": true,"left": 194.7500096233,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 222.3999938965,"height": 100,"width": 95,"asset": "Shield","selectable": true,"left": 163.5,"fill": "#0072BC"},{"opacity": 1,"angle": 269.960848838,"flipX": false,"flipY": false,"top": 155.2939261729,"height": 71.1784178979,"width": 8.5925216323,"asset": "StrokeBent","selectable": true,"left": 163.4181017297,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 99.6351747369,"height": 25.9296474744,"width": 25.9296474744,"asset": "Circle","selectable": true,"left": 138.0351762628,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 99.6351747369,"height": 25.9296474744,"width": 25.9296474744,"asset": "Circle","selectable": true,"left": 183.0351762628,"fill": "#7B2E00"},{"opacity": 1,"angle": 213.3492987764,"flipX": false,"flipY": true,"top": 186.0000114441,"height": 33.1415625,"width": 100,"asset": "ArrowBent","selectable": true,"left": 132.0000076294,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 246.1999969482,"height": 50.3999938965,"width": 144,"asset": "Shield","selectable": true,"left": 164,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 55.6251073483,"height": 29.9497364753,"width": 29.9497364753,"asset": "Circle","selectable": true,"left": 163.0251317623,"fill": "#FFF200"}]'},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": 271.0810301508,"height": 55.0879396985,"width": 55.0879396985,"asset": "Circle","selectable": true,"left": 117.4560301508,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 271.0760050251,"height": 57.0979899497,"width": 57.0979899497,"asset": "Circle","selectable": true,"left": 207.4510050251,"fill": "#464646"},{"opacity": 1,"angle": 146.5024153141,"flipX": true,"flipY": false,"top": 205.9787324658,"height": 97.1748908164,"width": 34.1664474916,"asset": "Comma","selectable": true,"left": 262.4566342822,"fill": "#FFF200"},{"opacity": 1,"angle": 31.6059302529,"flipX": true,"flipY": true,"top": 206.9787324658,"height": 97.1748908164,"width": 34.1664474916,"asset": "Comma","selectable": true,"left": 62.4566342822,"fill": "#FFF200"},{"opacity": 1,"angle": 221.3188214025,"flipX": false,"flipY": false,"top": 29.6977863623,"height": 56.258283917499995,"width": 11.8653002037,"asset": "Comma","selectable": true,"left": 166.3369941958,"fill": "#000000"},{"opacity": 1,"angle": -52.0508519393,"flipX": false,"flipY": true,"top": 35.5291244666,"height": 52.552323456,"width": 11.08368494,"asset": "Comma","selectable": true,"left": 154.0385062578,"fill": "#000000"},{"opacity": 1,"angle": 89.8459598058,"flipX": false,"flipY": false,"top": 150.2595673013,"height": 142.9957088889,"width": 239.4952167609,"asset": "Dogtag","selectable": true,"left": 163.4171444603,"fill": "#FFF200"},{"opacity": 1,"angle": -40.6333398434,"flipX": false,"flipY": false,"top": 190.0000114441,"height": 33.1415625,"width": 100,"asset": "ArrowBent","selectable": true,"left": 199.0000076294,"fill": "#0072BC"},{"opacity": 1,"angle": 90.458847386,"flipX": false,"flipY": false,"top": 100.3391651453,"height": 144.9111892777,"width": 42.8483905822,"asset": "StrokeBent","selectable": true,"left": 163.4231676473,"fill": "#555555"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 98.9272764184,"height": 65.0252025192,"width": 65.0252025192,"asset": "Circle","selectable": true,"left": 128.989674124,"fill": "#CCCCCC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.9407800372,"height": 54.385069498,"width": 54.385069498,"asset": "Circle","selectable": true,"left": 128.7500096233,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": true,"top": 98.9272764184,"height": 65.0252025192,"width": 65.0252025192,"asset": "Circle","selectable": true,"left": 193.989674124,"fill": "#CCCCCC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 98.9407800372,"height": 54.385069498,"width": 54.385069498,"asset": "Circle","selectable": true,"left": 194.7500096233,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 222.3999938965,"height": 100,"width": 95,"asset": "Shield","selectable": true,"left": 163.5,"fill": "#0072BC"},{"opacity": 1,"angle": 269.960848838,"flipX": false,"flipY": false,"top": 155.2939261729,"height": 71.1784178979,"width": 8.5925216323,"asset": "StrokeBent","selectable": true,"left": 163.4181017297,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 99.6351747369,"height": 25.9296474744,"width": 25.9296474744,"asset": "Circle","selectable": true,"left": 138.0351762628,"fill": "#7B2E00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 99.6351747369,"height": 25.9296474744,"width": 25.9296474744,"asset": "Circle","selectable": true,"left": 183.0351762628,"fill": "#7B2E00"},{"opacity": 1,"angle": 213.3492987764,"flipX": false,"flipY": true,"top": 186.0000114441,"height": 33.1415625,"width": 100,"asset": "ArrowBent","selectable": true,"left": 132.0000076294,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 246.1999969482,"height": 50.3999938965,"width": 144,"asset": "Shield","selectable": true,"left": 164,"fill": "#0072BC"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 55.6251073483,"height": 29.9497364753,"width": 29.9497364753,"asset": "Circle","selectable": true,"left": 163.0251317623,"fill": "#FFF200"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告