Warfare Incorporated :: View topic - Unit Exclusion Zones
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
Unit Exclusion Zones

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


Joined: 26 Jul 2009
Posts: 164
Location: Singapore

PostPosted: Tue Jul 19, 2011 6:24 am    Post subject: Unit Exclusion Zones Reply with quote

I'm trying to make a mission that allows only infantry to cross rivers and enter forests, while tanks cannot pass through. The basic map design looks like this:

Blue Base


-----||----| |----||-----


Red Base
There are areas on the narrow bridge.


So the blue base is at the north, and the red in the south.
When blue tanks try to cross the river from north to south on the narrow bridge, they are force-triggered back to a northside area, and vice versa for the red tanks. They can pass through on the wide bridge.

Is there a way to stop blue tanks trying to cross the narrow bridge south to north from being forced to cross the river and reach the north side, and vice versa?

_________________
---
Back to top
View user's profile Send private message
trineroks
Chief Administrator


Joined: 16 Oct 2009
Posts: 1766
Location: Southern Cali (UCLA)

PostPosted: Tue Jul 19, 2011 6:50 am    Post subject: Reply with quote

Apply both triggers to both sides. I think you're trying to say that a blue tank in the south side will, if it goes on the narrow path, be forced up north due to the trigger?

If so, make it so that both blue or red tanks entering from the south are pushed back south, and tanks coming from the north get pushed back north. Apply both triggers to both sides.

_________________
It's the essence of combat; kill, or be killed.
---------------------------------
Back to top
View user's profile Send private message
galm
ForeRunner


Joined: 18 Oct 2009
Posts: 2380
Location: New York

PostPosted: Tue Jul 19, 2011 8:37 pm    Post subject: Reply with quote

Additionally you might want two areas and yeah anytank entering one goes up and the other down.
_________________
"All held the finite and infinite as unrelated. None could foresee that the history of the two would become one."
Back to top
View user's profile Send private message
N@TE
Chief Administrator Emeritus


Joined: 06 Dec 2009
Posts: 985
Location: Colorado

PostPosted: Thu Jul 21, 2011 4:20 pm    Post subject: Solution to your problem Reply with quote

To start off, I would lay out the map so that it is more of a rectangular shape. Additionally, have the river stretch diagonally across the map, segregating the two bases. This enhances the map's fairness, while increasing the flow of unit strategy. For instance, observe the map below.



Your map should look similar to this, perhaps with added galaxite. For the purpose of this demonstration, however, galaxite was not added.

With the above map layout, the triggers to move units is simple. It uses the Area Contains Units condition, and the Move Units In Area action. This is the trigger moving vehicles back to Blue's side after attempting to cross the river through the small entrance.

Sides: 1
Conditions: Area 'NW Bridge' contains AtLeast 1 Any Vehicle owned by CurrentSide
Actions: Move CurrentSide Any Vehicle from 'NW Bridge' to 'Blue 1'
- Preserve Trigger

Use this same concept for the other trigger for Blue, and the two triggers for Red. For example, here is the trigger preventing vehicles from going up into Blue's base on the bottom.

Sides: 2
Conditions: Area 'SE Bridge' contains AtLeast 1 Any Vehicle owned by CurrentSide
Actions: Move CurrentSide Any Vehicle from 'SE Bridge' to 'Red 2'
- Preserve Trigger

These triggers will allow vehicles to go one way, but not the other. I hope this helps, and if not, specify what I can aid you on.

_________________
Warfare Incorporated Former Head of Administration || Steam username: WINate
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