Downloads containing BLGweb.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Copper web Rysice Capture the flag N/A Download file

File preview

const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {null, null, NapsWeapons::WebGun(), null, null, null, null, NapsWeapons::AntiGravityBouncer(), null}); ///@MLLE-Generated
#include "MLLE-Include-1.6w.asc" ///@MLLE-Generated
#pragma require "BLGweb-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "BLGweb.j2l" ///@MLLE-Generated
#include "AntiGravBouncers.asc" ///@MLLE-Generated
#pragma require "AntiGravBouncers.asc" ///@MLLE-Generated
#include "WebGun.asc" ///@MLLE-Generated
#pragma require "WebGun.asc" ///@MLLE-Generated

void onLevelLoad() {
	jjObjectPresets[OBJECT::FULLENERGY].behavior = CantBeShot;

}

void CantBeShot(jjOBJ@ obj) {
	obj.behave(BEHAVIOR::PICKUP);		
	obj.state = STATE::FLOAT;
}


bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
	return MLLE::WeaponHook.drawAmmo(player, canvas);
}

void onLevelReload() {
	MLLE::ReapplyPalette();
}



void onMain() {
	MLLE::WeaponHook.processMain();
}

void onReceive(jjSTREAM&in packet, int fromClientID) {
	MLLE::WeaponHook.processPacket(packet, fromClientID);
}