登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
373
圖層數
19
Guard Duck
作者:
McNastyfingers
代碼 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.6531203458,"height":330.8445130772,"width":330.8445130772,"asset":"Square","selectable":false,"left":159.6531203458,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.5,"height":319,"width":318,"asset":"Shield4","selectable":false,"left":159,"fill":"#406618"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.7224842767,"height":301.4449685535,"width":300.5,"asset":"Shield4","selectable":false,"left":158.25,"fill":"#363636"},{"opacity":1,"angle":181.7170609903,"flipX":false,"flipY":false,"top":305.6815682978,"height":27.8913119148,"width":28.996721299599997,"asset":"Clubs","selectable":false,"left":82.6670359372,"fill":"#F7941D"},{"opacity":1,"angle":181.7170609903,"flipX":false,"flipY":false,"top":306.6815682978,"height":27.8913119148,"width":28.996721299599997,"asset":"Clubs","selectable":false,"left":107.6670359372,"fill":"#F7941D"},{"opacity":1,"angle":87.0914780437,"flipX":false,"flipY":false,"top":255.5904994879,"height":13.084736645199998,"width":100,"asset":"Dogtag","selectable":false,"left":80.3775806673,"fill":"#F7941D"},{"opacity":1,"angle":87.0914780437,"flipX":false,"flipY":false,"top":255.5904994879,"height":13.084736645199998,"width":100,"asset":"Dogtag","selectable":false,"left":106.3775806673,"fill":"#F7941D"},{"opacity":1,"angle":92.4470486423,"flipX":false,"flipY":false,"top":144.3326788283,"height":63.4719820394,"width":19.4723078446,"asset":"Triangle","selectable":false,"left":238.750740221,"fill":"#F7941D"},{"opacity":1,"angle":105.7059867317,"flipX":true,"flipY":false,"top":182.4264981406,"height":62.65012163170001,"width":100,"asset":"ArrowBent","selectable":false,"left":130.6850130993,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":127.7441048544,"height":93.4882097087,"width":93.4882097087,"asset":"Circle","selectable":false,"left":168.2156941406,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":232.5,"height":67,"width":116,"asset":"Circle","selectable":false,"left":99,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":206,"height":100,"width":46.899375,"asset":"Wing2","selectable":false,"left":50,"fill":"#FFFFFF"},{"opacity":1,"angle":161.716390263,"flipX":false,"flipY":false,"top":71.3000261162,"height":68.5934485756,"width":86.4504590008,"asset":"Shield","selectable":false,"left":149.5511657193,"fill":"#598527"},{"opacity":1,"angle":161.716390263,"flipX":false,"flipY":false,"top":74.0064326179,"height":62.8928419322,"width":86.4504590008,"asset":"Shield","selectable":false,"left":150.4453652906,"fill":"#406618"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":115.2666359153,"height":15.7192014789,"width":15.7192014789,"asset":"Circle","selectable":false,"left":187.8596007394,"fill":"#000000"},{"opacity":1,"angle":-34.9005920269,"flipX":false,"flipY":false,"top":145.9956353546,"height":82.9192242522,"width":30,"asset":"StrokeBent","selectable":false,"left":148.1135799452,"fill":"#406618"},{"opacity":1,"angle":-41.9886008491,"flipX":true,"flipY":false,"top":180.4811839423,"height":74.97184738,"width":361.4135243757,"asset":"WeaponShotgun","selectable":false,"left":188.9152176742,"fill":"#111111"},{"opacity":1,"angle":163.9502288475,"flipX":false,"flipY":false,"top":234.2258932661,"height":66.2763520051,"width":42.3474822273,"asset":"Wing4","selectable":false,"left":132.0157951238,"fill":"#FFFFFF"},{"opacity":1,"angle":180.7733245312,"flipX":false,"flipY":false,"top":282.1864204185,"height":22.6076837245,"width":12.8983747601,"asset":"Soundwaves","selectable":false,"left":108.8071466901,"fill":"#111111"}]'},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.6531203458,"height":330.8445130772,"width":330.8445130772,"asset":"Square","selectable":false,"left":159.6531203458,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.5,"height":319,"width":318,"asset":"Shield4","selectable":false,"left":159,"fill":"#406618"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.7224842767,"height":301.4449685535,"width":300.5,"asset":"Shield4","selectable":false,"left":158.25,"fill":"#363636"},{"opacity":1,"angle":181.7170609903,"flipX":false,"flipY":false,"top":305.6815682978,"height":27.8913119148,"width":28.996721299599997,"asset":"Clubs","selectable":false,"left":82.6670359372,"fill":"#F7941D"},{"opacity":1,"angle":181.7170609903,"flipX":false,"flipY":false,"top":306.6815682978,"height":27.8913119148,"width":28.996721299599997,"asset":"Clubs","selectable":false,"left":107.6670359372,"fill":"#F7941D"},{"opacity":1,"angle":87.0914780437,"flipX":false,"flipY":false,"top":255.5904994879,"height":13.084736645199998,"width":100,"asset":"Dogtag","selectable":false,"left":80.3775806673,"fill":"#F7941D"},{"opacity":1,"angle":87.0914780437,"flipX":false,"flipY":false,"top":255.5904994879,"height":13.084736645199998,"width":100,"asset":"Dogtag","selectable":false,"left":106.3775806673,"fill":"#F7941D"},{"opacity":1,"angle":92.4470486423,"flipX":false,"flipY":false,"top":144.3326788283,"height":63.4719820394,"width":19.4723078446,"asset":"Triangle","selectable":false,"left":238.750740221,"fill":"#F7941D"},{"opacity":1,"angle":105.7059867317,"flipX":true,"flipY":false,"top":182.4264981406,"height":62.65012163170001,"width":100,"asset":"ArrowBent","selectable":false,"left":130.6850130993,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":127.7441048544,"height":93.4882097087,"width":93.4882097087,"asset":"Circle","selectable":false,"left":168.2156941406,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":232.5,"height":67,"width":116,"asset":"Circle","selectable":false,"left":99,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":206,"height":100,"width":46.899375,"asset":"Wing2","selectable":false,"left":50,"fill":"#FFFFFF"},{"opacity":1,"angle":161.716390263,"flipX":false,"flipY":false,"top":71.3000261162,"height":68.5934485756,"width":86.4504590008,"asset":"Shield","selectable":false,"left":149.5511657193,"fill":"#598527"},{"opacity":1,"angle":161.716390263,"flipX":false,"flipY":false,"top":74.0064326179,"height":62.8928419322,"width":86.4504590008,"asset":"Shield","selectable":false,"left":150.4453652906,"fill":"#406618"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":115.2666359153,"height":15.7192014789,"width":15.7192014789,"asset":"Circle","selectable":false,"left":187.8596007394,"fill":"#000000"},{"opacity":1,"angle":-34.9005920269,"flipX":false,"flipY":false,"top":145.9956353546,"height":82.9192242522,"width":30,"asset":"StrokeBent","selectable":false,"left":148.1135799452,"fill":"#406618"},{"opacity":1,"angle":-41.9886008491,"flipX":true,"flipY":false,"top":180.4811839423,"height":74.97184738,"width":361.4135243757,"asset":"WeaponShotgun","selectable":false,"left":188.9152176742,"fill":"#111111"},{"opacity":1,"angle":163.9502288475,"flipX":false,"flipY":false,"top":234.2258932661,"height":66.2763520051,"width":42.3474822273,"asset":"Wing4","selectable":false,"left":132.0157951238,"fill":"#FFFFFF"},{"opacity":1,"angle":180.7733245312,"flipX":false,"flipY":false,"top":282.1864204185,"height":22.6076837245,"width":12.8983747601,"asset":"Soundwaves","selectable":false,"left":108.8071466901,"fill":"#111111"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
Guard Duck
Pearls Before Swine
广告