我們使用 cookies 來提高網站的效能。
ОК
登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
35
圖層數
12
!
作者:
KOTOFA
»
代碼 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": -59.0514184776,"flipX": false,"flipY": false,"top": 232.9931818612,"height": 100,"width": 26.9801307942,"asset": "Stroke","selectable": true,"left": 133.2051688599,"fill": "#000000"},{"opacity": 1,"angle": -59.0514184776,"flipX": false,"flipY": false,"top": 243,"height": 100,"width": 20,"asset": "Stroke","selectable": true,"left": 138,"fill": "#F7941D"},{"opacity": 0.94,"angle": -89.4093427854,"flipX": false,"flipY": false,"top": 232.2084175613,"height": 144.2914969892,"width": 380.3639478815,"asset": "Dogtag","selectable": true,"left": 232.8482691035,"fill": "#000000"},{"opacity": 0.94,"angle": -89.4093427854,"flipX": false,"flipY": false,"top": 237.853324486,"height": 132.8855578672,"width": 368.96539178509994,"asset": "Dogtag","selectable": true,"left": 227.5448931908,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 126.1763538305,"height": 63.991042339100005,"width": 63.991042339100005,"asset": "Circle","selectable": false,"left": 246.9955211695,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 126.1763538305,"height": 63.991042339100005,"width": 63.991042339100005,"asset": "Circle","selectable": false,"left": 177.9955211695,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 117.5643264559,"height": 26.8713470882,"width": 26.8713470882,"asset": "Circle","selectable": false,"left": 234.4356735441,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 131.3248362791,"height": 25.3503274417,"width": 25.3503274417,"asset": "Circle","selectable": false,"left": 187.6751637209,"fill": "#FFFFFF"},{"opacity": 1,"angle": 1.5244112522,"flipX": false,"flipY": false,"top": 215.8798718089,"height": 71.9658990357,"width": 86.4011332573,"asset": "Shield7","selectable": false,"left": 212.4305079074,"fill": "#ED1C24"},{"opacity": 1,"angle": 59.602812826,"flipX": false,"flipY": false,"top": 249.7044594155,"height": 81.4513156325,"width": 223.7519830574,"asset": "WeaponCarbine","selectable": true,"left": 98.9297766062,"fill": "#EC008C"},{"opacity": 1,"angle": 79.1585960584,"flipX": false,"flipY": false,"top": 282.5945759396,"height": 157.1111413409,"width": 49.4423896548,"asset": "Comma","selectable": true,"left": 201.1629184765,"fill": "#000000"},{"opacity": 1,"angle": 79.1585960584,"flipX": false,"flipY": false,"top": 285.1071769867,"height": 147.0035517161,"width": 46.2615625,"asset": "Comma","selectable": true,"left": 196.498468527,"fill": "#F7941D"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects": [{"opacity": 1,"angle": -59.0514184776,"flipX": false,"flipY": false,"top": 232.9931818612,"height": 100,"width": 26.9801307942,"asset": "Stroke","selectable": true,"left": 133.2051688599,"fill": "#000000"},{"opacity": 1,"angle": -59.0514184776,"flipX": false,"flipY": false,"top": 243,"height": 100,"width": 20,"asset": "Stroke","selectable": true,"left": 138,"fill": "#F7941D"},{"opacity": 0.94,"angle": -89.4093427854,"flipX": false,"flipY": false,"top": 232.2084175613,"height": 144.2914969892,"width": 380.3639478815,"asset": "Dogtag","selectable": true,"left": 232.8482691035,"fill": "#000000"},{"opacity": 0.94,"angle": -89.4093427854,"flipX": false,"flipY": false,"top": 237.853324486,"height": 132.8855578672,"width": 368.96539178509994,"asset": "Dogtag","selectable": true,"left": 227.5448931908,"fill": "#FFF200"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 126.1763538305,"height": 63.991042339100005,"width": 63.991042339100005,"asset": "Circle","selectable": false,"left": 246.9955211695,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 126.1763538305,"height": 63.991042339100005,"width": 63.991042339100005,"asset": "Circle","selectable": false,"left": 177.9955211695,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 117.5643264559,"height": 26.8713470882,"width": 26.8713470882,"asset": "Circle","selectable": false,"left": 234.4356735441,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 131.3248362791,"height": 25.3503274417,"width": 25.3503274417,"asset": "Circle","selectable": false,"left": 187.6751637209,"fill": "#FFFFFF"},{"opacity": 1,"angle": 1.5244112522,"flipX": false,"flipY": false,"top": 215.8798718089,"height": 71.9658990357,"width": 86.4011332573,"asset": "Shield7","selectable": false,"left": 212.4305079074,"fill": "#ED1C24"},{"opacity": 1,"angle": 59.602812826,"flipX": false,"flipY": false,"top": 249.7044594155,"height": 81.4513156325,"width": 223.7519830574,"asset": "WeaponCarbine","selectable": true,"left": 98.9297766062,"fill": "#EC008C"},{"opacity": 1,"angle": 79.1585960584,"flipX": false,"flipY": false,"top": 282.5945759396,"height": 157.1111413409,"width": 49.4423896548,"asset": "Comma","selectable": true,"left": 201.1629184765,"fill": "#000000"},{"opacity": 1,"angle": 79.1585960584,"flipX": false,"flipY": false,"top": 285.1071769867,"height": 147.0035517161,"width": 46.2615625,"asset": "Comma","selectable": true,"left": 196.498468527,"fill": "#F7941D"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告