UFO-Scripts/basemangement.ufo
From UFO:AI
Contents |
[edit]
Bases
[edit]
Buildings
- name V_TRANSLATION_STRING
- The name of the aircraft for menu and lists
- image: V_STRING
- the image - relative to base/pics
- fixcosts: V_INT
- how much will this building costs?
- needs: V_STRING
- does this building needs a second building part (e.g. hangar)
- depends: V_STRING
- does this building needs another building to set up before
- more_than_one: V_BOOL
- are we able to set up more than one building of this type in one base?
- build_time: V_INT
- how many days the construction will last
- varcosts: V_INT
- mapname: V_STRING
- the mapname in base/maps/b
- pedia: V_STRING
- the pedia entry id (research id)
- firstbase: V_BOOL
- if this is true the building will automatically be assembled in the first base
- type: V_STRING
- hangar, lab, hospital, quarters, workshop
- pos: V_POS
- x and y values for the place in the first base
[edit]
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
}
[edit]
Aircraft
- speed V_FLOAT
- Speed of the aircraft on geoscape. 1.0 equals about 160 km/h.
- name V_TRANSLATION_STRING
- The name of the aircraft for menu and lists
[edit]
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
}
[edit]

