我們使用 cookies 來提高網站的效能。
ОК
登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
0
圖層數
16
Emblem 129366
作者:
grim
代碼 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:'[//1.الخلفيةالسوداء{"opacity":1,"angle":0,"top":128,"left":128,"height":256,"width":256,"asset":"Square","fill":"#000000"},//2.حرفG(بسيطوواضح){"opacity":1,"angle":0,"top":110,"left":65,"height":40,"width":10,"asset":"Square","fill":"#8b0000"},//عموديسار{"opacity":1,"angle":0,"top":90,"left":80,"height":10,"width":30,"asset":"Square","fill":"#8b0000"},//سقف{"opacity":1,"angle":0,"top":130,"left":80,"height":10,"width":30,"asset":"Square","fill":"#8b0000"},//قاعدة{"opacity":1,"angle":0,"top":120,"left":90,"height":20,"width":10,"asset":"Square","fill":"#8b0000"},//لسان//3.حرفR(هندسةمستقيمة){"opacity":1,"angle":0,"top":110,"left":110,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//عمود{"opacity":1,"angle":0,"top":95,"left":125,"height":10,"width":25,"asset":"Square","fill":"#8b0000"},//أعلى{"opacity":1,"angle":0,"top":115,"left":125,"height":10,"width":25,"asset":"Square","fill":"#8b0000"},//منتصف{"opacity":1,"angle":0,"top":105,"left":135,"height":25,"width":10,"asset":"Square","fill":"#8b0000"},//إغلاقالرأس{"opacity":1,"angle":45,"top":130,"left":130,"height":25,"width":10,"asset":"Square","fill":"#8b0000"},//قدم//4.حرفI(قطعةواحدة){"opacity":1,"angle":0,"top":110,"left":160,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//5.حرفM(أعمدةوجسر){"opacity":1,"angle":0,"top":110,"left":185,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//عمود1{"opacity":1,"angle":0,"top":110,"left":225,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//عمود2{"opacity":1,"angle":45,"top":100,"left":195,"height":25,"width":8,"asset":"Square","fill":"#8b0000"},//ميلان1{"opacity":1,"angle":-45,"top":100,"left":215,"height":25,"width":8,"asset":"Square","fill":"#8b0000"},//ميلان2//6.النصالسفليالمحاكي(خطرفيع){"opacity":1,"angle":0,"top":160,"left":128,"height":4,"width":180,"asset":"Square","fill":"#8b0000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":(function(){constsession=localStorage.getItem('gatewaySessionId');if(!session)returnalert("سجلالدخول!");constfinalGrim=[//1.الخلفيةالسوداء{"opacity":1,"angle":0,"top":128,"left":128,"height":256,"width":256,"asset":"Square","fill":"#000000"},//2.حرفG(بسيطوواضح){"opacity":1,"angle":0,"top":110,"left":65,"height":40,"width":10,"asset":"Square","fill":"#8b0000"},//عموديسار{"opacity":1,"angle":0,"top":90,"left":80,"height":10,"width":30,"asset":"Square","fill":"#8b0000"},//سقف{"opacity":1,"angle":0,"top":130,"left":80,"height":10,"width":30,"asset":"Square","fill":"#8b0000"},//قاعدة{"opacity":1,"angle":0,"top":120,"left":90,"height":20,"width":10,"asset":"Square","fill":"#8b0000"},//لسان//3.حرفR(هندسةمستقيمة){"opacity":1,"angle":0,"top":110,"left":110,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//عمود{"opacity":1,"angle":0,"top":95,"left":125,"height":10,"width":25,"asset":"Square","fill":"#8b0000"},//أعلى{"opacity":1,"angle":0,"top":115,"left":125,"height":10,"width":25,"asset":"Square","fill":"#8b0000"},//منتصف{"opacity":1,"angle":0,"top":105,"left":135,"height":25,"width":10,"asset":"Square","fill":"#8b0000"},//إغلاقالرأس{"opacity":1,"angle":45,"top":130,"left":130,"height":25,"width":10,"asset":"Square","fill":"#8b0000"},//قدم//4.حرفI(قطعةواحدة){"opacity":1,"angle":0,"top":110,"left":160,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//5.حرفM(أعمدةوجسر){"opacity":1,"angle":0,"top":110,"left":185,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//عمود1{"opacity":1,"angle":0,"top":110,"left":225,"height":50,"width":10,"asset":"Square","fill":"#8b0000"},//عمود2{"opacity":1,"angle":45,"top":100,"left":195,"height":25,"width":8,"asset":"Square","fill":"#8b0000"},//ميلان1{"opacity":1,"angle":-45,"top":100,"left":215,"height":25,"width":8,"asset":"Square","fill":"#8b0000"},//ميلان2//6.النصالسفليالمحاكي(خطرفيع){"opacity":1,"angle":0,"top":160,"left":128,"height":4,"width":180,"asset":"Square","fill":"#8b0000"}];constpayload={jsonrpc:"2.0",method:"Emblems.newPrivateEmblem",params:{data:JSON.stringify(finalGrim)},id:"0"};constxhr=newXMLHttpRequest();xhr.open("POST","https://gateway.ea.com/proxy/companion/jsonrpc/web/api?Emblems.newPrivateEmblem",true);xhr.setRequestHeader("Content-Type","application/json");xhr.setRequestHeader("X-GatewaySession",session);xhr.onreadystatechange=function(){if(xhr.readyState===4&&xhr.status===200){alert("تمالإصلاح!الكلمةالآنمتناسقة.");window.location.reload();}};xhr.send(JSON.stringify(payload));})();]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告