Downloads containing xlmgrovenight.j2as

Downloads
Name Author Game Mode Rating
JJ2+ Only: Canyon GroveFeatured Download PurpleJazz Capture the flag 9.5 Download file

File preview

#pragma require "RaneforusV N.j2t"

// Canyon Grove (Night)
// Created by PurpleJazz of XLM (2010-2013; 2015)
// Made for the JJNet Season 8 CTF Contest
// Additional thanks to cooba for helping with the script

/*******************************************************************/
void onLevelLoad() {
	jjPalette.load("RaneforusV N.j2t"); //night colors
	jjPalette.gradient(50,30,150, 5,2,20, 176, 32);		//sky colors
	jjPalette.gradient(17,66,137, 0,8,32, 152, 8);		//waterfall colors
	jjPalette.gradient(118,118,138, 10,10,20, 96, 16);  //stone colors
	jjPalette.gradient(81,111,18, 36,52,2, 241, 5);  //leaf colors
	jjPalette.apply();
	
	jjSetWaterGradient(0, 0, 64, 0, 0, 32);
	jjWaterChangeSpeed = 0;
	jjSetWaterLevel(70*32, true);
	jjWaterLighting = WATERLIGHT::GLOBAL;

	jjObjectPresets[OBJECT::FISH].behavior = HangingJazz;
	jjObjectPresets[OBJECT::FISH].energy = 5;
	
	jjWeapons[WEAPON::SEEKER].maximum = 25;
}

void HangingJazz(jjOBJ@ jazz) {
	jazz.behave(BEHAVIOR::FISH);
	jazz.determineCurAnim(ANIM::JAZZ, jjIsTSF? 22:25);
	jazz.yPos = jazz.yOrg + 20;
}

void onFunction0(jjPLAYER@ play) {
	play.showText("@@@@@@Canyon Grove@Created by PurpleJazz of XLM (2010-2013)@Made for the JJNet Season 8 CTF Contest@np: Awesome - Ancient Stories II@@@First released CTF level in 5 years!");
}

void onPlayer(jjPLAYER@ play) {
	play.lighting = 75;
}