Emp info params: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
m (→‎Overview: entity required (red))
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Description ==
{{MappingDocumentation}}
This places an emp_info_params entity in your map, which allows you to set parameters for empires such as if its a push map, the theme, autoresearch of research tree, etc.
Note: This entity is needed in a map in order for the map to function, the map will crash if you don't!


== Parameters ==
==Overview==
Contains crucial properties for Empires such as theme, automated research, etc. <span style="color: #ff0000;">'''This entity is required for all Empires maps.'''</span>


"Push Map" If this is a push map, only one spawn will be enabled at a time per team and spawn point selection by players will be automated.
__TOC__


                0 : "No"
==Keyvalues==
                1 : "Yes"
;Name
:The name that other entities refer to this entity by.


"Map Theme" This is the setting/theme of the map and is only used to determine the camouflage that players wear.
;Map Theme
:This is the setting/theme of the map and is only used to determine the camouflage that players wear.


                0 : "Default"
*Default
                1 : "Woodland"
*Woodland
                2 : "Snow"
*Snow
                3 : "Desert"
*Desert
                4 : "Urban"
*Urban
                5 : "Dusty" (e.g. emp_mvalley)
*Custom (Unused)
                6 : "Custom"
*Custom 2 (Unused)


"Automate Research?" For maps without a commander to handle research, setting this to 'Yes' will automatically make the research tree fully researched for both teams.
;Automate Research?
:For maps without a commander to handle research, setting this to 'Yes' will automatically research the Research Tree randomly (both teams will research the same items to keep it fair).


                0 : "No"
*No
                1 : "Yes"
*Yes


"Northern Faction Resources" The amount of resources the Northern Faction team starts with.
;Northern Faction Resources
                <value>(standard: 100)
:The amount of resources the Northern Faction team starts with. Default: 100.
"Brenodi Empire Resources" The amount of resources the Brenodi Empire team starts with.
                <value>(standard: 100)   
"Northern Faction Reinforcements" The amount of reinforcements the Northern Faction team starts with.
                <value>(standard: 100)
"Brenodi Empire Reinforcements" The amount of reinforcements the Brenodi Empire team starts with.
                <value>(standard: 100)   


"Prevent NF Engineer Building" Select restrictions for the Northern Faction engineers from being able to build on this map.
;Brenodi Empire Resources
:The amount of resources the Brenodi Empire team starts with. Default: 100.
   
;Northern Faction Reinforcements
:The amount of reinforcements the Northern Faction team starts with. Default: 100.


                0 : "No Restriction"
;Brenodi Empire Reinforcements
                1 : "Walls"
:The amount of reinforcements the Brenodi Empire team starts with. Default: 100.
                2 : "Everything"


"Prevent Brenodi Engineer Building" Select restrictions for the Brenodi Empire engineers from being able to build on this map.
;Prevent NF Engineer Building
:Select restrictions for the Northern Faction engineers from being able to build on this map.


                0 : "No Restriction"
*No Restriction
                1 : "Walls"
*Walls
                2 : "Everything"
*Everything


== Inputs ==
;Prevent Brenodi Engineer Building
    InputNFWin : "Input for Northern Faction winning."
:Select restrictions for the Brenodi Empire engineers from being able to build on this map.
    InputImpWin : "Input for Brenodi Empire winning."


*No Restriction
*Walls
*Everything


[[Category:Entity|Empires Parameters]]
;Prevent Turret Building
:Does not affect the commander.
 
*Allow level 1, 2 and 3 turrets
*Allow level 1 and 2 turrets
*Allow level 1 turrets
*Restrict turrets
 
==Inputs==
;InputNFWin
:Ends the game with NF as the winner.
;InputImpWin
:Ends the game with BE as the winner.
;SetNFTickets <integer>
:Sets the NF tickets
;SetBETickets <integer>
:Sets the BE tickets
;ModifyNFTickets <integer>
:Adds tickets to NF (set negative to subtract)
;ModifyBETickets <integer>
:Adds tickets to BE (set negative to subtract)
;SetNFResources <integer>
:Sets the NF resources
;SetBEResources <integer>
:Sets the BE resources
;ModifyNFResources <integer>
:Adds resources to NF (set negative to subtract)
;ModifyBEResources <integer>
:Adds resources to BE (set negative to subtract)
;GetNFTickets <integer>
:Outputs the number of NF tickets from OnGetNumber.
;GetBETickets <integer>
:Outputs the number of BE tickets from OnGetNumber.
;GetNFResources <integer>
:Outputs the number of NF resources from OnGetNumber.
;GetBEResources <integer>
:Outputs the number of BE resources from OnGetNumber.
 
==Outputs==
;OnGetNFTickets <integer>
:Outputs the requested number.
;OnGetBETickets <integer>
:Outputs the requested number.
;OnGetNFResources <integer>
:Outputs the requested number.
;OnGetBEResources <integer>
:Outputs the requested number.
 
[[Category: Entity]]

Latest revision as of 08:03, 16 July 2010

Empires Mapping Documentation
Mapping Overiew | Hammer Configuration | Entity Index | Basic Mapping | Setup Resources | Tutorials | Useful FGD Modifications | Bots and NPCs | Dimensions | Skyboxes



Overview

Contains crucial properties for Empires such as theme, automated research, etc. This entity is required for all Empires maps.

Keyvalues

Name
The name that other entities refer to this entity by.
Map Theme
This is the setting/theme of the map and is only used to determine the camouflage that players wear.
  • Default
  • Woodland
  • Snow
  • Desert
  • Urban
  • Custom (Unused)
  • Custom 2 (Unused)
Automate Research?
For maps without a commander to handle research, setting this to 'Yes' will automatically research the Research Tree randomly (both teams will research the same items to keep it fair).
  • No
  • Yes
Northern Faction Resources
The amount of resources the Northern Faction team starts with. Default: 100.
Brenodi Empire Resources
The amount of resources the Brenodi Empire team starts with. Default: 100.
Northern Faction Reinforcements
The amount of reinforcements the Northern Faction team starts with. Default: 100.
Brenodi Empire Reinforcements
The amount of reinforcements the Brenodi Empire team starts with. Default: 100.
Prevent NF Engineer Building
Select restrictions for the Northern Faction engineers from being able to build on this map.
  • No Restriction
  • Walls
  • Everything
Prevent Brenodi Engineer Building
Select restrictions for the Brenodi Empire engineers from being able to build on this map.
  • No Restriction
  • Walls
  • Everything
Prevent Turret Building
Does not affect the commander.
  • Allow level 1, 2 and 3 turrets
  • Allow level 1 and 2 turrets
  • Allow level 1 turrets
  • Restrict turrets

Inputs

InputNFWin
Ends the game with NF as the winner.
InputImpWin
Ends the game with BE as the winner.
SetNFTickets <integer>
Sets the NF tickets
SetBETickets <integer>
Sets the BE tickets
ModifyNFTickets <integer>
Adds tickets to NF (set negative to subtract)
ModifyBETickets <integer>
Adds tickets to BE (set negative to subtract)
SetNFResources <integer>
Sets the NF resources
SetBEResources <integer>
Sets the BE resources
ModifyNFResources <integer>
Adds resources to NF (set negative to subtract)
ModifyBEResources <integer>
Adds resources to BE (set negative to subtract)
GetNFTickets <integer>
Outputs the number of NF tickets from OnGetNumber.
GetBETickets <integer>
Outputs the number of BE tickets from OnGetNumber.
GetNFResources <integer>
Outputs the number of NF resources from OnGetNumber.
GetBEResources <integer>
Outputs the number of BE resources from OnGetNumber.

Outputs

OnGetNFTickets <integer>
Outputs the requested number.
OnGetBETickets <integer>
Outputs the requested number.
OnGetNFResources <integer>
Outputs the requested number.
OnGetBEResources <integer>
Outputs the requested number.