Jump to content

Photo

eWeapon Firing Offset


  • Please log in to reply
1 reply to this topic

#1 kurt91

kurt91

    Follower of Destiny

  • Members
  • Real Name:Kurtis
  • Location:Eastern Washington University

Posted 19 June 2021 - 11:58 PM

I'm trying to make a 2x1 Zora (2-tall, 1-wide), and after trying my best to get everything set up how I want it, I can't get the fireball to shoot from the "mouth" of the Zora. (the top tile). If I change the offsets to correct it, the Zora won't emerge from the water, but 1 tile south of the water.

 

So, I was wondering if we could have a firing-location offset in the Size tab of the Enemy Editor, similar to the Draw/Hit Offset settings, where it would change where the origin point of eWeapons fired by the enemy is. It would work for situations like mine, it would work for making enemies that fire from overhead (imagine Mega Man's Pharoah Shot).

 

It seems like a simple thing that's odd that I'm currently going to need to use a script to try and set up, and I'm not even sure how I would write a script to do that without doing it on an entire-screen basis.


  • P-Tux7 likes this

#2 P-Tux7

P-Tux7

    💛

  • Members

Posted 20 June 2021 - 03:50 PM

This seems simple enough, but it might add bloat to the quest file size since it's an integer (that has to be able to be positive and negative) stored in EVERY enemy. I think the developers should add it to the GUI if it isn't too much work or doesn't make ZQuest look messy or the quest size too big, but that script Moosh posted is really simple. I ordinarily wouldn't be like this, but I think "fireballs and fire spawn from the center of the hitbox, other weapons spawn from the centers of the edges of the hitbox" makes enough sense that it being the default and only changeable via scripts is fine in my book. I mean, if it WAS the default, your Zora wouldn't have any issues, which is why I suggested this to the developers in that thread as well.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users