I added some weapons and made changes to hte game and everything worked fine. However, I then decided to add a newaircraft. I did thing before in the older UFO versions.
This time however, whenever I clock on their aircraft tab (in buy/sell) the game crashes stating that inter_starfire is not a known type.
tehy tpsye is set to interceptor tough.
I made the necessarsy meshes and placed them in appropriate folders, added hte craft to the research.ufo, models.ufo and aircraftmanagment.ufo.
Here:
*** aircrafttpyes***
aircraft craft_inter_starfire
{
param {
speed 18
maxspeed 24
shield 9
ecm 110
damage 500
accuracy 120
range 150
antimatter 100
}
name "_starfire-class Interceptor"
defaultname "_starfire"
type interceptor
model "geoscape/inter_starfire"
numteam 0
size 1
price 40000
building building_intercept
image "geoscape/air_interceptor"
slot {
type weapon
position nose_center
size medium
}
slot {
type weapon
position wing_left
size light
}
slot {
type weapon
position wing_right
size light
}
slot {
type electronics
position wing_left
}
slot {
type electronics
position wing_right
}
}
*** research***
tech rs_craft_inter_starfire
{
type craft
description {
default "_inter_starfire_txt"
}
pre_description {
default "_inter_starfire_pre_txt"
}
up_chapter crafts
mail_pre
{
from "_mail_from_paul_navarre"
to "_mail_to_base_commander"
// subject defined by "name"
icon icons/mail_tech
}
mail
{
from "_mail_from_paul_navarre"
to "_mail_to_base_commander"
// subject defined by "name"
icon icons/mail_tech
}
provides craft_inter_starfire
require_AND {
tech rs_craft_inter_dragon
}
time 15000
producetime 600
require_for_production
{
item alienmaterials 6000
item craft_alien_propulsion 2
item craft_alien_astrogation 1
item craft_alien_detection 2
}
mdl inter_starfire
}
**models ***
// ============== Starfire Interceptor ======================
menu_model inter_starfire_gear
{
model "aircraft/inter_starfire/starfire_gear"
}
menu_model inter_starfire
{
model "aircraft/inter_starfire/starfire_folded"
need "inter_starfire_gear"
}
menu_model inter_starfire_flying
{
model "aircraft/inter_starfire/starfire"
}
What the hell could be causing this weird error?