UFO-Scripts/basemangement.ufo

From UFO:AI

Contents

Bases


Buildings

The name of the aircraft for menu and lists
the image - relative to base/pics
how much will this building costs?
does this building needs a second building part (e.g. hangar)
does this building needs another building to set up before
are we able to set up more than one building of this type in one base?
how many days the construction will last
the mapname in base/maps/b
the pedia entry id (research id)
if this is true the building will automatically be assembled in the first base
hangar, lab, hospital, quarters, workshop
x and y values for the place in the first base

Example

building building_hangar
{
	name		"_Hangar"
	image		base/drop2
	fixcosts	800000
	needs		building_hangar2
	depends		building_quarters
	more_than_one	true
	build_time	6
	varcosts	50
	map_name	"drop"
	pedia		rs_building_hangar
	firstbase	true
	type	hangar
	pos		"1 3"
}

building building_hangar2
{
	name		"_Hangar"
	image		base/drop1
	fixcosts	800000
	more_than_one	true
	depends		building_quarters
	visible		false
	build_time	6
	varcosts	50
	pedia		rs_building_hangar
}

Aircraft

Speed of the aircraft on geoscape. 1.0 equals about 160 km/h.
The name of the aircraft for menu and lists

Example

aircraft craft_dropship
{
	speed	10.0
	name	"_Dropship"
	type	transporter
	model	"dropship"
	price	100000
	building	building_hangar
	size	8
	fuel	100000
	fuelsize	100000
	image	air_dropship
}

Links

project-navigation