2 posts / 0 new
Last post
Anonymous
Random Camps v0.2

This mission is to show the uses of the crB_SetupCamps.sqf script by Wolffy.au & Andy455


It includes the three types of encampment (East, West & Resistance) plus map click teleprot and free look camera options. NOTE! This script in its current form uses the RelaxedAI script by Wolffy.au



Usage:


To use this script in a mission you will first need to download this script and also the RelaxedAI by Wolffy.au if you would like the functionality, then head to the editor and place an object and inside that object's initialization field you must put: _camp = [(getPos this),"EAST"] execVM "crB_scripts\SetupCamps.sqf";


The first parameter is the position that the camp will spawn at, the second parameter is the side of camp ("EAST", "WEST" or "RESISTANCE"). The above example will spawn a camp of side "EAST" on the objects position.


 


Changelog:


-- v0.2 --
Added: support for different sides (east, west & resistance) for the camps.
Fixed: reduced number of vehicles / units slightly
Added: Option to disable use of RelaxedAI script




-- v0.1 --
Added: map click teleport.
Added: free look camera.
Fixed: player now invincible & captive
Added: Working implementation of SetupCamps behaviour


 


Thanks to:


Wolffy.au for creating the orginal script for Arma.


Andy455 for converting script to Arma 2 + modifying code


Visit us a http://creoBellum.org

AttachmentSize
crB_SetupCampDemo_v0_2.utes_.zip7.52 KB
Wolffy.au
Offline
Joined: 24/06/2009
I'll have a look at this in a

I'll have a look at this in a day or two. Hopefully I'll find the time to release Odin's modified randomGroup code, which is multi-factions now - and then integrate it back into this script to automate squad and vehicle creation.

 
Original Design by Gary Storey