Female Spawn Rate

Helishus

Citizen
Apr 4, 2020
7
0
1
For some reason the chance of a female tamable to spawn on my server is extremely low. So I have the ATS system installed as well as an evo system and bio engineering. I have looked in the settings of all of these to see if there are affecting the spawn rate but they are not. I am trying to figure out where I would be able to change this. Any help would be great.
 

Falkor

Squire
Apr 11, 2018
362
127
43
wpshard.com
Shard Name
Whispering Pines
If you're using FS_ATS, one of your edits should have been in BaseCreature.cs:

Code:
        public BaseCreature(
            AIType ai, FightMode mode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed)
        {

#region FS:ATS Edits
            bool alwaysMale = false;
            Type typ = this.GetType();
            string nam = typ.Name;

            bool alwaysFemale = false;
            Type typ2 = this.GetType();
            string nam2 = typ2.Name;

            foreach ( string check in FSATS.AlwaysMale )
            {
                  if ( check == nam )
                        alwaysMale = true;
            }

            foreach ( string check2 in FSATS.AlwaysFemale )
            {
                  if ( check2 == nam2 )
                        alwaysFemale = true;
            }

            if ( alwaysMale == true )
                this.Female = false;
            else if ( alwaysFemale == true )
                this.Female = true;
            else
            {
                switch ( Utility.Random( 2 ) )
                {
                         case 0: this.Female = true; break;
                   
                    case 1: this.Female = false; break;
                }
            }

            m_MaxLevel = Utility.RandomMinMax( 15, 30 );

#endregion
and it should yield a female:male ratio of about *edit* er, 50/50 :D
 

Helishus

Citizen
Apr 4, 2020
7
0
1
Yeah I found out I had put the FS_ATS stuff in the wrong spot in basecreature.cs as soon as I put it in the correct spot it fixed the spawning rate issue. Thank you!