I see, I moved your thread. It seems that the two subforums are quite confusing to some users, perhaps I should rename the one in community board category as 'Forum Feedback and Suggestions'.
Well the code that generates an adoptable's form(primary or alternate form) is inside file /classes/class_adoptables.php. It is simple enough:
PHP Code:
public function getAltStatus(){
if($this->alternates == "enabled" and $this->altoutlevel == 0){
$rand = mt_rand(1, $this->altchance);
if($rand == 1) return "yes";
}
return "no";
}
As you can see, it checks whether alt form is enabled. If so it will generate a random number to determine whether your adoptable will get primary or alt form. This is where you will need to edit in order to change the mechanism of alt form creation. But keep in mind that multiple alt-forms can be very complex, depending on your need.