2.8定义适用于2.7模组(人口增长错误修复)(2.8 defines for 2.7 mods (pop growth bug fix)) mod | 群星
这个mod的名称是"2.8 defines for 2.7 mods (pop growth bug fix)",它为一些2.7的mod添加了2.8的定义。这个mod的作用是修复一个叫做"pop growth bug"的问题,即新的人口不会出生,并且进度条超过100,如果有一个覆盖了整个"00_defines.txt"文件的过时mod存在的话。这个mod不会更新到3.0版本,因为它只服务于一个非常特定的目的。这个修复只是添加了一些可能缺失的定义,而不是覆盖整个"00_defines.txt"文件,因此它是通用兼容的,适用于任何破坏了定义的过时mod。使用方法是将这个mod放在任何过时mod的下面即可。mod文件内容如下:
common/defines/zzzzzzzzzzzz_definesfix_defines.txt:
```html
NGameplay = {
SPAWN_SYSTEM_BUFFER_DISTANCE = 10.0 # Systems created via spawn_system will not spawn within this distance to another system unless there really is no space for them to not do so
SPAWN_SYSTEM_ATTEMPTS = 15 # Number of times the game will try and find a location for a system created via spawn_system before it defaults to the center of the galaxy. Note: The last two tries ignore SPAWN_SYSTEM_BUFFER_DISTANCE
}
NPop = {
OVERCROWDING_NO_GROWTH_THRESHOLD = 1.15 # At this amount of overcrowding (required housing / actual housing), growth stops entirely
OVERCROWDING_DECLINE_THRESHOLD = 1.25 # At this amount of overcrowding (required housing / actual housing), pops start declining
OVERCROWDING_ABSOLUTE_THRESHOLD_FOR_NO_GROWTH = 5 # Planet needs this amount of overcrowding (required housing - actual housing) for OVERCROWDING_NO_GROWTH_THRESHOLD to kick in
MAX_NUM_GROWTH_OR_DECLINE_PER_MONTH = 10 # No more than this amount of pops can grow, assemble or decline in the same month
}
NAI = {
CRISIS_MILITARY_AGGRESSIVENESS = 2 # aggressiveness of crisis empires. This works the saame as the value in personalities (but crisis don't have personalities, and were using the default "1"
CRISIS_CONSTRUCTOR_TARGET_SCORE = 3 # extra score for crisis defending constructor ships
SLAVE_SELL_MIN_POPS = 1 # do not sell slaves from this planet if it has this amount of pops, or less
SWARM_NUM_DEFENSIVE_FLEETS = 3
CONTINGENCY_LINKUP_DESIRE = 10 # how much the contingency wants to link up its various hubs
CONTINGENCY_BASE_DEFENSIVE_FLEETS = 4 # Number of active hubs is added to this
CONTINGENCY_CONSTRUCTION_DEPTH = 3 # Number of systems not owned by the contingency construction fleet are willing to go through
FLEET_MAX_DISTANCE_LOOKUP = 20 # Maximum number of hops the fleet AI should consider when assigning mission. If no objective is found, the backup AI will send it to the closest objective available, or back to base.
FLEET_MAX_DISTANCE_LOOKUP_LARGE = 30 # Maximum number of hops the fleet AI should consider when assigning mission on a large map (800 systems or more).
FLEET_MAX_DISTANCE_LOOKUP_HUGE = 50 # Maximum number of hops the fleet AI should consider when assigning mission on a large map (1000 systems or more)
CRISIS_INHIBITOR_EXTRA_VALUE = 10 # extra incentive for crisis to destroy inhibitors, currently only used by the extra dimensionals
AI_FOLLOW_FLEET_DESIRE = 5 # AI desire to follow "take point" fleets from random people
AI_FOLLOW_WAR_LEADER_DESIRE = 10 # AI desire to follow "take point" fleets from the war leader
}
```
如果想查看作者的其他mod,可以点击此处。