Emp infantry restrict: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(New page: {{Sitenav|Entity Index > Emp_inf_restrict}} == Description == The Entity used for controlling area access in [http://empiresmod.info/index.php/Main_Page Empires] maps. ...)
 
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Description ==
== Description ==
The Entity used for controlling area access in [http://empiresmod.info/index.php/Main_Page Empires] maps.  
The Entity used for controlling area access in [http://empiresmod.info/index.php/Main_Page Empires] maps.
 
The filter parameters overlap each other, for example;
 
 
Allow Scouts?
Yes
Allow Riflemen?
Yes
Allow Grenadiers?
No
Allow Engineers?
No
Allow NF?
No
Allow BE?
Yes
 
only allows BE scouts and BE rifleman


== Keyvalues ==
== Keyvalues ==
*; Name <string>
*; Name <string>
:Name of the Entity  
:Name of the Entity  
*; Allow Scouts? <integer>
*; Allow Scouts? <boolean>
:This setting determines whether or not scouts are allowed access
:This setting determines whether or not scouts are allowed access
*; Allow Riflemen? <integer>
*; Allow Riflemen? <boolean>
:This setting determines whether or not riflemen are allowed access
:This setting determines whether or not riflemen are allowed access
*; Allow Grenadiers? <integer>
*; Allow Grenadiers? <boolean>
:This setting determines whether or not grenadiers are allowed access
:This setting determines whether or not grenadiers are allowed access
*; Allow Engineers? <integer>
*; Allow Engineers? <boolean>
:This setting determines whether or not engineers are allowed access
:This setting determines whether or not engineers are allowed access
*; Allow NF? <integer>
*; Allow NF? <boolean>
:This setting determines whether or not Northern Faction players are allowed access
:This setting determines whether or not Northern Faction players are allowed access
*; Allow Engineers? <integer>
*; Allow BE? <boolean>
:This setting determines whether or not Brenodi Empire players are allowed access
:This setting determines whether or not Brenodi Empire players are allowed access



Latest revision as of 07:24, 7 January 2010

Home > Emp infantry restrict

Description

The Entity used for controlling area access in Empires maps.

The filter parameters overlap each other, for example;


Allow Scouts? Yes Allow Riflemen? Yes Allow Grenadiers? No Allow Engineers? No Allow NF? No Allow BE? Yes

only allows BE scouts and BE rifleman

Keyvalues

  • Name <string>
Name of the Entity
  • Allow Scouts? <boolean>
This setting determines whether or not scouts are allowed access
  • Allow Riflemen? <boolean>
This setting determines whether or not riflemen are allowed access
  • Allow Grenadiers? <boolean>
This setting determines whether or not grenadiers are allowed access
  • Allow Engineers? <boolean>
This setting determines whether or not engineers are allowed access
  • Allow NF? <boolean>
This setting determines whether or not Northern Faction players are allowed access
  • Allow BE? <boolean>
This setting determines whether or not Brenodi Empire players are allowed access

Inputs

  • Toggle Scout <void>
Enable/disable access for Scouts
  • Toggle Rifleman <void>
Enable/disable access for Riflemen
  • Toggle Grenadier <void>
Enable/disable access for Grenadiers
  • Toggle Engineer <void>
Enable/disable access for Engineers
  • Toggle NF <void>
Enable/disable access for Northern Faction players
  • Toggle BE <void>
Enable/disable access for Brenodi Empire players
  • Change Access <integer>
Change all access control settings at once. 1=scout, 2=grenadier, 4=rifleman, 8=engineer, 16=NF, 32=BE
eg. To only allow Brenodi engineers and grenadiers, use 32+8+2=42

Flags

This entity has no flags.

Notes

  • Can only be used as a brush entity.
  • Will cause the compile process to crash if used in conjunction with a displacement!