NPC Umbrella Animations

yensid

Banned
I'm trying to get the NPC's to use their umbrellas during rain, I've imported all of the umbrella animations used in Saints Row The Third and got the NPC's to use newspapers over themselves during rain, but the umbrella one doesn't seem to work. Is it possible to disable or change NPC's from using props? And why can't I get the animation for umbrellas to work? I've tried all sorts of things and was wondering if anyone from Volition could shed some light on this.
 
It appears that this is mostly a hard-coded scenario that occurs for the AI. The takeout animation that is played on an npc has prop triggers, found in the "anim_files.xtbl" to create the "umbrella" prop. When the animation_triggers process see the "umbrella" prop called specifically it retrieves that prop handle and plays the "Umbrella_Open" animation. This appears to be untouched in SR4 and should trigger all of it, if and when it is raining.
 
I got the umbrella animations finally working but they will only work when the rain first begins and wont work after that (when new NPC's spawn). And the NPC's aren't holding the umbrellas in the right position to cover themselves , and some times the NPC's don't move. I took a screen shot of how it looks.

mmu1kk.jpg
 
The animations playing here appear to be the normal walking animations and the handprop locations aren't positioned for holding anything.

Some conditions to be aware of only "civilians" will react to the rain. Character entries flagged as "heroic" will ignore the rain, as will scripted npcs's and npc's that have "never_use_walk_variants" or "special movement" flags set in the character.xtbl.

Also, if its not raining and the npc's are playing the "umbrella_walk" or the "head_cover walk" specifically then they will attempt to put the props away and transition back to normal walking. If for whatever reason these specific animations aren't playing when they get equipped with umbrellas and it stops raining, the props will likely never get put away.
 
The animations playing here appear to be the normal walking animations and the handprop locations aren't positioned for holding anything.

Some conditions to be aware of only "civilians" will react to the rain. Character entries flagged as "heroic" will ignore the rain, as will scripted npcs's and npc's that have "never_use_walk_variants" or "special movement" flags set in the character.xtbl.

Is it possible to edit character.xtbl and add the "never_use_walk_variants" flags to all pedestrians to get them to stop using the umbrella and head cover animations during rain? I've been trying to do it but they keep using the animations.
 
You should already be able to do that with the Table tools that were released.

Ok thank you Meatplowz.

If the umbrellas only work right when it's raining, just make it so it's always raining! :D

The umbrella animations don't work properly, and they don't trigger when new pedestrians spawn in unfortunately.
 
Back
Top