📧 Message Board Archive

tnh - this will help some beginners
Ive added a HUGE amount of gold secrets in the game, because chain armor costs 10000 and plate 75000 youll need to find them. Also, ive added a large amount of life secrets and potions too. New script for the lifemax extra: ( the golden heart)



//this script fills life up, touch_damage must be set to -1. (run script mode)



void main( )

{

       sp_seq(&current_sprite, 53);

       sp_frame(&current_sprite, 1); //so the seq will start

       sp_brain(&current_sprite, 6);

       sp_touch_damage(&current_sprite, -1);

       sp_nohit(&current_sprite, 1);



}



void touch( void )

{

&lifemax += &level;

Playsound(10,22050,0,0,0);

Playsound(22,22050,0,0,0);

//grow to this percent then die

sp_brain_parm(&current_sprite, 500);

sp_brain(&current_sprite, 12);

sp_touch_damage(&current_sprite, 0);

sp_timing(&current_sprite, 0);



 int &hold = sp_editor_num(&current_sprite);

 if (&hold != 0)

   {

    //this was placed by the editor, lets make it not come back

    editor_type(&hold, 1);

    //kill food forever

   }







}







Re: tnh - this will help some beginners
&life = &level;  ?



Sorry, but in my opinion that is pretty much useless.  Even if you're on level 20... ;)



how about this?



int &math;

&math = &lifemax;

&math / 4;

&life += &math;

if (&life > &lifemax)

 {

 &life = &lifemax;

 }



Would give player ¼ of his life.  We'll call it, " qtrheart "
Re: tnh - this will help some beginners


: Would give player ¼ of his life. We'll call it, " qtrheart "

sorry, html?

Would give player 1/4 of his life, We'll call it "qtrheart"

Re: ...whoa, I just realized you wrote lifeMAX
that means that your script would actually decrease the player's lifemax... to as low as 1.  Thats pretty frickin' cold, man... ;)  Are you sure you want to do that?

Re: nevermind... just tell me to shut up whenever
I'm an idiot

Re: nevermind... just tell me to shut up whenever
: I'm an idiot



No, you're not.
Re: nevermind... just tell me to shut up whenever
: : I'm an idiot

: No, you're not.



You are NOT a idiot, stop talking like that. Besides, your right, when your lvl is 32, you get TOO MUCH lifemax, so,



if (&level >= 5)

{

&lifemax += 5;

goto end;

}



end:

nothing

}





added that to the golden heart script.
Re: tnh - this will help some beginners
: Ive added a HUGE amount of gold secrets in the game, because chain armor costs 10000 and plate 75000 youll need to find them. Also, ive added a large amount of life secrets and potions too. New script for the lifemax extra: ( the golden heart)

: //this script fills life up, touch_damage must be set to -1. (run script mode)

: void main( )

: {

:   sp_seq(&current_sprite, 53);

:   sp_frame(&current_sprite, 1); //so the seq will start

:   sp_brain(&current_sprite, 6);

:   sp_touch_damage(&current_sprite, -1);

:   sp_nohit(&current_sprite, 1);

: }

: void touch( void )

: {

: &lifemax += &level;

: Playsound(10,22050,0,0,0);

: Playsound(22,22050,0,0,0);

: //grow to this percent then die

: sp_brain_parm(&current_sprite, 500);

: sp_brain(&current_sprite, 12);

: sp_touch_damage(&current_sprite, 0);

: sp_timing(&current_sprite, 0);

:  int &hold = sp_editor_num(&current_sprite);

:  if (&hold != 0)

:   {

:   //this was placed by the editor, lets make it not come back

:   editor_type(&hold, 1);

:   //kill food forever

:   }

: }





Uhm...why?



&lifemax += &level;



Seriously...why?



This means that if you delay getting a gold heart until you're a higher level...its better...but, thats rediculous..why not have all gold hearts...the same!  Or maybe depending on &story, so its where you are, not the level...



And yet again i ask...why?

Re: tnh - this will help some beginners
: : Ive added a HUGE amount of gold secrets in the game, because chain armor costs 10000 and plate 75000 youll need to find them. Also, ive added a large amount of life secrets and potions too. New script for the lifemax extra: ( the golden heart)

: : //this script fills life up, touch_damage must be set to -1. (run script mode)

: : void main( )

: : {

: : sp_seq(&current_sprite, 53);

: : sp_frame(&current_sprite, 1); //so the seq will start

: : sp_brain(&current_sprite, 6);

: : sp_touch_damage(&current_sprite, -1);

: : sp_nohit(&current_sprite, 1);

: : }

: : void touch( void )

: : {

: : &lifemax += &level;

: : Playsound(10,22050,0,0,0);

: : Playsound(22,22050,0,0,0);

: : //grow to this percent then die

: : sp_brain_parm(&current_sprite, 500);

: : sp_brain(&current_sprite, 12);

: : sp_touch_damage(&current_sprite, 0);

: : sp_timing(&current_sprite, 0);

: : int &hold = sp_editor_num(&current_sprite);

: : if (&hold != 0)

: : {

: : //this was placed by the editor, lets make it not come back

: : editor_type(&hold, 1);

: : //kill food forever

: : }

: : }

: Uhm...why?

: &lifemax += &level;

: Seriously...why?

: This means that if you delay getting a gold heart until you're a higher level...its better...but, thats rediculous..why not have all gold hearts...the same! Or maybe depending on &story, so its where you are, not the level...

: And yet again i ask...why?



What's wrong with getting a higher bonus when being on a higher level? that also means you must fight good with low life early in the game, and i guess the strength of the final boss is stronger when you are stronger too.. ;) }:-) :o