Jump to content

Photo

Changing Ganon defenses


  • Please log in to reply
3 replies to this topic

#1 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Gender:Male
  • Location:Palm Desert, CA

Posted 20 April 2017 - 11:11 AM

Are there any ways to change Ganon's defenses against arrows via scripting, without having to script him from the ground up? Currently, since I have five arrow types (one is a slingshot bullet); any of the arrows, except for the slingshot bullets, can kill him, and I only want him to be damaged by the level 5 arrow (light arrows). Unfortunately, I can't make all the arrows except the light arrows level 1, because the game will add all level 1 arrows to your inventory when you pick up any level 1 arrow.


Edited by Binx, 20 April 2017 - 11:13 AM.


#2 Dimentio

Dimentio

    Yeah, I don't buy that.

  • Members
  • Real Name:Joshua
  • Gender:Male
  • Location:America's Hat.

Posted 20 April 2017 - 11:27 AM

Are there any ways to change Ganon's defenses against arrows via scripting, without having to script him from the ground up? Currently, since I have five arrow types (one is a slingshot bullet); any of the arrows, except for the slingshot bullets, can kill him, and I only want him to be damaged by the level 5 arrow (light arrows). Unfortunately, I can't make all the arrows except the light arrows level 1, because the game will add all level 1 arrows to your inventory when you pick up any level 1 arrow.

Try unchecking "gain lower level items", and use item override for the subscreen if you aren't already.



#3 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Gender:Male
  • Location:Palm Desert, CA

Posted 20 April 2017 - 11:34 AM

"Gain lower level items" is already unchecked, and I am using item overrides on the subscreen. The issue is that Zelda Classic can't differentiate between items of the same class and level, so it will automatically give you all items of that level. As far as I know, there's no way to restrict it to only giving you the item you pick up if multiple items have the same class and level; that's why when you use item overrides you HAVE to give all the items a different level number. If it was something that simple, I would have the bullet, wooden, fire and ice arrows all as level 1 (as I had intended, originally; I already tried it).

 

EDIT: I have an idea, not sure if it will work, testing it now.


Edited by Binx, 20 April 2017 - 12:17 PM.


#4 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Gender:Male
  • Location:Palm Desert, CA

Posted 20 April 2017 - 12:34 PM

Well, that didn't work. Was seeing if I could manually take the higher level items away via dummy items and scripts, but it removed all the items of the same level, including the one I picked up. (I set dummy items up, basically a 1-item item bundle; wrote a simple script to remove the real item if you don't have the dummy; set all the arrows, minus the light arrow, to level 1; then placed the dummy bullet on the screen, but when I picked it up, no bullet, or any other arrow. Double and triple checked the scripts to make sure I didn't make any errors, so it must be due to the item level issue described above)
 
EDIT: Absolute worst case scenario, I'll have to make/get a custom Ganon script, but I'd rather not, I'm trying to keep most of the mechanics true to the original game.
 
Further edit, because I didn't want to triple post: I was looking at the ZC Wiki, and it says Ganon can only be killed with the silver or golden arrows, is this hard-coded by item number or item level? Because if it's anything level 2 or higher, then I'm stuck; but if it's only levels 2 and 3, or only item numbers 14 and 57, then I can easily work around it.
 
EVEN FURTHER EDIT: Wait, according to the Arrow page on the ZC wiki, it's any arrow item with a damage value of 4 or greater. Since I nerfed the arrows/bullets to only have a damage value of 1, and the fire and ice arrows have a damage value of 2, I may be able to do this without scripting, after all. Will test and update.

 

FINAL EDIT: Ok, I feel dumb, it IS based around damage calculation, so I don't need to do anything, the light arrows are the only thing that hurts him.


Edited by Binx, 20 April 2017 - 01:35 PM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users