OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GLP on 07 Feb 2003, 19:34:48

Title: Adding 3rd party addon weapons
Post by: GLP on 07 Feb 2003, 19:34:48
Is it possible to add "addon" weapons like the "pulse rifle" to your units/squads?
Title: Re:Adding 3rd party addon weapons
Post by: dmakatra on 07 Feb 2003, 19:55:02
If you want em as a start troop you have to edit them, and I donÂ't think you have any idea of how to do that. If you do, ask in addons forum.

Otherwise, take a regular guy and write in the init field:

removallweapons this; this addmagazine "NameOfMagazine"; this addweapon "NameOfWeapon"

Copy + paste the addmagazine command so many times you want the guy to have that much magazines.

Remember to addmagazine the guy before addweapon him.