Jump to content
Sign in to follow this  
dinoboy123

Building config Not Working in Game

Recommended Posts

I'm currently working on a bridge for my custom map. I'm able to place it in visitor 3 and interact with it in game fine. However, despite the config i created for it, it refuses to change its strength, damage, or icon on the map. I assume the game is assiging a default value of a tree, since if i hit it with a large vehicle with a ural, it will turn over on its side. When, u crash into it it also makes the same sound effects as a tree.

I'm confused as to why my config isnt doing its job,as it is placed within the addon and refers to p3d being used in visitor. Anybody faced this issue before?

Thanks for any input!

-Andrew

Here is my uber simple config, that refuses to increase the armor value or add an icon to the map


////////////////////////////////////////////////////////////////////
//DeRap: Produced from mikero's Dos Tools Dll version 3.97
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////

#define _ARMA_

class CfgPatches
{

class Andy_Bridge
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {};
};
};
class CfgVehicles
{
class HouseBase;
class House: HouseBase

	{
	class DestructionEffects;
};

class Andy_Bridge: House

{
	model = "\andy_bridge\bridge_redo.p3d";
	armor = 1320;
	icon = "iconStaticObject";
	simulation = "road";
	scope = 1;
	destrType = "DestructBuilding";
	damageResistance = 0.004;
};


};

Share this post


Link to post
Share on other sites

привет, Ñ Ð¼Ð¾Ð³ бы решить проблему? он ÑтолкнулÑÑ Ð½Ðµ знаю что и думать. :(

Share this post


Link to post
Share on other sites

This should work, also no need for armor, ect just make sure to have geometry and roadways set up as it is a bridge shouldn't be able to be blown up:

 

class CfgPatches
{
    class Andy_Bridge
    {
        units[] = {"Andy_Bridge"};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Structures_F_Items"};
    };
};

class CfgVehicles
{
    class ruins;
    class HouseBase;
    class House: HouseBase
    {
            class DestructionEffects;
            class AnimationSources;
    };

    class Andy_Bridge: House
    {
        scope = 2; 
        model = \andy_bridge\bridge_redo.p3d;
        displayName = "Andy's Bridge";
        icon = "iconStaticObject";
    };         
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×