Home   Help Search Login Register  

Author Topic: Internal names for structures...  (Read 891 times)

0 Members and 1 Guest are viewing this topic.

Baphomet

  • Guest
Internal names for structures...
« 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.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Internal names for structures...
« Reply #1 on: 17 Oct 2002, 10:33:29 »
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.


Baphomet

  • Guest
Re:Internal names for structures...
« Reply #2 on: 17 Oct 2002, 14:54:11 »
Great. I hadn't thought of that. Thanks.