Renamed two configuration settings to clarify their purpose.
BirdsModuleStartup -> BirdsModuleEnabled and BirdsEnabled -> BirdsShowOnStartuppull/1/head
parent
47d3ea8f59
commit
2e06c0b2d8
|
@ -137,12 +137,12 @@ namespace Flocking
|
|||
}
|
||||
}
|
||||
|
||||
m_startup = cnf.GetBoolean("BirdsModuleStartup", false);
|
||||
m_startup = cnf.GetBoolean("BirdsModuleEnabled", false);
|
||||
|
||||
if (m_startup)
|
||||
{
|
||||
m_scene = scene;
|
||||
m_enabled = cnf.GetBoolean("BirdsEnabled", false);
|
||||
m_enabled = cnf.GetBoolean("BirdsShowOnStartup", false);
|
||||
m_chatChannel = cnf.GetInt("BirdsChatChannel", 118);
|
||||
m_birdPrim = cnf.GetString("BirdsPrim", "birdPrim");
|
||||
m_flockSize = cnf.GetInt("BirdsFlockSize", 20);
|
||||
|
|
|
@ -60,8 +60,8 @@ Here is an example config:
|
|||
|
||||
[Test Region 1]
|
||||
|
||||
BirdsModuleStartup = True ;this is the default and determines whether the module does anything
|
||||
BirdsEnabled = True ;set to false to disable the birds from appearing in this region
|
||||
BirdsModuleEnabled = True ;this is the default and determines whether the module does anything
|
||||
BirdsShowOnStartup = True ;set to false to disable the birds from appearing in this region
|
||||
BirdsFlockSize = 50 ;the number of birds to flock
|
||||
BirdsMaxFlockSize = 100 ;the maximum flock size that can be created (keeps things sane)
|
||||
BirdsMaxSpeed = 3 ;how far each bird can travel per update
|
||||
|
|
Loading…
Reference in New Issue