Evard's Black Tentacles

Discussion in 'General Modification' started by dolio, Jun 4, 2021.

Remove all ads!
  1. dolio

    dolio Established Member Supporter

    Joined:
    May 30, 2005
    Messages:
    345
    Likes Received:
    85
    So, I've been working some on Evard's Black Tentacles. It seems like it'll mostly work out, although there are a lot of details to work through.

    I thought I'd mention, though, in the vein of the recent stormlord post, that if someone with more skills wants to try to tackle the visuals, that might be for the best. I've fooled around a lot with sprite-based particles, but I would probably only describe what I've come up with as "adequate." I'm not much of an artist.

    I'll see if I can get a screen capture of what I currently have and attach it later, just as a reference.
     
  2. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    How do you handle Grapple?
     
  3. dolio

    dolio Established Member Supporter

    Joined:
    May 30, 2005
    Messages:
    345
    Likes Received:
    85
    Grapple checks were easy enough to replicate in Python. Black tentacles doesn't say it requires the touch attack (presumably because if you're in the area of effect, there are many tentacles, so you have no chance to not be hit), so I didn't bother with that, although it wouldn't be difficult to replicate.

    The grappling works similarly to the frog tongue. It's not like a complicated grappling scenario with multiple characters and movement and such. The tentacles can't be damaged at all, so they're basically just an area affect that works according to opposed grapple rolls rather than saves or what have you.

    The tentacles just attempt to put you in the grappling state (which restricts your movement and such), and the grappled characters can attempt to break free on their turn (which is based on a grapple roll). The tentacles make grapple rolls each round to try to deal damage to creatures that they have previously caught. All the events for entering and breaking out of the grapple state can be managed in python.
     
  4. Endarire

    Endarire Ronald Rynnwrathi

    Joined:
    Jan 7, 2004
    Messages:
    982
    Likes Received:
    120
    @dolio
    THANK YOU! Maybe Sagenlicht sent you a memo (because I sent him one) about how Evard's black tentacles has been one of my favorite 3.x spells I wished was included in ToEE! From my tabletop experience, there is no touch attack, merely a grapple check. (This spell is also effectively a Warlock's chilling tentacles invocation, which I also want in-game!)

    Entangle seemed useful as a visual base, but recolored to be dark purple so as to stand out from the black fog of war.
     
  5. dolio

    dolio Established Member Supporter

    Joined:
    May 30, 2005
    Messages:
    345
    Likes Received:
    85
    Yeah, I copied and modified some of the Entangle particles for the basics. The area of effect of Entangle just looks like a green haze, though. I kind of wanted something that looks like there are tentacles moving around in the area of effect. I was able to make something passable, but it could probably be a lot better. (My particle effect for the actual grapple effect on a character is not very good, either).
     
  6. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    I would like this to be implemented with thoughts of having actual Grapple in T+.
     
  7. dolio

    dolio Established Member Supporter

    Joined:
    May 30, 2005
    Messages:
    345
    Likes Received:
    85
    Most grapple mechanics don't make sense with respect to this spell, though.

    You can make a grapple check to be allowed to move at half your speed, but this spell only allows you to move half your speed while in the area of effect. If you move in this way, you can drag the creature you're grappling with, but that doesn't really make sense for this spell, because you're not really grappling a specific creature. So this option is inferior to just breaking free.

    You can pin an opponent, but none of the actions you can take against a pinned opponent will affect the tentacles. The only advantage that matters, I think, is being able to automatically escape the grapple, but that's also the same as breaking free.

    You can draw weapons and attack and stuff, but the tentacles are invulnerable.

    There are consequences to grappling for spells and whatnot, but those are just penalties that need to be applied.

    Essentially, this spell is an area effect debuff where the debuff is 'you are considered to be grappling.' The tentacles don't try to do any fancy actions to you (just damage), and no fancy actions will affect the tentacles, so there's no reason to do anything (grapple related) but try to break the grapple. If someone implemented more complicated grappling rules, maybe they could be used. But I'm not going to implement them when they don't matter for the purpose of this spell, and the existing stripped-down mechanics are adequate.
     
  8. dolio

    dolio Established Member Supporter

    Joined:
    May 30, 2005
    Messages:
    345
    Likes Received:
    85
    Here's an example video. I've done a lot of fiddling, and some previous iterations may have looked a little bit better than this. But this is reasonably close to as good as I've gotten it to look.



    In case it's not obvious, the main area is just a couple of tentacle sprites I drew being wobbled around and scaled. The targeted effects are a pretty poor attempt to draw a spiral with particles. I was originally going to try to do everything with the spiral type stuff, but my geometry has so far been too weak to guess how to get something that looks good.
     
    Last edited: Jun 4, 2021
    anatoliy and FDR4PREZ like this.
  9. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Yes, I see that now.

    In any case - great job!

    Don't forget to implement EK_Q_Is_BreakFree_Possible. The query is used by AI. I'm speaking on behalf of monsters))
     
  10. dolio

    dolio Established Member Supporter

    Joined:
    May 30, 2005
    Messages:
    345
    Likes Received:
    85
    No need to worry about that. That also seems necessary to make the 'break free' menu show up.
     
    anatoliy likes this.
  11. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    anatoliy likes this.
  12. Endarire

    Endarire Ronald Rynnwrathi

    Joined:
    Jan 7, 2004
    Messages:
    982
    Likes Received:
    120
    @Shiningted
    The last time I tried to make Evard's black tentacles based off entangle, I got a renamed version of entangle.
     
Our Host!