Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-21-2007, 12:21 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Zelda enemies!

I always liked the enemies in Zelda 3, so I'm dedicating this thread to recreating them.

First, I start off with sparks. These were the things that were invincible(except for the boomerang) on Zelda 3 and moved around the level attached to anything that blocked.
The size of the enemy is 32x32px, so make sure your image/gani is that size. Also, if you use a gani, the image HAS to be at (0,0) for it to look right. The enemy currently dies if it gets detached from the wall somehow(if it's on a vase and you lift it), so make sure when you put it in the level, one of its sides is touching the wall(it will calculate its direction when it's created). I didn't include any images or gani's with this, though I might.
Things like the damage and death stuff is pretty basic, and should most likely be replaced to fit your server. Lastly, this is best used with simply level designs. It does work with complex designs, but it's not designed for that. I recommend putting this script in a class and joining an NPC to it. It's attached, because again... damn forum bugs.

Like my last thread, ideas and suggestions are more than welcome! Any enemies you'd like to see made, I'll see what I can do.

edit:oops, I had anti-fairies mistaken with sparks! corrected!
Attached Images
 
Attached Files
File Type: txt spark.txt (1.1 KB, 246 views)
File Type: gani dusty_spark.gani (498 Bytes, 206 views)
File Type: gani dusty_sparkdie.gani (556 Bytes, 176 views)

Last edited by DustyPorViva; 08-21-2007 at 02:54 AM..
Reply With Quote
  #2  
Old 08-21-2007, 12:43 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Mmmm...
Ganondorf or w.e his name is
The little dark colored guys with the clubs and pig noses
annd...
The giant sea serpent with the 1 eye in Twilight :o
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #3  
Old 08-21-2007, 12:44 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
If you make graphics i will make ganis =) oh and this looks awesome, good job
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote
  #4  
Old 08-21-2007, 12:48 AM
Felix_Xenophobe Felix_Xenophobe is offline
iphone era sad litle mads
Felix_Xenophobe's Avatar
Join Date: May 2005
Location: punchin yer nuts iphone era
Posts: 1,810
Felix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to behold
Send a message via MSN to Felix_Xenophobe
Skulltulas > all.
__________________
KARTRACE
REIGNING CHAMPION
Quote:
Originally Posted by Tashkin
I have done 10x the amount any previous EA has done.
Quote:
Originally Posted by Ravenblade1979 View Post
What you need is Zone Police again.
Reply With Quote
  #5  
Old 08-21-2007, 12:53 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
:o well I meant the enemies in Zelda 3, though any of the 2D games will be easily acceptable... though the 3D ones, I dunno. Simple stuff is possible, like skulltulas, but stuff like ganandorf and bosses, not so much. Also, remember, there are copyright laws, so these enemies have to be easily made into generic images so there's no problem with that!
Reply With Quote
  #6  
Old 08-21-2007, 01:19 AM
Felix_Xenophobe Felix_Xenophobe is offline
iphone era sad litle mads
Felix_Xenophobe's Avatar
Join Date: May 2005
Location: punchin yer nuts iphone era
Posts: 1,810
Felix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to beholdFelix_Xenophobe is a splendid one to behold
Send a message via MSN to Felix_Xenophobe
Quote:
Originally Posted by DustyPorViva View Post
Zelda 3
Ah didn't see that.
__________________
KARTRACE
REIGNING CHAMPION
Quote:
Originally Posted by Tashkin
I have done 10x the amount any previous EA has done.
Quote:
Originally Posted by Ravenblade1979 View Post
What you need is Zone Police again.
Reply With Quote
  #7  
Old 08-21-2007, 02:51 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I've edited the original post with the graphics and gani's. My own personal take on it
EDIT: By the by, the scripts, gani's and images posted in this thread are all free and up for grabs.

Last edited by DustyPorViva; 08-21-2007 at 03:03 AM..
Reply With Quote
  #8  
Old 08-21-2007, 04:29 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
form the classic zelda, the spider things (first level on over world)
__________________
**FLIP OUT**
Reply With Quote
  #9  
Old 08-21-2007, 01:47 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
get me an image and a Gani :P

PHP Code:
function onCreated() onTimeout();

function 
onTimeout() {
  
temp.random03);
  
temp.intrandom04.5)); 
  
temp.intrandom04.5)); 
  
this.steps++;

  
setAni"MOVEANI"NULL);
  
movexyt4+8+16);
  
setAni"IDLEANI"NULL);

  if ( 
this.steps 4) {
    
shootball();
    
this.steps 0;
  }

  
setTimert);

something like that XD haven't tested it, so with my luck it doesn't work. :P
__________________
Deep into the Darkness peering...
Reply With Quote
  #10  
Old 08-21-2007, 06:06 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Nope, wouldn't work. shootball() always shoots towards the player, not like an arrow, so you'd have to use projectiles.
Also, they've already been 'redone' in Graal, as the octopus things.
Reply With Quote
  #11  
Old 08-21-2007, 06:24 PM
TalonShriner TalonShriner is offline
Levelsmith
TalonShriner's Avatar
Join Date: Feb 2006
Posts: 138
TalonShriner is on a distinguished road
Send a message via AIM to TalonShriner
Zoras that pop out of the water in random places and shoot fireballs at the player! ^_^ A classic.
__________________
Shall our paths cross on the road to where ever us humans are racing to, and lets walk instead.
Reply With Quote
  #12  
Old 08-21-2007, 06:31 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Definitely going to do that!
Only problem I'm having is finding a way to keep it 'locked' in the level on the gmap.
Reply With Quote
  #13  
Old 08-21-2007, 10:53 PM
smirt362 smirt362 is offline
Tee Hee
smirt362's Avatar
Join Date: Feb 2005
Location: Texas
Posts: 2,101
smirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant future
Send a message via AIM to smirt362 Send a message via MSN to smirt362
The little things that eat your shield...what were they called again? They kinda looked like jello molds...
__________________

Don Hertzfeldt <3
Reply With Quote
  #14  
Old 08-21-2007, 10:58 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Like-likes!
Reply With Quote
  #15  
Old 08-21-2007, 11:20 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
oh the cake things XD
Do the skultalas (or however you spell them) aswell
__________________
Deep into the Darkness peering...
Reply With Quote
  #16  
Old 08-22-2007, 07:05 AM
smirt362 smirt362 is offline
Tee Hee
smirt362's Avatar
Join Date: Feb 2005
Location: Texas
Posts: 2,101
smirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant future
Send a message via AIM to smirt362 Send a message via MSN to smirt362
Quote:
Originally Posted by DustyPorViva View Post
Like-likes!
Thats the ones!

Also, what was that monster that shocked you when you hit with your sword. I think you could also sprinkle magic powder on it and make it talk to you.
__________________

Don Hertzfeldt <3
Reply With Quote
  #17  
Old 08-22-2007, 07:24 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
buzz-blob, they turned into cukeman.
Monsters I plan to recreate:
Zora I will most likely use the image of the one fish head copy of the Zora.
Bombite These were enemies in the handheld versions that walked around and when hit they'd bounce really fast around the level until blowing up. I plan to take the bomb image and add feet.
Anti-fairy Skulls that bounce around the level that take magic and hurt the player as well.
Zol Your average RPG blob, so this should be easy to replicate
Keese Zelda always had bats! So should graal.
Mimics Things that mirrored your movement
Leevers These may be hard because of the fact they only appear on sand. I may just make an array that players can change to define what tiles it's 'locked' to.
Beamos > I hate these damn things
Spiny beetle The beetles that hide under bushes/rocks and so on and run towards you when you come near.

Anyways, it's just a list of goals. It's hard to do the scripting, come up with the monster design(can't copy Zelda!), and do the art for them, so don't expect them one after the other.
Reply With Quote
  #18  
Old 08-27-2007, 10:33 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Okay, I need someone who's good with gmap and scripting to help out here.
Last week I did the graphics and whole script for the zora, but sadly it doesn't work on gmap. The script is finished and I'm frustrated that I haven't been able to post it, so if anyone would like to help make it work on gmap, just aim/msn/yahoo me and I'll send the script and graphics for it.
Reply With Quote
  #19  
Old 08-27-2007, 10:35 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
Okay, I need someone who's good with gmap and scripting to help out here.
Last week I did the graphics and whole script for the zora, but sadly it doesn't work on gmap. The script is finished and I'm frustrated that I haven't been able to post it, so if anyone would like to help make it work on gmap, just aim/msn/yahoo me and I'll send the script and graphics for it.
You want it to randomly pop up in water around the gmap or the level it is placed on in the level?

well..
All I can think of atm is:
PHP Code:
if (isonmap) {
  
this.this.x%64this.this.y%64;

xD It might be it's to late I'm tired, but I doubt that will help at all, really
You could test, but with my brain function atm I have no idea if it will work..

I'll try again tomorrow? ;o
__________________
Reply With Quote
  #20  
Old 08-27-2007, 10:38 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
In the level it's placed in. I did the math for it and it should work, but it doesn't.
Reply With Quote
  #21  
Old 08-27-2007, 10:47 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
In the level it's placed in. I did the math for it and it should work, but it doesn't.
Hmm, well I can't see any errors basing on the text where you did write "should work"

Post some part(s) of the script? :o
__________________
Reply With Quote
  #22  
Old 08-27-2007, 10:51 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
That's why I said IM me :P
I don't wanna post incomplete/bugged code in a code gallery thread, people might get confused. I'll just make another thread with it.
Reply With Quote
  #23  
Old 08-28-2007, 04:19 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
That's why I said IM me :P
I don't wanna post incomplete/bugged code in a code gallery thread, people might get confused. I'll just make another thread with it.
IM as in msn?
__________________
Reply With Quote
  #24  
Old 08-28-2007, 04:32 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ya. msn/aim/yahoo
Also, I've started on the beamos. Graphics are done, almost done the script, just gotta add a few things. It's much like the OoT beamos, where instead of just shooting you, the laser chases you around.
Reply With Quote
  #25  
Old 08-28-2007, 04:44 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
Also, I've started on the beamos. Graphics are done, almost done the script, just gotta add a few things. It's much like the OoT beamos, where instead of just shooting you, the laser chases you around.
Nice

Oh, jinx'es
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.