Vehicle Frequency Mod

Hello all;

Is there any way to mod Vehicle Frequency? The reason is that I have completed 100% and am now collecting missing cars but can't get my hands on a Longhauler since they only appear at Road work sites so how would I go about increasing the frequency of this vehicle to make it somehow appear more randomly. Ideas..........
 
That's an easy one. Just extract misc_tables.vpp_pc and modify spawn_info_groups.xtbl. Each group has an assortment of vehicles that can spawn in, so simply add the longhauler to whatever groups you want like so:
<Group>
<Name>spawn_Civ_Punks</Name>
<Team>Civilian</Team>
<Characters>
<Character>npc_ped_punk01_mw</Character>
<Character>npc_ped_punk02_mb</Character>
<Character>npc_ped_punk05_fw</Character>
<Character>npc_ped_punk06_fb</Character>
</Characters>
<spawn_drunk_pct_day>1</spawn_drunk_pct_day>
<spawn_drunk_pct_night>4</spawn_drunk_pct_night>
<Vehicles>
<Vehicle>
<Name>bike_rocket02</Name>
</Vehicle>
<Vehicle>
<Name>car_2dr_compact04</Name>
</Vehicle>
<Vehicle>
<Name>car_2dr_luxury04</Name>
</Vehicle>
<Vehicle>
<Name>car_2dr_muscle04</Name>
</Vehicle>
<Vehicle>
<Name>car_2dr_muscle01</Name>
</Vehicle>
<Vehicle>
<Name>car_2dr_muscle02</Name>
</Vehicle>
<Vehicle>
<Name>car_4dr_sports03</Name>
</Vehicle>
<Vehicle>
<Name>truck_2dr_construct01</Name>
</Vehicle>
</Vehicles>
<Spline_Type>Baggage</Spline_Type>
<GeneralFlags>
</GeneralFlags>
<_Editor>
<Category>Entries:SR3_City:Civilian:Specialty_Spawns</Category>
</_Editor>
</Group>

You can also check out spawn_info_categories.xtbl which will tell you which groups can spawn in which game areas.
 
Thanks for the quick help. When I place the file spawn_info_groups.xtbl in the SR3 install directory, it doesn't become actively respected and used. Am I doing something wrong??
 
It absolutely does. Don't forget that you would want to add the truck to many groups and not just the first one. Also, being added there means there is only a chance of it spawning along with all the other vehicles. If you want just the trucks then delete all other vehicles except truck_2dr_construct01.
 
After doing this I now see the effect however what appears instead are Mixmasters and not Longhaulers, although you did pick the correct files so I'm uncertain why the Longhauler type doesn't appear.......
 
Another way of doing this would be to increase the frequency of road crews appearing, hopefully with a Longhauler in tow. What .xtbl file would control this?
 
Try specifying the variant as well. The variants for the longhauler are: Mixer, Dumptruck, Average, and Fully_Customizable. I'm guessing the longhauler you want is the Average variant, so try changing your entries to:

<Vehicle>
<Name>truck_2dr_construct01</Name>
<Variant>Average</Variant>
</Vehicle>
 
YOU GOT IT!!!!

Adding the Variant did the trick. however it was the "Dumptruck" variant that enabled the Longhauler to appear while no variant, the "Average" and "Mixer" variants produced Mixmasters. The Fully_Customizable variant produced a mixture of both trucks but included Longhaulers with and without rocks in the dumptrucks. Thanks again for all your help. you are my idol, Ninja...........
 
Back
Top