Emp info params: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
No edit summary
Line 47: Line 47:


== Inputs ==
== Inputs ==
    InputNFWin : "Input for Northern Faction winning."
*InputNFWin
    InputImpWin : "Input for Brenodi Empire winning."
*;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 ==
*OnGetNumber <integer>
*;Outputs the requested number.


[[Category:Entity|Empires Parameters]]
[[Category:Entity|Empires Parameters]]

Revision as of 21:11, 15 April 2009

Description

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

"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.

               0 : "No"
               1 : "Yes"

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

               0 : "Default"
               1 : "Woodland"
               2 : "Snow"
               3 : "Desert"
               4 : "Urban"
               5 : "Custom"
               6 : "Custom" (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.

               0 : "No"
               1 : "Yes"

"Northern Faction Resources" The amount of resources the Northern Faction team starts with.

               <value>(standard: 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.

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

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

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

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

  • OnGetNumber <integer>
    Outputs the requested number.