登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
3
圖層數
21
Conjugate Initiative
作者:
Tac.Smart
代碼 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":161.896265263,"height":313.7465535145,"width":313.7465535145,"asset":"Circle","selectable":true,"left":159.896265263,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.1997273279,"height":293.1396293848,"width":293.1396293848,"asset":"Circle","selectable":true,"left":159.7279752594,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":118.7330182261,"height":156.4879865363,"width":42.0385499558,"asset":"Stroke","selectable":true,"left":91.823872679,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":62.9398789702,"height":45.8337809289,"width":168.9490457264,"asset":"Square","selectable":true,"left":161.4975113689,"fill":"#FFFFFF"},{"opacity":1,"angle":358.8023100384,"flipX":false,"flipY":false,"top":80.5840874929,"height":59.3959897554,"width":24.3187421833,"asset":"Stroke","selectable":true,"left":219.0819174048,"fill":"#FFFFFF"},{"opacity":1,"angle":39.5379420993,"flipX":false,"flipY":false,"top":106.9813890899,"height":115.4048966621,"width":35.06672478,"asset":"Stroke","selectable":true,"left":222.6305260161,"fill":"#000000"},{"opacity":1,"angle":2.4735822322,"flipX":false,"flipY":false,"top":112,"height":91.9540229885,"width":69.2034482759,"asset":"Romb","selectable":true,"left":244,"fill":"#FFFFFF"},{"opacity":1,"angle":2.4735822322,"flipX":false,"flipY":false,"top":203,"height":91.9540229885,"width":69.2034482759,"asset":"Romb","selectable":true,"left":240,"fill":"#FFFFFF"},{"opacity":1,"angle":2.4735822322,"flipX":false,"flipY":false,"top":225,"height":91.9540229885,"width":69.2034482759,"asset":"Romb","selectable":true,"left":239,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":166.9833396303,"height":115.3126168838,"width":43.6912412433,"asset":"Stroke","selectable":true,"left":230.9717037339,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165.204676478,"height":196.3633759444,"width":17.4231653404,"asset":"Stroke","selectable":true,"left":255.5161803714,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.7778852007,"height":149.5097933899,"width":18.3908045977,"asset":"Stroke","selectable":true,"left":270,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":187,"height":91.9540229885,"width":18.3908045977,"asset":"Stroke","selectable":true,"left":200,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247.057005765,"height":43.8400114584,"width":34.0447720453,"asset":"Square","selectable":true,"left":226.6287759353,"fill":"#FFFFFF"},{"opacity":1,"angle":36.1782998621,"flipX":false,"flipY":false,"top":251.541472721,"height":91.9540229885,"width":23.6134802748,"asset":"Stroke","selectable":true,"left":236.1078299641,"fill":"#000000"},{"opacity":1,"angle":36.1782998621,"flipX":false,"flipY":false,"top":238.541472721,"height":91.9540229885,"width":23.6134802748,"asset":"Stroke","selectable":true,"left":260.1078299641,"fill":"#000000"},{"opacity":1,"angle":104.5958001534,"flipX":false,"flipY":false,"top":250.5472766863,"height":111.1086453,"width":50.3482666347,"asset":"Romb","selectable":true,"left":141.7591809581,"fill":"#FFFFFF"},{"opacity":1,"angle":104.5958001534,"flipX":false,"flipY":false,"top":214.5472766863,"height":111.1086453,"width":50.3482666347,"asset":"Romb","selectable":true,"left":97.7591809581,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":183,"height":91.9540229885,"width":31.207780725,"asset":"Stroke","selectable":true,"left":55.5915119363,"fill":"#000000"},{"opacity":1,"angle":89.9315911138,"flipX":false,"flipY":false,"top":275.0078781828,"height":105.150750929,"width":18.3908045977,"asset":"Stroke","selectable":true,"left":167.4016407329,"fill":"#000000"},{"opacity":1,"angle":307.2879471058,"flipX":false,"flipY":false,"top":252.6115763513,"height":121.0425711666,"width":24.6162988865,"asset":"Stroke","selectable":true,"left":100.611069445,"fill":"#000000"}]'},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":161.896265263,"height":313.7465535145,"width":313.7465535145,"asset":"Circle","selectable":true,"left":159.896265263,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.1997273279,"height":293.1396293848,"width":293.1396293848,"asset":"Circle","selectable":true,"left":159.7279752594,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":118.7330182261,"height":156.4879865363,"width":42.0385499558,"asset":"Stroke","selectable":true,"left":91.823872679,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":62.9398789702,"height":45.8337809289,"width":168.9490457264,"asset":"Square","selectable":true,"left":161.4975113689,"fill":"#FFFFFF"},{"opacity":1,"angle":358.8023100384,"flipX":false,"flipY":false,"top":80.5840874929,"height":59.3959897554,"width":24.3187421833,"asset":"Stroke","selectable":true,"left":219.0819174048,"fill":"#FFFFFF"},{"opacity":1,"angle":39.5379420993,"flipX":false,"flipY":false,"top":106.9813890899,"height":115.4048966621,"width":35.06672478,"asset":"Stroke","selectable":true,"left":222.6305260161,"fill":"#000000"},{"opacity":1,"angle":2.4735822322,"flipX":false,"flipY":false,"top":112,"height":91.9540229885,"width":69.2034482759,"asset":"Romb","selectable":true,"left":244,"fill":"#FFFFFF"},{"opacity":1,"angle":2.4735822322,"flipX":false,"flipY":false,"top":203,"height":91.9540229885,"width":69.2034482759,"asset":"Romb","selectable":true,"left":240,"fill":"#FFFFFF"},{"opacity":1,"angle":2.4735822322,"flipX":false,"flipY":false,"top":225,"height":91.9540229885,"width":69.2034482759,"asset":"Romb","selectable":true,"left":239,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":166.9833396303,"height":115.3126168838,"width":43.6912412433,"asset":"Stroke","selectable":true,"left":230.9717037339,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165.204676478,"height":196.3633759444,"width":17.4231653404,"asset":"Stroke","selectable":true,"left":255.5161803714,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":167.7778852007,"height":149.5097933899,"width":18.3908045977,"asset":"Stroke","selectable":true,"left":270,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":187,"height":91.9540229885,"width":18.3908045977,"asset":"Stroke","selectable":true,"left":200,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247.057005765,"height":43.8400114584,"width":34.0447720453,"asset":"Square","selectable":true,"left":226.6287759353,"fill":"#FFFFFF"},{"opacity":1,"angle":36.1782998621,"flipX":false,"flipY":false,"top":251.541472721,"height":91.9540229885,"width":23.6134802748,"asset":"Stroke","selectable":true,"left":236.1078299641,"fill":"#000000"},{"opacity":1,"angle":36.1782998621,"flipX":false,"flipY":false,"top":238.541472721,"height":91.9540229885,"width":23.6134802748,"asset":"Stroke","selectable":true,"left":260.1078299641,"fill":"#000000"},{"opacity":1,"angle":104.5958001534,"flipX":false,"flipY":false,"top":250.5472766863,"height":111.1086453,"width":50.3482666347,"asset":"Romb","selectable":true,"left":141.7591809581,"fill":"#FFFFFF"},{"opacity":1,"angle":104.5958001534,"flipX":false,"flipY":false,"top":214.5472766863,"height":111.1086453,"width":50.3482666347,"asset":"Romb","selectable":true,"left":97.7591809581,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":183,"height":91.9540229885,"width":31.207780725,"asset":"Stroke","selectable":true,"left":55.5915119363,"fill":"#000000"},{"opacity":1,"angle":89.9315911138,"flipX":false,"flipY":false,"top":275.0078781828,"height":105.150750929,"width":18.3908045977,"asset":"Stroke","selectable":true,"left":167.4016407329,"fill":"#000000"},{"opacity":1,"angle":307.2879471058,"flipX":false,"flipY":false,"top":252.6115763513,"height":121.0425711666,"width":24.6162988865,"asset":"Stroke","selectable":true,"left":100.611069445,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告