Downloads containing SEbow.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 26 CTF Jazz2Online Capture the flag N/A Download file
TSF with JJ2+ Only: Anniversary Bash 24 CTF Jazz2Online Capture the flag N/A Download file
TSF with JJ2+ Only: Anniversary Bash 21 Levels Jazz2Online Multiple N/A Download file
TSF with JJ2+ Only: Battle of Waterloo 1835Featured Download Seren Capture the flag 8.5 Download file

File preview

#pragma require "SEbow.j2a"
#pragma require "SEroller.asc"
#include "SEroller.asc"
se::DefaultWeaponHook weaponHook;
const int maxShieldTime = 15 * 70;
bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
	return weaponHook.drawAmmo(player, canvas);
}
void onMain() {
	weaponHook.processMain();
}
void onPlayer(jjPLAYER@ player) {
	if (player.shieldTime > maxShieldTime)
		player.shieldTime = maxShieldTime;
	weaponHook.processPlayer(player);
}
void onPlayerInput(jjPLAYER@ player) {
	weaponHook.processPlayerInput(player);
}
void onReceive(jjSTREAM &in packet, int clientID) {
	weaponHook.processPacket(packet, clientID);
}
void onLevelLoad() {
	jjAnimSets[ANIM::BRIDGE].load(0, "SEbow.j2a");
	se::roller.loadAnims(jjAnimSets[ANIM::CUSTOM[0]]);
	se::roller.loadSamples(array<SOUND::Sample> = {SOUND::INTRO_BRAKE});
	se::roller.setAsWeapon(3, weaponHook);
}