登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
6
圖層數
20
dolphin
作者:
RatedRP_QOA
»
代碼 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":249.2861566752,"flipX":false,"flipY":false,"top":71.6999205815,"height":80.00993887709998,"width":17.570635248699997,"asset":"CrescentMoon","selectable":true,"left":85.3723264748,"fill":"#0054A6"},{"opacity":1,"angle":335.8411787858,"flipX":false,"flipY":false,"top":155.995575724,"height":165.76689786160003,"width":25.300524720900004,"asset":"CrescentMoon","selectable":true,"left":234.28925196210002,"fill":"#0054A6"},{"opacity":1,"angle":51.6665284564,"flipX":false,"flipY":false,"top":45,"height":70.3220696352,"width":5.9908390566,"asset":"Romb","selectable":true,"left":151.875,"fill":"#0054A6"},{"opacity":1,"angle":349.9914979852,"flipX":false,"flipY":false,"top":55.1440500822,"height":63.6296733144,"width":6.4588308861999995,"asset":"Romb","selectable":true,"left":183.68119299199998,"fill":"#0054A6"},{"opacity":1,"angle":138.4869528746,"flipX":true,"flipY":false,"top":204.04914838910003,"height":84.50874915690001,"width":27.9174478032,"asset":"CrescentMoon","selectable":true,"left":219.1683061714,"fill":"#0054A6"},{"opacity":1,"angle":125.8632507326,"flipX":true,"flipY":false,"top":208.6296115168,"height":70.5115258225,"width":17.955946029099998,"asset":"CrescentMoon","selectable":true,"left":218.92717863930002,"fill":"#0054A6"},{"opacity":1,"angle":331.6239813966,"flipX":false,"flipY":false,"top":195.9427728744,"height":42.2531259672,"width":4.4374830462,"asset":"Romb","selectable":true,"left":188.4000980359,"fill":"#0054A6"},{"opacity":1,"angle":309.4172234599,"flipX":false,"flipY":false,"top":190.8363414726,"height":77.1300720819,"width":6.756332494599999,"asset":"Romb","selectable":true,"left":169.3367152218,"fill":"#0054A6"},{"opacity":1,"angle":277.1431657975,"flipX":true,"flipY":false,"top":185.6598301588,"height":70.5115258225,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":125.43246344170001,"fill":"#0054A6"},{"opacity":1,"angle":285.3790690031,"flipX":false,"flipY":false,"top":146.8505886598,"height":141.5261462537,"width":6.756332494599999,"asset":"Romb","selectable":true,"left":73.4721715945,"fill":"#0054A6"},{"opacity":1,"angle":121.2024424241,"flipX":false,"flipY":false,"top":145.0182531713,"height":64.92594620119999,"width":3.7879407432000005,"asset":"Romb","selectable":true,"left":35.5303162327,"fill":"#0054A6"},{"opacity":1,"angle":213.5073800141,"flipX":true,"flipY":false,"top":192.2560297416,"height":35.3627091371,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":85.7593169722,"fill":"#0054A6"},{"opacity":1,"angle":347.8077162762,"flipX":true,"flipY":false,"top":183.03201425779997,"height":46.56337853410001,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":60.2015645811,"fill":"#0054A6"},{"opacity":1,"angle":72.582033673,"flipX":false,"flipY":false,"top":98.1122371616,"height":45.36141565829999,"width":3.9887741948,"asset":"Romb","selectable":true,"left":30.817074351200002,"fill":"#0054A6"},{"opacity":1,"angle":169.8715148899,"flipX":false,"flipY":false,"top":118.75,"height":20.8435965371,"width":7.899375203800001,"asset":"CrescentMoon","selectable":true,"left":5,"fill":"#0054A6"},{"opacity":1,"angle":299.0051630295,"flipX":false,"flipY":false,"top":246.78109644450004,"height":65.0166273898,"width":12.4934442153,"asset":"CrescentMoon","selectable":true,"left":289.375,"fill":"#0054A6"},{"opacity":1,"angle":280.6726011232,"flipX":true,"flipY":true,"top":265,"height":65.0166273898,"width":12.4934442153,"asset":"CrescentMoon","selectable":true,"left":283.125,"fill":"#0054A6"},{"opacity":1,"angle":250.6180556825,"flipX":false,"flipY":true,"top":246.31154701900002,"height":43.8704748559,"width":12.4934442153,"asset":"CrescentMoon","selectable":true,"left":215.97662225690001,"fill":"#0054A6"},{"opacity":1,"angle":268.3005742361,"flipX":true,"flipY":false,"top":263.125,"height":52.0060089393,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":223.75,"fill":"#0054A6"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":110.625,"height":37.0450996328,"width":19.6421765668,"asset":"free_bling_dollar","selectable":true,"left":93.5936288329,"fill":"#0054A6"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":249.2861566752,"flipX":false,"flipY":false,"top":71.6999205815,"height":80.00993887709998,"width":17.570635248699997,"asset":"CrescentMoon","selectable":true,"left":85.3723264748,"fill":"#0054A6"},{"opacity":1,"angle":335.8411787858,"flipX":false,"flipY":false,"top":155.995575724,"height":165.76689786160003,"width":25.300524720900004,"asset":"CrescentMoon","selectable":true,"left":234.28925196210002,"fill":"#0054A6"},{"opacity":1,"angle":51.6665284564,"flipX":false,"flipY":false,"top":45,"height":70.3220696352,"width":5.9908390566,"asset":"Romb","selectable":true,"left":151.875,"fill":"#0054A6"},{"opacity":1,"angle":349.9914979852,"flipX":false,"flipY":false,"top":55.1440500822,"height":63.6296733144,"width":6.4588308861999995,"asset":"Romb","selectable":true,"left":183.68119299199998,"fill":"#0054A6"},{"opacity":1,"angle":138.4869528746,"flipX":true,"flipY":false,"top":204.04914838910003,"height":84.50874915690001,"width":27.9174478032,"asset":"CrescentMoon","selectable":true,"left":219.1683061714,"fill":"#0054A6"},{"opacity":1,"angle":125.8632507326,"flipX":true,"flipY":false,"top":208.6296115168,"height":70.5115258225,"width":17.955946029099998,"asset":"CrescentMoon","selectable":true,"left":218.92717863930002,"fill":"#0054A6"},{"opacity":1,"angle":331.6239813966,"flipX":false,"flipY":false,"top":195.9427728744,"height":42.2531259672,"width":4.4374830462,"asset":"Romb","selectable":true,"left":188.4000980359,"fill":"#0054A6"},{"opacity":1,"angle":309.4172234599,"flipX":false,"flipY":false,"top":190.8363414726,"height":77.1300720819,"width":6.756332494599999,"asset":"Romb","selectable":true,"left":169.3367152218,"fill":"#0054A6"},{"opacity":1,"angle":277.1431657975,"flipX":true,"flipY":false,"top":185.6598301588,"height":70.5115258225,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":125.43246344170001,"fill":"#0054A6"},{"opacity":1,"angle":285.3790690031,"flipX":false,"flipY":false,"top":146.8505886598,"height":141.5261462537,"width":6.756332494599999,"asset":"Romb","selectable":true,"left":73.4721715945,"fill":"#0054A6"},{"opacity":1,"angle":121.2024424241,"flipX":false,"flipY":false,"top":145.0182531713,"height":64.92594620119999,"width":3.7879407432000005,"asset":"Romb","selectable":true,"left":35.5303162327,"fill":"#0054A6"},{"opacity":1,"angle":213.5073800141,"flipX":true,"flipY":false,"top":192.2560297416,"height":35.3627091371,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":85.7593169722,"fill":"#0054A6"},{"opacity":1,"angle":347.8077162762,"flipX":true,"flipY":false,"top":183.03201425779997,"height":46.56337853410001,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":60.2015645811,"fill":"#0054A6"},{"opacity":1,"angle":72.582033673,"flipX":false,"flipY":false,"top":98.1122371616,"height":45.36141565829999,"width":3.9887741948,"asset":"Romb","selectable":true,"left":30.817074351200002,"fill":"#0054A6"},{"opacity":1,"angle":169.8715148899,"flipX":false,"flipY":false,"top":118.75,"height":20.8435965371,"width":7.899375203800001,"asset":"CrescentMoon","selectable":true,"left":5,"fill":"#0054A6"},{"opacity":1,"angle":299.0051630295,"flipX":false,"flipY":false,"top":246.78109644450004,"height":65.0166273898,"width":12.4934442153,"asset":"CrescentMoon","selectable":true,"left":289.375,"fill":"#0054A6"},{"opacity":1,"angle":280.6726011232,"flipX":true,"flipY":true,"top":265,"height":65.0166273898,"width":12.4934442153,"asset":"CrescentMoon","selectable":true,"left":283.125,"fill":"#0054A6"},{"opacity":1,"angle":250.6180556825,"flipX":false,"flipY":true,"top":246.31154701900002,"height":43.8704748559,"width":12.4934442153,"asset":"CrescentMoon","selectable":true,"left":215.97662225690001,"fill":"#0054A6"},{"opacity":1,"angle":268.3005742361,"flipX":true,"flipY":false,"top":263.125,"height":52.0060089393,"width":15.049863608300003,"asset":"CrescentMoon","selectable":true,"left":223.75,"fill":"#0054A6"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":110.625,"height":37.0450996328,"width":19.6421765668,"asset":"free_bling_dollar","selectable":true,"left":93.5936288329,"fill":"#0054A6"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告