登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
1
圖層數
12
jaga
作者:
kozak802
»
代碼 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:'[{"angle":0,"left":162.90399848090277,"height":159.50155763239874,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Shield3","width":128.45806853582553,"top":160,"flipY":false},{"angle":0,"left":166.0968429489382,"height":169.13080256145287,"flipX":true,"fill":"#a20000","opacity":1,"asset":"Shield3","width":136.21319157917208,"top":160,"flipY":false},{"angle":-0.6336109197662265,"left":128.35369042137842,"height":19.24876083641718,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number1","width":8.52449419354019,"top":109.88897479021992,"flipY":false},{"angle":-0.6033959180182932,"left":148.4832313110388,"height":18.262016519600465,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number9","width":12.991484414440524,"top":109.88897479021992,"flipY":false},{"angle":-0.22853309952509454,"left":177.57796037864625,"height":19.78916719051391,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number2","width":14.0786319508063,"top":109.88897479021992,"flipY":false},{"angle":0.27362274320526586,"left":199.45620792850798,"height":20.09095534870896,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number0","width":14.8671813895737,"top":109.88897479021992,"flipY":false},{"angle":-0.6257876918693058,"left":166.0968429489382,"height":50.98846161126264,"flipX":false,"fill":"#000000","opacity":1,"asset":"KitRecon","width":50.98846161126264,"top":158.30524463592053,"flipY":false},{"angle":-2.7611481622970473,"left":138.5587844244723,"height":81.99112268289731,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wreath","width":48.56154840927138,"top":168.507058963647,"flipY":false},{"angle":2.7611481622970473,"left":190.93849059110232,"height":81.99112268289731,"flipX":true,"fill":"#000000","opacity":1,"asset":"Wreath","width":48.561548409271374,"top":168.507058963647,"flipY":false},{"angle":0.9315050479752359,"left":166.0968429489382,"height":16.107559237336165,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eagle","width":43.460530825864865,"top":90.64227522170916,"flipY":false},{"angle":-0.15756552825007472,"left":90.29155815972223,"height":293.3437966086972,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Wreath2","width":145.35001782088065,"top":168.507058963647,"flipY":false},{"angle":0.15756552825007472,"left":234.85511610243054,"height":293.3437966086972,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Wreath2","width":145.35001782088065,"top":168.507058963647,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":162.90399848090277,"height":159.50155763239874,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Shield3","width":128.45806853582553,"top":160,"flipY":false},{"angle":0,"left":166.0968429489382,"height":169.13080256145287,"flipX":true,"fill":"#a20000","opacity":1,"asset":"Shield3","width":136.21319157917208,"top":160,"flipY":false},{"angle":-0.6336109197662265,"left":128.35369042137842,"height":19.24876083641718,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number1","width":8.52449419354019,"top":109.88897479021992,"flipY":false},{"angle":-0.6033959180182932,"left":148.4832313110388,"height":18.262016519600465,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number9","width":12.991484414440524,"top":109.88897479021992,"flipY":false},{"angle":-0.22853309952509454,"left":177.57796037864625,"height":19.78916719051391,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number2","width":14.0786319508063,"top":109.88897479021992,"flipY":false},{"angle":0.27362274320526586,"left":199.45620792850798,"height":20.09095534870896,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number0","width":14.8671813895737,"top":109.88897479021992,"flipY":false},{"angle":-0.6257876918693058,"left":166.0968429489382,"height":50.98846161126264,"flipX":false,"fill":"#000000","opacity":1,"asset":"KitRecon","width":50.98846161126264,"top":158.30524463592053,"flipY":false},{"angle":-2.7611481622970473,"left":138.5587844244723,"height":81.99112268289731,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wreath","width":48.56154840927138,"top":168.507058963647,"flipY":false},{"angle":2.7611481622970473,"left":190.93849059110232,"height":81.99112268289731,"flipX":true,"fill":"#000000","opacity":1,"asset":"Wreath","width":48.561548409271374,"top":168.507058963647,"flipY":false},{"angle":0.9315050479752359,"left":166.0968429489382,"height":16.107559237336165,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eagle","width":43.460530825864865,"top":90.64227522170916,"flipY":false},{"angle":-0.15756552825007472,"left":90.29155815972223,"height":293.3437966086972,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Wreath2","width":145.35001782088065,"top":168.507058963647,"flipY":false},{"angle":0.15756552825007472,"left":234.85511610243054,"height":293.3437966086972,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Wreath2","width":145.35001782088065,"top":168.507058963647,"flipY":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告