登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
42
圖層數
21
BF4 RussiA
作者:
GimfuR
»
代碼 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": 0.6,"angle": -14.2383571627,"flipX": false,"flipY": false,"top": 166.8531916556,"height": 167.357221712,"width": 384.2137971607,"asset": "Square","selectable": false,"left": 159.2925242546,"fill": "#0017FF"},{"opacity": 0.6,"angle": -14.2383571627,"flipX": false,"flipY": false,"top": 334.8531916556,"height": 167.357221712,"width": 384.2137971607,"asset": "Square","selectable": false,"left": 168.2925242546,"fill": "#9E0B0F"},{"opacity": 0.85,"angle": -14.2383571627,"flipX": false,"flipY": false,"top": -5.1468083444,"height": 167.357221712,"width": 384.2137971607,"asset": "Square","selectable": false,"left": 150.2925242546,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 174.7864665669,"height": 247.26826280950002,"width": 244.5162288999,"asset": "Shield","selectable": false,"left": 167.2164274382,"fill": "#002157"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 159.5503153516,"height": 306.136953843,"width": 267.0872720244,"asset": "Shield7","selectable": false,"left": 167.679762939,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 159.2411267829,"height": 284.0815156317,"width": 247.8451428034,"asset": "Shield7","selectable": false,"left": 167.6651258047,"fill": "#1A7B30"},{"opacity": 1,"angle": 180,"flipX": false,"flipY": false,"top": 46.9548339844,"height": 54,"width": 185.0416870117,"asset": "Banner","selectable": false,"left": 167.4791564941,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 35.9529018532,"height": 20.5639307013,"width": 21.6222734154,"asset": "Star","selectable": false,"left": 136.1888632923,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 35.9529018532,"height": 20.5639307013,"width": 21.6222734154,"asset": "Star","selectable": false,"left": 200.1888632923,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 30.9529018532,"height": 20.5639307013,"width": 21.6222734154,"asset": "Star","selectable": false,"left": 169.1888632923,"fill": "#FFFE00"},{"opacity": 0.45,"angle": 0,"flipX": false,"flipY": false,"top": 167.4548339844,"height": 199,"width": 138.7374836518,"asset": "MedalPart","selectable": false,"left": 170.1950081741,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.7825435944,"height": 146.4349128111,"width": 86.7301955943,"asset": "Wreath","selectable": false,"left": 118.2488084528,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 191.7825435944,"height": 146.4349128111,"width": 86.7301955943,"asset": "Wreath","selectable": false,"left": 221.2488084528,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 242.9548339844,"height": 42,"width": 74,"asset": "Pentagon","selectable": false,"left": 172.9583129883,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 166.5287259777,"height": 100.1627644554,"width": 105.3177386441,"asset": "Star","selectable": false,"left": 170.658869322,"fill": "#FF0000"},{"opacity": 0.4,"angle": 0,"flipX": false,"flipY": false,"top": 163.9548339844,"height": 142,"width": 152,"asset": "Star4","selectable": false,"left": 169.9583129883,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164.3838093226,"height": 125.4344124783,"width": 131.885249757,"asset": "Star4","selectable": false,"left": 169.9426248785,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.054938867,"height": 51.8901222661,"width": 51.8901222661,"asset": "Time","selectable": false,"left": 169.1325721746,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.7140846645,"height": 35.428169329,"width": 35.428169329,"asset": "Circle","selectable": false,"left": 171.2859153355,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 169.3986307553,"height": 27.374761510500004,"width": 27.769786726700005,"asset": "Soviet","selectable": false,"left": 170.1151066366,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 245.7783626229,"height": 29.647057277,"width": 54.958312988299994,"asset": "GroundIFV2","selectable": false,"left": 172.4791564941,"fill": "#111111"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 0.6,"angle": -14.2383571627,"flipX": false,"flipY": false,"top": 166.8531916556,"height": 167.357221712,"width": 384.2137971607,"asset": "Square","selectable": false,"left": 159.2925242546,"fill": "#0017FF"},{"opacity": 0.6,"angle": -14.2383571627,"flipX": false,"flipY": false,"top": 334.8531916556,"height": 167.357221712,"width": 384.2137971607,"asset": "Square","selectable": false,"left": 168.2925242546,"fill": "#9E0B0F"},{"opacity": 0.85,"angle": -14.2383571627,"flipX": false,"flipY": false,"top": -5.1468083444,"height": 167.357221712,"width": 384.2137971607,"asset": "Square","selectable": false,"left": 150.2925242546,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 174.7864665669,"height": 247.26826280950002,"width": 244.5162288999,"asset": "Shield","selectable": false,"left": 167.2164274382,"fill": "#002157"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 159.5503153516,"height": 306.136953843,"width": 267.0872720244,"asset": "Shield7","selectable": false,"left": 167.679762939,"fill": "#111111"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 159.2411267829,"height": 284.0815156317,"width": 247.8451428034,"asset": "Shield7","selectable": false,"left": 167.6651258047,"fill": "#1A7B30"},{"opacity": 1,"angle": 180,"flipX": false,"flipY": false,"top": 46.9548339844,"height": 54,"width": 185.0416870117,"asset": "Banner","selectable": false,"left": 167.4791564941,"fill": "#9E0B0F"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 35.9529018532,"height": 20.5639307013,"width": 21.6222734154,"asset": "Star","selectable": false,"left": 136.1888632923,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 35.9529018532,"height": 20.5639307013,"width": 21.6222734154,"asset": "Star","selectable": false,"left": 200.1888632923,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 30.9529018532,"height": 20.5639307013,"width": 21.6222734154,"asset": "Star","selectable": false,"left": 169.1888632923,"fill": "#FFFE00"},{"opacity": 0.45,"angle": 0,"flipX": false,"flipY": false,"top": 167.4548339844,"height": 199,"width": 138.7374836518,"asset": "MedalPart","selectable": false,"left": 170.1950081741,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 192.7825435944,"height": 146.4349128111,"width": 86.7301955943,"asset": "Wreath","selectable": false,"left": 118.2488084528,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 191.7825435944,"height": 146.4349128111,"width": 86.7301955943,"asset": "Wreath","selectable": false,"left": 221.2488084528,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 242.9548339844,"height": 42,"width": 74,"asset": "Pentagon","selectable": false,"left": 172.9583129883,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 166.5287259777,"height": 100.1627644554,"width": 105.3177386441,"asset": "Star","selectable": false,"left": 170.658869322,"fill": "#FF0000"},{"opacity": 0.4,"angle": 0,"flipX": false,"flipY": false,"top": 163.9548339844,"height": 142,"width": 152,"asset": "Star4","selectable": false,"left": 169.9583129883,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 164.3838093226,"height": 125.4344124783,"width": 131.885249757,"asset": "Star4","selectable": false,"left": 169.9426248785,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.054938867,"height": 51.8901222661,"width": 51.8901222661,"asset": "Time","selectable": false,"left": 169.1325721746,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 171.7140846645,"height": 35.428169329,"width": 35.428169329,"asset": "Circle","selectable": false,"left": 171.2859153355,"fill": "#FF0000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 169.3986307553,"height": 27.374761510500004,"width": 27.769786726700005,"asset": "Soviet","selectable": false,"left": 170.1151066366,"fill": "#FFFE00"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 245.7783626229,"height": 29.647057277,"width": 54.958312988299994,"asset": "GroundIFV2","selectable": false,"left": 172.4791564941,"fill": "#111111"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告