OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bobthealmighty on 17 Feb 2004, 22:53:04

Title: Helps
Post by: Bobthealmighty on 17 Feb 2004, 22:53:04
This may sound stupid, but i've looked through alot of stuff and can't find a way so that at the start of a mission it gives you the option of choosing you and yuor squads weapons. Please help???
Title: Re:Helps
Post by: Loup-Garou on 17 Feb 2004, 23:02:24
SIMPLE  ;D !!!

First, you must be the squad leader (or alone). Second, in your mission folder you must have a text file named description.ext. This file can a certain number of things, but for weapons and ammo it's (example) :

//type commentaries here

class Weapons
{
class Binocular
{
count = 2;
};
class M21
{
count = 1;
};
};

//and the ammo

class Magazines
{
class M21
{
count = 9;
};
};



DONE ! :toocool:
Title: Re:Helps
Post by: macguba on 18 Feb 2004, 01:07:55
There are tutorials on description.ext in the Ed Depot.    And/or you can download the Tutorial Mission and use the description.ext in there as a template.      You'll also need the weapons and ammo listing from tutorials - references.
Title: Re:Helps
Post by: Loup-Garou on 19 Feb 2004, 14:42:24
Hi, bob. If everything work, do not forget to solve your topic (little thing in bottom left of the topic).  ;D
Title: Re:Helps
Post by: rhysduk on 19 Feb 2004, 19:37:29
May i suggest that you go download CHOFPSE, its ana mazing tool for OFP..

Description.Ext files will be a breeze when adding weapons and mags .. and a few other things...

http://www.chenderman.com/CHOFPSE.htm ..

Rhys
Title: Re:Helps
Post by: myke13021 on 20 Feb 2004, 04:27:17
i agree with rhysduk

CHOFPSE is an easy to use script editor which gives you also a few very helpful wizards at hand.
Especially the Briefing, Overview and Description Wizards are a great help. Give it a try and i'll bet you'll love it.