Emp info params: Difference between revisions
Jump to navigation
Jump to search
Warning:Every Empires map must have exactly one of these entities on map start. Attempting to load a map that does not contain an emp_info_params entity will crash the game!
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-cleanup) |
||
Line 1: | Line 1: | ||
{{Empires topicon}} | {{Empires topicon}} | ||
{{CD|???}} | |||
{{this is a|point entity|game=Empires|name=emp_info_params}} It contains various gameplay parameters and is a bridge for team-related IO. | {{this is a|point entity|game=Empires|name=emp_info_params}} It contains various gameplay parameters and is a bridge for team-related IO. | ||
{{Warning|Every Empires map must have ''exactly'' one of these entities on map start. Attempting to load a map that does not contain an emp_info_params entity will crash the game!}} | {{Warning|Every Empires map must have ''exactly'' one of these entities on map start. Attempting to load a map that does not contain an emp_info_params entity will crash the game!}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV| | {{KV|intn=skin|Map Theme|choices|This is the setting/theme of the map and is only used to determine the camouflage that players wear. | ||
Values: | Values: | ||
:*0: Default | :*0: Default | ||
Line 22: | Line 13: | ||
:*4: Urban | :*4: Urban | ||
}} | }} | ||
{{KV| | {{KV|intn=AutoResearch|Research Starts Complete|choices|Setting this to 'Yes' will automatically research the Research Tree, both teams will have the research tree fully researched. You can also add or remove research items using the maps .cfg file for server side settings. | ||
Values: | Values: | ||
:*0: No | :*0: No | ||
:*1: Yes | :*1: Yes | ||
}} | }} | ||
{{KV| | {{KV|intn=NFRes|Northern Faction Resources|int|value=100|The amount of resources the Northern Faction team starts with.}} | ||
{{KV| | {{KV|intn=ImpRes|Brenodi Empire Resources|int|value=100|The amount of resources the Brenodi Empire team starts with.}} | ||
{{KV| | {{KV|intn=NFReinf|Northern Faction Reinforcements|int|value=100|The amount of reinforcements the Northern Faction team starts with.}} | ||
{{KV| | {{KV|intn=ImpReinf|Brenodi Empire Reinforcements|int|value=100|The amount of reinforcements the Brenodi Empire team starts with.}} | ||
{{KV| | {{KV|intn=eng_restrict_NF|Prevent NF Engineer Building|choices|value=No Restriction|Select restrictions for the Northern Faction engineers from being able to build on this map. | ||
Values: | Values: | ||
:*0: No Restriction | :*0: No Restriction | ||
Line 39: | Line 28: | ||
:*2: Everything | :*2: Everything | ||
}} | }} | ||
{{KV| | {{KV|intn=eng_restrict_Imp|Prevent Brenodi Engineer Building|choices|Select restrictions for the Brenodi Empire engineers from being able to build on this map. | ||
Values: | Values: | ||
:*0: No Restriction | :*0: No Restriction | ||
Line 46: | Line 34: | ||
:*2: Everything | :*2: Everything | ||
}} | }} | ||
{{KV| | {{KV|intn=turretRestrict|Prevent turret building|choices|Select restrictions for the Brenodi Empire engineers from being able to build on this map. | ||
Values: | Values: | ||
:*0: Allow level 1, 2 and 3 turrets | :*0: Allow level 1, 2 and 3 turrets | ||
Line 54: | Line 41: | ||
:*3: Restrict turrets | :*3: Restrict turrets | ||
}} | }} | ||
==Inputs== | ==Inputs== | ||
Line 73: | Line 57: | ||
{{IO|GetNFResources|Get the Northern Faction resources from OnGetNumber.|param=integer}} | {{IO|GetNFResources|Get the Northern Faction resources from OnGetNumber.|param=integer}} | ||
{{IO|GetBEResources|Get the Brenodi Empire resources from OnGetNumber.|param=integer}} | {{IO|GetBEResources|Get the Brenodi Empire resources from OnGetNumber.|param=integer}} | ||
==Outputs== | ==Outputs== | ||
Line 91: | Line 74: | ||
{{IO|OnGameOutcomeBEWin|Fires when BE wins the game.|param=void}} | {{IO|OnGameOutcomeBEWin|Fires when BE wins the game.|param=void}} | ||
{{IO|OnGameOutcomeBELose|Fires when BE loses the game.|param=void}} | {{IO|OnGameOutcomeBELose|Fires when BE loses the game.|param=void}} | ||
Revision as of 13:04, 13 July 2024
![]() |
---|
??? |
emp_info_params
is a point entity available in Empires. It contains various gameplay parameters and is a bridge for team-related IO.

Keyvalues
- Map Theme (skin) <choices>
- This is the setting/theme of the map and is only used to determine the camouflage that players wear.
Values:
- 0: Default
- 1: Woodland
- 2: Snow
- 3: Desert
- 4: Urban
- Research Starts Complete (AutoResearch) <choices>
- Setting this to 'Yes' will automatically research the Research Tree, both teams will have the research tree fully researched. You can also add or remove research items using the maps .cfg file for server side settings.
Values:
- 0: No
- 1: Yes
- Northern Faction Resources (NFRes) <integer>
- The amount of resources the Northern Faction team starts with.
- Brenodi Empire Resources (ImpRes) <integer>
- The amount of resources the Brenodi Empire team starts with.
- Northern Faction Reinforcements (NFReinf) <integer>
- The amount of reinforcements the Northern Faction team starts with.
- Brenodi Empire Reinforcements (ImpReinf) <integer>
- The amount of reinforcements the Brenodi Empire team starts with.
- Prevent NF Engineer Building (eng_restrict_NF) <choices>
- Select restrictions for the Northern Faction engineers from being able to build on this map.
Values:
- 0: No Restriction
- 1: Walls
- 2: Everything
- Prevent Brenodi Engineer Building (eng_restrict_Imp) <choices>
- Select restrictions for the Brenodi Empire engineers from being able to build on this map.
Values:
- 0: No Restriction
- 1: Walls
- 2: Everything
- Prevent turret building (turretRestrict) <choices>
- Select restrictions for the Brenodi Empire engineers from being able to build on this map.
Values:
- 0: Allow level 1, 2 and 3 turrets
- 1: Allow level 1 and 2 turrets
- 2: Allow level 1 turrets
- 3: Restrict turrets
Inputs
- InputNFWin <void>
- Input for Northern Faction winning.
- InputImpWin <void>
- Input for Brenodi Empire winning.
- SetNFTickets <integer >
- Set the Northern Faction tickets.
- SetBETickets <integer >
- Set the Brenodi Empire tickets.
- ModifyNFTickets <integer >
- Modify the Northern Faction tickets.
- ModifyBETickets <integer >
- Modify the Brenodi Empire tickets.
- SetNFResources <float >
- Set the Northern Faction resources.
- SetBEResources <float >
- Set the Brenodi Empire resources.
- ModifyNFResources <float >
- Modify the Northern Faction resources.
- ModifyBEResources <float >
- Modify the Brenodi Empire resources.
- GetNFTickets <integer >
- Get the Northern Faction tickets from OnGetNumber.
- GetBETickets <integer >
- Get the Brenodi Empire tickets from OnGetNumber.
- GetNFResources <integer >
- Get the Northern Faction resources from OnGetNumber.
- GetBEResources <integer >
- Get the Brenodi Empire resources from OnGetNumber.
Outputs
- OnGetNFTickets <integer >
- Outputs NF Tickets when requested.
- OnGetBETickets <integer >
- Outputs BE Tickets when requested.
- OnGetNFResources <integer >
- Outputs NF Resources when requested.
- OnGetBEResources <integer >
- Outputs BE Resources when requested.
OnWaitPhaseEnd <integer >- Deprecated.
Fires when the wait phase ends. Parameter is set to 1 if this map is a commander map.
- OnPhaseBeginTactics <void>
- Fires when the tactics phase begins or is skipped.
- OnPhaseBeginWait <void>
- Fires when the commander vote/player wait phase begins.
- OnPhaseBeginGame <void>
- Fires when the game begins.
- OnPhaseBeginInfSuddenDeath <void>
- Fires when infantry sudden death begins.
- OnPhaseBeginCVSuddenDeath <void>
- Fires when the CV sudden death begins.
- OnGameEnd <void>
- Fires when the game ends, one way or another.
- OnGameOutcomeNFWin <void>
- Fires when NF wins the game.
- OnGameOutcomeNFLose <void>
- Fires when NF loses the game.
- OnGameOutcomeBEWin <void>
- Fires when BE wins the game.
- OnGameOutcomeBELose <void>
- Fires when BE loses the game.