Warfare Incorporated :: View topic - Stopping a unit from replicating?
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
Stopping a unit from replicating?

 
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring
View previous topic :: View next topic  
Author Message
SoLan
Very Active User


Joined: 13 Jan 2004
Posts: 183

PostPosted: Wed Jan 28, 2004 12:44 pm    Post subject: Stopping a unit from replicating? Reply with quote

I have set up a Replicator in a level that also has Andy, and it is proving a problem. One of my testers discovered that he could completely storm the level by replicating Andy and making an army of Andys. Sad

Is there a way to stop the Andy from replicating, or will I have to remove him from the level?

--SoLan
Back to top
View user's profile Send private message
Verdagon
Veteran Member


Joined: 05 Oct 2003
Posts: 1047
Location: San Luis Obispo, CA

PostPosted: Wed Jan 28, 2004 3:55 pm    Post subject: Reply with quote

Try putting a location at the back of the replicator where they go in, and if Andy goes into that location, move him somewhere else, like a few squares up.

(Location=Area, im used to sc terms)

_________________
[WI Moderator]
http://verdagon.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
SoLan
Very Active User


Joined: 13 Jan 2004
Posts: 183

PostPosted: Wed Jan 28, 2004 3:57 pm    Post subject: Reply with quote

Wouldn't that make him "bounce"? Smile And how do you relocate a unit that is on the map?

--SoLan
Back to top
View user's profile Send private message
t3guy
Developing Poster


Joined: 10 Jan 2004
Posts: 20

PostPosted: Wed Jan 28, 2004 5:36 pm    Post subject: Reply with quote

I am going to try the bounce suggestion, but in my mission I have a warning to not replicate Andy. If the player does the mission ends. I have a trigger that says If side X has exactly 2 Andy mission end failed. Something like that.
Back to top
View user's profile Send private message
crakerz
Mega-Poster


Joined: 17 Sep 2003
Posts: 353
Location: California Bay Area

PostPosted: Sun Feb 08, 2004 4:46 pm    Post subject: Anti Andy Reply with quote

Another way to stop a unit from replicating is something like this:

This example is for one activation pad, with an area called "Plate", and the unit is Andy.

Create an area around the replicator called "Replicator".

CONDITION:
Comment: Turn On replicator
Switch "Rep Active" is OFF
Area "Plate" contains At Least 1 Any Unit owned by Side 1
Area "Replicator" contains Exactly 0 Andy owned by Side 1
ACTION:
Turn Side 1 Replicator ON
Set "Rep Active" ON
Preserve Trigger

CONDITION:
Comment: Turn Off replicator Normally
Switch "Rep Active" is ON
Area "Plate" contains Exactly 0 Any Unit owned by Side 1
ACTION:
Turn Side 1 Replicator Off
"Set "Rep Active" OFF
Preserve Trigger

CONDITION:
Comment: Turn Off replicator because Andy is around
Switch "Rep Active" is ON
Area "Replicator" contains At Least 1 Andy owned by Side 1
ACTION:
Turn Side 1 Replicator Off
"Set "Rep Active" OFF
Preserve Trigger


BTW, the Rep Active switch is a toggle that keeps the the logic from looping through once something is set. Helps the program speed.
No Bounce. You could also limit the amount of units replicated in a similar fashion. Use the Condition "side x owns X of X units". If the limit exceeds what you set, the replicator is turned off if any of those units enter it.

_________________
Why negotiate when you can just blow things up?
------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group