Grappling?

https://attnam.com/topics/Grappling

The Cathedral of Attnam > Other Coding

#1 Oct 7, 2014, 3:52 pm Hide

Zayre

The more I thought about it, the more I realized; a lot of enemies tend to try to run away while in a panic. Would it be possible to root an enemy into place with a function that is done more like a kick, by temporarily applying a "super slow" on them that makes it difficult for them to run away? The problem would be trying to figure out how to utilize a grapple when having your hands full and the like.

And if not that; it could give Unarmed an interesting thing. Sort of like how if you slip under a banana peel, you may trip and bop your head on a wall or something; you could execute like a sweep.
#2 Oct 7, 2014, 4:29 pm Hide

4zb4

Zayre wrote
Would it be possible to root an enemy into place with a function that is done more like a kick, by temporarily applying a "super slow" on them that makes it difficult for them to run away?

Interesting idea.
Instead of applying a "super slow" to them, we could instead make use of the game's beartrap/sticky tile code that traps one of the enemy's limbs and one of your free arms to hold them (and you) in place. This also makes the limb you grabbed and your arm unusable.

This works doubly well because the code for beartraps supports breaking out of them, just as an enemy could break free from your grasp and leg it.
Or perhaps if poweful/fast enough, just run off with your arm still attached...

Zayre wrote
And if not that; it could give Unarmed an interesting thing. Sort of like how if you slip under a banana peel, you may trip and bop your head on a wall or something; you could execute like a sweep.

I dunno about this one, sweeping the legs would be good if IVAN supported being downed (as in Dwarf Fortress) but since it doesn't I don't see much point in implementing a sweep that acts like a banana peel since kicks take forever anyway and slipping over with even the most basic armor on does no damage. Maybe if a successful sweep had a chance of inducing a brief period of unconciousness but I can see that being abused.
#3 Oct 7, 2014, 10:00 pm Hide

chaostrom

4zb4 wrote
Instead of applying a "super slow" to them, we could instead make use of the game's beartrap/sticky tile code that traps one of the enemy's limbs and one of your free arms to hold them (and you) in place. This also makes the limb you grabbed and your arm unusable.

This works doubly well because the code for beartraps supports breaking out of them, just as an enemy could break free from your grasp and leg it.
Or perhaps if poweful/fast enough, just run off with your arm still attached...

4zb4 wrote
we could instead make use of the game's beartrap/sticky tile code

4zb4 wrote
beartrap

Grappling limbs off of enemies. Why has no-one thought of that before