登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
7
圖層數
13
sniper life
作者:
wiros
»
代碼 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":-179.96409601119913,"flipX":true,"flipY":true,"top":169.25,"left":164.75,"height":239.36856686118793,"width":207.2034156892158,"asset":"Shield5","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169,"left":164.75,"height":223.92296085288808,"width":193.83331298828125,"asset":"Shield5","fill":"#000000","selectable":false},{"opacity":1,"angle":12.897536894216461,"flipX":false,"flipY":false,"top":161,"left":143,"height":78.04878048780488,"width":50,"asset":"Wing4","fill":"#f1c232","selectable":false},{"opacity":1,"angle":7.594633409249488,"flipX":true,"flipY":false,"top":170,"left":207.5,"height":78.04878048780488,"width":50,"asset":"Wing4","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":181,"left":171,"height":71.11111111111111,"width":50,"asset":"Headshot","fill":"#6fa8dc","selectable":false},{"opacity":1,"angle":-20.228085216982628,"flipX":false,"flipY":false,"top":117.25,"left":125,"height":107.38255033557047,"width":50,"asset":"Sword","fill":"#cc0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":176.25,"left":132.5,"height":54.60750853242321,"width":50,"asset":"Hooah","fill":"#fce5cd","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":176.75,"left":208.5,"height":54.60750853242321,"width":50,"asset":"Hooah","fill":"#fce5cd","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":233,"left":161.25,"height":53.86311310016556,"width":50.83331298828125,"asset":"EODbot","fill":"#6fa8dc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98,"left":198,"height":50,"width":50,"asset":"Longrange","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98,"left":194.75,"height":20.052078437805175,"width":83.33331298828125,"asset":"WeaponSniper","fill":"#a61c00","selectable":false},{"opacity":1,"angle":-40.465738205229734,"flipX":false,"flipY":false,"top":96.25,"left":94.5,"height":21.737725859004733,"width":14.333312988281248,"asset":"Lightning1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-133.7188164706139,"flipX":true,"flipY":true,"top":80.75,"left":132.25,"height":21.737725859004733,"width":14.333312988281248,"asset":"Lightning1","fill":"#ffffff","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":-179.96409601119913,"flipX":true,"flipY":true,"top":169.25,"left":164.75,"height":239.36856686118793,"width":207.2034156892158,"asset":"Shield5","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169,"left":164.75,"height":223.92296085288808,"width":193.83331298828125,"asset":"Shield5","fill":"#000000","selectable":false},{"opacity":1,"angle":12.897536894216461,"flipX":false,"flipY":false,"top":161,"left":143,"height":78.04878048780488,"width":50,"asset":"Wing4","fill":"#f1c232","selectable":false},{"opacity":1,"angle":7.594633409249488,"flipX":true,"flipY":false,"top":170,"left":207.5,"height":78.04878048780488,"width":50,"asset":"Wing4","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":181,"left":171,"height":71.11111111111111,"width":50,"asset":"Headshot","fill":"#6fa8dc","selectable":false},{"opacity":1,"angle":-20.228085216982628,"flipX":false,"flipY":false,"top":117.25,"left":125,"height":107.38255033557047,"width":50,"asset":"Sword","fill":"#cc0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":176.25,"left":132.5,"height":54.60750853242321,"width":50,"asset":"Hooah","fill":"#fce5cd","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":176.75,"left":208.5,"height":54.60750853242321,"width":50,"asset":"Hooah","fill":"#fce5cd","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":233,"left":161.25,"height":53.86311310016556,"width":50.83331298828125,"asset":"EODbot","fill":"#6fa8dc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98,"left":198,"height":50,"width":50,"asset":"Longrange","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98,"left":194.75,"height":20.052078437805175,"width":83.33331298828125,"asset":"WeaponSniper","fill":"#a61c00","selectable":false},{"opacity":1,"angle":-40.465738205229734,"flipX":false,"flipY":false,"top":96.25,"left":94.5,"height":21.737725859004733,"width":14.333312988281248,"asset":"Lightning1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-133.7188164706139,"flipX":true,"flipY":true,"top":80.75,"left":132.25,"height":21.737725859004733,"width":14.333312988281248,"asset":"Lightning1","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
sniper
badge
monster
whatever
广告