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

  1. #pragma require "RaneforusV N.j2t"
  2.  
  3. // Canyon Grove (Night)
  4. // Created by PurpleJazz of XLM (2010-2013; 2015)
  5. // Made for the JJNet Season 8 CTF Contest
  6. // Additional thanks to cooba for helping with the script
  7.  
  8. /*******************************************************************/
  9. void onLevelLoad() {
  10.         jjPalette.load("RaneforusV N.j2t"); //night colors
  11.         jjPalette.gradient(50,30,150, 5,2,20, 176, 32);         //sky colors
  12.         jjPalette.gradient(17,66,137, 0,8,32, 152, 8);          //waterfall colors
  13.         jjPalette.gradient(118,118,138, 10,10,20, 96, 16);  //stone colors
  14.         jjPalette.gradient(81,111,18, 36,52,2, 241, 5);  //leaf colors
  15.         jjPalette.apply();
  16.        
  17.         jjSetWaterGradient(0, 0, 64, 0, 0, 32);
  18.         jjWaterChangeSpeed = 0;
  19.         jjSetWaterLevel(70*32, true);
  20.         jjWaterLighting = WATERLIGHT::GLOBAL;
  21.  
  22.         jjObjectPresets[OBJECT::FISH].behavior = HangingJazz;
  23.         jjObjectPresets[OBJECT::FISH].energy = 5;
  24.        
  25.         jjWeapons[WEAPON::SEEKER].maximum = 25;
  26. }
  27.  
  28. void HangingJazz(jjOBJ@ jazz) {
  29.         jazz.behave(BEHAVIOR::FISH);
  30.         jazz.determineCurAnim(ANIM::JAZZ, jjIsTSF? 22:25);
  31.         jazz.yPos = jazz.yOrg + 20;
  32. }
  33.  
  34. void onFunction0(jjPLAYER@ play) {
  35.         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!");
  36. }
  37.  
  38. void onPlayer(jjPLAYER@ play) {
  39.         play.lighting = 75;
  40. }
  41.