UFO-Scripts/equipment.ufo

From UFO:AI
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

General

With equipment definitions you can define various weapon and item pools, that can be used for each campaign or mission.

Example

equipment replaceme
{
	assault	        2
	assault_ammo	4
	smg	        2
	smg_ammo	4
}

This will define an equipment pool with 2 weapons and the appropriate ammo. replaceme will be the id you need to know if you want to access this definition in e.g. a campaign definition.

Skirmish/MP Menus

In the skirmish (and someday the MP menu as well), players can select their equipment set. For this reason, you can also add a name parameter to your equipment definition. The example above could be:

equipment replaceme
{
	name "_Assault Rifle and SMG"
	assault	        2
	assault_ammo	4
	smg	        2
	smg_ammo	4
}


Links