no_bump

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

no_bump

Post by Sophia »

Elsewhere, ian_scho wrote:Uff, I'd seen a no_bump flag on the DSB monsters and had assumed it was set to false for the ghost. Wrong!...
no_bump means the party won't make the "OOF!" noise and take damage if you hit it. Whether or not whatever it is actually blocks the party is handled by the collision function. These can be conditional, so different things will happen depending on what is colliding with what. This is how fireballs pass through ghosts but des-ews hit them, for example.
User avatar
ian_scho
High Lord
Posts: 2807
Joined: Fri Apr 07, 2006 8:30 am
Location: Zaragoza, Spain

Re: no_bump

Post by ian_scho »

Ah hah. I see the col=nonmat_col attribute for the ghost now... Not setting it at all (or false or nil) would make the creature just like a puddle, say? You'd walk through it and can't hit it.
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: no_bump

Post by Sophia »

Yes, exactly. And col=true would make everything hit it.
Post Reply