OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 16 Apr 2005, 20:29:12

Title: where are the doors?
Post by: bedges on 16 Apr 2005, 20:29:12
i have this Command HQ E military building here, and it has doors in it.

in this comref here i see the object animate [animation, phase] command.

i wonder to myself - where's the config file for the objects in the editor?

and if any of you feel like being eeextra helpful, what's the animation and phase for that particular building?
Title: Re:where are the doors?
Post by: Planck on 16 Apr 2005, 21:21:26
That particular model might have doors, but can you open and close them or are they permanently open?

Anyway, the model name is budova4_in and it resides in data3d.pbo.

There are no memory points assigned to the doors for animation in the model and the config entry for it in the game config doesn't list any animations or actions for it.

Code: [Select]
class Barracks:Shed
      {
      scope=1;
      side=3;
      vehicleClass="Objects";
      icon="Unknown_object";
      model="budova4_in";
      displayName="$STR_DN_BARRACKS";
      simulation="house";
      mapSize=15.3999996;
      };


Bet that wasn't too helpful was it  :'(


Planck
Title: Re:where are the doors?
Post by: bedges on 16 Apr 2005, 21:28:39
hmmm, they did look quite stuck, and no action menu options pop up when nearby.

thanks for pointing me in the right direction though sir, much obliged :)