Knuckle Cracker

Particle Fleet => Pre-release chatter => Topic started by: Sorrontis on September 23, 2016, 10:06:08 AM

Title: map goals?
Post by: Sorrontis on September 23, 2016, 10:06:08 AM
Can someone explain the difference between "Total Destruction" and "Destroy Enemies"?

Thanks!
Title: Re: map goals?
Post by: planetfall on September 23, 2016, 10:07:30 AM
Quote from: Sorrontis on September 23, 2016, 10:06:08 AM
Can someone explain the difference between "Total Destruction" and "Destroy Enemies"?

Thanks!

Total Destruction requires you to destroy all enemy struc, particles, and mire (I think?)
Title: Re: map goals?
Post by: Sorrontis on September 23, 2016, 10:09:01 AM
Quote from: planetfall on September 23, 2016, 10:07:30 AM
Quote from: Sorrontis on September 23, 2016, 10:06:08 AM
Can someone explain the difference between "Total Destruction" and "Destroy Enemies"?

Thanks!

Total Destruction requires you to destroy all enemy struc, particles, and mire (I think?)

Thanks, that's what I thought. Lets see if someone knows with confidence :D
Title: Re: map goals?
Post by: knucracker on September 23, 2016, 12:30:18 PM
Quote from: Sorrontis on September 23, 2016, 10:09:01 AM
Thanks, that's what I thought. Lets see if someone knows with confidence :D

This will be as authoritative as it gets.  Looks like structures, particles, emergent, and mines have to be destroyed.


            if (gameGoal == GAME_GOAL.DESTROY_ENEMIES) {
                //Debug.Log(goalEnemies.Count + " " + goalPlayer.Count);
                if (goalEnemies.Count == 0) {
                    if (!requireAllItemCollection || goalPlayer.Count == 0) {
                        if (importantMessage.gameObject.activeSelf) importantMessage.Hide();
                        MissionComplete(true);
                    } else {
                        if (!importantMessage.gameObject.activeSelf) importantMessage.Show("COLLECT ALL ITEMS TO COMPLETE MISSION");
                    }
                }
                return;
            } else if (gameGoal == GAME_GOAL.TOTAL_DESTRUCTION) {
                bool enemies = goalEnemies.Count == 0;
                bool particles = redParticleCount == 0;
                bool emergent = redEmergents.Count == 0;
                bool emines = true;
                foreach (EnergyMine em in energyMines) {
                    if (em.enemy) {
                        emines = false;
                        break;
                    }
                }
                if (enemies && particles && emergent && emines) {
                    if (!requireAllItemCollection || goalPlayer.Count == 0) {
                        if (importantMessage.gameObject.activeSelf) importantMessage.Hide();
                        MissionComplete(true);
                    } else {
                        if (!importantMessage.gameObject.activeSelf) importantMessage.Show("COLLECT ALL ITEMS TO COMPLETE MISSION");
                    }
                    return;
                }
            } else if (gameGoal == GAME_GOAL.COLLECT_ITEMS) {
                //Debug.Log(goalEnemies.Count + " " + goalPlayer.Count);
                if (goalPlayer.Count == 0) {
                    if (importantMessage.gameObject.activeSelf) importantMessage.Hide();
                    MissionComplete(true);
                }
                return;
            } else if (gameGoal == GAME_GOAL.PERCENT_MIRE) {
                float mireCoverage = (float)Land.instance.blueCoverTotal / (float)Land.instance.landTotal * 100f;
                if (mireCoverage >= gameGoalMirePercent) {
                    if (!requireAllItemCollection || goalPlayer.Count == 0) {
                        if (importantMessage.gameObject.activeSelf) importantMessage.Hide();
                        MissionComplete(true);
                    } else {
                        if (!importantMessage.gameObject.activeSelf) importantMessage.Show("COLLECT ALL ITEMS TO COMPLETE MISSION");
                    }
                    return;
                }
            } else if (gameGoal == GAME_GOAL.CUSTOM) {
                //Something in PRPL has to cause the win
            }

Title: Re: map goals?
Post by: Sorrontis on September 23, 2016, 12:38:30 PM
Wow, I love your style!
Title: Re: map goals?
Post by: Tjgalon on September 23, 2016, 01:17:49 PM
enough confidence  for you? hehe
Title: Re: map goals?
Post by: Karsten75 on September 23, 2016, 06:57:27 PM
It might have been easier to understand if "Total Destruction" was titled "Total Clean-up".
Title: Re: map goals?
Post by: GoodMorning on September 23, 2016, 07:14:09 PM
Sterilisation.
Title: Re: map goals?
Post by: Karsten75 on September 23, 2016, 07:24:21 PM
Quote from: GoodMorning on September 23, 2016, 07:14:09 PM
Sterilisation.

That word has so many connotations.
Title: Re: map goals?
Post by: Sorrontis on September 23, 2016, 07:30:21 PM
I was keeping my mouth shut on the sterilization one  :-[
Title: Re: map goals?
Post by: GoodMorning on September 23, 2016, 07:32:14 PM
Fair.