grab delay and particle effects

Gurtag

Active member
hello there few questions, is there a command to define how long an enemy stay grabed or is it a hard coded thing? whenever i grab an enemy i can only make it to grabattack1 2 times, by grabattack2 the enemy interrupt whit his special, have tryed with stun and seal but no luck, removing the special does the trick, but i would rater set up a delay before the enemy can triger his special if it posible.
btw have read around that bind is the way to go for making good particle effects, could you point me to a tutorial of how to set it up? or a game that uses it so i can stude it.
 
whenever i grab an enemy i can only make it to grabattack1 2 times, by grabattack2 the enemy interrupt whit his special

This is how it works, as stated on the manual. After using the grabattack 2 times, you will execute the grabattack2. If the enemy has a special animations, he will interrupt the grab combo because it's how it's supposed to work, as also stated in the manual.
 
i read the manual part about it, but if the enemy waits some time before launching the special it must have some kind of delay set up, if not it will just launch the special whenever you grab him right? whit it is how it works you mean that delay before enemy frees whit an special is hardcoded in to the engine? i also read seal command should stablish a timer delay before an enemy can perform an special but didnt work.
btw any word about bind? i am new around here just learning things up and sorry for my bad inglish.
 
I think its hardcoded - at least, there is no info in the manual about it:
~Enemies perform this attack automatically if a player grabs and holds them for too long without throwing them or knocking them down. However, they'd lose 6 health too after performing this move just like players. Use 'energycost' to modify it.
It is working as expected.

Stun or seal won't work because once you grab the enemy, the grab routine override the stun count. And its right - afterall, now the enemy is being grabbed, not stunned anymore.

If you want to change this, you would need to not give the enemy a SPECIAL animation and modify its GRABBED animation to include the "grab release" animation (in other words, their SPECIAL animation) after a long delay. Its a workaround, but it won't work if your enemy has a GRABBEDWALK animation, because its another animation and its delay restarts.

btw have read around that bind is the way to go for making good particle effects, could you point me to a tutorial of how to set it up? or a game that uses it so i can stude it.
Yes, its the best idea - you can have more control, can reuse assets, etc.
Search in the manual for bindentity(entity, target, int x, int z, int a, int direction, int bindanimation, int sortid)

DC is revamping this feature so in the next build you will have even more control, but somethings will change.
 
i see then, removing the special would be thing to do anyway, didnt know bind would require scripting, it is out of my level right now, will try it when ever i have furter knoledge on the matter.
thanks a lot for the help man.
 
Back
Top Bottom