OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ram TN on 01 Sep 2002, 12:57:56
-
Yet another question by me ;D
I made a mission in which some enemies are hiding inside houses and look through the windows. Now there are lethal... only problem is, when they hear shots they immediatly lie down, and when they stand up again, they fall from the house! Not so lethal... So, my question is, can I make them stand up at all costs?
-
While we're at it... (no relation to the thread really, buy anyway) how can I add weapons to the gear menu at the briefing?
-
this setunitpos "up"
as for second dont really know
-
For the weapons in briefing, you need to add a "descrition.ext" file to your mission folder. In this you put entried for the weapons you want available.
Since the tutorial on the file is on the site, and therefore inaccessable. I shall put an example down in this thread.
[start example]
class Weapons
{
class M16GrenadeLauncher
{
count = 8
};
class M4
{
count = 8
};
class M60
{
count = 8
};
class HK
{
count = 8
};
class M21
{
count = 8
};
class LAWLauncher
{
count = 1
};
class MM1
{
count = 1
};
class G36a
{
count = 4
};
class XMS
{
count = 4
};
class Steyr
{
count = 4
};
};
class Magazines
{
class M16
{
count = 30
};
class GrenadeLauncher
{
count = 30
};
class M4
{
count = 60
};
class M60
{
count = 20
};
class HK
{
count = 20
};
class M21
{
count = 20
};
class LAWLauncher
{
count = 2
};
class MM1magazine
{
count = 20
};
class G36amag
{
count = 50
};
class SteyrMag
{
count = 50
};
};
[end example]
-
Thank you ;D