I'm not familiar with the notoriety system at all, but it may be that there isn't support for specifying the variant.
Can you point me to which file & tag(s) you modified to get the APC to show up, so I can look to see if there's any optional tags to specify the variant name?
<resource_info>
<level>4</level>
<chance>0.15</chance>
<tag_name>swat</tag_name>
<npc_name>npc_swat</npc_name>
<vehicle_name>sp_apc01</vehicle_name>
</resource_info>
<resource_info>
<level>5</level>
<chance>0.8</chance>
<tag_name>masako</tag_name>
<npc_name>npc_ultor_masako</npc_name>
<vehicle_name>sp_apc01</vehicle_name>
</resource_info>
notoriety_spawn_group_police Spawn_group_police("police", HUMAN_TEAM_POLICE, NULL);
notoriety_spawn_group_police Spawn_group_police_motorcycle("police motorcycle", HUMAN_TEAM_POLICE, "police");
notoriety_spawn_group_police Spawn_group_police_roadblock("police roadblock", HUMAN_TEAM_POLICE, NULL);
notoriety_spawn_group_gang Spawn_group_bh("gang BH", HUMAN_TEAM_BROTHERHOOD, "gang_bh");
notoriety_spawn_group_gang Spawn_group_ro("gang RN", HUMAN_TEAM_RONIN, "gang_ronin");
notoriety_spawn_group_gang Spawn_group_ss("gang SOS", HUMAN_TEAM_SAMEDI, "gang_sos");
notoriety_spawn_group_police_heli Spawn_group_police_heli("police heli", HUMAN_TEAM_POLICE, "police");
notoriety_spawn_group_police_heli Spawn_group_police_attack_heli("police attack heli", HUMAN_TEAM_POLICE, "police");
notoriety_spawn_group_police Spawn_group_police_waverunners("police waverunners", HUMAN_TEAM_POLICE, "CG");
notoriety_spawn_group_police Spawn_group_police_speedboats("police speedboats", HUMAN_TEAM_POLICE, "police");
notoriety_spawn_group_police Spawn_group_ultor("ultor", HUMAN_TEAM_ULTOR, "ultor");
notoriety_spawn_group_police Spawn_group_ultor_indoors("ultor indoors", HUMAN_TEAM_ULTOR, "ultor");
notoriety_spawn_group_police Spawn_group_ultor_roadblock("ultor roadblock", HUMAN_TEAM_ULTOR, "ultor");
notoriety_spawn_group_police_heli Spawn_group_ultor_attack_heli("ultor attack heli", HUMAN_TEAM_ULTOR, "ultor");
The vehicle variant for notoriety vehicle spawn groups is hard coded in SR2.
Here's the list of vehicle spawn group definitions in code, showing the notoriety vehicle group name, team, and the vehicle variant name as the third parameter...
Code:notoriety_spawn_group_police Spawn_group_police("police", HUMAN_TEAM_POLICE, NULL); notoriety_spawn_group_police Spawn_group_police_motorcycle("police motorcycle", HUMAN_TEAM_POLICE, "police"); notoriety_spawn_group_police Spawn_group_police_roadblock("police roadblock", HUMAN_TEAM_POLICE, NULL); notoriety_spawn_group_gang Spawn_group_bh("gang BH", HUMAN_TEAM_BROTHERHOOD, "gang_bh"); notoriety_spawn_group_gang Spawn_group_ro("gang RN", HUMAN_TEAM_RONIN, "gang_ronin"); notoriety_spawn_group_gang Spawn_group_ss("gang SOS", HUMAN_TEAM_SAMEDI, "gang_sos"); notoriety_spawn_group_police_heli Spawn_group_police_heli("police heli", HUMAN_TEAM_POLICE, "police"); notoriety_spawn_group_police_heli Spawn_group_police_attack_heli("police attack heli", HUMAN_TEAM_POLICE, "police"); notoriety_spawn_group_police Spawn_group_police_waverunners("police waverunners", HUMAN_TEAM_POLICE, "CG"); notoriety_spawn_group_police Spawn_group_police_speedboats("police speedboats", HUMAN_TEAM_POLICE, "police"); notoriety_spawn_group_police Spawn_group_ultor("ultor", HUMAN_TEAM_ULTOR, "ultor"); notoriety_spawn_group_police Spawn_group_ultor_indoors("ultor indoors", HUMAN_TEAM_ULTOR, "ultor"); notoriety_spawn_group_police Spawn_group_ultor_roadblock("ultor roadblock", HUMAN_TEAM_ULTOR, "ultor"); notoriety_spawn_group_police_heli Spawn_group_ultor_attack_heli("ultor attack heli", HUMAN_TEAM_ULTOR, "ultor");
The SR2 version of the cvtf tool is now working for vehicles!
Oh No!!! Man, there is a lot of hardcodes stuff in saints row 2 compared to the 3rd game.
Some time ago IdolNinja said this in the 'Kinzie's Toy Box' thread:
So when the cvtf tool comes out and I change the default variant to look exaclty like the SWAT variant, probably by simply copying all the lines of the SWAT variant and paste it on the default variant its lines, won't that be a good work-around to still make it show up?
That should definitely work.