How to make an invincible monster?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Pandafox
Posts: 268
Joined: Wed Apr 11, 2012 11:25 pm
Location: France
Contact:

How to make an invincible monster?

Post by Pandafox »

hi all,

I need to make an invincible monster but I don't know how to...
Is someone have an idea ?

Invincible I mean, never have damage.
I tried with all immunities and evasion=100 but the monster still have damages during the fight sometimes...
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: How to make an invincible monster?

Post by Komag »

You can also set protection sky high, it will take "0" damage when hit
Finished Dungeons - complete mods to play
User avatar
Pandafox
Posts: 268
Joined: Wed Apr 11, 2012 11:25 pm
Location: France
Contact:

Re: How to make an invincible monster?

Post by Pandafox »

mmmm...

I thought it was % then the maximum was 100 !
It seems ok with 1000000 for evasion ;)
Marble Mouth
Posts: 52
Joined: Sun Feb 10, 2013 12:46 am
Location: Dorchester, MA, USA

Re: How to make an invincible monster?

Post by Marble Mouth »

Hi Pandafox. Here's a couple of options.

This monster won't even take any damage from attacks. No damage numbers on the screen, no recoil, no nothing:

Code: Select all

cloneObject{

	name = "skeleton_juggernaut",
	baseObject = "skeleton_warrior",

	onDamage = function ( object, damage )
        return false
	end,
}
This monster will take damage normally, but it will never die:

Code: Select all

cloneObject{

	name = "skeleton_survivor",
	baseObject = "skeleton_warrior",

	onDie = function ( object )
        return false
	end,
}
User avatar
Pandafox
Posts: 268
Joined: Wed Apr 11, 2012 11:25 pm
Location: France
Contact:

Re: How to make an invincible monster?

Post by Pandafox »

great! thanks ;)
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: How to make an invincible monster?

Post by Komag »

If onDamage has return false it will also be silent, so you might consider playing a soundAt at the same time as the hook, an impact sound of your choosing
Finished Dungeons - complete mods to play
Post Reply