登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
30
圖層數
14
XIII
作者:
saiko
代碼 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":-6.511019443400643,"flipX":false,"flipY":false,"top":167.5,"left":156.5,"height":147,"width":296.8089171974522,"asset":"Dogtag","fill":"#434343","selectable":false},{"opacity":1,"angle":-17.8583410484206,"flipX":false,"flipY":false,"top":140.25,"left":153.25,"height":151.35609183791777,"width":305.6043382969423,"asset":"Dogtag","fill":"#7f6000","selectable":false},{"opacity":1,"angle":-17.869548299653214,"flipX":false,"flipY":false,"top":138,"left":168,"height":140.8757309530087,"width":140.8757309530087,"asset":"Shield","fill":"#d9d9d9","selectable":false},{"opacity":1,"angle":-17.723236616886314,"flipX":false,"flipY":false,"top":124.5,"left":162,"height":105.88884885784589,"width":105.88884885784589,"asset":"Longrange","fill":"#666666","selectable":false},{"opacity":1,"angle":160.80115271614798,"flipX":true,"flipY":true,"top":173.5,"left":179.5,"height":51.85998538974475,"width":134.92028719283186,"asset":"Banner","fill":"#783f04","selectable":false},{"opacity":1,"angle":38.290163192243064,"flipX":false,"flipY":false,"top":141.25,"left":134.75,"height":21.55371335605215,"width":104.50285263540437,"asset":"WeaponShotgun","fill":"#7f6000","selectable":false},{"opacity":1,"angle":-83.86777750232069,"flipX":true,"flipY":false,"top":138.5,"left":140.5,"height":26.2497615821461,"width":104.99904632858441,"asset":"WeaponLMG","fill":"#7f6000","selectable":false},{"opacity":1,"angle":-18.351060479478384,"flipX":false,"flipY":false,"top":125.25,"left":173.25,"height":62.69220316662239,"width":42.061025786875,"asset":"KitSupport","fill":"#783f04","selectable":false},{"opacity":1,"angle":-20.01730274554061,"flipX":false,"flipY":false,"top":161.75,"left":81.5,"height":106.66666666666667,"width":50,"asset":"Wing2","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-16.643108609062107,"flipX":true,"flipY":false,"top":113.25,"left":254,"height":106.66666666666667,"width":50,"asset":"Wing2","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-18.755033646703676,"flipX":false,"flipY":false,"top":188.5,"left":178.25,"height":16.81104169589712,"width":3.362208339179424,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-17.927919762007235,"flipX":false,"flipY":false,"top":185,"left":187.75,"height":17.832827528994272,"width":12.705889614408418,"asset":"Number3","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-108.54795810342267,"flipX":false,"flipY":false,"top":191.25,"left":166.75,"height":10.138604216942678,"width":3.675772240061508,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-108.54795810342267,"flipX":true,"flipY":true,"top":180,"left":201.5,"height":10.138604216942678,"width":3.675772240061508,"asset":"Stroke","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":-6.511019443400643,"flipX":false,"flipY":false,"top":167.5,"left":156.5,"height":147,"width":296.8089171974522,"asset":"Dogtag","fill":"#434343","selectable":false},{"opacity":1,"angle":-17.8583410484206,"flipX":false,"flipY":false,"top":140.25,"left":153.25,"height":151.35609183791777,"width":305.6043382969423,"asset":"Dogtag","fill":"#7f6000","selectable":false},{"opacity":1,"angle":-17.869548299653214,"flipX":false,"flipY":false,"top":138,"left":168,"height":140.8757309530087,"width":140.8757309530087,"asset":"Shield","fill":"#d9d9d9","selectable":false},{"opacity":1,"angle":-17.723236616886314,"flipX":false,"flipY":false,"top":124.5,"left":162,"height":105.88884885784589,"width":105.88884885784589,"asset":"Longrange","fill":"#666666","selectable":false},{"opacity":1,"angle":160.80115271614798,"flipX":true,"flipY":true,"top":173.5,"left":179.5,"height":51.85998538974475,"width":134.92028719283186,"asset":"Banner","fill":"#783f04","selectable":false},{"opacity":1,"angle":38.290163192243064,"flipX":false,"flipY":false,"top":141.25,"left":134.75,"height":21.55371335605215,"width":104.50285263540437,"asset":"WeaponShotgun","fill":"#7f6000","selectable":false},{"opacity":1,"angle":-83.86777750232069,"flipX":true,"flipY":false,"top":138.5,"left":140.5,"height":26.2497615821461,"width":104.99904632858441,"asset":"WeaponLMG","fill":"#7f6000","selectable":false},{"opacity":1,"angle":-18.351060479478384,"flipX":false,"flipY":false,"top":125.25,"left":173.25,"height":62.69220316662239,"width":42.061025786875,"asset":"KitSupport","fill":"#783f04","selectable":false},{"opacity":1,"angle":-20.01730274554061,"flipX":false,"flipY":false,"top":161.75,"left":81.5,"height":106.66666666666667,"width":50,"asset":"Wing2","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-16.643108609062107,"flipX":true,"flipY":false,"top":113.25,"left":254,"height":106.66666666666667,"width":50,"asset":"Wing2","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-18.755033646703676,"flipX":false,"flipY":false,"top":188.5,"left":178.25,"height":16.81104169589712,"width":3.362208339179424,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-17.927919762007235,"flipX":false,"flipY":false,"top":185,"left":187.75,"height":17.832827528994272,"width":12.705889614408418,"asset":"Number3","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-108.54795810342267,"flipX":false,"flipY":false,"top":191.25,"left":166.75,"height":10.138604216942678,"width":3.675772240061508,"asset":"Stroke","fill":"#f1c232","selectable":false},{"opacity":1,"angle":-108.54795810342267,"flipX":true,"flipY":true,"top":180,"left":201.5,"height":10.138604216942678,"width":3.675772240061508,"asset":"Stroke","fill":"#f1c232","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告