登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
0
圖層數
14
WannaHelp?
作者:
Felipe Alexandre
代碼 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":125,"left":175,"height":403,"width":403,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":14.830307954941147,"flipX":false,"flipY":false,"top":149.5025,"left":164.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":149.0025,"left":164.005,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":14.830307954941147,"flipX":true,"flipY":true,"top":151.0025,"left":181.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":-0.22872445172516517,"flipX":true,"flipY":true,"top":151.5025,"left":181.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":-0.22872445172516517,"flipX":true,"flipY":true,"top":150.0025,"left":148.005,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":-15.201960072191122,"flipX":true,"flipY":true,"top":150.0025,"left":147.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":176,"left":60,"height":102,"width":6.000000000000001,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.4052554847815,"flipX":true,"flipY":true,"top":224.5,"left":126,"height":138.99251147073335,"width":6.9996228798211035,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.3580939593235664,"flipX":true,"flipY":true,"top":172.5,"left":116.5,"height":97.99183611564098,"width":5.024901858343984,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.3580939593235664,"flipX":true,"flipY":true,"top":149.5,"left":191.5,"height":141.99097676581715,"width":7.0561121866546745,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.4052554847815,"flipX":true,"flipY":true,"top":130.4975,"left":234.4975,"height":87.05264548613971,"width":4.057013253339347,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.03173961374706103,"flipX":true,"flipY":true,"top":176.1425,"left":276.0275,"height":88.71384799859204,"width":4.057013253339347,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-1.867961030578389,"flipX":false,"flipY":false,"top":50.230000000000004,"left":150.095,"height":194.75639101736846,"width":495.07493062766696,"asset":"Eye2","fill":"#ffffff","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":125,"left":175,"height":403,"width":403,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":14.830307954941147,"flipX":false,"flipY":false,"top":149.5025,"left":164.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":149.0025,"left":164.005,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":14.830307954941147,"flipX":true,"flipY":true,"top":151.0025,"left":181.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":-0.22872445172516517,"flipX":true,"flipY":true,"top":151.5025,"left":181.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":-0.22872445172516517,"flipX":true,"flipY":true,"top":150.0025,"left":148.005,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":-15.201960072191122,"flipX":true,"flipY":true,"top":150.0025,"left":147.505,"height":236.005,"width":236.01237538673084,"asset":"MedalRing4","fill":"#1c4587","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":176,"left":60,"height":102,"width":6.000000000000001,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.4052554847815,"flipX":true,"flipY":true,"top":224.5,"left":126,"height":138.99251147073335,"width":6.9996228798211035,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.3580939593235664,"flipX":true,"flipY":true,"top":172.5,"left":116.5,"height":97.99183611564098,"width":5.024901858343984,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.3580939593235664,"flipX":true,"flipY":true,"top":149.5,"left":191.5,"height":141.99097676581715,"width":7.0561121866546745,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":89.4052554847815,"flipX":true,"flipY":true,"top":130.4975,"left":234.4975,"height":87.05264548613971,"width":4.057013253339347,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-0.03173961374706103,"flipX":true,"flipY":true,"top":176.1425,"left":276.0275,"height":88.71384799859204,"width":4.057013253339347,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-1.867961030578389,"flipX":false,"flipY":false,"top":50.230000000000004,"left":150.095,"height":194.75639101736846,"width":495.07493062766696,"asset":"Eye2","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告