Can someone shed some light on the popcycle.dat?

I can't really get my head around what I see there The left half is selfexplanatory as it has descriptions above but the right half is over my head. I guess it's precentages but some rows don't add up to hundred while others overshoot. Example:
POP_SCHEDULE: COUNTRYSIDE // Weekday // // #Peds #Scenario #Cars #prkdcrs #lowprkdcrs PercCopCars PercCopPed MaxScenPeds MaxScenVehs MaxPreAssignedParked 08 50 40 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 08 50 40 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 08 50 40 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 08 50 80 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 14 50 80 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 14 50 100 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 16 50 100 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 16 50 100 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 16 50 100 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 14 50 80 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 14 50 60 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 08 30 60 20 40 0 0 8 5 5 peds FREEWAY_COUNTRYSIDE 10 SALTON 49 Fish 01 Birds_Countryside 30 InCar_General 10 cars VEH_COUNTRYSIDE_ONROAD 40 VEH_COUNTRYSIDE_OFFROAD 40 VEH_BOATS 10 END_POP_SCHEDULE
What do all those numbers mean? And what's that about Fish?

@Cyron43 Don't you see? These numbers represent the percentage of vehicle types that will spawn out of 100%. Clearly we see that the math is incorrect LOL. 40 + 40 +10 equals 90! So make it so either onnroad or offroad is 50 so that it totals to 100.

@eshenk But there are other lines which sum up to way over 100.

@eshenk Also....wanna see more peds? Get rid of the birds because they are treated as peds, and thus will rob from the ped pool. Birds will still spawn just not the insane amount default R* values are.

@Cyron43 Then make them so they all equal to 100.

@eshenk Ugh sorry, I missed the 'cars' column. These are 3 datasets in one row. Now I get it. Stupid decision from R*.
@GlobalModerators You can mark this thread as sloved.

The example you gave does add up correctly though.
It's an outlier compared to the normal approach used in this file, but nevertheless, it does add up.
Here's the logic :
Regularly there is a clearcut distinction between the "peds" and "cars" sections in this file.
However, in this case we can see that the pedGroup : <Name>incar_general</Name> is part of the "peds" section.
This particular pedGroup is an outlier because it has the flag "POPGROUP_IN_VEHICLE".
There are only two other pedGroups which have this flag.Those other two are :
<Name>freeway_haulage</Name>
<Name>freeway_countryside</Name>So now knowing that this specific pedGroup ALWAYS spawn INside a vehicle, we can see that if we add the 10% of <Name>incar_general</Name> cars/peds to the cars section, the result is now the expected 100% instead.
What does not add up though, is how little the numbers in the left column matter, compared to your gameconfig.xml settings. But that's for another time and another discussion.
Lastly, eshenk is right about the birds. ANY pedmodel, be it a human, a humpback or even a rat, counts as part of the allowed cPeds Pool = 256 maximum. So if you, for instance, look at how the vanilla "ARMY" entry in popcycle.dat has 79% "Birds_Countryside", it becomes apparent that 202 of your potential total maximum number of peds, in this case... are birds. This is especially problematic, when working with a vanilla gameconfig.xml.
Using both a vanilla gameconfig.xml and popcycle.dat will spawn a maximum of 46 peds in the "ARMY"bolded text zone. 16 of those peds are ambient peds, and the rest are scenario peds. Since 79% of these peds are birds, this will leave far too few human peds to trigger the many scenario points the zone contains.
When using a modded gameconfig.xml, enabling you to reach the 256 maximum number of peds, there will be enough human peds left to spawn the majority of the scenarios
...and also the sky will be so full of birds, that it also looks like you have smudges all over your screen.
In both cases I highly recommend you edit your popcycle.dat to spawn a drastically lower number of birds.
Happy modding to all of you.

@grateful_for_mods Thank you very much for the insight.