OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Baphomet on 17 Oct 2002, 04:08:57
-
Does anyone know the internal names for all the structures in OFP? I'm trying to write a script where you can place certain buildings down like sandbags... pitch medical tents... etc. I don't really know the names of these structures or others that might be useful. If you happen to know where I could get my hands on some info regarding them, or if you happen to have a list of them kicking around. I'd appreciate the help.
-
you just need to place the objects on a empty map, save it then open the mission.sqm in a text editor and you see something like this
class Item0
{
position[]={9883.478516,26.730000,4080.480957};
id=1;
side="EMPTY";
vehicle="MASH";
leader=1;
skill=0.600000;
vehicle="MASH"; is the name of the object,just to get you started "mash" is a feild hospital and "fencewood" is a sandbag wall.
-
Great. I hadn't thought of that. Thanks.