3D spaceshooter with online scoreboard, online demos, ship building. Now entirely defunct, but might be resurrected

powerup.xml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <pack>
  3. <driver name="powerup_shield">
  4. <check for="fly">
  5. <fn str="IS_IN_RECT" />
  6. <x range="-30;30" />
  7. <z range="0;100" />
  8. </check>
  9. <task>
  10. <fn str="ROTATE" />
  11. <add num="3" />
  12. <random_dir bool="true" />
  13. </task>
  14. <task if="fly">
  15. <fn str="FLY_TO_RECT" />
  16. <x range="-2;2" />
  17. <z range="3;6" />
  18. <weight num="0.5" />
  19. </task>
  20. <task>
  21. <fn str="MAGNET" />
  22. <range num="5" />
  23. <weight num="0.3" />
  24. <target str="PLAYER" />
  25. </task>
  26. <task>
  27. <fn str="AVOID" />
  28. <range num="3" />
  29. <weight num="0.2" />
  30. <avoid str="NATURAL,ENEMY,MINE" />
  31. </task>
  32. </driver>
  33. <driver name="powerup_artifact">
  34. <check for="fly">
  35. <fn str="IS_IN_RECT" />
  36. <x range="-30;30" />
  37. <z range="0;100" />
  38. </check>
  39. <task>
  40. <fn str="ROTATE" />
  41. <add num="2.5" />
  42. <random_dir bool="true" />
  43. </task>
  44. <task if="fly">
  45. <fn str="FLY_TO_RECT" />
  46. <x range="-2;2" />
  47. <z range="3;8" />
  48. <weight num="0.5" />
  49. </task>
  50. <task>
  51. <fn str="MAGNET" />
  52. <range num="20" />
  53. <weight num="0.6" />
  54. <target str="PLAYER" />
  55. </task>
  56. <task>
  57. <fn str="AVOID" />
  58. <range num="3" />
  59. <weight num="0.2" />
  60. <avoid str="NATURAL,ENEMY,MINE" />
  61. </task>
  62. </driver>
  63. </pack>