登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
14
圖層數
19
Guilherme
作者:
Guilherme Tenca
»
代碼 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":131,"left":157.75,"height":235,"width":281.99999999999994,"asset":"Shield4","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":130,"left":157,"height":233,"width":275,"asset":"Shield4","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":36.75,"left":155,"height":39.5,"width":146.5546218487395,"asset":"Eagle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":161,"left":158,"height":136,"width":202.99999999999997,"asset":"MedalFrame","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.25,"left":171,"height":19.954559326171875,"width":19.954559326171875,"asset":"KitRecon","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170,"left":141.5,"height":15,"width":15,"asset":"KitEngineer","fill":"#0000ff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169,"left":169.25,"height":15.702496152935606,"width":12.954559326171875,"asset":"KitSupport","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":146.75,"left":144,"height":13.454559326171871,"width":13.454559326171873,"asset":"KitAssault","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":94.75,"left":155.25,"height":77.5,"width":235.45455932617185,"asset":"Banner","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-21.159035270670774,"flipX":false,"flipY":false,"top":78,"left":123.5,"height":30.94868900417523,"width":22.92137279371728,"asset":"Number8","fill":"#000000","selectable":false},{"opacity":1,"angle":-20.66715333584206,"flipX":false,"flipY":false,"top":82.25,"left":114.75,"height":17.441444651795116,"width":3.4882889303590234,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":22.52307763477026,"flipX":false,"flipY":false,"top":78.5,"left":191.75,"height":32.08903848642725,"width":23.765944129010183,"asset":"Number8","fill":"#000000","selectable":false},{"opacity":1,"angle":22.68622761230536,"flipX":false,"flipY":false,"top":74.5,"left":183.75,"height":22.04345453491499,"width":4.408690906982998,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":71.75,"left":158.25,"height":28.898678414096917,"width":23.95455932617187,"asset":"Number2","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":83.75,"left":157.25,"height":9.5,"width":26.954559326171875,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":75,"left":158,"height":28,"width":22.454559326171868,"asset":"Number2","fill":"#000000","selectable":false},{"opacity":1,"angle":-52.1717066293611,"flipX":true,"flipY":true,"top":72.25,"left":150.25,"height":27.56456376186523,"width":4.418533226964421,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-178.9119304566322,"flipX":true,"flipY":false,"top":66,"left":160,"height":4,"width":7.354187593095954,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-72.37213685429438,"flipX":false,"flipY":false,"top":65.25,"left":156.25,"height":9.261123194698204,"width":5.6237852105001105,"asset":"Triangle","fill":"#f1c232","selectable":false}]'},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":131,"left":157.75,"height":235,"width":281.99999999999994,"asset":"Shield4","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":130,"left":157,"height":233,"width":275,"asset":"Shield4","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":36.75,"left":155,"height":39.5,"width":146.5546218487395,"asset":"Eagle","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":161,"left":158,"height":136,"width":202.99999999999997,"asset":"MedalFrame","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":147.25,"left":171,"height":19.954559326171875,"width":19.954559326171875,"asset":"KitRecon","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":170,"left":141.5,"height":15,"width":15,"asset":"KitEngineer","fill":"#0000ff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":169,"left":169.25,"height":15.702496152935606,"width":12.954559326171875,"asset":"KitSupport","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":146.75,"left":144,"height":13.454559326171871,"width":13.454559326171873,"asset":"KitAssault","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":94.75,"left":155.25,"height":77.5,"width":235.45455932617185,"asset":"Banner","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-21.159035270670774,"flipX":false,"flipY":false,"top":78,"left":123.5,"height":30.94868900417523,"width":22.92137279371728,"asset":"Number8","fill":"#000000","selectable":false},{"opacity":1,"angle":-20.66715333584206,"flipX":false,"flipY":false,"top":82.25,"left":114.75,"height":17.441444651795116,"width":3.4882889303590234,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":22.52307763477026,"flipX":false,"flipY":false,"top":78.5,"left":191.75,"height":32.08903848642725,"width":23.765944129010183,"asset":"Number8","fill":"#000000","selectable":false},{"opacity":1,"angle":22.68622761230536,"flipX":false,"flipY":false,"top":74.5,"left":183.75,"height":22.04345453491499,"width":4.408690906982998,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":71.75,"left":158.25,"height":28.898678414096917,"width":23.95455932617187,"asset":"Number2","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":83.75,"left":157.25,"height":9.5,"width":26.954559326171875,"asset":"Square","fill":"#f1c232","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":75,"left":158,"height":28,"width":22.454559326171868,"asset":"Number2","fill":"#000000","selectable":false},{"opacity":1,"angle":-52.1717066293611,"flipX":true,"flipY":true,"top":72.25,"left":150.25,"height":27.56456376186523,"width":4.418533226964421,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-178.9119304566322,"flipX":true,"flipY":false,"top":66,"left":160,"height":4,"width":7.354187593095954,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-72.37213685429438,"flipX":false,"flipY":false,"top":65.25,"left":156.25,"height":9.261123194698204,"width":5.6237852105001105,"asset":"Triangle","fill":"#f1c232","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告