登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
14
圖層數
33
Communist Star
作者:
Aaron
»
代碼 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:'[{"angle":0,"left":160,"height":192.98223198784723,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Circle","width":192.98223198784723,"top":160,"flipY":false},{"angle":0,"left":160,"height":185.33512369791666,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":185.33512369791666,"top":160,"flipY":false},{"angle":0,"left":160,"height":175.36088053385419,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Circle","width":175.36088053385419,"top":160,"flipY":false},{"angle":0,"left":160,"height":166.33333333333334,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Circle","width":166.33333333333334,"top":160,"flipY":false},{"angle":0,"left":160,"height":157.73155381944446,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":157.73155381944446,"top":160,"flipY":false},{"angle":-15.40672770043875,"left":229.60208677225603,"height":265.35957446109796,"flipX":true,"fill":"#000000","opacity":1,"asset":"Wreath","width":157.166671212617,"top":160,"flipY":false},{"angle":15.40672770043875,"left":90.64562518371437,"height":265.35957446109796,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wreath","width":157.166671212617,"top":160,"flipY":false},{"angle":15.40672770043875,"left":90.64562518371437,"height":247.24143215199598,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Wreath","width":146.43569185729888,"top":160,"flipY":false},{"angle":-15.40672770043875,"left":229.60208677225603,"height":247.24143215199598,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Wreath","width":146.43569185729888,"top":160,"flipY":false},{"angle":0,"left":160,"height":61.199750778816195,"flipX":false,"fill":"#000000","opacity":1,"asset":"Banner","width":159.50155763239874,"top":281.2497829861111,"flipY":false},{"angle":0,"left":160,"height":54.89883981173179,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Banner","width":143.07983857368487,"top":281.2497829861111,"flipY":false},{"angle":0,"left":160,"height":131.66184759845504,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.596524718052074,"top":160,"flipY":false},{"angle":0,"left":160.26073960400132,"height":98.021610751595,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Star","width":103.06638838034942,"top":265.5960932333003,"flipY":false},{"angle":0,"left":160,"height":81.20317305957914,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star4","width":85.3792874573361,"top":265.33154296875,"flipY":false},{"angle":-36.444267761989664,"left":154.6612322771991,"height":128.7696606463665,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.928925209812057,"top":152.10149367708902,"flipY":false},{"angle":36.444267761989664,"left":165.68543233989195,"height":128.7696606463665,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.928925209812057,"top":152.10149367708902,"flipY":false},{"angle":-24.58445506667516,"left":160,"height":117.7356714292091,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.428389991850306,"top":160,"flipY":false},{"angle":24.58445506667516,"left":160,"height":117.7356714292091,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.428389991850306,"top":160,"flipY":false},{"angle":11.417750264818721,"left":160,"height":117.23239247205727,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.220019727446897,"top":160,"flipY":false},{"angle":-11.417750264818721,"left":160,"height":117.23239247205727,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.220019727446897,"top":160,"flipY":false},{"angle":70.71256820744502,"left":151.4765423765716,"height":130.79628656116452,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.456228234135057,"top":162.83223514376814,"flipY":false},{"angle":-72.78962584612735,"left":168.986502587146,"height":129.9888278785347,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.422544717745605,"top":162.83223514376814,"flipY":true},{"angle":-46.783921876036345,"left":160,"height":117.68770573761633,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.426178457512126,"top":160,"flipY":false},{"angle":47.89839089841723,"left":160,"height":118.38653958622884,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.94748491903575,"top":160,"flipY":false},{"angle":59.80056447883819,"left":160,"height":118.60269777864568,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.392609246919546,"top":160,"flipY":false},{"angle":-60.06844520841747,"left":160,"height":116.05284904827087,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.3508007951365535,"top":160,"flipY":false},{"angle":-84.42663243215584,"left":160,"height":118.7564556460782,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.196536961180687,"top":160,"flipY":false},{"angle":82.45752076801497,"left":160,"height":118.07319525799906,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.301253105142797,"top":160,"flipY":false},{"angle":0,"left":160,"height":89.670618937159,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Circle","width":89.670618937159,"top":160,"flipY":false},{"angle":0,"left":160.4057192222379,"height":135.4235025088301,"flipX":false,"fill":"#000000","opacity":1,"asset":"Star","width":142.39320491043028,"top":152.10149367708902,"flipY":false},{"angle":0,"left":160,"height":118.4901517537605,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star4","width":124.58385979603402,"top":152.10149367708902,"flipY":false},{"angle":0,"left":160.23350046641792,"height":106.6650977718903,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Star","width":112.15472087523008,"top":152.7648435941703,"flipY":false},{"angle":0,"left":160,"height":73.62730184314972,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star4","width":77.4138045586234,"top":152.7648435941703,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":160,"height":192.98223198784723,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Circle","width":192.98223198784723,"top":160,"flipY":false},{"angle":0,"left":160,"height":185.33512369791666,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":185.33512369791666,"top":160,"flipY":false},{"angle":0,"left":160,"height":175.36088053385419,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Circle","width":175.36088053385419,"top":160,"flipY":false},{"angle":0,"left":160,"height":166.33333333333334,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Circle","width":166.33333333333334,"top":160,"flipY":false},{"angle":0,"left":160,"height":157.73155381944446,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":157.73155381944446,"top":160,"flipY":false},{"angle":-15.40672770043875,"left":229.60208677225603,"height":265.35957446109796,"flipX":true,"fill":"#000000","opacity":1,"asset":"Wreath","width":157.166671212617,"top":160,"flipY":false},{"angle":15.40672770043875,"left":90.64562518371437,"height":265.35957446109796,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wreath","width":157.166671212617,"top":160,"flipY":false},{"angle":15.40672770043875,"left":90.64562518371437,"height":247.24143215199598,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Wreath","width":146.43569185729888,"top":160,"flipY":false},{"angle":-15.40672770043875,"left":229.60208677225603,"height":247.24143215199598,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Wreath","width":146.43569185729888,"top":160,"flipY":false},{"angle":0,"left":160,"height":61.199750778816195,"flipX":false,"fill":"#000000","opacity":1,"asset":"Banner","width":159.50155763239874,"top":281.2497829861111,"flipY":false},{"angle":0,"left":160,"height":54.89883981173179,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Banner","width":143.07983857368487,"top":281.2497829861111,"flipY":false},{"angle":0,"left":160,"height":131.66184759845504,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.596524718052074,"top":160,"flipY":false},{"angle":0,"left":160.26073960400132,"height":98.021610751595,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Star","width":103.06638838034942,"top":265.5960932333003,"flipY":false},{"angle":0,"left":160,"height":81.20317305957914,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star4","width":85.3792874573361,"top":265.33154296875,"flipY":false},{"angle":-36.444267761989664,"left":154.6612322771991,"height":128.7696606463665,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.928925209812057,"top":152.10149367708902,"flipY":false},{"angle":36.444267761989664,"left":165.68543233989195,"height":128.7696606463665,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.928925209812057,"top":152.10149367708902,"flipY":false},{"angle":-24.58445506667516,"left":160,"height":117.7356714292091,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.428389991850306,"top":160,"flipY":false},{"angle":24.58445506667516,"left":160,"height":117.7356714292091,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.428389991850306,"top":160,"flipY":false},{"angle":11.417750264818721,"left":160,"height":117.23239247205727,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.220019727446897,"top":160,"flipY":false},{"angle":-11.417750264818721,"left":160,"height":117.23239247205727,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.220019727446897,"top":160,"flipY":false},{"angle":70.71256820744502,"left":151.4765423765716,"height":130.79628656116452,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.456228234135057,"top":162.83223514376814,"flipY":false},{"angle":-72.78962584612735,"left":168.986502587146,"height":129.9888278785347,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.422544717745605,"top":162.83223514376814,"flipY":true},{"angle":-46.783921876036345,"left":160,"height":117.68770573761633,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.426178457512126,"top":160,"flipY":false},{"angle":47.89839089841723,"left":160,"height":118.38653958622884,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.94748491903575,"top":160,"flipY":false},{"angle":59.80056447883819,"left":160,"height":118.60269777864568,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.392609246919546,"top":160,"flipY":false},{"angle":-60.06844520841747,"left":160,"height":116.05284904827087,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.3508007951365535,"top":160,"flipY":false},{"angle":-84.42663243215584,"left":160,"height":118.7564556460782,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.196536961180687,"top":160,"flipY":false},{"angle":82.45752076801497,"left":160,"height":118.07319525799906,"flipX":true,"fill":"#febf00","opacity":1,"asset":"Stroke","width":5.301253105142797,"top":160,"flipY":false},{"angle":0,"left":160,"height":89.670618937159,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Circle","width":89.670618937159,"top":160,"flipY":false},{"angle":0,"left":160.4057192222379,"height":135.4235025088301,"flipX":false,"fill":"#000000","opacity":1,"asset":"Star","width":142.39320491043028,"top":152.10149367708902,"flipY":false},{"angle":0,"left":160,"height":118.4901517537605,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star4","width":124.58385979603402,"top":152.10149367708902,"flipY":false},{"angle":0,"left":160.23350046641792,"height":106.6650977718903,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Star","width":112.15472087523008,"top":152.7648435941703,"flipY":false},{"angle":0,"left":160,"height":73.62730184314972,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star4","width":77.4138045586234,"top":152.7648435941703,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告