登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
10
圖層數
32
UnFear team
作者:
UnFear_OvO
»
代碼 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":178.155622088,"height":502.8847357234,"width":502.8847357234,"asset":"Square","selectable":false,"left":141.844377912,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":299.2521008403,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":39.1890756303,"fill":"#FFFFFF"},{"opacity":1,"angle":-90.3732242341,"flipX":false,"flipY":false,"top":325.2669140694,"height":85.4125022134,"width":20.0256314633,"asset":"Stroke","selectable":true,"left":52.6870995084,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295.2521008403,"height":60.50420168069999,"width":12.1008403362,"asset":"Stroke","selectable":true,"left":13.0504201681,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295.2521008403,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":56.8109243697,"fill":"#FFFFFF"},{"opacity":1,"angle":-28.5314817301,"flipX":false,"flipY":false,"top":294,"height":60.50420168069999,"width":10.3719293439,"asset":"Stroke","selectable":true,"left":73.162061396,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295.2521008403,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":89.8109243697,"fill":"#FFFFFF"},{"opacity":1,"angle":270.0608743211,"flipX":true,"flipY":false,"top":268.1275686881,"height":40.8219801905,"width":6.8449388,"asset":"Stroke","selectable":true,"left":110.1069521688,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":134,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":272,"height":41.7127621557,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":159.2183181923,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":291.9664694765,"height":32.2378793544,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":149.8738159492,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":179,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":272,"height":41.7127621557,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":201,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":295.9509381887,"height":27.8491279731,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":194.068356535,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":317.0288167628,"height":49.8556546936,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":205.0713442885,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":227,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":257,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":280.0960022925,"height":30.7207335895,"width":29.2586009232,"asset":"Square","selectable":true,"left":242.2926170445,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":279,"height":16.0412153891,"width":16.0412153891,"asset":"Square","selectable":false,"left":242,"fill":"#000000"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":278.4787666266,"height":35.8772386737,"width":26.9715256588,"asset":"Stroke","selectable":false,"left":280.0363088012,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":279,"height":16.0412153891,"width":19.0103038473,"asset":"Square","selectable":false,"left":278.4948480763,"fill":"#000000"},{"opacity":1,"angle":-52.0283962389,"flipX":false,"flipY":false,"top":311,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":286,"fill":"#FFFFFF"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":320,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":160,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":390,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":2,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":357,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":43,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":382,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":120,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":367,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":206,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":362,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":252,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":349,"height":420,"width":123.84296875000001,"asset":"Flames","selectable":false,"left":297.078515625,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":423,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":90,"fill":"#FF0000"},{"opacity":1,"angle":25.2011236455,"flipX":false,"flipY":false,"top":121.8048426063,"height":12.8622604684,"width":100,"asset":"Wingpart","selectable":false,"left":84.8565446559,"fill":"#FFFFFF"},{"opacity":1,"angle":-24.7194923909,"flipX":true,"flipY":false,"top":116.8423681741,"height":10.6538841071,"width":100,"asset":"Wingpart","selectable":false,"left":235.5310410074,"fill":"#FFFFFF"}]'},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":178.155622088,"height":502.8847357234,"width":502.8847357234,"asset":"Square","selectable":false,"left":141.844377912,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":299.2521008403,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":39.1890756303,"fill":"#FFFFFF"},{"opacity":1,"angle":-90.3732242341,"flipX":false,"flipY":false,"top":325.2669140694,"height":85.4125022134,"width":20.0256314633,"asset":"Stroke","selectable":true,"left":52.6870995084,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295.2521008403,"height":60.50420168069999,"width":12.1008403362,"asset":"Stroke","selectable":true,"left":13.0504201681,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295.2521008403,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":56.8109243697,"fill":"#FFFFFF"},{"opacity":1,"angle":-28.5314817301,"flipX":false,"flipY":false,"top":294,"height":60.50420168069999,"width":10.3719293439,"asset":"Stroke","selectable":true,"left":73.162061396,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295.2521008403,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":89.8109243697,"fill":"#FFFFFF"},{"opacity":1,"angle":270.0608743211,"flipX":true,"flipY":false,"top":268.1275686881,"height":40.8219801905,"width":6.8449388,"asset":"Stroke","selectable":true,"left":110.1069521688,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":134,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":272,"height":41.7127621557,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":159.2183181923,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":291.9664694765,"height":32.2378793544,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":149.8738159492,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":179,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":272,"height":41.7127621557,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":201,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":295.9509381887,"height":27.8491279731,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":194.068356535,"fill":"#FFFFFF"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":317.0288167628,"height":49.8556546936,"width":13.9723643094,"asset":"Stroke","selectable":true,"left":205.0713442885,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":227,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":295,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":257,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":280.0960022925,"height":30.7207335895,"width":29.2586009232,"asset":"Square","selectable":true,"left":242.2926170445,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":279,"height":16.0412153891,"width":16.0412153891,"asset":"Square","selectable":false,"left":242,"fill":"#000000"},{"opacity":1,"angle":-89.5944702294,"flipX":false,"flipY":false,"top":278.4787666266,"height":35.8772386737,"width":26.9715256588,"asset":"Stroke","selectable":false,"left":280.0363088012,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":279,"height":16.0412153891,"width":19.0103038473,"asset":"Square","selectable":false,"left":278.4948480763,"fill":"#000000"},{"opacity":1,"angle":-52.0283962389,"flipX":false,"flipY":false,"top":311,"height":60.50420168069999,"width":12.1008403361,"asset":"Stroke","selectable":true,"left":286,"fill":"#FFFFFF"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":320,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":160,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":390,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":2,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":357,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":43,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":382,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":120,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":367,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":206,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":362,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":252,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":349,"height":420,"width":123.84296875000001,"asset":"Flames","selectable":false,"left":297.078515625,"fill":"#FF0000"},{"opacity":0.3,"angle":0,"flipX":false,"flipY":false,"top":423,"height":420,"width":69.6859375,"asset":"Flames","selectable":false,"left":90,"fill":"#FF0000"},{"opacity":1,"angle":25.2011236455,"flipX":false,"flipY":false,"top":121.8048426063,"height":12.8622604684,"width":100,"asset":"Wingpart","selectable":false,"left":84.8565446559,"fill":"#FFFFFF"},{"opacity":1,"angle":-24.7194923909,"flipX":true,"flipY":false,"top":116.8423681741,"height":10.6538841071,"width":100,"asset":"Wingpart","selectable":false,"left":235.5310410074,"fill":"#FFFFFF"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告