News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

Waving plants

Started by bitterman, September 14, 2019, 10:46:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bitterman

In some modern games which are newer than D3 (e.g. FarCry 2) plant models are interact with player.

When player coming close to medium sized plant then plant are slant in player's move direction.
And when player goes through plant then it is waving some time.

I think this behavior realised by script but don't know where to start.

Maybe someone has already done it.

Thanks.

The Happy Friar

well, a couple ways.1) ragdoll plants.  could take up a lot of cpu power, you need to do an AF for your plants.  AF kind of = PITA.2) have them be a monster & when you get to close they run an animation.3) have them be a func_animate, and when you get to close animation is changed (this might be better then monster, not sure).
Never looked in to specifically how Farcry did it, so not sure if there's a better way in D3 to do it.