forums | blogs | polls | tutorials | downloads | rules | help

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

Breath mist

Does anyone know how the breath mist effect the characters emit in the snowy regions gets started? I've found the effect code, but there should be a command or trigger gizmo that turns it on when they enter the region, and I just can't find a template or an instance on the map. I need to do the same for a breath bubble effect for Lara, and although I created an effect I can't find out how to attach it to her at the right time.

I've tried scanning the world folder for "breath" but that didn't get me any useful hits.

Sharkull's picture

Just a wild guess, but could it be linked to a specific mood? /me quickly checks moods.gas...

Is this what you're looking for?
environ_effect = env_snow_breath;

I didn't realise they could do that!!!

Sharkull's picture

Neither did I, but when you said "regions", that's where my mind went.
Smile

The effect specified in the moods.gas file is actually a dummy. The real effect is determined by the step_emitter.skrit code looking up the mood effect name and ignoring it - sort of. It actually checks for "snow" in the name of the effect, and fires off another effect of its own choosing - i.e. "efct_breath_mist" when it finds it!

This all means that Lara will have to have "foot down" events in her swimming animation so that she can breathe! That really makes a lot of sense .... NOT!!

At least it didn't take long to clone it for underwater.

(later edit: I also had to add the "foot down" events back to her walk/run animations so she would stop blowing bubbles when she left the region! Notes here)

Quote:
(Notes here)

Haha, obsessive bubbles. Smile

Good explanation, and a funny read. Smile