HELP: how to start a gobelin out torn?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

HELP: how to start a gobelin out torn?

Post by Komag »

I don't know how to normally set up a gobelin to be torn when starting the dungeon.

I have successfully set up a spawner to fire a fireburst at it at dungeon start, but that seems a ridiculous solution! I suppose damageTile would also work in like manner.

Is there some other setting or script command I should use?
Finished Dungeons - complete mods to play
User avatar
Phitt
Posts: 442
Joined: Tue Aug 14, 2012 9:43 am

Re: HELP: how to start a gobelin out torn?

Post by Phitt »

Couldn't you simply define a new decoration object pointing to the torn gobelin model/texture? Or do you want the player to 'repair' the gobelin somehow?
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: HELP: how to start a gobelin out torn?

Post by Komag »

no repair tricks or anything, just wondering if there is a straightforward way to set it torn without "trickery". I suppose a custom defined torn item might be the best way
Finished Dungeons - complete mods to play
YpsiNine
Posts: 36
Joined: Wed Oct 10, 2012 1:08 am

Re: HELP: how to start a gobelin out torn?

Post by YpsiNine »

One solution is, if you don't want to make a new model:

If you have a party starting script (like giving items etc.) you can just add a line that damages the tile infront of where the gobelin is, with the facing towards it.

For example like this:
damageTile(party.level, tile.x, tile.y, tile.facing,00000000,"physical",10)
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: HELP: how to start a gobelin out torn?

Post by Komag »

Yes, I'm sure something like that would work, but I would have to set the script for each item I place with unique ids.

I opted for the custom object - I defined it as a Decoration, and this also solves the problem of not hearing the "hit wall" sound when attacking a normally torn gobelin
Finished Dungeons - complete mods to play
Post Reply