mcnools 62 Posted July 6, 2010 I've just started making some missions with OA, and I notice that there are hardly any civilians out there when I place the ambient civilians module, sometimes I can only find like one person in a city, usually inside a house. In regular ArmA2, there was usually a lot more civilians than this. I tried looking through the forum to find a way to increase the number of civilians, and I found this command: BIS_alice_mainscope setvariable ["civilianCount","round (%1 / 10)"]; But I couldn't really understand how to actually set it to increase the amount of civilians, I tried experimenting a little, but it didn't seem to make any difference. Share this post Link to post Share on other sites
Joshii 10 Posted July 6, 2010 formula on which basis system calculates number of civilians for locations. %1 is number of buildings with door (memory points called "AIDoor1", "AIDoor2", ...) in 500 metres from location. So let's say there are 25 doors in 500 meters radius. round (25/ 10) = round 2,5 = 3 civilians. Default value (and recommended): "round (2 * (sqrt %1))" this is the default and this would mean sqrt 25 = 5 = (2*5) = round 10 = 10. However you could just BIS_alice_mainscope setvariable ["civilianCount",25]; to put 25 there I guess. Share this post Link to post Share on other sites
mcnools 62 Posted July 6, 2010 Hm, doesn't seem to work, I even put BIS_alice_mainscope setvariable ["civilianCount",125]; but I couldn't even find any civilians. You just have to place the ambient civilians module on the map right? there's nothing else you need to do to activate it properly? Because I have seen some civilians spawned by it, but it seems to be rare. Share this post Link to post Share on other sites
imutep 0 Posted July 6, 2010 The civilians modul works atm only good with town generator modul :) Share this post Link to post Share on other sites
Muzzleflash 111 Posted July 6, 2010 You have to write the equation used as a string. Instead of 25 or 125 you have to write "25" or "125" or "NICE_EQUATION_IN_QUOTES_HERE". I've read that it is currently very buggy in multiplayer, constant spawning/despawning. It works fine and great for me in singleplayer with default settings though. Strangely it doesn't work at all with the civilian vehicles module. Then only the vehicles spawn. Share this post Link to post Share on other sites
mcnools 62 Posted July 6, 2010 You have to write the equation used as a string. Instead of 25 or 125 you have to write "25" or "125" or "NICE_EQUATION_IN_QUOTES_HERE".I've read that it is currently very buggy in multiplayer, constant spawning/despawning. It works fine and great for me in singleplayer with default settings though. Strangely it doesn't work at all with the civilian vehicles module. Then only the vehicles spawn. Looks like that did the trick, thanks man. Most civilians seem to prefer the indoors though. Share this post Link to post Share on other sites
victim913 10 Posted July 10, 2010 I'm kind of confused here. Does the ambient civilians module work or not? I keep trying to use it on Zargabad and I never see any civilians. The vehcles module works but no civilians. Also I have two of them Ambient civilian module and Ambient civilian module(expansion). OA is an expansion for arma2 but, arma2 is set as expansion in the game?:confused: I tried using what you coded up there earlier in thread but I get no results. Possibly putting civilians on the map, cause it not to work? I think it actually worked the very first time I tried it but after making a mission it doesn't work. I try to recreate what i did, but nothing. Share this post Link to post Share on other sites
f2k sel 164 Posted July 10, 2010 Could be the syntax is wrong. Try this BIS_alice_mainscope setVariable ["civilianCount","143"] Share this post Link to post Share on other sites
Muzzleflash 111 Posted July 10, 2010 I'm kind of confused here. Does the ambient civilians module work or not? I keep trying to use it on Zargabad and I never see any civilians. The vehcles module works but no civilians. I can't get it working with the vehicles module active. Without the vehicle module the civilian module works in SP for me. Dunno about MP. Share this post Link to post Share on other sites
Devil Dogs SF 13 Posted July 10, 2010 Civilians work for me on Takistan, both in pre-set towns and using the town generator. Share this post Link to post Share on other sites
victim913 10 Posted July 11, 2010 (edited) I got it working on a new mission with only me. It works......BUT....2 things #1. And i just tried the code you guys have and it doesn't do anything so i changed the init line to say: this setVariable ["civilianCount","143"] instead of BIS_alice_mainscope setVariable ["civilianCount","143"] #2. I have Ambient Civilians (expansion) on both maps. The new map says "CA_Modules_Alice2" in the sqm under addons and "CA_Modules_Alice2" under addon auto But the original map is exactly the same BUT the sqm says "CA_Modules_Alice", and the addonsauto says "CA_Modules_Alice2" So why aren't they the same? I can manually change it but does anyone have any idea why it won't save as the OA one? Thanks for the help thanks for the help EDIT: WAIT A MINUTE! I found the issue. (I think) Edited July 11, 2010 by victim913 Share this post Link to post Share on other sites
e0s888 10 Posted August 8, 2010 Hehe I have the same problem... I am waiting for your idea ;) ---------- Post added at 12:43 AM ---------- Previous post was at 12:42 AM ---------- ????? Share this post Link to post Share on other sites
Militant1006 11 Posted August 8, 2010 I'm kind of confused here. Does the ambient civilians module work or not? I keep trying to use it on Zargabad and I never see any civilians. The vehcles module works but no civilians.Also I have two of them Ambient civilian module and Ambient civilian module(expansion). OA is an expansion for arma2 but, arma2 is set as expansion in the game?:confused: I tried using what you coded up there earlier in thread but I get no results. Possibly putting civilians on the map, cause it not to work? I think it actually worked the very first time I tried it but after making a mission it doesn't work. I try to recreate what i did, but nothing. victim you shouldn't have both the Ambient civilian Modules on the map because the Expansion one adds Takistani civs, but the regular one was designed for ArmA 2 and adds Chernarussian civs only. Share this post Link to post Share on other sites
fatty86 10 Posted September 8, 2010 Anyone finding this module does not populate certain towns? For instance, I have not been able to get any civilians to spawn in Shukurkalay on Takistan. Share this post Link to post Share on other sites
Decerto 10 Posted September 9, 2010 I use the Civilians Expansion module, synch it to me, and it works great. Share this post Link to post Share on other sites
b00tsy 28 Posted September 9, 2010 Looks like that did the trick, thanks man.Most civilians seem to prefer the indoors though. Experiencing the same. I stoped using the module as it adds lag without a good result (visible civils). I just place triggers on the map now that spawns civils outside of buildings when bluefor comes in range and a trigger to delete them when bluefor is gone. They only do not move around much this way, need to figure out how to add scripted waypoints with markers. Share this post Link to post Share on other sites
fatty86 10 Posted September 9, 2010 I'd like to see if anyone else can reproduce this. I put down myself as a playable unit, place a large (300m radius) trigger for detecting civilians present, then onAct hint "Civilians detected!"; I then place a ambient civilian expansion module on the map and go to various towns. Some, like Feruz Abad, trip the trigger almost instantly. Others take a few seconds. Some, like Shukurkalay, never seem to spawn any civilians at all. Share this post Link to post Share on other sites