登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
5
圖層數
19
where r u?
作者:
saharashke
代碼 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":194.4364020036,"height":422.4866544028,"width":422.4866544028,"asset":"Square","selectable":true,"left":126.5635979964,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.3512871268,"height":180.65659724210002,"width":180.65659724210002,"asset":"Circle","selectable":true,"left":160.8630118983,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.4557808537,"height":175.6157547821,"width":175.6157547821,"asset":"Circle","selectable":true,"left":154.8308658968,"fill":"#262626"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":125.0817104401,"height":41.752664222903434,"width":7.1581204217,"asset":"Stroke","selectable":true,"left":88.00680918714829,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":121.1607427056,"height":44.8368961936,"width":8.0693191866,"asset":"Stroke","selectable":true,"left":223.4414366026,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":118.4383213378,"height":46.830665664099996,"width":69.3467406117,"asset":"Shield","selectable":true,"left":159.9063619453,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":129.9305331758,"height":51.8150893401,"width":51.8150893401,"asset":"Circle","selectable":true,"left":195.9305331758,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":131.8171303756,"height":50.3197622373,"width":50.3197622373,"asset":"Circle","selectable":true,"left":128.1828696244,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":100.3082354117,"height":26.0814917218,"width":26.0814917218,"asset":"Circle","selectable":true,"left":159.0637343666,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":129.9464897747,"height":27.8470025379,"width":27.8470025379,"asset":"Circle","selectable":true,"left":133.9675360784,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":128,"height":26.3059595291,"width":26.3059595291,"asset":"Circle","selectable":true,"left":203,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":100,"height":15.4160708487,"width":15.4160708487,"asset":"Circle","selectable":true,"left":159,"fill":"#00A651"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":207.3124574784,"height":47.3291080317,"width":47.3291080317,"asset":"Shield","selectable":true,"left":160.6875425216,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":207.549217603,"height":38.8555877824,"width":34.8680488416,"asset":"Shield","selectable":true,"left":161,"fill":"#626262"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":210.4970186513,"height":36.7761119974,"width":4.5052706807,"asset":"Stroke","selectable":true,"left":149.0572330415,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":206.8175762086,"height":42.1017118836,"width":4.859525267,"asset":"Stroke","selectable":true,"left":157.5056927158,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":208.0036350186,"height":39.7587776767,"width":4.5052706807,"asset":"Stroke","selectable":true,"left":166.0572330415,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209.8951763768,"height":35.9847426052,"width":4.3396141706,"asset":"Stroke","selectable":true,"left":173.7623864433,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":236,"height":101.4685098859,"width":12.007780725,"asset":"Stroke","selectable":true,"left":152.0513440364,"fill":"#000000"}]'},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":194.4364020036,"height":422.4866544028,"width":422.4866544028,"asset":"Square","selectable":true,"left":126.5635979964,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.3512871268,"height":180.65659724210002,"width":180.65659724210002,"asset":"Circle","selectable":true,"left":160.8630118983,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.4557808537,"height":175.6157547821,"width":175.6157547821,"asset":"Circle","selectable":true,"left":154.8308658968,"fill":"#262626"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":125.0817104401,"height":41.752664222903434,"width":7.1581204217,"asset":"Stroke","selectable":true,"left":88.00680918714829,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":121.1607427056,"height":44.8368961936,"width":8.0693191866,"asset":"Stroke","selectable":true,"left":223.4414366026,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":118.4383213378,"height":46.830665664099996,"width":69.3467406117,"asset":"Shield","selectable":true,"left":159.9063619453,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":129.9305331758,"height":51.8150893401,"width":51.8150893401,"asset":"Circle","selectable":true,"left":195.9305331758,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":131.8171303756,"height":50.3197622373,"width":50.3197622373,"asset":"Circle","selectable":true,"left":128.1828696244,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":100.3082354117,"height":26.0814917218,"width":26.0814917218,"asset":"Circle","selectable":true,"left":159.0637343666,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":129.9464897747,"height":27.8470025379,"width":27.8470025379,"asset":"Circle","selectable":true,"left":133.9675360784,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":128,"height":26.3059595291,"width":26.3059595291,"asset":"Circle","selectable":true,"left":203,"fill":"#00A651"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":100,"height":15.4160708487,"width":15.4160708487,"asset":"Circle","selectable":true,"left":159,"fill":"#00A651"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":207.3124574784,"height":47.3291080317,"width":47.3291080317,"asset":"Shield","selectable":true,"left":160.6875425216,"fill":"#000000"},{"opacity":1,"angle":180,"flipX":false,"flipY":false,"top":207.549217603,"height":38.8555877824,"width":34.8680488416,"asset":"Shield","selectable":true,"left":161,"fill":"#626262"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":210.4970186513,"height":36.7761119974,"width":4.5052706807,"asset":"Stroke","selectable":true,"left":149.0572330415,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":206.8175762086,"height":42.1017118836,"width":4.859525267,"asset":"Stroke","selectable":true,"left":157.5056927158,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":208.0036350186,"height":39.7587776767,"width":4.5052706807,"asset":"Stroke","selectable":true,"left":166.0572330415,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209.8951763768,"height":35.9847426052,"width":4.3396141706,"asset":"Stroke","selectable":true,"left":173.7623864433,"fill":"#000000"},{"opacity":1,"angle":270,"flipX":false,"flipY":false,"top":236,"height":101.4685098859,"width":12.007780725,"asset":"Stroke","selectable":true,"left":152.0513440364,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告