登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
47
圖層數
38
Smoke Weed Everyday
作者:
Puffy420blazeit
代碼 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:'[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.6703601108033,"left":163.54570637119113,"height":340,"width":340,"fill":"#4a1b7f"},{"asset":"Stroke","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247.25361366622866,"left":160,"height":141.2629915446249,"width":10.719601311953195,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":70,"flipX":false,"flipY":true,"top":285.5190538764783,"left":139.18528252299606,"height":60,"width":15,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":290,"flipX":true,"flipY":true,"top":285.9395532194481,"left":181.23521681997374,"height":60,"width":15,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":315,"flipX":false,"flipY":false,"top":247.25361366622866,"left":110.17082354117217,"height":126.66960531610695,"width":34.546255995301905,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":340,"flipX":false,"flipY":false,"top":222.86465177398162,"left":128.25229960578187,"height":139.5224173046104,"width":38.051568355802836,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":45,"flipX":true,"flipY":false,"top":247.25361366622866,"left":209.82917214191855,"height":130.91353452262845,"width":35.70369123344411,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":20,"flipX":true,"flipY":false,"top":222.86465177398162,"left":191.74770039421816,"height":137.8810786467858,"width":37.60393054003248,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":10,"flipX":false,"flipY":false,"top":181.23521681997374,"left":154.7437582128778,"height":152.95411178415117,"width":32.77588109660381,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":350,"flipX":true,"flipY":false,"top":181.23521681997374,"left":165.2562417871222,"height":152.9272215477942,"width":32.77011890309875,"fill":"#00FF00"},{"asset":"Number4","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.42668379919992,"left":57.99512960421664,"height":90.82719892072704,"width":78.71690573129675,"fill":"#e2405f"},{"asset":"Number4","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.56241787122208,"left":66.85939553219448,"height":90.82719892072704,"width":78.71690573129675,"fill":"#00FF00"},{"asset":"Number2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.42668379919992,"left":151.13573407202216,"height":90.1429060076453,"width":66.10479773893988,"fill":"#e2405f"},{"asset":"Number2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.56241787122208,"left":160,"height":90.1429060076453,"width":66.10479773893988,"fill":"#00FF00"},{"asset":"Number0","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.42668379919992,"left":243.01484051091836,"height":90.83648192122284,"width":71.45803244469526,"fill":"#e2405f"},{"asset":"Number0","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.56241787122208,"left":251.8791064388962,"height":90.83648192122284,"width":71.45803244469526,"fill":"#00FF00"},{"asset":"Clubs","opacity":1,"angle":2.0859684524646234,"flipX":false,"flipY":false,"top":152.70516717325228,"left":90.6404869957649,"height":70.66100909285177,"width":73.46149918197979,"fill":"#7f7f7f"},{"asset":"Clubs","opacity":1,"angle":245.863097305046,"flipX":false,"flipY":false,"top":169.30747922437672,"left":75.34626038781163,"height":69.29259169660008,"width":72.03884764153476,"fill":"#7f7f7f"},{"asset":"Clubs","opacity":1,"angle":267.50992363313276,"flipX":false,"flipY":false,"top":163.20083523478348,"left":78.89196675900277,"height":63.09495488377565,"width":65.59558143998301,"fill":"#ababab"},{"asset":"Clubs","opacity":1,"angle":49.13269767112264,"flipX":false,"flipY":false,"top":157,"left":99.94796622014162,"height":64.45152881762127,"width":67.00592012904053,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":140.54711246200608,"left":35.01519756838906,"height":72.17020979768238,"width":56.89969604863222,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":357.840575030748,"flipX":false,"flipY":false,"top":167.78115501519758,"left":35.01519756838906,"height":31.465044108567632,"width":37.629328649926265,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.56231003039514,"left":35.01519756838906,"height":27.088144412518997,"width":27.088144412518997,"fill":"#ababab"},{"asset":"Emblem103","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.8419452887538,"left":35.01519756838906,"height":88.42430736245844,"width":59.70943420764036,"fill":"#e24040"},{"asset":"Stroke","opacity":1,"angle":105.16142873010118,"flipX":false,"flipY":false,"top":182.1606648199446,"left":60.27700831024931,"height":40.80211994136778,"width":10.975338809302716,"fill":"#7f5f00"},{"asset":"Circle","opacity":1,"angle":12.784618195399565,"flipX":false,"flipY":false,"top":187.0360110803324,"left":78.44875346260388,"height":10.604912653835058,"width":12.663980978955907,"fill":"#0e9a32"},{"asset":"Flames","opacity":1,"angle":9.069947884994049,"flipX":false,"flipY":false,"top":182.60387811634348,"left":78.89196675900277,"height":19.60557349160866,"width":15.970951941789632,"fill":"#f05300"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":177.28531855955677,"left":265.0415512465374,"height":42.94225072425912,"width":42.94225072425912,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.95136778115503,"left":265.0415512465374,"height":90.08996576006678,"width":71.76856364332099,"fill":"#000000"},{"asset":"Emblem128","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":152.70516717325228,"left":265.04559270516717,"height":109.07518471538488,"width":76.40971183767978,"fill":"#ffffff"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":114.34903047091413,"left":277.4515235457064,"height":9.52207932503831,"width":9.52207932503831,"fill":"#000000"},{"asset":"Explosion","opacity":1,"angle":26.46816166692917,"flipX":false,"flipY":false,"top":109.03047091412742,"left":283.21329639889194,"height":18.997582827705248,"width":24.20180224797137,"fill":"#f47e40"},{"asset":"Explosion","opacity":1,"angle":213.28010053235892,"flipX":false,"flipY":false,"top":117.89473684210526,"left":273.01939058171746,"height":16.53470957786758,"width":21.064246702354108,"fill":"#f47e40"},{"asset":"KitRecon","opacity":1,"angle":39.78618852542929,"flipX":false,"flipY":false,"top":114.79224376731301,"left":277.4515235457064,"height":45.799074665573926,"width":45.799074665573926,"fill":"#d80000"},{"asset":"Circle","opacity":1,"angle":102.38854790831418,"flipX":false,"flipY":false,"top":176.8421052631579,"left":40.77562326869806,"height":11.67251715911125,"width":10.616257630877652,"fill":"#7f5f00"},{"asset":"Circle","opacity":1,"angle":344.97897737107866,"flipX":false,"flipY":false,"top":109.47368421052632,"left":30.15197568389058,"height":28.40121283719605,"width":52.03647416413374,"fill":"#00704f"},{"asset":"Circle","opacity":1,"angle":345.6596301192295,"flipX":false,"flipY":false,"top":123.21329639889196,"left":35.50151975683891,"height":17.266563995207267,"width":56.49931805311499,"fill":"#00704f"},{"asset":"free_bling_hat","opacity":1,"angle":339.9057197728987,"flipX":false,"flipY":false,"top":112.22995899603433,"left":38.90577507598784,"height":39.24853555522455,"width":80.498214652392,"fill":"#009569"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":155.6703601108033,"left":163.54570637119113,"height":340,"width":340,"fill":"#4a1b7f"},{"asset":"Stroke","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":247.25361366622866,"left":160,"height":141.2629915446249,"width":10.719601311953195,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":70,"flipX":false,"flipY":true,"top":285.5190538764783,"left":139.18528252299606,"height":60,"width":15,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":290,"flipX":true,"flipY":true,"top":285.9395532194481,"left":181.23521681997374,"height":60,"width":15,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":315,"flipX":false,"flipY":false,"top":247.25361366622866,"left":110.17082354117217,"height":126.66960531610695,"width":34.546255995301905,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":340,"flipX":false,"flipY":false,"top":222.86465177398162,"left":128.25229960578187,"height":139.5224173046104,"width":38.051568355802836,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":45,"flipX":true,"flipY":false,"top":247.25361366622866,"left":209.82917214191855,"height":130.91353452262845,"width":35.70369123344411,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":20,"flipX":true,"flipY":false,"top":222.86465177398162,"left":191.74770039421816,"height":137.8810786467858,"width":37.60393054003248,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":10,"flipX":false,"flipY":false,"top":181.23521681997374,"left":154.7437582128778,"height":152.95411178415117,"width":32.77588109660381,"fill":"#00FF00"},{"asset":"Wing2","opacity":1,"angle":350,"flipX":true,"flipY":false,"top":181.23521681997374,"left":165.2562417871222,"height":152.9272215477942,"width":32.77011890309875,"fill":"#00FF00"},{"asset":"Number4","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.42668379919992,"left":57.99512960421664,"height":90.82719892072704,"width":78.71690573129675,"fill":"#e2405f"},{"asset":"Number4","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.56241787122208,"left":66.85939553219448,"height":90.82719892072704,"width":78.71690573129675,"fill":"#00FF00"},{"asset":"Number2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.42668379919992,"left":151.13573407202216,"height":90.1429060076453,"width":66.10479773893988,"fill":"#e2405f"},{"asset":"Number2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.56241787122208,"left":160,"height":90.1429060076453,"width":66.10479773893988,"fill":"#00FF00"},{"asset":"Number0","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.42668379919992,"left":243.01484051091836,"height":90.83648192122284,"width":71.45803244469526,"fill":"#e2405f"},{"asset":"Number0","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.56241787122208,"left":251.8791064388962,"height":90.83648192122284,"width":71.45803244469526,"fill":"#00FF00"},{"asset":"Clubs","opacity":1,"angle":2.0859684524646234,"flipX":false,"flipY":false,"top":152.70516717325228,"left":90.6404869957649,"height":70.66100909285177,"width":73.46149918197979,"fill":"#7f7f7f"},{"asset":"Clubs","opacity":1,"angle":245.863097305046,"flipX":false,"flipY":false,"top":169.30747922437672,"left":75.34626038781163,"height":69.29259169660008,"width":72.03884764153476,"fill":"#7f7f7f"},{"asset":"Clubs","opacity":1,"angle":267.50992363313276,"flipX":false,"flipY":false,"top":163.20083523478348,"left":78.89196675900277,"height":63.09495488377565,"width":65.59558143998301,"fill":"#ababab"},{"asset":"Clubs","opacity":1,"angle":49.13269767112264,"flipX":false,"flipY":false,"top":157,"left":99.94796622014162,"height":64.45152881762127,"width":67.00592012904053,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":140.54711246200608,"left":35.01519756838906,"height":72.17020979768238,"width":56.89969604863222,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":357.840575030748,"flipX":false,"flipY":false,"top":167.78115501519758,"left":35.01519756838906,"height":31.465044108567632,"width":37.629328649926265,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.56231003039514,"left":35.01519756838906,"height":27.088144412518997,"width":27.088144412518997,"fill":"#ababab"},{"asset":"Emblem103","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.8419452887538,"left":35.01519756838906,"height":88.42430736245844,"width":59.70943420764036,"fill":"#e24040"},{"asset":"Stroke","opacity":1,"angle":105.16142873010118,"flipX":false,"flipY":false,"top":182.1606648199446,"left":60.27700831024931,"height":40.80211994136778,"width":10.975338809302716,"fill":"#7f5f00"},{"asset":"Circle","opacity":1,"angle":12.784618195399565,"flipX":false,"flipY":false,"top":187.0360110803324,"left":78.44875346260388,"height":10.604912653835058,"width":12.663980978955907,"fill":"#0e9a32"},{"asset":"Flames","opacity":1,"angle":9.069947884994049,"flipX":false,"flipY":false,"top":182.60387811634348,"left":78.89196675900277,"height":19.60557349160866,"width":15.970951941789632,"fill":"#f05300"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":177.28531855955677,"left":265.0415512465374,"height":42.94225072425912,"width":42.94225072425912,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.95136778115503,"left":265.0415512465374,"height":90.08996576006678,"width":71.76856364332099,"fill":"#000000"},{"asset":"Emblem128","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":152.70516717325228,"left":265.04559270516717,"height":109.07518471538488,"width":76.40971183767978,"fill":"#ffffff"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":114.34903047091413,"left":277.4515235457064,"height":9.52207932503831,"width":9.52207932503831,"fill":"#000000"},{"asset":"Explosion","opacity":1,"angle":26.46816166692917,"flipX":false,"flipY":false,"top":109.03047091412742,"left":283.21329639889194,"height":18.997582827705248,"width":24.20180224797137,"fill":"#f47e40"},{"asset":"Explosion","opacity":1,"angle":213.28010053235892,"flipX":false,"flipY":false,"top":117.89473684210526,"left":273.01939058171746,"height":16.53470957786758,"width":21.064246702354108,"fill":"#f47e40"},{"asset":"KitRecon","opacity":1,"angle":39.78618852542929,"flipX":false,"flipY":false,"top":114.79224376731301,"left":277.4515235457064,"height":45.799074665573926,"width":45.799074665573926,"fill":"#d80000"},{"asset":"Circle","opacity":1,"angle":102.38854790831418,"flipX":false,"flipY":false,"top":176.8421052631579,"left":40.77562326869806,"height":11.67251715911125,"width":10.616257630877652,"fill":"#7f5f00"},{"asset":"Circle","opacity":1,"angle":344.97897737107866,"flipX":false,"flipY":false,"top":109.47368421052632,"left":30.15197568389058,"height":28.40121283719605,"width":52.03647416413374,"fill":"#00704f"},{"asset":"Circle","opacity":1,"angle":345.6596301192295,"flipX":false,"flipY":false,"top":123.21329639889196,"left":35.50151975683891,"height":17.266563995207267,"width":56.49931805311499,"fill":"#00704f"},{"asset":"free_bling_hat","opacity":1,"angle":339.9057197728987,"flipX":false,"flipY":false,"top":112.22995899603433,"left":38.90577507598784,"height":39.24853555522455,"width":80.498214652392,"fill":"#009569"}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
weed
420
blazeit
alien
smoke
quickscope
headshot
广告