public static void GenerateHeroicSurvivorModel()
        {
            SurvivorModel model = new SurvivorModel();

            model.RandomiseValues();

            model.FitnessSkill  = Random.Range(HEROIC_SURVIVOR_STAT_MIN, GENERIC_SURVIVOR_STAT_VARIANCE + 1);
            model.StrengthSkill = Random.Range(HEROIC_SURVIVOR_STAT_MIN, HEROIC_SURVIVOR_STAT_MAX + 1);
            model.ShootingSkill = Random.Range(HEROIC_SURVIVOR_STAT_MIN, HEROIC_SURVIVOR_STAT_MAX + 1);
            model.Name          = SurvivorNameGenerator.GenerateName(model.IsMale);
        }
Exemplo n.º 2
0
 private void Awake()
 {
     EventSystem.Subscribe <NewGameEvent>(OnNewGame, this);
     SurvivorNameGenerator.Initialise();
 }