登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
20
MatchesTeam
作者:
MatchesTeam
代碼 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":61.5114148848,"height":549.5879053612,"width":371.0958488012,"asset":"Square","selectable":false,"left":153.2924010719,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.9679163533,"height":347.8898556952,"width":85.8983291859,"asset":"StrokeBent","selectable":false,"left":37.8439388553,"fill":"#00AEEF"},{"opacity":1,"angle":180.070474478,"flipX":false,"flipY":false,"top":159.3695671814,"height":335.2506131163,"width":77.7671669353,"asset":"StrokeBent","selectable":false,"left":288.6907841438,"fill":"#00AEEF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.2580264055,"height":371.1641711195,"width":215.5803072988,"asset":"Shield","selectable":false,"left":166.4638421097,"fill":"#00AEEF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149.435206073,"height":368.8244351345,"width":130.4344116601,"asset":"StrokeBent","selectable":false,"left":69.4241023818,"fill":"#00AEEF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":156.7540354338,"height":368.190737026,"width":153.1801489903,"asset":"StrokeBent","selectable":false,"left":19.2030289531,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":171.1859848892,"height":208.32599276689996,"width":20.1486405392,"asset":"Stroke","selectable":false,"left":56.8789179707,"fill":"#00AEEF"},{"opacity":1,"angle":184.5465292763,"flipX":false,"flipY":false,"top":216.9225536296,"height":266.9541729829,"width":112.42374079040002,"asset":"StrokeBent","selectable":false,"left":250.4100403266,"fill":"#00AEEF"},{"opacity":1,"angle":354.8153340345,"flipX":false,"flipY":false,"top":96.2010042969,"height":160.4755254771,"width":34.9916509266,"asset":"Stroke","selectable":false,"left":281.2977180829,"fill":"#00AEEF"},{"opacity":1,"angle":309.4025908541,"flipX":false,"flipY":false,"top":146.5201223412,"height":91.9540229885,"width":35.2669046122,"asset":"Stroke","selectable":false,"left":124.64381735,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.7735905681,"height":133.6177081876,"width":30.1500173172,"asset":"Stroke","selectable":false,"left":84.5461026792,"fill":"#FFFFFF"},{"opacity":1,"angle":42.4213094237,"flipX":false,"flipY":false,"top":159.5576772477,"height":127.3438252724,"width":25.1336659252,"asset":"Stroke","selectable":false,"left":160.2175127104,"fill":"#FFFFFF"},{"opacity":1,"angle":173.730168377,"flipX":false,"flipY":true,"top":111.265456246,"height":58.5190920947,"width":118.634123526,"asset":"ArrowBent","selectable":false,"left":245.1184715817,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":190.4789912338,"height":110.3523155602,"width":35.8753132792,"asset":"Stroke","selectable":false,"left":244.4982084096,"fill":"#FFFFFF"},{"opacity":1,"angle":0.1192200755,"flipX":false,"flipY":false,"top":59.0334346842,"height":107.249208391,"width":48.8819508894,"asset":"Wing3","selectable":false,"left":49.79917924,"fill":"#FFFFFF"},{"opacity":1,"angle":190.1006495762,"flipX":false,"flipY":false,"top":195.0139579626,"height":91.9540229885,"width":44.0358956194,"asset":"Wing3","selectable":false,"left":296.2979140182,"fill":"#FFFFFF"},{"opacity":1,"angle":178.8306317047,"flipX":false,"flipY":false,"top":158.0846692518,"height":369.5173905123,"width":147.3234897217,"asset":"StrokeBent","selectable":false,"left":304.052650351,"fill":"#FFFFFF"},{"opacity":1,"angle":17.9562509477,"flipX":false,"flipY":false,"top":68.8656726111,"height":128.3211294878,"width":71.1637566979,"asset":"Lightning1","selectable":false,"left":141.1742064772,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":294,"height":91.9540229885,"width":221.4425606655,"asset":"MedalPart","selectable":false,"left":163.3324162902,"fill":"#FFFFFF"},{"asset":"Banner","left":243.1667658049904,"top":142.66607146323517,"angle":179.5037567719307,"width":134.66899915630455,"height":62.0953858477458,"opacity":1,"fill":"#FFFFFF","flipX":false,"flipY":false,"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":61.5114148848,"height":549.5879053612,"width":371.0958488012,"asset":"Square","selectable":false,"left":153.2924010719,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":151.9679163533,"height":347.8898556952,"width":85.8983291859,"asset":"StrokeBent","selectable":false,"left":37.8439388553,"fill":"#00AEEF"},{"opacity":1,"angle":180.070474478,"flipX":false,"flipY":false,"top":159.3695671814,"height":335.2506131163,"width":77.7671669353,"asset":"StrokeBent","selectable":false,"left":288.6907841438,"fill":"#00AEEF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.2580264055,"height":371.1641711195,"width":215.5803072988,"asset":"Shield","selectable":false,"left":166.4638421097,"fill":"#00AEEF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149.435206073,"height":368.8244351345,"width":130.4344116601,"asset":"StrokeBent","selectable":false,"left":69.4241023818,"fill":"#00AEEF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":156.7540354338,"height":368.190737026,"width":153.1801489903,"asset":"StrokeBent","selectable":false,"left":19.2030289531,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":171.1859848892,"height":208.32599276689996,"width":20.1486405392,"asset":"Stroke","selectable":false,"left":56.8789179707,"fill":"#00AEEF"},{"opacity":1,"angle":184.5465292763,"flipX":false,"flipY":false,"top":216.9225536296,"height":266.9541729829,"width":112.42374079040002,"asset":"StrokeBent","selectable":false,"left":250.4100403266,"fill":"#00AEEF"},{"opacity":1,"angle":354.8153340345,"flipX":false,"flipY":false,"top":96.2010042969,"height":160.4755254771,"width":34.9916509266,"asset":"Stroke","selectable":false,"left":281.2977180829,"fill":"#00AEEF"},{"opacity":1,"angle":309.4025908541,"flipX":false,"flipY":false,"top":146.5201223412,"height":91.9540229885,"width":35.2669046122,"asset":"Stroke","selectable":false,"left":124.64381735,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170.7735905681,"height":133.6177081876,"width":30.1500173172,"asset":"Stroke","selectable":false,"left":84.5461026792,"fill":"#FFFFFF"},{"opacity":1,"angle":42.4213094237,"flipX":false,"flipY":false,"top":159.5576772477,"height":127.3438252724,"width":25.1336659252,"asset":"Stroke","selectable":false,"left":160.2175127104,"fill":"#FFFFFF"},{"opacity":1,"angle":173.730168377,"flipX":false,"flipY":true,"top":111.265456246,"height":58.5190920947,"width":118.634123526,"asset":"ArrowBent","selectable":false,"left":245.1184715817,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":190.4789912338,"height":110.3523155602,"width":35.8753132792,"asset":"Stroke","selectable":false,"left":244.4982084096,"fill":"#FFFFFF"},{"opacity":1,"angle":0.1192200755,"flipX":false,"flipY":false,"top":59.0334346842,"height":107.249208391,"width":48.8819508894,"asset":"Wing3","selectable":false,"left":49.79917924,"fill":"#FFFFFF"},{"opacity":1,"angle":190.1006495762,"flipX":false,"flipY":false,"top":195.0139579626,"height":91.9540229885,"width":44.0358956194,"asset":"Wing3","selectable":false,"left":296.2979140182,"fill":"#FFFFFF"},{"opacity":1,"angle":178.8306317047,"flipX":false,"flipY":false,"top":158.0846692518,"height":369.5173905123,"width":147.3234897217,"asset":"StrokeBent","selectable":false,"left":304.052650351,"fill":"#FFFFFF"},{"opacity":1,"angle":17.9562509477,"flipX":false,"flipY":false,"top":68.8656726111,"height":128.3211294878,"width":71.1637566979,"asset":"Lightning1","selectable":false,"left":141.1742064772,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":294,"height":91.9540229885,"width":221.4425606655,"asset":"MedalPart","selectable":false,"left":163.3324162902,"fill":"#FFFFFF"},{"asset":"Banner","left":243.1667658049904,"top":142.66607146323517,"angle":179.5037567719307,"width":134.66899915630455,"height":62.0953858477458,"opacity":1,"fill":"#FFFFFF","flipX":false,"flipY":false,"selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告