登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
9
圖層數
14
Coplinco
作者:
Coplinco
代碼 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":154.0135981528,"height":260.0271963057,"width":260.0271963057,"asset":"Square","selectable":true,"left":162.0135981528,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149.2773109244,"height":204.5546218487,"width":37.3109243697,"asset":"Stroke","selectable":true,"left":92.6554621849,"fill":"#EBEBEB"},{"opacity":1,"angle":64.2085066592,"flipX":false,"flipY":false,"top":58.4918621943,"height":78.9378086722,"width":77.8862336594,"asset":"Triangle","selectable":true,"left":83.2477398545,"fill":"#363636"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":227.2773109244,"height":148.9327731092,"width":37.3109243697,"asset":"Stroke","selectable":true,"left":188.4663865546,"fill":"#EBEBEB"},{"opacity":1,"angle":-78.5553851246,"flipX":false,"flipY":false,"top":204.2528404064,"height":82.7792366313,"width":86.11190791780001,"asset":"Triangle","selectable":true,"left":236.4519315029,"fill":"#363636"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":70.2773109244,"height":148.9327731092,"width":37.3109243697,"asset":"Stroke","selectable":true,"left":187.4663865546,"fill":"#EBEBEB"},{"opacity":1,"angle":44.3726665511,"flipX":true,"flipY":false,"top":231.0122396794,"height":148.9327731092,"width":2.0974055726,"asset":"Stroke","selectable":true,"left":190.4259920465,"fill":"#363636"},{"opacity":1,"angle":-44.2624555276,"flipX":false,"flipY":false,"top":240.5375027993,"height":122.0173167733,"width":1.9096884004,"asset":"Stroke","selectable":true,"left":161.6013676837,"fill":"#363636"},{"opacity":1,"angle":-42.9808146777,"flipX":true,"flipY":false,"top":90.3106169784,"height":148.9327731092,"width":1.9666766698,"asset":"Stroke","selectable":true,"left":214.8772240009,"fill":"#363636"},{"opacity":1,"angle":45.9862448546,"flipX":false,"flipY":false,"top":66.8219718649,"height":123.7932128711,"width":1.6675264243,"asset":"Stroke","selectable":true,"left":156.7244247708,"fill":"#363636"},{"opacity":1,"angle":43.1513630963,"flipX":false,"flipY":false,"top":164.8938109725,"height":148.9327731092,"width":2.7357122271,"asset":"Stroke","selectable":true,"left":105.0995486383,"fill":"#363636"},{"opacity":1,"angle":-42.0573422504,"flipX":true,"flipY":false,"top":133.7915713617,"height":148.9327731092,"width":2.6068953134,"asset":"Stroke","selectable":true,"left":107.5674966454,"fill":"#363636"},{"opacity":1,"angle":256.4131959155,"flipX":false,"flipY":false,"top":89.2528404064,"height":82.7792366313,"width":86.11190791780001,"asset":"Triangle","selectable":true,"left":243.4519315029,"fill":"#363636"},{"opacity":1,"angle":115.3058485045,"flipX":false,"flipY":false,"top":238.896052121,"height":75.8511144248,"width":74.8406590047,"asset":"Triangle","selectable":true,"left":83.332400965,"fill":"#363636"}]'},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":154.0135981528,"height":260.0271963057,"width":260.0271963057,"asset":"Square","selectable":true,"left":162.0135981528,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":149.2773109244,"height":204.5546218487,"width":37.3109243697,"asset":"Stroke","selectable":true,"left":92.6554621849,"fill":"#EBEBEB"},{"opacity":1,"angle":64.2085066592,"flipX":false,"flipY":false,"top":58.4918621943,"height":78.9378086722,"width":77.8862336594,"asset":"Triangle","selectable":true,"left":83.2477398545,"fill":"#363636"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":227.2773109244,"height":148.9327731092,"width":37.3109243697,"asset":"Stroke","selectable":true,"left":188.4663865546,"fill":"#EBEBEB"},{"opacity":1,"angle":-78.5553851246,"flipX":false,"flipY":false,"top":204.2528404064,"height":82.7792366313,"width":86.11190791780001,"asset":"Triangle","selectable":true,"left":236.4519315029,"fill":"#363636"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":70.2773109244,"height":148.9327731092,"width":37.3109243697,"asset":"Stroke","selectable":true,"left":187.4663865546,"fill":"#EBEBEB"},{"opacity":1,"angle":44.3726665511,"flipX":true,"flipY":false,"top":231.0122396794,"height":148.9327731092,"width":2.0974055726,"asset":"Stroke","selectable":true,"left":190.4259920465,"fill":"#363636"},{"opacity":1,"angle":-44.2624555276,"flipX":false,"flipY":false,"top":240.5375027993,"height":122.0173167733,"width":1.9096884004,"asset":"Stroke","selectable":true,"left":161.6013676837,"fill":"#363636"},{"opacity":1,"angle":-42.9808146777,"flipX":true,"flipY":false,"top":90.3106169784,"height":148.9327731092,"width":1.9666766698,"asset":"Stroke","selectable":true,"left":214.8772240009,"fill":"#363636"},{"opacity":1,"angle":45.9862448546,"flipX":false,"flipY":false,"top":66.8219718649,"height":123.7932128711,"width":1.6675264243,"asset":"Stroke","selectable":true,"left":156.7244247708,"fill":"#363636"},{"opacity":1,"angle":43.1513630963,"flipX":false,"flipY":false,"top":164.8938109725,"height":148.9327731092,"width":2.7357122271,"asset":"Stroke","selectable":true,"left":105.0995486383,"fill":"#363636"},{"opacity":1,"angle":-42.0573422504,"flipX":true,"flipY":false,"top":133.7915713617,"height":148.9327731092,"width":2.6068953134,"asset":"Stroke","selectable":true,"left":107.5674966454,"fill":"#363636"},{"opacity":1,"angle":256.4131959155,"flipX":false,"flipY":false,"top":89.2528404064,"height":82.7792366313,"width":86.11190791780001,"asset":"Triangle","selectable":true,"left":243.4519315029,"fill":"#363636"},{"opacity":1,"angle":115.3058485045,"flipX":false,"flipY":false,"top":238.896052121,"height":75.8511144248,"width":74.8406590047,"asset":"Triangle","selectable":true,"left":83.332400965,"fill":"#363636"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告