Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 26 Battle | Jazz2Online | Battle | N/A |
const bool MLLESetupSuccessful = MLLE::Setup(); ///@MLLE-Generated
#include "MLLE-Include-1.6.asc" ///@MLLE-Generated
#pragma require "ab26btl17-MLLE-Data-2.j2l" ///@MLLE-Generated
#pragma require "ab26btl17-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "ab26btl17.j2l" ///@MLLE-Generated
///@SaveAndRunArgs -server -battle ///@MLLE-Generated
#include "Spaceship v1-01.asc" //make sure to include this in your level script
void onLevelLoad() {
Spaceship::handleOnLevelLoad();
Spaceship::handleAnimationWork();
Spaceship::assignHealthPickup(OBJECT::CARROT);
Spaceship::assignMegaHealthPickup(OBJECT::FULLENERGY);
Spaceship::assignShieldPickup(OBJECT::PLASMASHIELD);
Spaceship::assignMegaShieldPickup(OBJECT::WATERSHIELD);
Spaceship::assignPowerOrb(OBJECT::FIRESHIELD);
//or you can use
//Spaceship::assignPickupDefaults();
//for the default assignments, which are to set the Health Pickups to replace the Carrot, Mega Health Pickups to replace the Full Energy, Shield Pickups to replace PUs (except Seeker), Mega Shield Pickups to replace the Seeker PU, and Power Orbs to replace Shields
}
void onLevelBegin() {
MLLE::SpawnOffgrids(); //level specific, not required
Spaceship::handleOnLevelBegin();
}
void onPlayer(jjPLAYER@ play) {
Spaceship::handleOnPlayer(play);
jjEnforceLighting = (jjColorDepth == 8 && !jjLowDetail)? LIGHT::COMPLETE : LIGHT::OPTIONAL; //level specific, not required
play.lighting = (jjColorDepth == 8 && !jjLowDetail)? 110:100; //level specific, not required
}
void onPlayerInput(jjPLAYER@ play) {
Spaceship::handleOnPlayerInput(play);
}
void onMain() {
Spaceship::handleOnMain();
}
void onReceive(jjSTREAM &in packet, int clientID) {
Spaceship::handleOnReceive(packet, clientID);
}
bool onDrawAmmo(jjPLAYER@ play, jjCANVAS@ canvas) {
Spaceship::handleOnDrawAmmo(play, canvas);
return Spaceship::handleOnDrawAmmo(play, canvas);
}
bool onDrawHealth(jjPLAYER@ play, jjCANVAS@ canvas) {
Spaceship::handleOnDrawHealth(play, canvas);
return Spaceship::handleOnDrawHealth(play, canvas);
}
void onDrawLayer3(jjPLAYER@ play, jjCANVAS@ canvas) {
Spaceship::handleOnDrawLayer3(play, canvas);
}
void onLevelReload() {
MLLE::SpawnOffgridsLocal(); //level specific, not required
}
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.