Rollings can be damaged?

Dec 27, 2013 at 12:02 AM
Beakface
"All your forum are belong to us!"
Join Date: Feb 2, 2013
Location: Canada
Posts: 620
Age: 29
Agh, sorry, just a quick (probably dumb) question.

http://www.cavestory.org/info_monsters.php

According to the above, a rolling has a health of 2 HP, which implies that the player needs to damage it with a minimum of 2 HP in order for it to be destroyed. Yet in all my playthroughs of the Sacred Grounds, I have never been able to kill a rolling, yet alone damage it. I blasted at a couple with direct level 3 Spur shots when I was trying to bust through Deleet doors and surely, the spur does a lot more damage than 2 HP.

So if the HP numbers apply to each monster's health (because a rolling doesn't do 2 HP damage), what does the 2 HP mean? Is there a certain way you have to hit a rolling to get it to die?
 
Dec 27, 2013 at 12:08 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
p177586-0-uynwmlt.png
 
Dec 27, 2013 at 12:52 AM
Giving it my all and shooting for the moon.
Modding Community Discord Admin
"What're YOU lookin' at?"
Join Date: Apr 23, 2013
Location: In a cave above the surface.
Posts: 1069
Age: 25
Random-storykeeper said:
How can they be invincible and have 2 HP at the same time?
"Invincible" will override any HP setting (and non-shootable as well). Though it's a bit pointless to have a unique HP if NPC.tbl overrides every instance of it, setting these flags on a per-entity basis (outside of NPC.tbl) has its uses.
 
Dec 27, 2013 at 1:07 AM
I don't anymore.
"I'm sorry Mario, but your princess is in another castle."
Join Date: Aug 9, 2010
Location: Greener Pastures
Posts: 1190
Age: 30
They probably have 2 hp cause they may have had their code recycled from an entity that had 2 hp or something like that, and why bother to change it?
 
Dec 27, 2013 at 1:37 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
p177590-0-zlgqotr.png
 
Dec 27, 2013 at 1:42 AM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
MagicDoors said:
No that's probably 2HP. I remember dealing with a Mannan, having over 1000HP, but obviously it doesn't take that many shots to kill. I guess for those enemies with huge amounts of health, 998HP is technically 0HP.
 
Dec 27, 2013 at 1:46 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
b
but you can't damage rollings
 
Dec 27, 2013 at 2:04 AM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
Noxid said:
b
but you can't damage rollings
Well the Rolling is marked as invincible, but the Mannan is not. They still have similar styles of health, though. If one of you really wants to test this, unmark the invincible checkbox and see if it takes 2HP to kill.
 
Dec 27, 2013 at 2:19 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
p177594-0-pfrrmwo.png
 
Dec 27, 2013 at 2:36 AM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
MagicDoors said:
Ohhh OK so after a little testing myself, I figured out I was confusing the whole Mannan thing up. The Mannan has 100HP, not 1000HP, but if you set it to 2HP it dies instantly. The Rolling does actually have 1000HP, because when I set it to 2HP it actually needs to take 2 damage to die. Cave Story health values are confusing. :critter:
 
Dec 27, 2013 at 8:50 AM
hi hi
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: probably somewhere else
Posts: 1099
Age: 26
Some entities have a health check in their code, for example Gaudis. If their HP falls below 985 (maybe), they enter the dying animation/change into NPC Dying Gaudi. To prevent player from avoiding the animation, the HP is set to really high values so he/she can't just destroy the enemy even with a powerful weapon.

Some entities have 1000 HP without having a dying animation or anything, though, like Nothing or Rolling.
 
Top