Home   Help Search Login Register  

Author Topic: CfgNonAIVehicles.. What does it do?  (Read 1253 times)

0 Members and 1 Guest are viewing this topic.

Offline Colonel_Klink

  • Members
  • *
  • Independent Addon Creator
    • DC3D Game Modelling Zone
CfgNonAIVehicles.. What does it do?
« on: 22 Sep 2002, 11:30:03 »
Hi Guys

I've been trying all weekend to get a proxy to appear in my new model. I've had a few requests for the diplomatic version of the Lincoln (for all you guys who have dastardly assassination plots in mind). ;D. It is ready for release except for one thing. I can't get the animated flags to appear on the car. Static ones included as part of the car model , no problem, but cheerful flapping proxy type ones, no go!

Here is the CfgNonAIVehicles section of my config.cpp.


class CfgNonAIVehicles
{
   class ProxyFlag
   {
      autocenter=false; // normal vehicle are autocentered
      scope=public;
      reversed=false;
      model = "";
      simulation = "flag";
   };
class proxyFlag_Auto:ProxyFlag{};
class ProxyCWKFlag : proxyFlag_Auto{model = "\lincoln\cwkflag";}
// CWKFlag is the name of the p3d model and the name of the proxy in the model file
// "\lincoln\cwkflag";} is the path
};


I have noticed that the flag on jeeps only appears in CTF missions and needs to be scripted. Is there a way around this?
Thanks
Colone_Klink
« Last Edit: 22 Sep 2002, 11:34:12 by Colonel_Klink »
Rebel without a pause...D.I.L.L.I.G.A.F.