登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
5
圖層數
17
aaa
作者:
شارخ عبدالله
»
代碼 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:'[{"angle":0,"left":80,"height":284.0542707996,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wing1","width":158.9452302347,"top":152,"flipY":false},{"angle":0,"left":80,"height":277.4840226758,"flipX":false,"fill":"#203d97","opacity":1,"asset":"Wing1","width":155.268786301,"top":149,"flipY":false},{"angle":0,"left":245,"height":286.9930475977,"flipX":true,"fill":"#000000","opacity":1,"asset":"Wing1","width":160.5896503432,"top":152,"flipY":false},{"angle":0,"left":243,"height":277.4840226758,"flipX":true,"fill":"#d80000","opacity":1,"asset":"Wing1","width":155.268786301,"top":149,"flipY":false},{"angle":90,"left":165.6368164646,"height":84.1993465121,"flipX":false,"fill":"#111111","opacity":1,"asset":"Dogtag","width":150.3253120512,"top":173.7760650777,"flipY":false},{"angle":0,"left":165.3281741399,"height":158.04931693389997,"flipX":false,"fill":"#111111","opacity":1,"asset":"Heart","width":121.9239551142,"top":171.4204866036,"flipY":false},{"angle":0,"left":165,"height":211.6237218593,"flipX":false,"fill":"#111111","opacity":1,"asset":"Emblem128","width":155.6802410027,"top":170.4998266393,"flipY":false},{"angle":0,"left":164,"height":204.9931334695,"flipX":false,"fill":"#FFFFFF","opacity":1,"asset":"Emblem128","width":143.6024728996,"top":169,"flipY":false},{"angle":345.8954037998,"left":128,"height":91.9540229885,"flipX":false,"fill":"#111111","opacity":1,"asset":"StrokeBent","width":6.065360459,"top":152.3846012498,"flipY":false},{"angle":264.6772492922,"left":158,"height":146.2354041004,"flipX":false,"fill":"#464646","opacity":1,"asset":"StrokeBent","width":45.2911772562,"top":107,"flipY":false},{"angle":335.261371393,"left":123,"height":87.181304432,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":148.4777795327,"top":87,"flipY":false},{"angle":-9.6317857172,"left":164,"height":98.7660697178,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":196.1586091077,"top":73,"flipY":false},{"angle":-9.6317857172,"left":163,"height":94.0901405362,"flipX":false,"fill":"#262626","opacity":1,"asset":"Eye2","width":189.096700529,"top":72,"flipY":false},{"angle":335.825248199,"left":123,"height":80.8963840205,"flipX":false,"fill":"#262626","opacity":1,"asset":"Eye2","width":143.5371068715,"top":87,"flipY":false},{"angle":57.8551580155,"left":138,"height":9.0106143101,"flipX":false,"fill":"#111111","opacity":1,"asset":"StrokeBent","width":2.703184293,"top":190,"flipY":false},{"angle":0,"left":223.91590013140606,"height":31.497929673180018,"flipX":false,"fill":"#7f5f00","opacity":1,"asset":"MedalRing3","width":31.156472429316697,"top":61.60315374507228,"flipY":false},{"angle":334.3096297586824,"left":223.91590013140606,"height":21.043887762407426,"flipX":false,"fill":"#7f5f00","opacity":1,"asset":"SupplyDrop","width":18.73806952299089,"top":61.60315374507228,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":80,"height":284.0542707996,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wing1","width":158.9452302347,"top":152,"flipY":false},{"angle":0,"left":80,"height":277.4840226758,"flipX":false,"fill":"#203d97","opacity":1,"asset":"Wing1","width":155.268786301,"top":149,"flipY":false},{"angle":0,"left":245,"height":286.9930475977,"flipX":true,"fill":"#000000","opacity":1,"asset":"Wing1","width":160.5896503432,"top":152,"flipY":false},{"angle":0,"left":243,"height":277.4840226758,"flipX":true,"fill":"#d80000","opacity":1,"asset":"Wing1","width":155.268786301,"top":149,"flipY":false},{"angle":90,"left":165.6368164646,"height":84.1993465121,"flipX":false,"fill":"#111111","opacity":1,"asset":"Dogtag","width":150.3253120512,"top":173.7760650777,"flipY":false},{"angle":0,"left":165.3281741399,"height":158.04931693389997,"flipX":false,"fill":"#111111","opacity":1,"asset":"Heart","width":121.9239551142,"top":171.4204866036,"flipY":false},{"angle":0,"left":165,"height":211.6237218593,"flipX":false,"fill":"#111111","opacity":1,"asset":"Emblem128","width":155.6802410027,"top":170.4998266393,"flipY":false},{"angle":0,"left":164,"height":204.9931334695,"flipX":false,"fill":"#FFFFFF","opacity":1,"asset":"Emblem128","width":143.6024728996,"top":169,"flipY":false},{"angle":345.8954037998,"left":128,"height":91.9540229885,"flipX":false,"fill":"#111111","opacity":1,"asset":"StrokeBent","width":6.065360459,"top":152.3846012498,"flipY":false},{"angle":264.6772492922,"left":158,"height":146.2354041004,"flipX":false,"fill":"#464646","opacity":1,"asset":"StrokeBent","width":45.2911772562,"top":107,"flipY":false},{"angle":335.261371393,"left":123,"height":87.181304432,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":148.4777795327,"top":87,"flipY":false},{"angle":-9.6317857172,"left":164,"height":98.7660697178,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":196.1586091077,"top":73,"flipY":false},{"angle":-9.6317857172,"left":163,"height":94.0901405362,"flipX":false,"fill":"#262626","opacity":1,"asset":"Eye2","width":189.096700529,"top":72,"flipY":false},{"angle":335.825248199,"left":123,"height":80.8963840205,"flipX":false,"fill":"#262626","opacity":1,"asset":"Eye2","width":143.5371068715,"top":87,"flipY":false},{"angle":57.8551580155,"left":138,"height":9.0106143101,"flipX":false,"fill":"#111111","opacity":1,"asset":"StrokeBent","width":2.703184293,"top":190,"flipY":false},{"angle":0,"left":223.91590013140606,"height":31.497929673180018,"flipX":false,"fill":"#7f5f00","opacity":1,"asset":"MedalRing3","width":31.156472429316697,"top":61.60315374507228,"flipY":false},{"angle":334.3096297586824,"left":223.91590013140606,"height":21.043887762407426,"flipX":false,"fill":"#7f5f00","opacity":1,"asset":"SupplyDrop","width":18.73806952299089,"top":61.60315374507228,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告