User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Fire Breathing Zoras

  1. #1
    Octorok Archangel's Avatar
    Join Date
    Apr 2008
    Age
    34
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,732
    Level
    13
    vBActivity - Bars
    Lv. Percent
    94.76%

    Smile Fire Breathing Zoras

    Code:
    ffc script Zora2{
    	void run(){
    		npc zora = Screen->CreateNPC(33);
    		while(zora->isValid()){
    			if(zora->Tile >= 2520){
    				for(int count = 1; count <= 10; count++){
    					eweapon fs = Screen->CreateEWeapon();
    					fs->X = zora->X;
    					fs->Y = zora->Y;
    					fs->Angle = findAngle(fs->X, fs->Y, Link->X, Link->Y);
    					fs->Damage = 8;
    					fs->Angular = true;
    					fs->Step = 300;
    					Game->PlaySound(13);
    					Waitframes(6);
    				}
    			}
    			Waitframe();
    		}
    	}
    }
    Okay, first of all... There is no way I could of done this without help from two very special people. Pkmnfrk and Joe123, thank you so much for helping me come this far on my scripting journey and for all your help and support. It's much appreciated. And thanks

    Now let's get cracking shall we.

    • You must have new enemy tiles enabled under quest rules.
    • If you want it not to shoot fireballs, you'll have to disable them some how.
      I changed the 33 under line 3 to a the ID of a enemy I made in the enemy editor that was a Zora clone with no weapon.
    • If you're using different tiles then default tiles, then make sure you use the shooting tiles for the number in line 5.
      That's animation row 5 & 6 by the way.


    I think that's pretty much everything you need to know. The Zora by itself won't breathe fire, so make sure you use the script under a ffc to place them and not the enemy editor.

    Enjoy!

    EDIT: Forgot to mention... You'll need to import advmath.zh from my sig by pkmnfrk to make it work.
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  2. #2
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,303
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.73%

    Re: Fire Breathing Zoras

    Quote Originally Posted by Archangel View Post
    two very special people.
    I appreciate the mention, but it sounds like I'm your girlfriend or something.


    Quite a nice script though.

  3. #3
    Octorok Archangel's Avatar
    Join Date
    Apr 2008
    Age
    34
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,732
    Level
    13
    vBActivity - Bars
    Lv. Percent
    94.76%

    Re: Fire Breathing Zoras

    :weird: That was the most awkward thing I've heard this morning...
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  4. #4
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,303
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.73%

    Re: Fire Breathing Zoras

    Haha, don't worry about it =P

  5. #5
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,959
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.2%

    Re: Fire Breathing Zoras

    Okay, first of all... There is no way I could of done this without help from two very special people. Pkmnfrk and Joe123, thank you so much for helping me come this far on my scripting journey and for all your help and support. It's much appreciated. And thanks
    lol. I read it more of an "accepting an award speech", which, indecently, you also forgot to thank Jesus and your mom.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  6. #6
    Octorok Christian's Avatar
    Join Date
    Dec 2008
    Age
    34
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    740
    Level
    9
    vBActivity - Bars
    Lv. Percent
    56.69%

    Re: Fire Breathing Zoras

    Quote Originally Posted by Gleeok View Post
    you also forgot to thank Jesus and your mom.
    lol , that was funny. Nice zora btw.

  7. #7
    Octorok Archangel's Avatar
    Join Date
    Apr 2008
    Age
    34
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,732
    Level
    13
    vBActivity - Bars
    Lv. Percent
    94.76%

    Re: Fire Breathing Zoras

    For those of those you would like proper deflection here you go...

    Code:
    import "std.zh"
    import "advmath.zh"
    
    ffc script Zora2{
    	void run(){
    		npc zora = Screen->CreateNPC(33);
    		while(zora->isValid()){
    			if(zora->Tile >= 2500){
    				for(int count = 1; count <= 10; count++){
    					eweapon fs = Screen->CreateEWeapon(140);
    					fs->X = zora->X;
    					fs->Y = zora->Y;
    					fs->Angle = findAngle(fs->X, fs->Y, Link->X, Link->Y);
    					fs->Damage = 8;
    					fs->Angular = true;
    					if(fs->Angle==-PI || fs->Angle==PI) fs->Dir=2;
    						else if(fs->Angle==-PI/2) fs->Dir=0;
    						else if(fs->Angle==PI/2) fs->Dir=1;
    						else if(fs->Angle==0) fs->Dir=3;
    						else if(fs->Angle<-PI/2) fs->Dir=4;
    						else if(fs->Angle<0) fs->Dir=5;
    						else if(fs->Angle>(PI/2)) fs->Dir=6;
    						else fs->Dir=7;
    					fs->Step = 300;
    					Game->PlaySound(13);
    					Waitframes(6);
    				}
    			}
    			Waitframe();
    		}
    	}
    }
    Same rules apply as above. And a techdemo!
    test.qst
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  8. #8
    Octorok Pteryx's Avatar
    Join Date
    Dec 2007
    Age
    46
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    890
    Level
    10
    vBActivity - Bars
    Lv. Percent
    38.98%

    Re: Fire Breathing Zoras

    Hm, I detect a slight oversight -- when I killed it, the fire breath in progress wasn't cancelled, but instead the remainder of it gushed from the upper left corner (though the now-dead Zora didn't breathe again). -- Pteryx

  9. #9
    Octorok Archangel's Avatar
    Join Date
    Apr 2008
    Age
    34
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,732
    Level
    13
    vBActivity - Bars
    Lv. Percent
    94.76%

    Re: Fire Breathing Zoras

    That should be easy to fix, I'll try to get around to it after I'm done moving. :)
    -Archangel-
    Keeping the ZC Developers busy with heavy beta testing skills and experimentation is what I do best. May ZC be bug free!

    You should seriously check advmath.zh out if you use ZC.

  10. #10
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,303
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.73%

    Re: Fire Breathing Zoras

    Code:
    if(!zora->isValid()) break;
    Inside your for loop.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social