登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
22
CrazyKa
作者:
CrazyKa
代碼 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":148.86,"left":114.88,"height":162.723,"width":115.765210275,"asset":"Number3","fill":"#274e13","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":76.48225,"left":212.4929,"height":33.468222731701445,"width":17.035296354901146,"asset":"Stroke","fill":"#274e13","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":148.98225,"left":192.4929,"height":162.0355,"width":36.454559326171875,"asset":"Stroke","fill":"#274e13","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":119.4985,"left":226.9985,"height":103,"width":103,"asset":"Circle","fill":"#274e13","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":58.48224999999999,"left":164.4929,"height":236.4687525202334,"width":13.965633638344814,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":162.23295,"left":213.845175,"height":33.468222731701445,"width":17.035296354901146,"asset":"Stroke","fill":"#274e13","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":101.37725,"left":225,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":124.43898574844664,"flipX":true,"flipY":true,"top":117,"left":204.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":151.69923786100887,"flipX":true,"flipY":true,"top":106,"left":212.227275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":49.68590782765311,"flipX":true,"flipY":true,"top":137,"left":216.227275,"height":29.46192174725338,"width":5.689205620772713,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-50.21882224327483,"flipX":true,"flipY":true,"top":135.08025,"left":229.84445,"height":29.46192174725338,"width":5.689205620772713,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-125.29335042195304,"flipX":true,"flipY":true,"top":115.5,"left":246.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-156.19406305935215,"flipX":true,"flipY":true,"top":106,"left":234.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":129.01425,"left":225.5,"height":57.97149999999999,"width":2.454559326171874,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":124.43898574844664,"flipX":true,"flipY":true,"top":119.5,"left":207.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-125.29335042195304,"flipX":true,"flipY":true,"top":115.5,"left":244.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-55.14739801733498,"flipX":true,"flipY":true,"top":140.58025,"left":237.34445,"height":29.46192174725338,"width":5.689205620772713,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-179.28384673286476,"flipX":true,"flipY":true,"top":105.5,"left":224.227275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-156.19406305935215,"flipX":true,"flipY":true,"top":108.5,"left":233.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":151.69923786100887,"flipX":true,"flipY":true,"top":109.5,"left":214.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":120.226575,"left":224.226575,"height":24.454559326171875,"width":24.454559326171875,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":237.91825,"left":165.981525,"height":236.4687525202334,"width":13.965633638344814,"asset":"Stroke","fill":"#ffffff","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":148.86,"left":114.88,"height":162.723,"width":115.765210275,"asset":"Number3","fill":"#274e13","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":76.48225,"left":212.4929,"height":33.468222731701445,"width":17.035296354901146,"asset":"Stroke","fill":"#274e13","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":148.98225,"left":192.4929,"height":162.0355,"width":36.454559326171875,"asset":"Stroke","fill":"#274e13","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":119.4985,"left":226.9985,"height":103,"width":103,"asset":"Circle","fill":"#274e13","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":58.48224999999999,"left":164.4929,"height":236.4687525202334,"width":13.965633638344814,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":162.23295,"left":213.845175,"height":33.468222731701445,"width":17.035296354901146,"asset":"Stroke","fill":"#274e13","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":101.37725,"left":225,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":124.43898574844664,"flipX":true,"flipY":true,"top":117,"left":204.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":151.69923786100887,"flipX":true,"flipY":true,"top":106,"left":212.227275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":49.68590782765311,"flipX":true,"flipY":true,"top":137,"left":216.227275,"height":29.46192174725338,"width":5.689205620772713,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-50.21882224327483,"flipX":true,"flipY":true,"top":135.08025,"left":229.84445,"height":29.46192174725338,"width":5.689205620772713,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-125.29335042195304,"flipX":true,"flipY":true,"top":115.5,"left":246.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-156.19406305935215,"flipX":true,"flipY":true,"top":106,"left":234.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":129.01425,"left":225.5,"height":57.97149999999999,"width":2.454559326171874,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":124.43898574844664,"flipX":true,"flipY":true,"top":119.5,"left":207.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-125.29335042195304,"flipX":true,"flipY":true,"top":115.5,"left":244.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-55.14739801733498,"flipX":true,"flipY":true,"top":140.58025,"left":237.34445,"height":29.46192174725338,"width":5.689205620772713,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-179.28384673286476,"flipX":true,"flipY":true,"top":105.5,"left":224.227275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-156.19406305935215,"flipX":true,"flipY":true,"top":108.5,"left":233.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":151.69923786100887,"flipX":true,"flipY":true,"top":109.5,"left":214.727275,"height":63.75450000000001,"width":10.454559326171873,"asset":"Flames","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":120.226575,"left":224.226575,"height":24.454559326171875,"width":24.454559326171875,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.99238566103868,"flipX":true,"flipY":true,"top":237.91825,"left":165.981525,"height":236.4687525202334,"width":13.965633638344814,"asset":"Stroke","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告