登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
1
圖層數
13
БПАN
作者:
jiexa.steam
»
代碼 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":166,"height":100,"width":20,"asset":"Stroke","selectable":true,"left":12,"fill":"#000000"},{"opacity":1,"angle":90.0088405769,"flipX":false,"flipY":false,"top":125.9981484101,"height":75.9996910962,"width":20,"asset":"Stroke","selectable":true,"left":41.9998456909,"fill":"#000000"},{"opacity":1,"angle":-0.0088405769,"flipX":false,"flipY":false,"top":182.2445213039,"height":67.5099424205,"width":80.5749004354,"asset":"Number0","selectable":true,"left":43.2902692406,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165,"height":100,"width":20,"asset":"Stroke","selectable":true,"left":98,"fill":"#000000"},{"opacity":1,"angle":89.5295550551,"flipX":false,"flipY":false,"top":125.1066752781,"height":74.0156124371,"width":20,"asset":"Stroke","selectable":true,"left":125.0082441664,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165,"height":100,"width":20,"asset":"Stroke","selectable":true,"left":154,"fill":"#000000"},{"opacity":1,"angle":15.7389781983,"flipX":false,"flipY":false,"top":192.2193645268,"height":156.4172539031,"width":15.3935541631,"asset":"Stroke","selectable":true,"left":177.5065760117,"fill":"#000000"},{"opacity":1,"angle":-18.250573566,"flipX":false,"flipY":false,"top":192.1908272047,"height":156.2098748002,"width":15.7345759692,"asset":"Stroke","selectable":true,"left":220.4598741757,"fill":"#000000"},{"opacity":1,"angle":90.2115719822,"flipX":false,"flipY":false,"top":228.8530775146,"height":328.0080826808,"width":17.6694651312,"asset":"Stroke","selectable":true,"left":162.0101536252,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165,"height":100,"width":24,"asset":"Stroke","selectable":true,"left":248,"fill":"#FF0000"},{"opacity":1,"angle":145.8471390798,"flipX":false,"flipY":false,"top":165.9633665114,"height":109.0278656617,"width":22.2121981933,"asset":"Stroke","selectable":true,"left":281.151561009,"fill":"#FF0000"},{"opacity":1,"angle":-0.9896896961,"flipX":false,"flipY":false,"top":165.4574219072,"height":103.001906894,"width":21.9449005747,"asset":"Stroke","selectable":true,"left":310.964714337,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":131,"height":66,"width":40,"asset":"PlayerMarker","selectable":true,"left":198,"fill":"#000000"}]'},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":166,"height":100,"width":20,"asset":"Stroke","selectable":true,"left":12,"fill":"#000000"},{"opacity":1,"angle":90.0088405769,"flipX":false,"flipY":false,"top":125.9981484101,"height":75.9996910962,"width":20,"asset":"Stroke","selectable":true,"left":41.9998456909,"fill":"#000000"},{"opacity":1,"angle":-0.0088405769,"flipX":false,"flipY":false,"top":182.2445213039,"height":67.5099424205,"width":80.5749004354,"asset":"Number0","selectable":true,"left":43.2902692406,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165,"height":100,"width":20,"asset":"Stroke","selectable":true,"left":98,"fill":"#000000"},{"opacity":1,"angle":89.5295550551,"flipX":false,"flipY":false,"top":125.1066752781,"height":74.0156124371,"width":20,"asset":"Stroke","selectable":true,"left":125.0082441664,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165,"height":100,"width":20,"asset":"Stroke","selectable":true,"left":154,"fill":"#000000"},{"opacity":1,"angle":15.7389781983,"flipX":false,"flipY":false,"top":192.2193645268,"height":156.4172539031,"width":15.3935541631,"asset":"Stroke","selectable":true,"left":177.5065760117,"fill":"#000000"},{"opacity":1,"angle":-18.250573566,"flipX":false,"flipY":false,"top":192.1908272047,"height":156.2098748002,"width":15.7345759692,"asset":"Stroke","selectable":true,"left":220.4598741757,"fill":"#000000"},{"opacity":1,"angle":90.2115719822,"flipX":false,"flipY":false,"top":228.8530775146,"height":328.0080826808,"width":17.6694651312,"asset":"Stroke","selectable":true,"left":162.0101536252,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":165,"height":100,"width":24,"asset":"Stroke","selectable":true,"left":248,"fill":"#FF0000"},{"opacity":1,"angle":145.8471390798,"flipX":false,"flipY":false,"top":165.9633665114,"height":109.0278656617,"width":22.2121981933,"asset":"Stroke","selectable":true,"left":281.151561009,"fill":"#FF0000"},{"opacity":1,"angle":-0.9896896961,"flipX":false,"flipY":false,"top":165.4574219072,"height":103.001906894,"width":21.9449005747,"asset":"Stroke","selectable":true,"left":310.964714337,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":131,"height":66,"width":40,"asset":"PlayerMarker","selectable":true,"left":198,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告