Destroy Red Army Objective

Talk about your new mod or map here

Moderators: bert_the_turtle, jelco

Siber
level1
level1
Posts: 10
Joined: Fri Dec 02, 2005 10:55 pm
Location: SLC, Utah
Contact:

Destroy Red Army Objective

Postby Siber » Sun Mar 19, 2006 1:28 am

I can't seem to find this on the forums anywhere....

Can someone linke me to a tutorial or reply with syntax as how to work the Destroy Red Army objective. If its possible to have a cound i would like to know that too, thank you.
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Re: Destroy Red Army Objective

Postby Lowell » Sun Mar 19, 2006 1:45 am

Siber wrote:I can't seem to find this on the forums anywhere....

Can someone linke me to a tutorial or reply with syntax as how to work the Destroy Red Army objective. If its possible to have a cound i would like to know that too, thank you.


Which Mod is that Objective for? If it is a Mod...post your question on that Mod's page and you will get a better direct answer, also I can't make out what you were saying in the third sentence.
User avatar
xander
level5
level5
Posts: 16868
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Mar 19, 2006 2:02 am

The "Destroy the Red Army" objective is controlled by a SpawnPointMaster. If you have a global SpawnPointMaster in your level (say, building ID 5), then create an objective that looks like this:

Code: Select all

PrimaryObjectives_StartDefinition
   BuildingOnline :LevelName,5    StringName   ScriptName.txt
PrimaryObjectives_EndDefinition

The string should be something from strings_default.txt that looks something like this:

Code: Select all

StringName    Destroy All Enemy Forces

And the script should be something that explains the objective when it is clicked upon.

It is important to note, however, that the SpawnPointMaster must be global, or this will not work (unless the global requirement was an effect of the IsLinuxBust problem, which has been fixed -- I actually don't know, at this point, and don't feel like finding out just now).

At any rate, the objective is basically like any other -- when x building comes online, then the objective is complete. In this case, the SpawnPointMaster will come online when the population of red units on the map is less than 10.

Does that answer the question?

xander
Siber
level1
level1
Posts: 10
Joined: Fri Dec 02, 2005 10:55 pm
Location: SLC, Utah
Contact:

Postby Siber » Sun Mar 19, 2006 3:51 am

Yeah it does, but maybe it will differ a bit if i explain the map more.

I have a spawn point master connectected to various spawn points around the map. On the Biosphere level that we all know and love, they have an objective that says: "Destroy the Red Army" or something similar, it also has a count (Sorry misspelled this in the first post.) like "Red Army Remaining: ###". So what i want to do, is once you've killed every red darwinian on the map, you win.
User avatar
xander
level5
level5
Posts: 16868
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Mar 19, 2006 4:03 am

That is exactly what I describe how to do above.

xander
Siber
level1
level1
Posts: 10
Joined: Fri Dec 02, 2005 10:55 pm
Location: SLC, Utah
Contact:

Postby Siber » Sun Mar 19, 2006 5:26 am

Awesome, just got done messing around with it, thanks Xander you are teh awesome.
User avatar
xander
level5
level5
Posts: 16868
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Mar 19, 2006 8:42 pm

Siber wrote:...Xander you are teh awesome.

Yes, I know.

Glad I could help :)

xander

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 1 guest