Downloads containing SEwd.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 20 Levels Jazz2Online Multiple N/A Download file
Standard Weapon InterfaceFeatured Download Seren Other 10 Download file

File preview

  1. #pragma require "SEenergyblast.asc"
  2. #pragma require "SEfirework.asc"
  3. #pragma require "SEroller.asc"
  4. #include "SEenergyblast.asc"
  5. #include "SEfirework.asc"
  6. #include "SEroller.asc"
  7. se::DefaultWeaponHook weaponHook;
  8. bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
  9.         return weaponHook.drawAmmo(player, canvas);
  10. }
  11. void onMain() {
  12.         weaponHook.processMain();
  13. }
  14. void onPlayer(jjPLAYER@ player) {
  15.         weaponHook.processPlayer(player);
  16. }
  17. void onPlayerInput(jjPLAYER@ player) {
  18.         weaponHook.processPlayerInput(player);
  19. }
  20. void onReceive(jjSTREAM &in packet, int clientID) {
  21.         weaponHook.processPacket(packet, clientID);
  22. }
  23. void onLevelLoad() {
  24.         se::energyBlast.loadAnims(jjAnimSets[ANIM::CUSTOM[0]]);
  25.         se::energyBlast.loadSamples(array<SOUND::Sample> = {SOUND::INTRO_BLOW});
  26.         se::energyBlast.setAsWeapon(5, weaponHook);
  27.         se::firework.loadAnims(jjAnimSets[ANIM::CUSTOM[1]]);
  28.         se::firework.loadSamples(array<SOUND::Sample> = {SOUND::INTRO_BOEM1, SOUND::INTRO_BOEM2});
  29.         se::firework.setAsWeapon(9, weaponHook);
  30.         se::roller.loadAnims(jjAnimSets[ANIM::CUSTOM[2]]);
  31.         se::roller.loadSamples(array<SOUND::Sample> = {SOUND::INTRO_BRAKE});
  32.         se::roller.setAsWeapon(4, weaponHook);
  33. }
  34.