Home   Help Search Login Register  

Author Topic: mg on bike? how can i shoot?  (Read 1331 times)

0 Members and 1 Guest are viewing this topic.

waldo

  • Guest
mg on bike? how can i shoot?
« on: 07 Oct 2002, 22:51:09 »
(i have no idea what im dooing) i want to edit the suzuki addon, to have a mg. so i put..
Code: [Select]
// some basic defines
#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

// type scope
#define private 0
#define protected 1
#define public 2

class CfgPatches
{
   class BTBW_Suzukig
   {
      units[]={"BTBW_Suzukig"};
      weapons[]={};
      requiredVersion=1.750000;
   };
};

class CfgModels
{
   class Default {};
   class Vehicle: Default {};
   class Car: Vehicle {};
   class BTBW_Suzukig: Car {};
};
class cfgVehicles
{
   class All {};
   class AllVehicles: All {};
   class Land: AllVehicles {};
   class LandVehicle: Land {};
   class Motorcycle: LandVehicle {};
   class Jawa: Motorcycle{};
             class BTBW_Suzukig: Jawa

   {
      displayName="Suzukig";


      unitInfoType="UnitInfoShip";
      scope=public;
                cost=100000;


      maxSpeed=374;
      crew="Civilian6";
      side=2
      nameSound="car";
      accuracy=1;
      model="\BTBW_Suzukig\BTBW_Suzuki";
               soundEngine[]={"\BTBW_Suzukig\motor.wav",0.100000,2.0};
      fuelCapacity=34;                
                         weapons[]={Browning};
               magazines[]={Browning};                                                                                        hasGunner=false;                                                                                       minFireTime=0.8;
      driverAction="ManActJAWADriver";
      cargoAction[]={"ManActJAWACoDriver"};
      transportSoldier=0
      transportAmmo=0
      class IndicatorSpeed
      {
         selection="ukaz_rychlo";
         axis="osa_rychlo";
         angle=-245;
         min=0;
         max="190 / 3.4";
      };
   };

};
anyhow, when i added in the weapon&ammo, ingame the bike has a crosshair and the gun but i cant shoot it! how can i fire the weapon??

Eviscerator

  • Guest
Re:mg on bike? how can i shoot?
« Reply #1 on: 07 Oct 2002, 23:19:04 »
i dont think bikes can have weapons, just like cars cant fire missiles, it just wasnt needed, so bis didnt code it :)

waldo

  • Guest
Re:mg on bike? how can i shoot?
« Reply #2 on: 07 Oct 2002, 23:48:57 »
what about the jeep w/mg, that has a gun, is the a way i can make the bike act like that?

imemyself

  • Guest
Re:mg on bike? how can i shoot?
« Reply #3 on: 08 Oct 2002, 00:03:13 »
I think the jeep/mg has a turret.