登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
32
圖層數
21
23사단
作者:
23사단
代碼 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":192.2895711527,"height":223.1842408005,"width":223.1842408005,"asset":"Shield","selectable":true,"left":158.2895711527,"fill":"#005826"},{"opacity":1,"angle":90.2484392532,"flipX":false,"flipY":false,"top":80.8021809693,"height":225.4086525447,"width":41.3247709815,"asset":"Romb","selectable":true,"left":158.5909316992,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":192.1953306836,"height":202.3446843556,"width":202.3446843556,"asset":"Shield","selectable":true,"left":158.1953306836,"fill":"#000000"},{"opacity":1,"angle":90.2484392532,"flipX":false,"flipY":false,"top":90.7525094667,"height":202.4978094252,"width":41.3247709815,"asset":"Romb","selectable":true,"left":158.1356178295,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.466358721,"height":188.8867404304,"width":188.8867404304,"asset":"Shield","selectable":true,"left":158.466358721,"fill":"#005826"},{"opacity":1,"angle":90.2484392532,"flipX":false,"flipY":false,"top":96.7243943391,"height":189.5297845744,"width":41.3247709815,"asset":"Romb","selectable":true,"left":158.651666359,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":180.6750814624,"height":215.3041859133,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":157.3469496021,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":139,"height":91.9540229885,"width":65.4189655172,"asset":"Number2","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":208,"height":91.9540229885,"width":65.4189655172,"asset":"Number3","selectable":true,"left":163,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":193.5149496903,"height":16.924123608,"width":42.8431267232,"asset":"Square","selectable":true,"left":130.4445518674,"fill":"#005826"},{"opacity":1,"angle":90.4617867268,"flipX":false,"flipY":false,"top":283.7640189343,"height":48.7837121895,"width":6.266384611,"asset":"Stroke","selectable":true,"left":36.4644047268,"fill":"#FF0000"},{"opacity":1,"angle":359.6683060646,"flipX":false,"flipY":false,"top":295.1086236293,"height":26.0941225879,"width":6.266384611,"asset":"Stroke","selectable":true,"left":36.5300810933,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":261,"height":30.8805099008,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":292.3469496021,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":261,"height":30.8805099008,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":304.3469496021,"fill":"#FF0000"},{"opacity":1,"angle":89.7872397859,"flipX":false,"flipY":false,"top":264,"height":10.0600877267,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":298.9368102886,"fill":"#FF0000"},{"opacity":1,"angle":34.1478726216,"flipX":false,"flipY":false,"top":259.2977376474,"height":31.877394636,"width":7.3999037326,"asset":"Stroke","selectable":true,"left":27.7320119381,"fill":"#FF0000"},{"opacity":1,"angle":138.7749063798,"flipX":false,"flipY":false,"top":259.2977376474,"height":31.877394636,"width":7.3999037326,"asset":"Stroke","selectable":true,"left":44.7320119381,"fill":"#FF0000"},{"opacity":1,"angle":152.1197004776,"flipX":false,"flipY":false,"top":261,"height":30.8630625442,"width":6.7399444041,"asset":"Stroke","selectable":true,"left":280.1495935121,"fill":"#FF0000"},{"opacity":1,"angle":209.6186814668,"flipX":false,"flipY":false,"top":262,"height":26.6881196382,"width":6.7399444041,"asset":"Stroke","selectable":true,"left":267.7370957454,"fill":"#FF0000"},{"opacity":1,"angle":90.7313086965,"flipX":false,"flipY":false,"top":285.9176797395,"height":36.9526898564,"width":7.8000364467,"asset":"Stroke","selectable":true,"left":287.3810448134,"fill":"#FF0000"},{"opacity":1,"angle":181.7505777158,"flipX":false,"flipY":false,"top":296.2313174903,"height":26.3204521074,"width":7.8000364467,"asset":"Stroke","selectable":true,"left":302.2186448693,"fill":"#FF0000"}]'},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":192.2895711527,"height":223.1842408005,"width":223.1842408005,"asset":"Shield","selectable":true,"left":158.2895711527,"fill":"#005826"},{"opacity":1,"angle":90.2484392532,"flipX":false,"flipY":false,"top":80.8021809693,"height":225.4086525447,"width":41.3247709815,"asset":"Romb","selectable":true,"left":158.5909316992,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":192.1953306836,"height":202.3446843556,"width":202.3446843556,"asset":"Shield","selectable":true,"left":158.1953306836,"fill":"#000000"},{"opacity":1,"angle":90.2484392532,"flipX":false,"flipY":false,"top":90.7525094667,"height":202.4978094252,"width":41.3247709815,"asset":"Romb","selectable":true,"left":158.1356178295,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":191.466358721,"height":188.8867404304,"width":188.8867404304,"asset":"Shield","selectable":true,"left":158.466358721,"fill":"#005826"},{"opacity":1,"angle":90.2484392532,"flipX":false,"flipY":false,"top":96.7243943391,"height":189.5297845744,"width":41.3247709815,"asset":"Romb","selectable":true,"left":158.651666359,"fill":"#005826"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":180.6750814624,"height":215.3041859133,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":157.3469496021,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":139,"height":91.9540229885,"width":65.4189655172,"asset":"Number2","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":208,"height":91.9540229885,"width":65.4189655172,"asset":"Number3","selectable":true,"left":163,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":193.5149496903,"height":16.924123608,"width":42.8431267232,"asset":"Square","selectable":true,"left":130.4445518674,"fill":"#005826"},{"opacity":1,"angle":90.4617867268,"flipX":false,"flipY":false,"top":283.7640189343,"height":48.7837121895,"width":6.266384611,"asset":"Stroke","selectable":true,"left":36.4644047268,"fill":"#FF0000"},{"opacity":1,"angle":359.6683060646,"flipX":false,"flipY":false,"top":295.1086236293,"height":26.0941225879,"width":6.266384611,"asset":"Stroke","selectable":true,"left":36.5300810933,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":261,"height":30.8805099008,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":292.3469496021,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":261,"height":30.8805099008,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":304.3469496021,"fill":"#FF0000"},{"opacity":1,"angle":89.7872397859,"flipX":false,"flipY":false,"top":264,"height":10.0600877267,"width":7.0847038019,"asset":"Stroke","selectable":true,"left":298.9368102886,"fill":"#FF0000"},{"opacity":1,"angle":34.1478726216,"flipX":false,"flipY":false,"top":259.2977376474,"height":31.877394636,"width":7.3999037326,"asset":"Stroke","selectable":true,"left":27.7320119381,"fill":"#FF0000"},{"opacity":1,"angle":138.7749063798,"flipX":false,"flipY":false,"top":259.2977376474,"height":31.877394636,"width":7.3999037326,"asset":"Stroke","selectable":true,"left":44.7320119381,"fill":"#FF0000"},{"opacity":1,"angle":152.1197004776,"flipX":false,"flipY":false,"top":261,"height":30.8630625442,"width":6.7399444041,"asset":"Stroke","selectable":true,"left":280.1495935121,"fill":"#FF0000"},{"opacity":1,"angle":209.6186814668,"flipX":false,"flipY":false,"top":262,"height":26.6881196382,"width":6.7399444041,"asset":"Stroke","selectable":true,"left":267.7370957454,"fill":"#FF0000"},{"opacity":1,"angle":90.7313086965,"flipX":false,"flipY":false,"top":285.9176797395,"height":36.9526898564,"width":7.8000364467,"asset":"Stroke","selectable":true,"left":287.3810448134,"fill":"#FF0000"},{"opacity":1,"angle":181.7505777158,"flipX":false,"flipY":false,"top":296.2313174903,"height":26.3204521074,"width":7.8000364467,"asset":"Stroke","selectable":true,"left":302.2186448693,"fill":"#FF0000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告