Author: MAD T
Author Website: http://www.NSS-Gamers.com

Requirements: none

Version: 1.01

Short description: Currently it features civilians wandering around and cars driving around.

Date: 2013-10-15 13:51


Comments: (3)
Rating:



 

MAD Ambient Life - (SP/MP)

by
MAD T


Description:
I´m releasing my Ambient Life scripts (Demo mission and scripts in the download link). Currently it features civilians wandering around and cars driving around. Animals will come soon as well as exclusion zones with triggers where you don´t want to have civilians walking or cars driving.

It is a derivative work of TPW´s scripts and uses some code of it though the script works completly different in many ways and is dedicated server compatible. I want to thank TPW for his work without him this would not be possible.


Installation / Usage:
If you want to use the scripts in your mission copy MAD_civilians.sqf or MAD_traffic.sqf to your missions folder.
You have to call them like this in your init.sqf.

For civilians:
[10, 500, 10] execVM "MAD_civilians.sqf";
First parameter is numbers of civs around the player, second is the radius (used for spawning and despawning) and last one is for how many waypoints a civlian has. Script needs to run on both, client and server.

For Traffic:
[5, 500, 1000] execVM "MAD_traffic.sqf";
First parameter is number of vehicles around the player, second is the min spawn radius (vehicles spawn that far from the player) and the last one is the despawn radrius. Script needs to run on both, client and server.


Known issues:
Function names are still a bit sloopy and it currently lacks some features. Parts of it might change in the future.


Credits & Thanks:
tpw - for his TPW MODS which gave the impression of creating this
Bigi, Nikonov and Mantis - for testing


Changelog:
v1.01
- fixed singleplayer bug

v1
- first public release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Ambient,   Civilians,   Life