City activation and civilians' presence #1429
-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello,
There is only one civilian per entrerable house in the range of So the total number of civilian depend one:
I don't know in your case which one limit the spawning but most of the time is the city radius because some map maker pourly define it like in Lythium (#753). You can see if it is the issue by enable debug and look at
Just replace Cheers |
Beta Was this translation helpful? Give feedback.
Hello,
There is only one civilian per entrerable house in the range of
_spawningRadius/3
First we get houses:
https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/city/activate.sqf#L131
Then we populate:
https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/city/activate.sqf#L160
You can notice the number of civilian also depend on the type of city
So the total number of civilian depend one:
_spawningRadius = _cachingRadius/2
I don't know in your case which one limit the spa…