登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
157
圖層數
40
archangel
作者:
Grey
»
代碼 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":245.5011731296,"height":714.2184266612,"width":714.2184266612,"asset":"Circle","selectable":false,"left":245.5011731296,"fill":"#000000"},{"opacity":1,"angle":-45.6046206119,"flipX":false,"flipY":false,"top":34.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":-89.4893385958,"fill":"#790000"},{"opacity":1,"angle":233.5361060522,"flipX":false,"flipY":true,"top":62.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":426.5106614042,"fill":"#790000"},{"opacity":0.5,"angle":233.5361060522,"flipX":false,"flipY":true,"top":83.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":421.5106614042,"fill":"#790000"},{"opacity":0.5,"angle":-45.6046206119,"flipX":false,"flipY":false,"top":55.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":-82.4893385958,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":57.95613704,"height":187.91227408,"width":168.3707572012,"asset":"Star3","selectable":true,"left":161.0233312457,"fill":"#000000"},{"opacity":0.33,"angle":0,"flipX":false,"flipY":false,"top":60.8188616174,"height":475.0031463273,"width":380.6957247785,"asset":"Shield6","selectable":true,"left":152.8037468201,"fill":"#000000"},{"opacity":0.33,"angle":0,"flipX":false,"flipY":false,"top":3.8188616174,"height":475.0031463273,"width":380.6957247785,"asset":"Shield6","selectable":true,"left":155.8037468201,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":55.5,"height":169,"width":138,"asset":"Star3","selectable":true,"left":159,"fill":"#790000"},{"opacity":0.33,"angle":0,"flipX":false,"flipY":false,"top":-46.1811383826,"height":475.0031463273,"width":380.6957247785,"asset":"Shield6","selectable":true,"left":153.8037468201,"fill":"#000000"},{"asset":"Wreath2","left":64.59559245519097,"top":192.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":true,"selectable":true},{"asset":"Wreath2","left":64.59559245519097,"top":192.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":false,"selectable":true},{"asset":"Wreath2","left":255.59559245519097,"top":186.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":true,"selectable":true},{"asset":"Wreath2","left":255.59559245519097,"top":186.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":false,"selectable":true},{"asset":"Wreath2","left":76.67817449020004,"top":392.6428849415,"angle":90,"width":291.2857698829,"height":530.6436510196,"opacity":0.38,"fill":"#000000","flipX":false,"flipY":false,"selectable":true},{"asset":"Wreath2","left":101.67817449020004,"top":377.6428849415,"angle":90,"width":291.2857698829,"height":530.6436510196,"opacity":0.38,"fill":"#000000","flipX":false,"flipY":false,"selectable":true},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130,"height":239,"width":74,"asset":"Square","selectable":true,"left":161.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":173,"height":306,"width":71,"asset":"Square","selectable":true,"left":159.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":176.5,"height":299,"width":62,"asset":"Square","selectable":true,"left":160,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":228,"width":62,"asset":"Square","selectable":true,"left":162,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":209,"width":45,"asset":"Square","selectable":true,"left":160.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":180.5,"height":291,"width":47,"asset":"Square","selectable":true,"left":159.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184,"height":284,"width":36,"asset":"Square","selectable":true,"left":159,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":198,"width":35,"asset":"Square","selectable":true,"left":160,"fill":"#790000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":false,"top":237,"height":178,"width":36,"asset":"Square","selectable":true,"left":159,"fill":"#000000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":false,"top":75.5,"height":75,"width":36,"asset":"Square","selectable":true,"left":159,"fill":"#000000"},{"opacity":0.45,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":198,"width":35,"asset":"Square","selectable":true,"left":160,"fill":"#000000"},{"opacity":0.45,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":179,"width":21,"asset":"Square","selectable":true,"left":160.5,"fill":"#000000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":false,"top":84.5,"height":71,"width":22,"asset":"Square","selectable":true,"left":158,"fill":"#000000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":true,"top":271,"height":260,"width":22,"asset":"Square","selectable":true,"left":158,"fill":"#000000"},{"opacity":0.38,"angle":90,"flipX":false,"flipY":false,"top":372.6428849415,"height":530.6436510196,"width":291.2857698829,"asset":"Wreath2","selectable":true,"left":183.67817449020004,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":382.1428849415,"height":411.8325556738,"width":232.2857698829,"asset":"Wreath2","selectable":true,"left":125.0837221631,"fill":"#000000"},{"opacity":0.38,"angle":90,"flipX":false,"flipY":false,"top":394.1428849415,"height":530.6436510196,"width":292.2857698829,"asset":"Wreath2","selectable":true,"left":185.6781744902,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":354,"height":100,"width":100,"asset":"Triangle","selectable":true,"left":159,"fill":"#000000"},{"opacity":0.32,"angle":0,"flipX":false,"flipY":false,"top":353,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":121.38734375,"fill":"#790000"},{"opacity":0.27,"angle":0,"flipX":true,"flipY":true,"top":347,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":92.38734375,"fill":"#790000"},{"opacity":0.25,"angle":0,"flipX":false,"flipY":true,"top":339,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":94.38734375,"fill":"#790000"},{"opacity":0.23,"angle":0,"flipX":true,"flipY":true,"top":335,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":98.38734375,"fill":"#790000"},{"opacity":0.32,"angle":0,"flipX":false,"flipY":false,"top":359,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":54.38734375,"fill":"#790000"},{"opacity":0.27,"angle":0,"flipX":true,"flipY":true,"top":355,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":79.38734375,"fill":"#790000"}]'},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":245.5011731296,"height":714.2184266612,"width":714.2184266612,"asset":"Circle","selectable":false,"left":245.5011731296,"fill":"#000000"},{"opacity":1,"angle":-45.6046206119,"flipX":false,"flipY":false,"top":34.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":-89.4893385958,"fill":"#790000"},{"opacity":1,"angle":233.5361060522,"flipX":false,"flipY":true,"top":62.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":426.5106614042,"fill":"#790000"},{"opacity":0.5,"angle":233.5361060522,"flipX":false,"flipY":true,"top":83.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":421.5106614042,"fill":"#790000"},{"opacity":0.5,"angle":-45.6046206119,"flipX":false,"flipY":false,"top":55.9680030009,"height":502.0639939983,"width":280.9346146917,"asset":"Wing1","selectable":true,"left":-82.4893385958,"fill":"#790000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":57.95613704,"height":187.91227408,"width":168.3707572012,"asset":"Star3","selectable":true,"left":161.0233312457,"fill":"#000000"},{"opacity":0.33,"angle":0,"flipX":false,"flipY":false,"top":60.8188616174,"height":475.0031463273,"width":380.6957247785,"asset":"Shield6","selectable":true,"left":152.8037468201,"fill":"#000000"},{"opacity":0.33,"angle":0,"flipX":false,"flipY":false,"top":3.8188616174,"height":475.0031463273,"width":380.6957247785,"asset":"Shield6","selectable":true,"left":155.8037468201,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":55.5,"height":169,"width":138,"asset":"Star3","selectable":true,"left":159,"fill":"#790000"},{"opacity":0.33,"angle":0,"flipX":false,"flipY":false,"top":-46.1811383826,"height":475.0031463273,"width":380.6957247785,"asset":"Shield6","selectable":true,"left":153.8037468201,"fill":"#000000"},{"asset":"Wreath2","left":64.59559245519097,"top":192.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":true,"selectable":true},{"asset":"Wreath2","left":64.59559245519097,"top":192.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":false,"selectable":true},{"asset":"Wreath2","left":255.59559245519097,"top":186.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":true,"selectable":true},{"asset":"Wreath2","left":255.59559245519097,"top":186.130363469361,"angle":270,"width":211.73927306127806,"height":154.80881508961812,"opacity":0.26,"fill":"#790000","flipX":false,"flipY":false,"selectable":true},{"asset":"Wreath2","left":76.67817449020004,"top":392.6428849415,"angle":90,"width":291.2857698829,"height":530.6436510196,"opacity":0.38,"fill":"#000000","flipX":false,"flipY":false,"selectable":true},{"asset":"Wreath2","left":101.67817449020004,"top":377.6428849415,"angle":90,"width":291.2857698829,"height":530.6436510196,"opacity":0.38,"fill":"#000000","flipX":false,"flipY":false,"selectable":true},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130,"height":239,"width":74,"asset":"Square","selectable":true,"left":161.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":173,"height":306,"width":71,"asset":"Square","selectable":true,"left":159.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":176.5,"height":299,"width":62,"asset":"Square","selectable":true,"left":160,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":228,"width":62,"asset":"Square","selectable":true,"left":162,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":209,"width":45,"asset":"Square","selectable":true,"left":160.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":180.5,"height":291,"width":47,"asset":"Square","selectable":true,"left":159.5,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":184,"height":284,"width":36,"asset":"Square","selectable":true,"left":159,"fill":"#790000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":198,"width":35,"asset":"Square","selectable":true,"left":160,"fill":"#790000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":false,"top":237,"height":178,"width":36,"asset":"Square","selectable":true,"left":159,"fill":"#000000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":false,"top":75.5,"height":75,"width":36,"asset":"Square","selectable":true,"left":159,"fill":"#000000"},{"opacity":0.45,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":198,"width":35,"asset":"Square","selectable":true,"left":160,"fill":"#000000"},{"opacity":0.45,"angle":90,"flipX":false,"flipY":false,"top":130.5,"height":179,"width":21,"asset":"Square","selectable":true,"left":160.5,"fill":"#000000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":false,"top":84.5,"height":71,"width":22,"asset":"Square","selectable":true,"left":158,"fill":"#000000"},{"opacity":0.45,"angle":0,"flipX":false,"flipY":true,"top":271,"height":260,"width":22,"asset":"Square","selectable":true,"left":158,"fill":"#000000"},{"opacity":0.38,"angle":90,"flipX":false,"flipY":false,"top":372.6428849415,"height":530.6436510196,"width":291.2857698829,"asset":"Wreath2","selectable":true,"left":183.67817449020004,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":382.1428849415,"height":411.8325556738,"width":232.2857698829,"asset":"Wreath2","selectable":true,"left":125.0837221631,"fill":"#000000"},{"opacity":0.38,"angle":90,"flipX":false,"flipY":false,"top":394.1428849415,"height":530.6436510196,"width":292.2857698829,"asset":"Wreath2","selectable":true,"left":185.6781744902,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":354,"height":100,"width":100,"asset":"Triangle","selectable":true,"left":159,"fill":"#000000"},{"opacity":0.32,"angle":0,"flipX":false,"flipY":false,"top":353,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":121.38734375,"fill":"#790000"},{"opacity":0.27,"angle":0,"flipX":true,"flipY":true,"top":347,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":92.38734375,"fill":"#790000"},{"opacity":0.25,"angle":0,"flipX":false,"flipY":true,"top":339,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":94.38734375,"fill":"#790000"},{"opacity":0.23,"angle":0,"flipX":true,"flipY":true,"top":335,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":98.38734375,"fill":"#790000"},{"opacity":0.32,"angle":0,"flipX":false,"flipY":false,"top":359,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":54.38734375,"fill":"#790000"},{"opacity":0.27,"angle":0,"flipX":true,"flipY":true,"top":355,"height":100,"width":556.7746875,"asset":"Wreath2","selectable":true,"left":79.38734375,"fill":"#790000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告