登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
3
圖層數
20
1111
作者:
Rom0chka
代碼 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":-21.645672496928313,"flipX":false,"flipY":true,"top":191.875,"left":128,"height":121.22101721248043,"width":63.0321039084448,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":10.812210972348186,"flipX":true,"flipY":true,"top":189.01175,"left":201.91025,"height":122.75600021940178,"width":64.82495039969199,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-177.84732120222213,"flipX":true,"flipY":true,"top":189.08595,"left":118.5,"height":168.49200000000002,"width":17.01446878303023,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-152.3148669588604,"flipX":true,"flipY":true,"top":119.754,"left":207.918,"height":129.50800000000004,"width":124.81076407499998,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-32.84943083653738,"flipX":true,"flipY":false,"top":123.69925,"left":111.75775,"height":125.05445923087791,"width":124.10156024012974,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-6.448577380068552,"flipX":true,"flipY":false,"top":188.246,"left":207,"height":168.49200000000002,"width":17.992916879175294,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-178.11619834352726,"flipX":true,"flipY":true,"top":208.58595,"left":137,"height":168.49200000000002,"width":22,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":178.90789002096085,"flipX":true,"flipY":true,"top":218.08595,"left":154,"height":168.49200000000002,"width":22,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-177.7845840102208,"flipX":false,"flipY":true,"top":217.703125,"left":176.9961,"height":168.49200000000002,"width":17.9207254112577,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":177.56232176677986,"flipX":false,"flipY":true,"top":211.703125,"left":191.4961,"height":168.49200000000002,"width":20.008546672222383,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-179.7353660276394,"flipX":true,"flipY":true,"top":160.08595,"left":135.5,"height":168.49200000000002,"width":22,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":83,"left":160.99599999999998,"height":158,"width":193.00800000000004,"asset":"MedalRing","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":82,"left":162.5,"height":151,"width":176,"asset":"Circle","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":105.95325,"left":165.0625,"height":131.0935,"width":136.125,"asset":"Shield5","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5625,"left":166,"height":175.875,"width":50,"asset":"SnakeStickWings","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-15.814166163373192,"flipX":false,"flipY":false,"top":178.9765,"left":130.08595,"height":130.88289874445212,"width":25.019082342973793,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":179.7053890053244,"flipX":true,"flipY":true,"top":178.949225,"left":171.007825,"height":130.88289874445212,"width":25.019082342973793,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":179.7053890053244,"flipX":true,"flipY":true,"top":146.449225,"left":204.007825,"height":130.88289874445212,"width":25.019082342973793,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":73.336,"left":118.5,"height":75.67663441682114,"width":55.999999999999986,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":74.336,"left":203.5,"height":75.67663441682114,"width":55.999999999999986,"asset":"Number0","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":-21.645672496928313,"flipX":false,"flipY":true,"top":191.875,"left":128,"height":121.22101721248043,"width":63.0321039084448,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":10.812210972348186,"flipX":true,"flipY":true,"top":189.01175,"left":201.91025,"height":122.75600021940178,"width":64.82495039969199,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-177.84732120222213,"flipX":true,"flipY":true,"top":189.08595,"left":118.5,"height":168.49200000000002,"width":17.01446878303023,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-152.3148669588604,"flipX":true,"flipY":true,"top":119.754,"left":207.918,"height":129.50800000000004,"width":124.81076407499998,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-32.84943083653738,"flipX":true,"flipY":false,"top":123.69925,"left":111.75775,"height":125.05445923087791,"width":124.10156024012974,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-6.448577380068552,"flipX":true,"flipY":false,"top":188.246,"left":207,"height":168.49200000000002,"width":17.992916879175294,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-178.11619834352726,"flipX":true,"flipY":true,"top":208.58595,"left":137,"height":168.49200000000002,"width":22,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":178.90789002096085,"flipX":true,"flipY":true,"top":218.08595,"left":154,"height":168.49200000000002,"width":22,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-177.7845840102208,"flipX":false,"flipY":true,"top":217.703125,"left":176.9961,"height":168.49200000000002,"width":17.9207254112577,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":177.56232176677986,"flipX":false,"flipY":true,"top":211.703125,"left":191.4961,"height":168.49200000000002,"width":20.008546672222383,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-179.7353660276394,"flipX":true,"flipY":true,"top":160.08595,"left":135.5,"height":168.49200000000002,"width":22,"asset":"Lion","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":83,"left":160.99599999999998,"height":158,"width":193.00800000000004,"asset":"MedalRing","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":82,"left":162.5,"height":151,"width":176,"asset":"Circle","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":105.95325,"left":165.0625,"height":131.0935,"width":136.125,"asset":"Shield5","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":204.5625,"left":166,"height":175.875,"width":50,"asset":"SnakeStickWings","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":-15.814166163373192,"flipX":false,"flipY":false,"top":178.9765,"left":130.08595,"height":130.88289874445212,"width":25.019082342973793,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":179.7053890053244,"flipX":true,"flipY":true,"top":178.949225,"left":171.007825,"height":130.88289874445212,"width":25.019082342973793,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":179.7053890053244,"flipX":true,"flipY":true,"top":146.449225,"left":204.007825,"height":130.88289874445212,"width":25.019082342973793,"asset":"Flames","fill":"#4a86e8","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":73.336,"left":118.5,"height":75.67663441682114,"width":55.999999999999986,"asset":"Number0","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":74.336,"left":203.5,"height":75.67663441682114,"width":55.999999999999986,"asset":"Number0","fill":"#ffffff","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告