1
0
Fork 0

Carriers; support for island textures

This commit is contained in:
Richard Harrison 2021-10-18 18:12:11 +02:00
parent 533791d53a
commit 138a678a30

View file

@ -454,6 +454,8 @@ void FGAICarrier::bind(){
props->setBoolValue("controls/crew", false); props->setBoolValue("controls/crew", false);
props->setStringValue("navaids/tacan/channel-ID", _TACAN_channel_id.c_str()); props->setStringValue("navaids/tacan/channel-ID", _TACAN_channel_id.c_str());
props->setStringValue("sign", _sign.c_str()); props->setStringValue("sign", _sign.c_str());
std::string island_texture = "island_" + _sign + ".jpg";
props->setStringValue("island_texture", island_texture.c_str());
props->setBoolValue("controls/lighting/deck-lights", false); props->setBoolValue("controls/lighting/deck-lights", false);
props->setDoubleValue("controls/lighting/flood-lights-red-norm", 0); props->setDoubleValue("controls/lighting/flood-lights-red-norm", 0);