OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 31 Jul 2004, 00:04:15

Title: arming civilians
Post by: gadolinite on 31 Jul 2004, 00:04:15
Before a mission starts, how do you give a loaded kozlice and kozlice balls and shells to a civilian?  I need it to show in the weapon pool (gear and stuff) that the civialians have the kozlice and shotgun shells for it.
Title: Re:arming civilians
Post by: macguba on 31 Jul 2004, 00:06:55
Write in the init line of the unit

this addmagazine "blagMag"; this addweapon "blag"

where blag and blagmag are the appropriate things from the weapons and ammo listing in the Ed Depot - tutes - references.

Civvies can carry only primary weapons, handguns, and optics:  they cannot weapons requiring a secondary weapon slot such as MGs and LAWs.
Title: Re:arming civilians
Post by: minimilo on 31 Jul 2004, 20:59:41
on this subject, when arming civilians, they attack who ever the resistance are unfriendley to (say east) but the east dont shoot back, hot do i stop this
Title: Re:arming civilians
Post by: PaulRPG on 31 Jul 2004, 22:33:47
you have to set the side to west cause the east will try to eat em up
Title: Re:arming civilians
Post by: ryankaplan on 31 Jul 2004, 23:00:50
with the each civilian group crate one unit that is a west soldier with a rank of naything higher than the highest of the civilian group. press F2 and then join the american soldier to these civis. then on the unit screen of the west soldier set his probabilty of existence to 0.

this way the east will attack the civies as they are on the west side.

hope this helps