SRIV groups in mission lua files

I was looking through the mission lua files, and I noticed that they never directly reference NPCs from character.xtbl or character_definitions.xtbl. Instead, they refer to "group" values I haven't seen anywhere else. As a specific example, I decided to try and make Fun Shaundi change to a different NPC when she got superpowers. Adding a SuperHumans block to homies.xtbl worked in free roam and made the new model spawn in during the mission where she and CID help you collect powercells, but she didn't change during her loyalty mission and she didn't abandon the player when you find the prototype tank. I looked in mol_sh01.lua, and was surprised that New Shaundi is defined not by "npc_shaundi" and "npc_shaundi_sim", but by "start_shaundi3_normal" and "start_shaundi3_sp". My question is, where are these values defined, and how do I add similar ones for Fun Shaundi?
 
I think these are actually stored in the world data with the mission start node. That means with some clever editing you guys could change those things. I keep meaning to find someone willing to do an object creation/editing tool.
 
Back
Top