Results 1 to 5 of 5

Thread: How to make static object to be destroyable?

  1. #1

    Unhappy How to make static object to be destroyable?

    I know this has stg to do with .cfg but i simply don't have enough experience in this part of creating
    static objects...

    So lets say I have this barbedwire,and i want it to be destroyed with satchel,and when satchel destroy every single thing in 20 meters, only my barbedwire is still there...And yes I have changed in config armor to 200,more or less it does not want to dissappear....maybe example config?
    Last edited by Matteo1944; Jun 14 2012 at 19:57.
    "A single death is a tragedy; a million deaths is a statistic."
    -Joseph Stalin
    ...

  2. #2
    Post your config here pls

    WW1 ArmA:CWA Mod || Romans and Barbarians ArmA:CWA Mod
    Goodbye W0lle, we'll miss you

  3. #3
    Sergeant Matteo1944's Avatar
    Join Date
    Aug 16 2011
    Location
    Croatia
    Posts
    186
    Author of the Thread
    // Objects by Matteo1944

    #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 WW2
    {
    units[] = {
    bbw,
    };
    weapons[] = {};
    requiredVersion = 1.01;
    };
    };

    class CfgVehicles
    {
    class All {};
    class AllVehicles: All {};
    class Land: AllVehicles {};
    class Static : Land {};
    class Building : Static {};
    class Strategic: Building{};

    class bbwire: Strategic
    {
    model="\d-dayobj\bbw";
    armor=200;
    scope=2;
    vehicleClass="Matteo1944- D-day Objects";
    displayName="Barbedwire";
    };

    };

  4. #4
    Ok, so, you should add a destruction type in the config, such as

    Code:
     destrType = "DestructBuilding";
    All destruction types are here.

    If it doesn't work :

    (1) are there some named propreties in the geometry lod of the object (in oxygen, menu => "window" =>"Named Properties") ? If yes, which one ?

    (2) Lower the armor value.

  5. #5
    Sergeant Matteo1944's Avatar
    Join Date
    Aug 16 2011
    Location
    Croatia
    Posts
    186
    Author of the Thread
    Thanks I will try out all the possibilities!

Similar Threads

  1. Object only destroyable by C4
    By Fruity_Rudy in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 2
    Last Post: May 25 2011, 12:08
  2. Anyway to make object static
    By victim913 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Feb 9 2011, 01:10
  3. How to make uh60 wreck a destroyable objective?
    By Jex =TE= in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 9
    Last Post: Feb 10 2009, 22:56
  4. Static Object Config
    By POPKA in forum ARMA : CONFIGS AND SCRIPTING (addons)
    Replies: 2
    Last Post: Aug 23 2007, 10:22
  5. Config for a non-static, static object
    By fasad in forum OFP : CONFIGS & SCRIPTING
    Replies: 2
    Last Post: Nov 12 2006, 21:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •