登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
28
圖層數
18
Emblem 53332
作者:
paul
»
代碼 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":121.5,"left":160.5,"height":112,"width":112,"asset":"Circle","fill":"#cccccc","selectable":false},{"opacity":1,"angle":22.592555236327332,"flipX":false,"flipY":false,"top":124,"left":160.5,"height":123.37453955095177,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.385727931928365,"flipX":true,"flipY":true,"top":125.5,"left":161.5,"height":117.61717561648894,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-113.67053848472044,"flipX":true,"flipY":true,"top":123,"left":160.5,"height":113.18427983697471,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-67.80971110387746,"flipX":true,"flipY":true,"top":122,"left":158.5,"height":118.96037306664302,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":89.3259631020155,"flipX":true,"flipY":true,"top":122.5,"left":186.5,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":180,"flipX":true,"flipY":true,"top":150,"left":160.5,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":-90.67403689798451,"flipX":true,"flipY":true,"top":123,"left":135,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":0.6585431775635989,"flipX":true,"flipY":true,"top":97,"left":161,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":124.75,"left":161.5,"height":152.5,"width":151.0703125,"asset":"MedalRing3","fill":"#000000","selectable":false},{"opacity":1,"angle":47.20259816176581,"flipX":false,"flipY":false,"top":157,"left":127.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":2.5113632671630737,"flipX":true,"flipY":true,"top":171.5,"left":160.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-134.63506366426935,"flipX":true,"flipY":true,"top":89.5,"left":193.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-91.52752544221293,"flipX":true,"flipY":true,"top":121.5,"left":207.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-42.04368934249634,"flipX":true,"flipY":true,"top":155.5,"left":195.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":136.01697803071917,"flipX":true,"flipY":true,"top":91,"left":127.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":178.1642252594543,"flipX":true,"flipY":true,"top":76,"left":161.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-90.96286362563622,"flipX":true,"flipY":true,"top":123,"left":113.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","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":121.5,"left":160.5,"height":112,"width":112,"asset":"Circle","fill":"#cccccc","selectable":false},{"opacity":1,"angle":22.592555236327332,"flipX":false,"flipY":false,"top":124,"left":160.5,"height":123.37453955095177,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.385727931928365,"flipX":true,"flipY":true,"top":125.5,"left":161.5,"height":117.61717561648894,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-113.67053848472044,"flipX":true,"flipY":true,"top":123,"left":160.5,"height":113.18427983697471,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-67.80971110387746,"flipX":true,"flipY":true,"top":122,"left":158.5,"height":118.96037306664302,"width":2.0079999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":89.3259631020155,"flipX":true,"flipY":true,"top":122.5,"left":186.5,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":180,"flipX":true,"flipY":true,"top":150,"left":160.5,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":-90.67403689798451,"flipX":true,"flipY":true,"top":123,"left":135,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":0.6585431775635989,"flipX":true,"flipY":true,"top":97,"left":161,"height":50,"width":41.1279059599276,"asset":"Triangle","fill":"#980000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":124.75,"left":161.5,"height":152.5,"width":151.0703125,"asset":"MedalRing3","fill":"#000000","selectable":false},{"opacity":1,"angle":47.20259816176581,"flipX":false,"flipY":false,"top":157,"left":127.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":2.5113632671630737,"flipX":true,"flipY":true,"top":171.5,"left":160.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-134.63506366426935,"flipX":true,"flipY":true,"top":89.5,"left":193.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-91.52752544221293,"flipX":true,"flipY":true,"top":121.5,"left":207.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-42.04368934249634,"flipX":true,"flipY":true,"top":155.5,"left":195.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":136.01697803071917,"flipX":true,"flipY":true,"top":91,"left":127.25,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":178.1642252594543,"flipX":true,"flipY":true,"top":76,"left":161.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":-90.96286362563622,"flipX":true,"flipY":true,"top":123,"left":113.75,"height":20.776297603218154,"width":47.48868023592721,"asset":"Eye2","fill":"#000000","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告