Jump to content

Photo

Big enemy weak point


  • Please log in to reply
5 replies to this topic

#1 Flynn

Flynn

    ZC Fan

  • Members
  • Location:Oregon USA

Posted 14 April 2021 - 08:46 AM

So I've been messing around with the BigEnemyDX, Bossmaker and Beginner custom boss scripts, and am mostly satisfied with the results. Except I don't understand how to narrow down the vulnerable point.

For example, I've got an enemy that's 3 tiles wide, and would like to just have only the middle tile be the weak point, and in the description of the arguments for the Bossmaker and Beginner Custom Boss scripts, it says:

 

D2: Collision part enemy in the list. Also known as "core" or "weak point"

 

What value would go in D2? Or is it about changing the hit width and offsets in the enemy editor?


Edited by Flynn, 14 April 2021 - 08:47 AM.


#2 Moosh

Moosh

    Tiny Little Questmaker

  • ZC Developers

Posted 14 April 2021 - 08:19 PM

What value would go in D2? Or is it about changing the hit width and offsets in the enemy editor?

Okay so you know how when you place enemies on the screen you assign them via a list? It looks like D2 is the placement of the enemy being used for the hitbox in the list. So 1 would be the first enemy, 2 the second, ect. In order to have a boss with this script you'd place multiple enemies onscreen: one to handle movement, one to handle the weapon firing pattern, and one to handle collision. Then you tell it which slots each enemy are assigned to and it staples them together.

 

Now this script comes with one small design oversight in that it assumes the enemies in the list are the only ones on the screen. Shooters, traps, and enemies that were created via a script can appear before them, so if you're using those you'll need to offset all your enemy slots by however many are onscreen. 

 

This script is rather old and hard to read, but this appears to be how it works. It probably won't work with ghost.zh enemies such as Newbie Boss, so if you need a boss stapler for that, let me know.



#3 Flynn

Flynn

    ZC Fan

  • Members
  • Location:Oregon USA

Posted 15 April 2021 - 12:36 AM

Hmm, do you know if this old beginner level custom boss kit https://www.purezc.n...=scripts&id=114still works with 2.55? Looks simple enough, but it's not stapling the enemies together. I followed the instructions and entered 1 2 & 3 for the FFC's arguments D0 D1 & D2 respectively.


Edited by Flynn, 15 April 2021 - 12:45 AM.


#4 Moosh

Moosh

    Tiny Little Questmaker

  • ZC Developers

Posted 15 April 2021 - 02:15 AM

Hmm, do you know if this old beginner level custom boss kit https://www.purezc.n...=scripts&id=114still works with 2.55? Looks simple enough, but it's not stapling the enemies together. I followed the instructions and entered 1 2 & 3 for the FFC's arguments D0 D1 & D2 respectively.

I couldn't imagine why it wouldn't work. I've never used this script myself but looking at what it's doing it doesn't seem like something that should be breaking in 2.55.



#5 Flynn

Flynn

    ZC Fan

  • Members
  • Location:Oregon USA

Posted 15 April 2021 - 10:38 AM

Somehow it started working. Thanks for the tips, Moosh.



#6 Moosh

Moosh

    Tiny Little Questmaker

  • ZC Developers

Posted 15 April 2021 - 10:41 AM

Glad I could help. :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users