bignekidbat Posted January 30, 2013 I'm just getting back to working on my zelda wad again but there's a problem I'm stuck on making a monster get knocked back when hit so is it possible to have monsters get knocked back while there pain is triggered 0 Share this post Link to post
Obsidian Posted January 30, 2013 bignekidbat said:I'm just getting back to working on my zelda wad again but there's a problem I'm stuck on making a monster get knocked back when hit so is it possible to have monsters get knocked back while there pain is triggered All you need to do is set the mass to an appropriate amount. Whether you're using DECORATE or DeHackEd, mass determines how light or heavy an enemy is: an enemy with a low mass will get pushed back by projectiles, while an enemy with a high mass won't. Setting the mass to 1 is always fun. :P I don't think it's possible to have the monster recoil only when it's pain state is triggered, but you could probably get around that by having a high pain chance. Hopefully I've helped you out. :) 0 Share this post Link to post
gggmork Posted January 30, 2013 if using acs (zdoom doom in hexen) you can use: http://zdoom.org/wiki/ThrustThing You probably want to get the xy position of the player and the xy of the monster and thrust in that angle using cos and sin. You can probably put some sort of 'script execute' in the decorate pain state to trigger a script that does that. But low mass is a lot simpler. 0 Share this post Link to post
bignekidbat Posted March 4, 2013 sorry for the long reply anyways I'll give it a shot 0 Share this post Link to post
bignekidbat Posted March 4, 2013 well lowering the mass worked just fine now I can have enemies get pushed while bosses don't thanks guys 0 Share this post Link to post