登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
40
chak jjang 1
作者:
malbake
代碼 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:'[{"angle":124.3983529558996,"left":62.427571614583336,"height":61.33438441477223,"flipX":false,"fill":"#ababab","opacity":1,"asset":"SnakeSticks","width":15.278937700635172,"top":47.91731770833333,"flipY":false},{"angle":-51.326925533027804,"left":213.3389347475777,"height":339.3757823133507,"flipX":false,"fill":"#782900","opacity":1,"asset":"Stroke","width":9.036918187957106,"top":166.41878674520186,"flipY":false},{"angle":-9.24955412120272,"left":184.82730010815786,"height":30.931600884378117,"flipX":false,"fill":"#891737","opacity":1,"asset":"Star","width":32.52352583813666,"top":142.08972602728002,"flipY":false},{"angle":-57.36675108586917,"left":243.46210873673175,"height":11.92060460579569,"flipX":false,"fill":"#d8002a","opacity":1,"asset":"Emblem117","width":10.880535217668388,"top":193.91487116012536,"flipY":false},{"angle":0,"left":213.3389347475777,"height":119.22798337419373,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Emblem119","width":15.000353161094608,"top":186.39019097222223,"flipY":true},{"angle":-57.36675108586917,"left":243.46210873673175,"height":11.92060460579569,"flipX":false,"fill":"#e9ad44","opacity":1,"asset":"Emblem117","width":20.995946454669436,"top":193.91487116012536,"flipY":false},{"angle":-4.971496768083398,"left":209.319880970925,"height":36.622897838878956,"flipX":false,"fill":"#d8002a","opacity":1,"asset":"Emblem117","width":15.81395692189145,"top":212.58382768138094,"flipY":false},{"angle":3.6276125232851926,"left":216.06176364608353,"height":29.717931899190305,"flipX":false,"fill":"#d8002a","opacity":1,"asset":"Emblem117","width":12.832356874900015,"top":209.4629238185337,"flipY":false},{"angle":0,"left":209.319880970925,"height":37.070760523305474,"flipX":false,"fill":"#e39a0d","opacity":1,"asset":"Emblem117","width":17.795306646711097,"top":212.58382768138094,"flipY":false},{"angle":0,"left":218.94735373517582,"height":37.070760523305474,"flipX":false,"fill":"#e9ad44","opacity":1,"asset":"Emblem117","width":13.783515185898372,"top":209.4629238185337,"flipY":false},{"angle":7.661996105069874,"left":213.3389347475777,"height":12.931559740574095,"flipX":false,"fill":"#bf6a14","opacity":0.68,"asset":"Eye2","width":25.792709369606904,"top":209.4629238185337,"flipY":false},{"angle":0,"left":216.06176364608353,"height":83.72265625,"flipX":false,"fill":"#e39a0d","opacity":1,"asset":"Shield4","width":65.80593388440577,"top":173.05598958333334,"flipY":false},{"angle":0,"left":216.06176364608353,"height":81.99792998181854,"flipX":false,"fill":"#e9ad44","opacity":1,"asset":"Circle","width":72.68002088491625,"top":166.41878674520186,"flipY":false},{"angle":-87.14001110385196,"left":218.94735373517582,"height":80.27419456594703,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wing2","width":30.008744075058107,"top":153.88975694444446,"flipY":false},{"angle":-0.057673103892255995,"left":216.06176364608353,"height":43.810643666354224,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Triangle","width":135.80266236100886,"top":136.26728193870719,"flipY":false},{"angle":0.4855042227106025,"left":206.42146915458216,"height":16.367604301240803,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":17.209978991700176,"top":136.26728193870719,"flipY":false},{"angle":0.4855042227106025,"left":218.94735373517582,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":126.872670140217,"flipY":false},{"angle":0.4855042227106025,"left":224.46687158073468,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":132.60394197362768,"flipY":false},{"angle":0.4855042227106025,"left":224.46687158073468,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":139.30286323801673,"flipY":false},{"angle":0.4855042227106025,"left":218.94735373517582,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":145.0220665487822,"flipY":false},{"angle":-51.46778962234836,"left":76.0982193239454,"height":79.70587777949287,"flipX":false,"fill":"#d80000","opacity":1,"asset":"Square","width":108.96378908190006,"top":132.60394197362768,"flipY":false},{"angle":-51.46778962234836,"left":76.0982193239454,"height":39.19347470506239,"flipX":false,"fill":"#203d97","opacity":1,"asset":"Square","width":54.96233298935557,"top":98.45599677759972,"flipY":false},{"angle":0,"left":76.0982193239454,"height":30.148621687664917,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Star3","width":28.673035084939272,"top":98.45599677759972,"flipY":false},{"angle":0,"left":76.0982193239454,"height":12.876558649400863,"flipX":false,"fill":"#203d97","opacity":1,"asset":"OpenCircle","width":12.876558649400863,"top":98.45599677759972,"flipY":false},{"angle":15.493053953032389,"left":198.20889621310764,"height":3.038625164280526,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":15.683517115753594,"top":176.26826236020037,"flipY":false},{"angle":-15.493053953032389,"left":236.0569051106771,"height":3.038625164280526,"flipX":true,"fill":"#000000","opacity":1,"asset":"Eye2","width":15.683517115753595,"top":176.26826236020037,"flipY":false},{"angle":-15.493053953032389,"left":236.0569051106771,"height":2.641044782925291,"flipX":true,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":13.631451336409908,"top":176.26826236020037,"flipY":false},{"angle":15.493053953032389,"left":198.20889621310764,"height":2.641044782925291,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":13.631451336409908,"top":176.26826236020037,"flipY":false},{"angle":-87.56002481281081,"left":198.20889621310764,"height":27.657100545046482,"flipX":true,"fill":"#000000","opacity":0.8,"asset":"Wreath","width":3.3438505568286256,"top":170.44634750909074,"flipY":false},{"angle":87.56002481281081,"left":236.0569051106771,"height":27.657100545046482,"flipX":false,"fill":"#000000","opacity":0.8,"asset":"Wreath","width":3.3438505568286256,"top":170.44634750909074,"flipY":false},{"angle":17.05299567457058,"left":213.3389347475777,"height":1.9113792104111755,"flipX":false,"fill":"#000000","opacity":0.6,"asset":"Eye2","width":4.366808128536376,"top":191.11197916666669,"flipY":false},{"angle":-3.405713931782315,"left":218.94735373517582,"height":1.0285861493866715,"flipX":true,"fill":"#000000","opacity":1,"asset":"Eye2","width":2.349946223949672,"top":191.11197916666669,"flipY":false},{"angle":3.0062668400524895,"left":216.06176364608353,"height":2.4566278975554954,"flipX":false,"fill":"#000000","opacity":0.39,"asset":"holiday_Tophat_rim","width":21.653026549521112,"top":201.39019097222223,"flipY":false},{"angle":-89.2573363735253,"left":216.06176364608353,"height":8.20312853345816,"flipX":false,"fill":"#000000","opacity":0.34,"asset":"StrokeBent","width":2.36980791678828,"top":204.33175484068093,"flipY":false},{"angle":4.129974591939429,"left":198.20889621310764,"height":3.0965168790385973,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":3.0965168790385973,"top":176.26826236020037,"flipY":false},{"angle":4.129974591939429,"left":236.0569051106771,"height":3.0965168790385973,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":3.0965168790385973,"top":176.26826236020037,"flipY":false},{"angle":0,"left":216.06176364608353,"height":10.942274305555555,"flipX":false,"fill":"#575757","opacity":0.24,"asset":"BentLine","width":40.16803086755514,"top":198.75108506944446,"flipY":true},{"angle":-88.78978378945257,"left":216.06176364608353,"height":38.42354611406113,"flipX":false,"fill":"#575757","opacity":0.26,"asset":"StrokeBent","width":16.53446746631466,"top":206.96248979075594,"flipY":false},{"angle":88.12321491334234,"left":236.0569051106771,"height":4.188344694744523,"flipX":true,"fill":"#40b6ea","opacity":0.58,"asset":"holiday_Tophat_rim","width":27.17223087819972,"top":191.11197916666669,"flipY":false},{"angle":-88.12321491334234,"left":198.20889621310764,"height":4.188344694744523,"flipX":false,"fill":"#40b6ea","opacity":0.58,"asset":"holiday_Tophat_rim","width":30.191477681829483,"top":191.11197916666669,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":124.3983529558996,"left":62.427571614583336,"height":61.33438441477223,"flipX":false,"fill":"#ababab","opacity":1,"asset":"SnakeSticks","width":15.278937700635172,"top":47.91731770833333,"flipY":false},{"angle":-51.326925533027804,"left":213.3389347475777,"height":339.3757823133507,"flipX":false,"fill":"#782900","opacity":1,"asset":"Stroke","width":9.036918187957106,"top":166.41878674520186,"flipY":false},{"angle":-9.24955412120272,"left":184.82730010815786,"height":30.931600884378117,"flipX":false,"fill":"#891737","opacity":1,"asset":"Star","width":32.52352583813666,"top":142.08972602728002,"flipY":false},{"angle":-57.36675108586917,"left":243.46210873673175,"height":11.92060460579569,"flipX":false,"fill":"#d8002a","opacity":1,"asset":"Emblem117","width":10.880535217668388,"top":193.91487116012536,"flipY":false},{"angle":0,"left":213.3389347475777,"height":119.22798337419373,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Emblem119","width":15.000353161094608,"top":186.39019097222223,"flipY":true},{"angle":-57.36675108586917,"left":243.46210873673175,"height":11.92060460579569,"flipX":false,"fill":"#e9ad44","opacity":1,"asset":"Emblem117","width":20.995946454669436,"top":193.91487116012536,"flipY":false},{"angle":-4.971496768083398,"left":209.319880970925,"height":36.622897838878956,"flipX":false,"fill":"#d8002a","opacity":1,"asset":"Emblem117","width":15.81395692189145,"top":212.58382768138094,"flipY":false},{"angle":3.6276125232851926,"left":216.06176364608353,"height":29.717931899190305,"flipX":false,"fill":"#d8002a","opacity":1,"asset":"Emblem117","width":12.832356874900015,"top":209.4629238185337,"flipY":false},{"angle":0,"left":209.319880970925,"height":37.070760523305474,"flipX":false,"fill":"#e39a0d","opacity":1,"asset":"Emblem117","width":17.795306646711097,"top":212.58382768138094,"flipY":false},{"angle":0,"left":218.94735373517582,"height":37.070760523305474,"flipX":false,"fill":"#e9ad44","opacity":1,"asset":"Emblem117","width":13.783515185898372,"top":209.4629238185337,"flipY":false},{"angle":7.661996105069874,"left":213.3389347475777,"height":12.931559740574095,"flipX":false,"fill":"#bf6a14","opacity":0.68,"asset":"Eye2","width":25.792709369606904,"top":209.4629238185337,"flipY":false},{"angle":0,"left":216.06176364608353,"height":83.72265625,"flipX":false,"fill":"#e39a0d","opacity":1,"asset":"Shield4","width":65.80593388440577,"top":173.05598958333334,"flipY":false},{"angle":0,"left":216.06176364608353,"height":81.99792998181854,"flipX":false,"fill":"#e9ad44","opacity":1,"asset":"Circle","width":72.68002088491625,"top":166.41878674520186,"flipY":false},{"angle":-87.14001110385196,"left":218.94735373517582,"height":80.27419456594703,"flipX":false,"fill":"#000000","opacity":1,"asset":"Wing2","width":30.008744075058107,"top":153.88975694444446,"flipY":false},{"angle":-0.057673103892255995,"left":216.06176364608353,"height":43.810643666354224,"flipX":false,"fill":"#a20000","opacity":1,"asset":"Triangle","width":135.80266236100886,"top":136.26728193870719,"flipY":false},{"angle":0.4855042227106025,"left":206.42146915458216,"height":16.367604301240803,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":17.209978991700176,"top":136.26728193870719,"flipY":false},{"angle":0.4855042227106025,"left":218.94735373517582,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":126.872670140217,"flipY":false},{"angle":0.4855042227106025,"left":224.46687158073468,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":132.60394197362768,"flipY":false},{"angle":0.4855042227106025,"left":224.46687158073468,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":139.30286323801673,"flipY":false},{"angle":0.4855042227106025,"left":218.94735373517582,"height":6.06200655696635,"flipX":false,"fill":"#febf00","opacity":1,"asset":"Star","width":6.373993626240752,"top":145.0220665487822,"flipY":false},{"angle":-51.46778962234836,"left":76.0982193239454,"height":79.70587777949287,"flipX":false,"fill":"#d80000","opacity":1,"asset":"Square","width":108.96378908190006,"top":132.60394197362768,"flipY":false},{"angle":-51.46778962234836,"left":76.0982193239454,"height":39.19347470506239,"flipX":false,"fill":"#203d97","opacity":1,"asset":"Square","width":54.96233298935557,"top":98.45599677759972,"flipY":false},{"angle":0,"left":76.0982193239454,"height":30.148621687664917,"flipX":false,"fill":"#eeeeee","opacity":1,"asset":"Star3","width":28.673035084939272,"top":98.45599677759972,"flipY":false},{"angle":0,"left":76.0982193239454,"height":12.876558649400863,"flipX":false,"fill":"#203d97","opacity":1,"asset":"OpenCircle","width":12.876558649400863,"top":98.45599677759972,"flipY":false},{"angle":15.493053953032389,"left":198.20889621310764,"height":3.038625164280526,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":15.683517115753594,"top":176.26826236020037,"flipY":false},{"angle":-15.493053953032389,"left":236.0569051106771,"height":3.038625164280526,"flipX":true,"fill":"#000000","opacity":1,"asset":"Eye2","width":15.683517115753595,"top":176.26826236020037,"flipY":false},{"angle":-15.493053953032389,"left":236.0569051106771,"height":2.641044782925291,"flipX":true,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":13.631451336409908,"top":176.26826236020037,"flipY":false},{"angle":15.493053953032389,"left":198.20889621310764,"height":2.641044782925291,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":13.631451336409908,"top":176.26826236020037,"flipY":false},{"angle":-87.56002481281081,"left":198.20889621310764,"height":27.657100545046482,"flipX":true,"fill":"#000000","opacity":0.8,"asset":"Wreath","width":3.3438505568286256,"top":170.44634750909074,"flipY":false},{"angle":87.56002481281081,"left":236.0569051106771,"height":27.657100545046482,"flipX":false,"fill":"#000000","opacity":0.8,"asset":"Wreath","width":3.3438505568286256,"top":170.44634750909074,"flipY":false},{"angle":17.05299567457058,"left":213.3389347475777,"height":1.9113792104111755,"flipX":false,"fill":"#000000","opacity":0.6,"asset":"Eye2","width":4.366808128536376,"top":191.11197916666669,"flipY":false},{"angle":-3.405713931782315,"left":218.94735373517582,"height":1.0285861493866715,"flipX":true,"fill":"#000000","opacity":1,"asset":"Eye2","width":2.349946223949672,"top":191.11197916666669,"flipY":false},{"angle":3.0062668400524895,"left":216.06176364608353,"height":2.4566278975554954,"flipX":false,"fill":"#000000","opacity":0.39,"asset":"holiday_Tophat_rim","width":21.653026549521112,"top":201.39019097222223,"flipY":false},{"angle":-89.2573363735253,"left":216.06176364608353,"height":8.20312853345816,"flipX":false,"fill":"#000000","opacity":0.34,"asset":"StrokeBent","width":2.36980791678828,"top":204.33175484068093,"flipY":false},{"angle":4.129974591939429,"left":198.20889621310764,"height":3.0965168790385973,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":3.0965168790385973,"top":176.26826236020037,"flipY":false},{"angle":4.129974591939429,"left":236.0569051106771,"height":3.0965168790385973,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":3.0965168790385973,"top":176.26826236020037,"flipY":false},{"angle":0,"left":216.06176364608353,"height":10.942274305555555,"flipX":false,"fill":"#575757","opacity":0.24,"asset":"BentLine","width":40.16803086755514,"top":198.75108506944446,"flipY":true},{"angle":-88.78978378945257,"left":216.06176364608353,"height":38.42354611406113,"flipX":false,"fill":"#575757","opacity":0.26,"asset":"StrokeBent","width":16.53446746631466,"top":206.96248979075594,"flipY":false},{"angle":88.12321491334234,"left":236.0569051106771,"height":4.188344694744523,"flipX":true,"fill":"#40b6ea","opacity":0.58,"asset":"holiday_Tophat_rim","width":27.17223087819972,"top":191.11197916666669,"flipY":false},{"angle":-88.12321491334234,"left":198.20889621310764,"height":4.188344694744523,"flipX":false,"fill":"#40b6ea","opacity":0.58,"asset":"holiday_Tophat_rim","width":30.191477681829483,"top":191.11197916666669,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告