Home   Help Search Login Register  

Author Topic: Now another different error  (Read 1067 times)

0 Members and 1 Guest are viewing this topic.

Cpl. Vagabond

  • Guest
Now another different error
« on: 29 Oct 2003, 10:47:17 »
i have proxies down on my model but when you get in as pilot/gunner/passenger it doesn't work and your just put @ the centre of the retreval ship

do i have to give each proxy a selection name???
« Last Edit: 29 Oct 2003, 13:41:46 by Cpl. Vagabond »

Offline Colonel_Klink

  • Members
  • *
  • Independent Addon Creator
    • DC3D Game Modelling Zone
Re:Proxies aren't working
« Reply #1 on: 29 Oct 2003, 11:49:15 »
Yes you do.
Driver/Pilot would be proxy:driver.01
gunner would be Proxy:gunner.01
cargo would be  Proxy:cargo.01, Proxy:cargo.02, Proxy:cargo.03, Proxy:cargo.04. etc depending upon number of passengers.

Now variations of this would be if you use different vehicle drivers/gunners/cargo for your proxies example UH60Pilot would be proxy:uh60pilot.01.

A lot of the BIS vehicles have their own proxy driver/gunner/cargo variations. so it pays to know what you are actually going to use in your config.cpp as far as the manactdriver, manactgunner, etc properties as this will determine where the driver/gunner/cargo will be in the addon in OFP.
Hope this helps.
Rebel without a pause...D.I.L.L.I.G.A.F.

Cpl. Vagabond

  • Guest
Re:Proxies aren't working
« Reply #2 on: 29 Oct 2003, 11:51:35 »
ok i'll try it now, they were named already it's something i missed in the config

Cpl. Vagabond

  • Guest
Re:Proxies aren't working
« Reply #3 on: 29 Oct 2003, 11:55:32 »
Quote
manactdriver, manactgunner


wats that??? i'm not great @ configs, if i post my config do you think you can help me with it?


Quote
//Retreival Ship made by cpl.vagabond
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2


class CfgPatches
{
        class rs
        {
                units[] = {rs};
                weapons[] = {};
                requiredVersion = 1.75;
        };
};

class CfgVehicles
{
        class All {};
        class AllVehicles: All {};
        class Air: AllVehicles {};
        class Helicopter: Air {};
        class UH60: Helicopter {};
        class rs: UH60
        {

      scope=public;
      crew = SoldierWPilot;
      picture=\sst_Dropship\drpicon.paa;
      icon = \sst_Dropship\drpicon1.paa;
      side=TWest;
                vehicleClass="SST - Vehicles";
      displayName=Retrieval Ship;
      enableSweep=1;
      soundEngine[]={\vag_retship\engine.wav,db+20,1};
      driverAction = ManActUH60Pilot;
      gunnerAction = ManActUH60Pilot;
      maxSpeed=450;
      irTarget=1;
      irScanRange=13000;
      irScanGround=1;
      hasDriver =1;
      driverIsCommander=true;
      typicalCargo[]={};
      transportSoldier = 4;
      hasGunner=1;
      driverCanSee=CanSeeAll;
      gunnerOpticsModel = "optika_heli_gunner";
         getInRadius=10;
      minFireTime=20;
      armor=100;
      armorGlass=0.100000;
      armorEngine=0.900000;
      cost=100000;
      model="\vag_retship\rs";
      animated=1;

      class Animations
      {
         class door1
         {
            type="rotation";
            animPeriod=5;
            selection="door1";
            axis="axisdoor1";
            angle0=0;
            angle1=0;
         };
         class door2
         {
            type="rotation";
            animPeriod=5;
            selection="door2";
            axis="axisdoor2";
            angle0=-0;
            angle1=0;
         };
         class canopy
         {
            type="rotation";
            animPeriod=5;
            selection="canopy";
            axis="axiscanopy";
            angle0=0;
            angle1=0;
         };
      };

   
      class UserActions
      {
      
         class Opendoor1
         {
            displayName="Lower Ramp";
            position="pos_door1";
            radius=8.000000;
            condition="this animationPhase ""door1"" < 0.5";
            statement="this animate [""door1"", 1]";
         };
         
         class Closedoor1
         {
            displayName="Raise Ramp";
            position="pos_door1";
            radius=8.000000;
            condition="this animationPhase ""door1"" >= 0.5";
            statement="this animate [""door1"", 0]";
         };
         class Opendoor2
         {
            displayName="Lower Ramp";
            position="pos_door2";
            radius=8.000000;
            condition="this animationPhase ""door2"" < 0.5";
            statement="this animate [""door2"", 1]";
         };
         
         class Closedoor2
         {
            displayName="Raise Ramp";
            position="pos_door2";
            radius=8.000000;
            condition="this animationPhase ""door2"" >= 0.5";
            statement="this animate [""door2"", 0]";
         };
         class Opencanopy
         {
            displayName="Open Canopy";
            position="pos_canopy";
            radius=8.000000;
            condition="this animationPhase ""canopy"" < 0.5";
            statement="this animate [""canopy"", 1]";
         };
         
         class Closecanopy
         {
            displayName="Close Canopy";
            position="pos_canopy";
            radius=8.000000;
            condition="this animationPhase ""canopy"" >= 0.5";
            statement="this animate [""canopy"", 0]";
         };

        };
};
};

Cpl. Vagabond

  • Guest
Re:Proxies aren't working
« Reply #4 on: 29 Oct 2003, 12:17:16 »
if you guys dun wanna do it for me please tell me what i need to add into my config to define which proxy is used for cargo/pilot/gunner

Cpl. Vagabond

  • Guest
Re:Proxies aren't working
« Reply #5 on: 29 Oct 2003, 13:41:15 »
ok i just realised the proxy's are working but, you can see the pilot/gunner/cargo but, when you switch to first person view you can't see anything, like you've been put into middle of the ship, does anyone know whats wrong, i've done the view - pilot/gunner/cargo LODs

i think the best way to describe it is that the camera isn't looking through the guys eyes, because the guys are sitting in the right place but the camera is @ the middle of the ship
« Last Edit: 29 Oct 2003, 13:42:56 by Cpl. Vagabond »

Cpl. Vagabond

  • Guest
Re:Now another different error
« Reply #6 on: 29 Oct 2003, 15:08:58 »
i found another error the shadows ain't showing up and when flying @ low level i found that to be lethal...does anyone know how i can get the shadows to show up?