登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
12
圖層數
20
Fiodorex
作者:
Piotr
»
代碼 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":139.345,"left":187,"height":48.69375,"width":50,"asset":"Revolver","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":140.2925,"left":131.445,"height":48.586638015747056,"width":49.89001464843749,"asset":"Revolver","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":156.76999999999998,"left":159.3375,"height":233.54378806114192,"width":300.6799926757812,"asset":"Skull2","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":248.2425,"left":159.175,"height":100.48996337890628,"width":67.35339795471194,"asset":"Tailfeathers","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-179.87739448124225,"flipX":false,"flipY":false,"top":173.1525,"left":158.685,"height":37.331118315267354,"width":28.374883243172227,"asset":"FleurDeLis","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":215.3225,"left":159,"height":57.64727076202486,"width":50,"asset":"Shield5","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.76896955288362,"flipX":false,"flipY":false,"top":155.14249999999998,"left":48.47,"height":85.2889704184314,"width":27.942798933338586,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":80.24662395289491,"flipX":false,"flipY":false,"top":192.7525,"left":272.325,"height":90.50976503706593,"width":29.653261770268727,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-94.61132978027028,"flipX":false,"flipY":true,"top":154.75,"left":269.0125,"height":88.39125221894484,"width":27.0293640141434,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-94.6675647780082,"flipX":true,"flipY":false,"top":195.735,"left":48.82,"height":90.47148671343056,"width":27.35925958491539,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":49.37944872948779,"flipX":true,"flipY":false,"top":265.44,"left":79.205,"height":95.88419415900942,"width":29.59833646499213,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-51.944884456227314,"flipX":false,"flipY":false,"top":262.62,"left":238.61,"height":92.24106858967388,"width":30.22048009669191,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":20.066858629809232,"flipX":true,"flipY":false,"top":273.84000000000003,"left":198.8625,"height":87.6833127956802,"width":26.166680961013497,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-23.0011937070226,"flipX":false,"flipY":false,"top":273.5875,"left":119.435,"height":91.17997802734373,"width":30.3038411752184,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-26.122084955466892,"flipX":true,"flipY":false,"top":68.5275,"left":62.6125,"height":80.05576887873889,"width":28.04849793752457,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":14.093873530332338,"flipX":false,"flipY":false,"top":28.9325,"left":224.0225,"height":42.8698428887463,"width":14.045232276425505,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-15.727096694035777,"flipX":true,"flipY":false,"top":36.68,"left":73.4025,"height":54.360667138417256,"width":22.045105365900546,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":28.172948421180052,"flipX":true,"flipY":true,"top":68.72749999999999,"left":258.835,"height":84.45974959620446,"width":27.671125461456487,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":28.172948421180052,"flipX":true,"flipY":true,"top":40.14,"left":245.555,"height":55.28491201494898,"width":18.11271929889766,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-14.386869923219283,"flipX":false,"flipY":true,"top":29.6125,"left":98.5875,"height":40.22845573681392,"width":12.982000890756646,"asset":"Lightning","fill":"#cccccc","selectable":false}]'},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":139.345,"left":187,"height":48.69375,"width":50,"asset":"Revolver","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":140.2925,"left":131.445,"height":48.586638015747056,"width":49.89001464843749,"asset":"Revolver","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":156.76999999999998,"left":159.3375,"height":233.54378806114192,"width":300.6799926757812,"asset":"Skull2","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":248.2425,"left":159.175,"height":100.48996337890628,"width":67.35339795471194,"asset":"Tailfeathers","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-179.87739448124225,"flipX":false,"flipY":false,"top":173.1525,"left":158.685,"height":37.331118315267354,"width":28.374883243172227,"asset":"FleurDeLis","fill":"#cccccc","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":215.3225,"left":159,"height":57.64727076202486,"width":50,"asset":"Shield5","fill":"#cccccc","selectable":false},{"opacity":1,"angle":88.76896955288362,"flipX":false,"flipY":false,"top":155.14249999999998,"left":48.47,"height":85.2889704184314,"width":27.942798933338586,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":80.24662395289491,"flipX":false,"flipY":false,"top":192.7525,"left":272.325,"height":90.50976503706593,"width":29.653261770268727,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-94.61132978027028,"flipX":false,"flipY":true,"top":154.75,"left":269.0125,"height":88.39125221894484,"width":27.0293640141434,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-94.6675647780082,"flipX":true,"flipY":false,"top":195.735,"left":48.82,"height":90.47148671343056,"width":27.35925958491539,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":49.37944872948779,"flipX":true,"flipY":false,"top":265.44,"left":79.205,"height":95.88419415900942,"width":29.59833646499213,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-51.944884456227314,"flipX":false,"flipY":false,"top":262.62,"left":238.61,"height":92.24106858967388,"width":30.22048009669191,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":20.066858629809232,"flipX":true,"flipY":false,"top":273.84000000000003,"left":198.8625,"height":87.6833127956802,"width":26.166680961013497,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-23.0011937070226,"flipX":false,"flipY":false,"top":273.5875,"left":119.435,"height":91.17997802734373,"width":30.3038411752184,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-26.122084955466892,"flipX":true,"flipY":false,"top":68.5275,"left":62.6125,"height":80.05576887873889,"width":28.04849793752457,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":14.093873530332338,"flipX":false,"flipY":false,"top":28.9325,"left":224.0225,"height":42.8698428887463,"width":14.045232276425505,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-15.727096694035777,"flipX":true,"flipY":false,"top":36.68,"left":73.4025,"height":54.360667138417256,"width":22.045105365900546,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":28.172948421180052,"flipX":true,"flipY":true,"top":68.72749999999999,"left":258.835,"height":84.45974959620446,"width":27.671125461456487,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":28.172948421180052,"flipX":true,"flipY":true,"top":40.14,"left":245.555,"height":55.28491201494898,"width":18.11271929889766,"asset":"Lightning","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-14.386869923219283,"flipX":false,"flipY":true,"top":29.6125,"left":98.5875,"height":40.22845573681392,"width":12.982000890756646,"asset":"Lightning","fill":"#cccccc","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告