登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
75
圖層數
20
Weed Leaf
作者:
KOD5k_
»
代碼 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":90,"flipX":false,"flipY":true,"top":105,"height":46.022669702,"width":201.6211691577,"asset":"Eye2","selectable":true,"left":148.125,"fill":"#598527"},{"opacity":1,"angle":138.704607646,"flipX":false,"flipY":true,"top":149.375,"height":38.84047549529999,"width":170.1566234794,"asset":"Eye2","selectable":true,"left":211.25,"fill":"#598527"},{"opacity":1,"angle":220.5316913492,"flipX":false,"flipY":true,"top":151.25,"height":39.5157831855,"width":173.1150856225,"asset":"Eye2","selectable":true,"left":83.75,"fill":"#598527"},{"opacity":1,"angle":177.6485215087,"flipX":false,"flipY":true,"top":210,"height":34.3026406782,"width":150.2767780208,"asset":"Eye2","selectable":true,"left":216.25,"fill":"#598527"},{"opacity":1,"angle":1.1590955296,"flipX":false,"flipY":true,"top":208.125,"height":34.13375486160001,"width":149.53690447549997,"asset":"Eye2","selectable":true,"left":83.125,"fill":"#598527"},{"opacity":1,"angle":218.5251516113,"flipX":false,"flipY":true,"top":229.375,"height":21.258986642799997,"width":93.1337049715,"asset":"Eye2","selectable":true,"left":174.375,"fill":"#598527"},{"opacity":1,"angle":136.9962146816,"flipX":false,"flipY":true,"top":231.25,"height":21.7002668732,"width":95.0669139,"asset":"Eye2","selectable":true,"left":121.875,"fill":"#598527"},{"opacity":1,"angle":259.773414972,"flipX":false,"flipY":false,"top":234.2740052694,"height":70.32238059959998,"width":78.77889250389998,"asset":"holiday_snowman_arm","selectable":true,"left":145.625,"fill":"#598527"},{"opacity":1,"angle":55.2994791349,"flipX":true,"flipY":true,"top":257.7098583337,"height":67.7624927905,"width":81.1371273399,"asset":"holiday_snowman_arm","selectable":true,"left":147.5,"fill":"#598527"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":116.875,"height":207.5,"width":1.422069704,"asset":"Square","selectable":true,"left":148.351465148,"fill":"#406618"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":207.5,"height":256.875,"width":1.422069704,"asset":"Square","selectable":true,"left":148.125,"fill":"#406618"},{"opacity":1,"angle":310.4593994234,"flipX":false,"flipY":false,"top":175.5033610256,"height":219.4327630496,"width":1.422069704,"asset":"Square","selectable":true,"left":111.0853832594,"fill":"#406618"},{"opacity":1,"angle":47.8038538853,"flipX":false,"flipY":false,"top":175.625,"height":219.4327630496,"width":1.422069704,"asset":"Square","selectable":true,"left":182.5,"fill":"#406618"},{"opacity":0.17,"angle":0,"flipX":false,"flipY":false,"top":116.467853105,"height":196.70036773659996,"width":30.710527274499995,"asset":"Circle","selectable":true,"left":140.625,"fill":"#000000"},{"opacity":0.17,"angle":310.7905749022,"flipX":false,"flipY":false,"top":155.7500433564,"height":159.5015576324,"width":29.8254915348,"asset":"Circle","selectable":true,"left":81.8527952209,"fill":"#000000"},{"opacity":0.17,"angle":270.6949970612,"flipX":false,"flipY":false,"top":213.00320931130003,"height":141.3970220212,"width":23.6256684496,"asset":"Circle","selectable":true,"left":84.02252920029999,"fill":"#000000"},{"opacity":0.17,"angle":270.6949970612,"flipX":false,"flipY":false,"top":214.3466650874,"height":141.3970220212,"width":24.932434410199996,"asset":"Circle","selectable":true,"left":214.3829253327,"fill":"#000000"},{"opacity":0.17,"angle":227.0885471602,"flipX":false,"flipY":false,"top":155.3003121621,"height":173.11313565250003,"width":32.1256544742,"asset":"Circle","selectable":true,"left":213.3746631821,"fill":"#000000"},{"opacity":0.17,"angle":224.3782605621,"flipX":false,"flipY":false,"top":244.375,"height":78.2440483058,"width":13.796716327400002,"asset":"Circle","selectable":true,"left":101.9120103066,"fill":"#000000"},{"opacity":0.17,"angle":128.5048422341,"flipX":false,"flipY":false,"top":238.125,"height":78.2440483058,"width":13.796716327400002,"asset":"Circle","selectable":true,"left":177.5,"fill":"#000000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":105,"height":46.022669702,"width":201.6211691577,"asset":"Eye2","selectable":true,"left":148.125,"fill":"#598527"},{"opacity":1,"angle":138.704607646,"flipX":false,"flipY":true,"top":149.375,"height":38.84047549529999,"width":170.1566234794,"asset":"Eye2","selectable":true,"left":211.25,"fill":"#598527"},{"opacity":1,"angle":220.5316913492,"flipX":false,"flipY":true,"top":151.25,"height":39.5157831855,"width":173.1150856225,"asset":"Eye2","selectable":true,"left":83.75,"fill":"#598527"},{"opacity":1,"angle":177.6485215087,"flipX":false,"flipY":true,"top":210,"height":34.3026406782,"width":150.2767780208,"asset":"Eye2","selectable":true,"left":216.25,"fill":"#598527"},{"opacity":1,"angle":1.1590955296,"flipX":false,"flipY":true,"top":208.125,"height":34.13375486160001,"width":149.53690447549997,"asset":"Eye2","selectable":true,"left":83.125,"fill":"#598527"},{"opacity":1,"angle":218.5251516113,"flipX":false,"flipY":true,"top":229.375,"height":21.258986642799997,"width":93.1337049715,"asset":"Eye2","selectable":true,"left":174.375,"fill":"#598527"},{"opacity":1,"angle":136.9962146816,"flipX":false,"flipY":true,"top":231.25,"height":21.7002668732,"width":95.0669139,"asset":"Eye2","selectable":true,"left":121.875,"fill":"#598527"},{"opacity":1,"angle":259.773414972,"flipX":false,"flipY":false,"top":234.2740052694,"height":70.32238059959998,"width":78.77889250389998,"asset":"holiday_snowman_arm","selectable":true,"left":145.625,"fill":"#598527"},{"opacity":1,"angle":55.2994791349,"flipX":true,"flipY":true,"top":257.7098583337,"height":67.7624927905,"width":81.1371273399,"asset":"holiday_snowman_arm","selectable":true,"left":147.5,"fill":"#598527"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":116.875,"height":207.5,"width":1.422069704,"asset":"Square","selectable":true,"left":148.351465148,"fill":"#406618"},{"opacity":1,"angle":90,"flipX":false,"flipY":true,"top":207.5,"height":256.875,"width":1.422069704,"asset":"Square","selectable":true,"left":148.125,"fill":"#406618"},{"opacity":1,"angle":310.4593994234,"flipX":false,"flipY":false,"top":175.5033610256,"height":219.4327630496,"width":1.422069704,"asset":"Square","selectable":true,"left":111.0853832594,"fill":"#406618"},{"opacity":1,"angle":47.8038538853,"flipX":false,"flipY":false,"top":175.625,"height":219.4327630496,"width":1.422069704,"asset":"Square","selectable":true,"left":182.5,"fill":"#406618"},{"opacity":0.17,"angle":0,"flipX":false,"flipY":false,"top":116.467853105,"height":196.70036773659996,"width":30.710527274499995,"asset":"Circle","selectable":true,"left":140.625,"fill":"#000000"},{"opacity":0.17,"angle":310.7905749022,"flipX":false,"flipY":false,"top":155.7500433564,"height":159.5015576324,"width":29.8254915348,"asset":"Circle","selectable":true,"left":81.8527952209,"fill":"#000000"},{"opacity":0.17,"angle":270.6949970612,"flipX":false,"flipY":false,"top":213.00320931130003,"height":141.3970220212,"width":23.6256684496,"asset":"Circle","selectable":true,"left":84.02252920029999,"fill":"#000000"},{"opacity":0.17,"angle":270.6949970612,"flipX":false,"flipY":false,"top":214.3466650874,"height":141.3970220212,"width":24.932434410199996,"asset":"Circle","selectable":true,"left":214.3829253327,"fill":"#000000"},{"opacity":0.17,"angle":227.0885471602,"flipX":false,"flipY":false,"top":155.3003121621,"height":173.11313565250003,"width":32.1256544742,"asset":"Circle","selectable":true,"left":213.3746631821,"fill":"#000000"},{"opacity":0.17,"angle":224.3782605621,"flipX":false,"flipY":false,"top":244.375,"height":78.2440483058,"width":13.796716327400002,"asset":"Circle","selectable":true,"left":101.9120103066,"fill":"#000000"},{"opacity":0.17,"angle":128.5048422341,"flipX":false,"flipY":false,"top":238.125,"height":78.2440483058,"width":13.796716327400002,"asset":"Circle","selectable":true,"left":177.5,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
Marijuana
420
Weed
Smoke
广告