Carriers; support for island textures
This commit is contained in:
parent
533791d53a
commit
138a678a30
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue