登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
15
圖層數
17
Do your Name? THE BEST EMBLEM
作者:
PiVeTe_Do_Bf4
代碼 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":118.40634775310001,"height":695.9483863583998,"width":695.9483863583998,"asset":"Square","selectable":true,"left":118.40634775310001,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.16845960169996,"height":268.1293583581,"width":268.1293583581,"asset":"Circle","selectable":true,"left":162.10940718699996,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.3607995727,"height":250.6290913252,"width":252.5041199359,"asset":"Circle","selectable":true,"left":162.5781643397,"fill":"#111111"},{"opacity":1,"angle":330.8260114237,"flipX":false,"flipY":false,"top":127.60842601210001,"height":213.3464891604,"width":28.4128502364,"asset":"Stroke","selectable":true,"left":208.16312568580003,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":243.1363332695,"height":78.7557533893,"width":62.30534345740001,"asset":"RightTriangle","selectable":true,"left":154.9801112648,"fill":"#0072BC"},{"opacity":1,"angle":162.924371876,"flipX":false,"flipY":false,"top":242.20287884260003,"height":75.9081100626,"width":60.3586695346,"asset":"HalfCircle","selectable":true,"left":185.5540201346,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":211.5536330811,"height":113.1707150691,"width":114.806144556,"asset":"RightTriangle","selectable":true,"left":166.8552924657,"fill":"#0072BC"},{"opacity":1,"angle":85.0033574574,"flipX":false,"flipY":false,"top":184.0725522629,"height":77.98758155540001,"width":178.1132179865,"asset":"Wingpart","selectable":true,"left":241.5182735643,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.267000817,"height":125.7424536952,"width":35.0907932233,"asset":"Circle","selectable":true,"left":266.8749904631,"fill":"#111111"},{"opacity":1,"angle":302.8070410739,"flipX":false,"flipY":false,"top":185,"height":107.95423972589998,"width":158.6432224169,"asset":"Emblem71","selectable":true,"left":123.75,"fill":"#111111"},{"opacity":1,"angle":55.1436426295,"flipX":false,"flipY":false,"top":100.4007606718,"height":153.7248295822,"width":31.900311526500005,"asset":"Stroke","selectable":true,"left":186.3798447422,"fill":"#EBEBEB"},{"opacity":1,"angle":225.3802670858,"flipX":false,"flipY":false,"top":83.9537066696,"height":115.9297354941,"width":115.9297354941,"asset":"SquareCorner","selectable":true,"left":139.6170584423,"fill":"#EBEBEB"},{"opacity":1,"angle":292.0270613631,"flipX":false,"flipY":false,"top":80.625,"height":52.42050302810001,"width":43.30392229520001,"asset":"PlayerMarker","selectable":true,"left":69.375,"fill":"#EBEBEB"},{"opacity":1,"angle":249.0190557135,"flipX":false,"flipY":true,"top":61.0516665718,"height":88.3831725322,"width":78.7751254858,"asset":"SquareCorner","selectable":true,"left":208.9993190697,"fill":"#EBEBEB"},{"opacity":1,"angle":2.2078532293,"flipX":false,"flipY":false,"top":16.8262019582,"height":38.5051463916,"width":34.3123462281,"asset":"PlayerMarker","selectable":true,"left":230,"fill":"#EBEBEB"},{"opacity":1,"angle":325.3536625352,"flipX":false,"flipY":false,"top":26.25,"height":52.42050302810001,"width":43.30392229520001,"asset":"PlayerMarker","selectable":true,"left":148.75,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":272.5430922171,"height":17.2312764076,"width":55.7899130046,"asset":"Eye2","selectable":true,"left":119.2219001202,"fill":"#0072BC"}]'},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":118.40634775310001,"height":695.9483863583998,"width":695.9483863583998,"asset":"Square","selectable":true,"left":118.40634775310001,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160.16845960169996,"height":268.1293583581,"width":268.1293583581,"asset":"Circle","selectable":true,"left":162.10940718699996,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.3607995727,"height":250.6290913252,"width":252.5041199359,"asset":"Circle","selectable":true,"left":162.5781643397,"fill":"#111111"},{"opacity":1,"angle":330.8260114237,"flipX":false,"flipY":false,"top":127.60842601210001,"height":213.3464891604,"width":28.4128502364,"asset":"Stroke","selectable":true,"left":208.16312568580003,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":243.1363332695,"height":78.7557533893,"width":62.30534345740001,"asset":"RightTriangle","selectable":true,"left":154.9801112648,"fill":"#0072BC"},{"opacity":1,"angle":162.924371876,"flipX":false,"flipY":false,"top":242.20287884260003,"height":75.9081100626,"width":60.3586695346,"asset":"HalfCircle","selectable":true,"left":185.5540201346,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":211.5536330811,"height":113.1707150691,"width":114.806144556,"asset":"RightTriangle","selectable":true,"left":166.8552924657,"fill":"#0072BC"},{"opacity":1,"angle":85.0033574574,"flipX":false,"flipY":false,"top":184.0725522629,"height":77.98758155540001,"width":178.1132179865,"asset":"Wingpart","selectable":true,"left":241.5182735643,"fill":"#0072BC"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.267000817,"height":125.7424536952,"width":35.0907932233,"asset":"Circle","selectable":true,"left":266.8749904631,"fill":"#111111"},{"opacity":1,"angle":302.8070410739,"flipX":false,"flipY":false,"top":185,"height":107.95423972589998,"width":158.6432224169,"asset":"Emblem71","selectable":true,"left":123.75,"fill":"#111111"},{"opacity":1,"angle":55.1436426295,"flipX":false,"flipY":false,"top":100.4007606718,"height":153.7248295822,"width":31.900311526500005,"asset":"Stroke","selectable":true,"left":186.3798447422,"fill":"#EBEBEB"},{"opacity":1,"angle":225.3802670858,"flipX":false,"flipY":false,"top":83.9537066696,"height":115.9297354941,"width":115.9297354941,"asset":"SquareCorner","selectable":true,"left":139.6170584423,"fill":"#EBEBEB"},{"opacity":1,"angle":292.0270613631,"flipX":false,"flipY":false,"top":80.625,"height":52.42050302810001,"width":43.30392229520001,"asset":"PlayerMarker","selectable":true,"left":69.375,"fill":"#EBEBEB"},{"opacity":1,"angle":249.0190557135,"flipX":false,"flipY":true,"top":61.0516665718,"height":88.3831725322,"width":78.7751254858,"asset":"SquareCorner","selectable":true,"left":208.9993190697,"fill":"#EBEBEB"},{"opacity":1,"angle":2.2078532293,"flipX":false,"flipY":false,"top":16.8262019582,"height":38.5051463916,"width":34.3123462281,"asset":"PlayerMarker","selectable":true,"left":230,"fill":"#EBEBEB"},{"opacity":1,"angle":325.3536625352,"flipX":false,"flipY":false,"top":26.25,"height":52.42050302810001,"width":43.30392229520001,"asset":"PlayerMarker","selectable":true,"left":148.75,"fill":"#EBEBEB"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":272.5430922171,"height":17.2312764076,"width":55.7899130046,"asset":"Eye2","selectable":true,"left":119.2219001202,"fill":"#0072BC"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告