OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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???
-
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:
-
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.
-
Hi, bob. If everything work, do not forget to solve your topic (little thing in bottom left of the topic). ;D
-
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
-
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.