The Gronk
Colon Pounder
I think I see where you're going with this. Can you hook into the time with the updated modding system or perhaps have a countdown timer buff which randomly chooses a buff to apply?What i really want is a fluctuating Buff that set the lootabundance 70% of the time to 25%
20% of the time to 100%
and 10% of the time to 200%
Means different to now there would be a chance to loot something nice (like a jackpot) but normally you get only peanuts
Ammo i solved by respawning boulders and cars. And if that is not enough maybe later by bigger amounts you can harvest
Buff1 = 25%
Buff2 = 100%
Buff3 = 200%
Check which buff is applied once per hour. Apologies, but this is easier to show you in pseudocode.
float randomRoll = Random.Range(0f,100f);
if(randomRoll > 70f){
....<apply Buff3>
}else if (randomRoll > 20f){
....<apply Buff2>
}else{
....<apply Buff1>
}
Not sure how you'd achieve that with the cvars system, or even if it's possible, but that logic should get you the result you're looking for.
I hope that helps.