Home   Help Search Login Register  

Author Topic: Bounce godammit!!!  (Read 1320 times)

0 Members and 2 Guests are viewing this topic.

dth47

  • Guest
Bounce godammit!!!
« on: 14 Jun 2004, 16:10:19 »
Ive made a wheely bin addon for a UK based island im making, problem is the mutha just gets wrecked after i ram into it. I want it to fall over when it gets hit like a barrel. Any ideas?



heres the config:

class CfgPatches
{
   class wheelybin
   {
      units[] = {wheelybin};
      weapons[] = {};
      requiredVersion = 1.3;
   };
};
class CfgVehicles
{
   class All{};
        class Static: All{};
        class Building: Static{};
        class NonStrategic: Building{};
        class House: NonStrategic{};  
        class wheelybin: House
        {
              vehicleClass="Objects";
              model="\wheelybin\wheelybin";
              armor=100;
              scope=2;
              displayName="wheelybin";
              accuracy=1000;
   }
}

DeLiltMon

  • Guest
Re:Bounce godammit!!!
« Reply #1 on: 14 Jun 2004, 16:43:17 »
All I can suggest is to have a look at the config for the barrell, it'll either be a variable in there or the base class it uses that gives it that option.

Offline oyman

  • Members
  • *
  • king of pings
Re:Bounce godammit!!!
« Reply #2 on: 14 Jun 2004, 16:45:06 »
try this one
Code: [Select]
class CfgPatches
{
   class wheelybin
   {
      units[] = {wheelybin};
      weapons[] = {};
      requiredVersion = 1.3;
   };
};
class CfgVehicles
{
   class All{};
   class Thing: All{};
   class BarrelHelper: Thing{};
   class BarrelBase: BarrelHelper{};
   class wheelybin: BarrelBase
        {
              vehicleClass="Objects";
              model="\wheelybin\wheelybin";
              armor=100;
              scope=2;
              displayName="wheelybin";
              accuracy=1000;
   }
}

dth47

  • Guest
Re:Bounce godammit!!!
« Reply #3 on: 14 Jun 2004, 17:14:53 »
Once again you come to my rescue lol.

A BIG thanks. Youll be getting props in my releaese notes :)

I know absolutey nothing about configs really, hard enough just trying to make the models. Thanks again, hope im not being too much of a pain.

EXCEPT i can refuel at the wheelybin LOL

Does a pallet have any physics? or can u disable the refuel option?
« Last Edit: 14 Jun 2004, 17:40:00 by dth47 »

dth47

  • Guest
Re:Bounce godammit!!!
« Reply #4 on: 14 Jun 2004, 17:51:41 »
Ok sussed it called it a pallet :D

New config =

class CfgPatches
{
  class wheelybin
  {
      units[] = {wheelybin};
      weapons[] = {};
      requiredVersion = 1.3;
  };
};
class CfgVehicles
{
  class All{};
  class Thing: All{};
  class Object: Thing{};
  class Pallet: Object{};
  class wheelybin: Pallet
        {
              vehicleClass="Objects";
              model="\wheelybin\wheelybin";
              armor=300;
              scope=2;
              displayName="wheelybin";
              accuracy=1000;
  }
}


Thanks for putting me on track fellas.

Offline oyman

  • Members
  • *
  • king of pings
Re:Bounce godammit!!!
« Reply #5 on: 14 Jun 2004, 18:54:45 »
no problem ,just for future stuff ill attach this config, which is a config for every object in the game :o

and to get rid of refueling in the cfg vehicles part you put

Code: [Select]
transportFuel=0;
« Last Edit: 14 Jun 2004, 18:56:40 by oyman »

dth47

  • Guest
Re:Bounce godammit!!!
« Reply #6 on: 14 Jun 2004, 19:35:14 »
thanks

« Last Edit: 14 Jun 2004, 19:39:44 by dth47 »