登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
10
圖層數
17
1 - 17 1939
作者:
adamus1211
代碼 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":99.855475,"left":157.5,"height":135.28905,"width":291,"asset":"Flag","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-28.58799477842591,"flipX":false,"flipY":false,"top":186.69525,"left":106.539075,"height":96.18430720882577,"width":11.291934389592516,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":92.640625,"left":160,"height":49.2871875,"width":50,"asset":"Soviet","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":75.21875,"left":134.72265,"height":19.445300000000003,"width":20.44560103041296,"asset":"Star4","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-18.371216057758378,"flipX":false,"flipY":false,"top":98.65625,"left":122,"height":68.31851065646768,"width":34.99999999999999,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-2.454578901700494,"flipX":true,"flipY":true,"top":94.15625,"left":197,"height":68.31851065646768,"width":34.99999999999999,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":224.9375,"left":161.44925,"height":108.875,"width":186.90385502612577,"asset":"Handshake","fill":"#e7d192","selectable":false},{"opacity":1,"angle":19.983106521899973,"flipX":false,"flipY":false,"top":190.5,"left":80.5,"height":27.424880812708032,"width":50,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":19.983106521899973,"flipX":true,"flipY":true,"top":215.9922,"left":71.4922,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":19.983106521899973,"flipX":true,"flipY":true,"top":240.9922,"left":62.9922,"height":24.27308706477828,"width":50,"asset":"Square","fill":"#980000","selectable":false},{"opacity":1,"angle":-20.570979438157064,"flipX":true,"flipY":true,"top":214.21485,"left":253.21485,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-20.570979438157064,"flipX":true,"flipY":true,"top":189.21485,"left":243.71485,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-20.570979438157064,"flipX":true,"flipY":true,"top":238.71485,"left":262.71485,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#980000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":294.042975,"left":176.609375,"height":23.093500000000006,"width":10.226306970312503,"asset":"Number1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-179.77584546595168,"flipX":true,"flipY":true,"top":295.042975,"left":130.109375,"height":23.093500000000006,"width":10.226306970312503,"asset":"Number1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-91.81830296445182,"flipX":false,"flipY":false,"top":295.894525,"left":153.8789,"height":18.06767091407951,"width":7.405384406883125,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":292.945325,"left":197.5,"height":23.895702287662083,"width":16.999999999999996,"asset":"Number7","fill":"#ffffff","selectable":false}]'},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":99.855475,"left":157.5,"height":135.28905,"width":291,"asset":"Flag","fill":"#ff0000","selectable":false},{"opacity":1,"angle":-28.58799477842591,"flipX":false,"flipY":false,"top":186.69525,"left":106.539075,"height":96.18430720882577,"width":11.291934389592516,"asset":"Stroke","fill":"#ff0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":92.640625,"left":160,"height":49.2871875,"width":50,"asset":"Soviet","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":75.21875,"left":134.72265,"height":19.445300000000003,"width":20.44560103041296,"asset":"Star4","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-18.371216057758378,"flipX":false,"flipY":false,"top":98.65625,"left":122,"height":68.31851065646768,"width":34.99999999999999,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-2.454578901700494,"flipX":true,"flipY":true,"top":94.15625,"left":197,"height":68.31851065646768,"width":34.99999999999999,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":224.9375,"left":161.44925,"height":108.875,"width":186.90385502612577,"asset":"Handshake","fill":"#e7d192","selectable":false},{"opacity":1,"angle":19.983106521899973,"flipX":false,"flipY":false,"top":190.5,"left":80.5,"height":27.424880812708032,"width":50,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":19.983106521899973,"flipX":true,"flipY":true,"top":215.9922,"left":71.4922,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":19.983106521899973,"flipX":true,"flipY":true,"top":240.9922,"left":62.9922,"height":24.27308706477828,"width":50,"asset":"Square","fill":"#980000","selectable":false},{"opacity":1,"angle":-20.570979438157064,"flipX":true,"flipY":true,"top":214.21485,"left":253.21485,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-20.570979438157064,"flipX":true,"flipY":true,"top":189.21485,"left":243.71485,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-20.570979438157064,"flipX":true,"flipY":true,"top":238.71485,"left":262.71485,"height":27.434210398330308,"width":50,"asset":"Square","fill":"#980000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":294.042975,"left":176.609375,"height":23.093500000000006,"width":10.226306970312503,"asset":"Number1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-179.77584546595168,"flipX":true,"flipY":true,"top":295.042975,"left":130.109375,"height":23.093500000000006,"width":10.226306970312503,"asset":"Number1","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-91.81830296445182,"flipX":false,"flipY":false,"top":295.894525,"left":153.8789,"height":18.06767091407951,"width":7.405384406883125,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":292.945325,"left":197.5,"height":23.895702287662083,"width":16.999999999999996,"asset":"Number7","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告