登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
31
e-pin
作者:
hogege
代碼 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":159.8075377909,"height":288.1396396495,"width":231.8777829504,"asset":"Emblem107","selectable":true,"left":160.262415279,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.0019329954,"height":283.7847837991,"width":227.44670976510002,"asset":"Emblem107","selectable":true,"left":160.4972307235,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.2572329268,"height":184.3334500834,"width":184.3334500834,"asset":"Circle","selectable":true,"left":159.7427670732,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.9991999318,"height":167.9487203613,"width":167.9487203613,"asset":"Circle","selectable":true,"left":160.0008000682,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.4939254801,"height":155.0431294806,"width":155.0431294806,"asset":"Circle","selectable":true,"left":160.5060745199,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":91.9540229885,"width":91.9540229885,"asset":"Circle","selectable":true,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":147.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":172.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":91.9540229885,"width":91.9540229885,"asset":"Circle","selectable":true,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":107.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":125.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":124.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":108.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":99.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":98.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":192.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":107.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":210.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":124.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":145.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":170.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":211.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":193.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":194.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":211.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":172.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":220.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":219.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":127.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":210.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":109.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":195.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.7566240511,"height":83.9619894636,"width":83.9619894636,"asset":"Circle","selectable":true,"left":160.2433759489,"fill":"#FF0000"},{"opacity":1,"angle":348.8635547079,"flipX":false,"flipY":false,"top":160.0041313375,"height":76.4002156514,"width":72.6609025966,"asset":"Star3","selectable":true,"left":159.9960708656,"fill":"#FFFFFF"},{"opacity":1,"angle":7.6561223471,"flipX":false,"flipY":false,"top":160.0041313375,"height":76.4002156514,"width":72.6609025966,"asset":"Star3","selectable":true,"left":159.9960708656,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.7422341978,"height":31.3197829609,"width":31.3197829609,"asset":"Circle","selectable":true,"left":159.2577658022,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.75071378,"height":27.3277738535,"width":27.3277738535,"asset":"Circle","selectable":true,"left":159.24928622,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.748418622,"height":24.350969198600005,"width":24.350969198600005,"asset":"Circle","selectable":true,"left":159.251581378,"fill":"#FF0000"},{"opacity":1,"angle":350.8465025807,"flipX":false,"flipY":false,"top":159.7596222204,"height":18.4031023308,"width":19.3502359091,"asset":"Star","selectable":true,"left":159.237985874,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.7461227986,"height":4.4643434506,"width":4.4643434506,"asset":"Circle","selectable":true,"left":159.2538772014,"fill":"#FF0000"}]'},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":159.8075377909,"height":288.1396396495,"width":231.8777829504,"asset":"Emblem107","selectable":true,"left":160.262415279,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.0019329954,"height":283.7847837991,"width":227.44670976510002,"asset":"Emblem107","selectable":true,"left":160.4972307235,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.2572329268,"height":184.3334500834,"width":184.3334500834,"asset":"Circle","selectable":true,"left":159.7427670732,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.9991999318,"height":167.9487203613,"width":167.9487203613,"asset":"Circle","selectable":true,"left":160.0008000682,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.4939254801,"height":155.0431294806,"width":155.0431294806,"asset":"Circle","selectable":true,"left":160.5060745199,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":91.9540229885,"width":91.9540229885,"asset":"Circle","selectable":true,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":147.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":98.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":172.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":91.9540229885,"width":91.9540229885,"asset":"Circle","selectable":true,"left":160,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":107.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":125.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":124.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":108.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":99.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":98.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":192.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":107.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":210.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":124.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":145.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":170.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":211.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":193.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":194.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":211.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":172.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":220.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":148.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":219.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":127.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":210.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":109.0196225875,"height":19.9147778136,"width":19.9147778136,"asset":"Circle","selectable":true,"left":195.9803774125,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":159.7566240511,"height":83.9619894636,"width":83.9619894636,"asset":"Circle","selectable":true,"left":160.2433759489,"fill":"#FF0000"},{"opacity":1,"angle":348.8635547079,"flipX":false,"flipY":false,"top":160.0041313375,"height":76.4002156514,"width":72.6609025966,"asset":"Star3","selectable":true,"left":159.9960708656,"fill":"#FFFFFF"},{"opacity":1,"angle":7.6561223471,"flipX":false,"flipY":false,"top":160.0041313375,"height":76.4002156514,"width":72.6609025966,"asset":"Star3","selectable":true,"left":159.9960708656,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.7422341978,"height":31.3197829609,"width":31.3197829609,"asset":"Circle","selectable":true,"left":159.2577658022,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.75071378,"height":27.3277738535,"width":27.3277738535,"asset":"Circle","selectable":true,"left":159.24928622,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.748418622,"height":24.350969198600005,"width":24.350969198600005,"asset":"Circle","selectable":true,"left":159.251581378,"fill":"#FF0000"},{"opacity":1,"angle":350.8465025807,"flipX":false,"flipY":false,"top":159.7596222204,"height":18.4031023308,"width":19.3502359091,"asset":"Star","selectable":true,"left":159.237985874,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.7461227986,"height":4.4643434506,"width":4.4643434506,"asset":"Circle","selectable":true,"left":159.2538772014,"fill":"#FF0000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告