OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Mountain on 29 Dec 2003, 00:40:54

Title: Change Default Crew
Post by: Mountain on 29 Dec 2003, 00:40:54
I have searched high and low but I can't seem to find where in the pbo I would change the default crew of a vehicle. In the config.cpp they have typical cargo but changing that seemed to have no affect.

For example, in a hmmwv instead of having the BIS soldier, I'd like to have a BAS ranger as the default, instead of having to change it each time with moveindriver/assignasdriver init commands.

Is this possible?
Thanks!
Title: Re:Change Default Crew
Post by: scud on 29 Dec 2003, 01:28:55

in the cpp file
under class cfgvehicles
you should find
eg:   crew="mtbgunner";
replace the "mtbgunner" with the unit you require
Title: Re:Change Default Crew
Post by: Mountain on 29 Dec 2003, 01:55:17
Thank you very much, that worked perfectly! I have since learned that if crew= is not included, it automatically defaults to the basic BIS soldier which is what was occuring.